UNPKG

zumokit

Version:

ZumoKit is a Wallet as a Service SDK

17 lines (16 loc) 656 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AccountDataSnapshot = void 0; var Account_1 = require("./Account"); var Transaction_1 = require("./Transaction"); /** Account data. */ var AccountDataSnapshot = /** @class */ (function () { /** @internal */ function AccountDataSnapshot(json) { this.json = json; this.account = new Account_1.Account(json.account); this.transactions = json.transactions.map(function (transactionJson) { return new Transaction_1.Transaction(transactionJson); }); } return AccountDataSnapshot; }()); exports.AccountDataSnapshot = AccountDataSnapshot;