UNPKG

eosplayer

Version:

eosplayer is the glue layer of eosjs, which is packaged based on eosjs and provides better usability for the application layer. It can be used on browsers already installed scatter or in Dapp wallets.

41 lines 1.47 kB
'use strict'; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var one_line_call_1 = require("@khgame/one-line-call"); var TranscalPayload = /** @class */ (function (_super) { __extends(TranscalPayload, _super); function TranscalPayload() { return _super !== null && _super.apply(this, arguments) || this; } /** * Get memo * @return {string} */ TranscalPayload.prototype.memo = function () { return this.serialize(); }; /** * Parse memo */ TranscalPayload.prototype.parseMemo = function (memo) { return this.parse(memo); }; TranscalPayload.parse = function (memo) { return (new TranscalPayload('')).parseMemo(memo); }; return TranscalPayload; }(one_line_call_1.OneLineCall)); exports.TranscalPayload = TranscalPayload; //# sourceMappingURL=transcalPayload.js.map