@stellar/stellar-sdk 11.1.0 → 11.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +154 -123
- package/dist/stellar-sdk.js +238 -241
- package/dist/stellar-sdk.min.js +1 -1
- package/lib/errors.js +9 -14
- package/lib/horizon/account_call_builder.js +5 -6
- package/lib/horizon/assets_call_builder.js +5 -6
- package/lib/horizon/claimable_balances_call_builder.js +5 -6
- package/lib/horizon/effect_call_builder.js +5 -6
- package/lib/horizon/friendbot_builder.js +5 -6
- package/lib/horizon/ledger_call_builder.js +5 -6
- package/lib/horizon/liquidity_pool_call_builder.js +5 -6
- package/lib/horizon/offer_call_builder.js +5 -6
- package/lib/horizon/operation_call_builder.js +5 -6
- package/lib/horizon/orderbook_call_builder.js +5 -6
- package/lib/horizon/path_call_builder.js +5 -6
- package/lib/horizon/payment_call_builder.js +5 -6
- package/lib/horizon/server_api.d.ts +0 -1
- package/lib/horizon/strict_receive_path_call_builder.js +5 -6
- package/lib/horizon/strict_send_path_call_builder.js +5 -6
- package/lib/horizon/trade_aggregation_call_builder.js +5 -6
- package/lib/horizon/trades_call_builder.js +5 -6
- package/lib/horizon/transaction_call_builder.js +5 -6
- package/lib/soroban/api.d.ts +8 -1
- package/lib/soroban/parsers.js +10 -4
- package/lib/webauth/errors.js +5 -6
- package/package.json +15 -16
package/dist/stellar-sdk.js
CHANGED
|
@@ -37,8 +37,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
37
37
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
38
38
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
39
39
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
40
|
-
function _toPropertyKey(
|
|
41
|
-
function _toPrimitive(
|
|
40
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
41
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
42
42
|
/**
|
|
43
43
|
* Create a new Account object.
|
|
44
44
|
*
|
|
@@ -124,8 +124,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
124
124
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
125
125
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
126
126
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
127
|
-
function _toPropertyKey(
|
|
128
|
-
function _toPrimitive(
|
|
127
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
128
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
129
129
|
/**
|
|
130
130
|
* Create a new Address object.
|
|
131
131
|
*
|
|
@@ -304,8 +304,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
304
304
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
305
305
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
306
306
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
307
|
-
function _toPropertyKey(
|
|
308
|
-
function _toPrimitive(
|
|
307
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
308
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
309
309
|
/**
|
|
310
310
|
* Asset class represents an asset, either the native asset (`XLM`)
|
|
311
311
|
* or an asset code / issuer account ID pair.
|
|
@@ -688,7 +688,12 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
688
688
|
*
|
|
689
689
|
* @see authorizeInvocation
|
|
690
690
|
* @example
|
|
691
|
-
* import {
|
|
691
|
+
* import {
|
|
692
|
+
* SorobanRpc,
|
|
693
|
+
* Transaction,
|
|
694
|
+
* Networks,
|
|
695
|
+
* authorizeEntry
|
|
696
|
+
* } from '@stellar/stellar-sdk';
|
|
692
697
|
*
|
|
693
698
|
* // Assume signPayloadCallback is a well-formed signing callback.
|
|
694
699
|
* //
|
|
@@ -700,7 +705,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
700
705
|
* }
|
|
701
706
|
*
|
|
702
707
|
* function multiPartyAuth(
|
|
703
|
-
* server: Server,
|
|
708
|
+
* server: SorobanRpc.Server,
|
|
704
709
|
* // assume this involves multi-party auth
|
|
705
710
|
* tx: Transaction,
|
|
706
711
|
* ) {
|
|
@@ -712,10 +717,10 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
712
717
|
* entry,
|
|
713
718
|
* signPayloadCallback,
|
|
714
719
|
* currentLedger + 1000,
|
|
715
|
-
* Networks.
|
|
720
|
+
* Networks.TESTNET);
|
|
716
721
|
* ));
|
|
717
722
|
*
|
|
718
|
-
* return server.prepareTransaction(tx,
|
|
723
|
+
* return server.prepareTransaction(tx, simResult);
|
|
719
724
|
* })
|
|
720
725
|
* .then((preppedTx) => {
|
|
721
726
|
* preppedTx.sign(source);
|
|
@@ -893,8 +898,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
893
898
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
894
899
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
895
900
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
896
|
-
function _toPropertyKey(
|
|
897
|
-
function _toPrimitive(
|
|
901
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
902
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
898
903
|
/**
|
|
899
904
|
* Claimant class represents an xdr.Claimant
|
|
900
905
|
*
|
|
@@ -1094,8 +1099,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
1094
1099
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1095
1100
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
1096
1101
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1097
|
-
function _toPropertyKey(
|
|
1098
|
-
function _toPrimitive(
|
|
1102
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
1103
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1099
1104
|
/**
|
|
1100
1105
|
* Create a new Contract object.
|
|
1101
1106
|
*
|
|
@@ -1209,6 +1214,12 @@ var _xdr = _interopRequireDefault(__webpack_require__(4081));
|
|
|
1209
1214
|
var _strkey = __webpack_require__(8385);
|
|
1210
1215
|
var _scval = __webpack_require__(5567);
|
|
1211
1216
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
1217
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
1218
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1219
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1220
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
1221
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
1222
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1212
1223
|
/**
|
|
1213
1224
|
* Converts raw diagnostic or contract events into something with a flatter,
|
|
1214
1225
|
* human-readable, and understandable structure.
|
|
@@ -1232,14 +1243,15 @@ function humanizeEvents(events) {
|
|
|
1232
1243
|
});
|
|
1233
1244
|
}
|
|
1234
1245
|
function extractEvent(event) {
|
|
1235
|
-
return {
|
|
1236
|
-
contractId:
|
|
1246
|
+
return _objectSpread(_objectSpread({}, event.contractId() != null && {
|
|
1247
|
+
contractId: _strkey.StrKey.encodeContract(event.contractId())
|
|
1248
|
+
}), {}, {
|
|
1237
1249
|
type: event.type().name,
|
|
1238
1250
|
topics: event.body().value().topics().map(function (t) {
|
|
1239
1251
|
return (0, _scval.scValToNative)(t);
|
|
1240
1252
|
}),
|
|
1241
1253
|
data: (0, _scval.scValToNative)(event.body().value().data())
|
|
1242
|
-
};
|
|
1254
|
+
});
|
|
1243
1255
|
}
|
|
1244
1256
|
|
|
1245
1257
|
/***/ }),
|
|
@@ -1265,15 +1277,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
1265
1277
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1266
1278
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
1267
1279
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1268
|
-
function _toPropertyKey(
|
|
1269
|
-
function _toPrimitive(
|
|
1270
|
-
function
|
|
1271
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1272
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1280
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
1281
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
1282
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
1273
1283
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1274
1284
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1275
|
-
function _isNativeReflectConstruct() {
|
|
1285
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
1276
1286
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1287
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1288
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1277
1289
|
/**
|
|
1278
1290
|
* Use {@link TransactionBuilder.buildFeeBumpTransaction} to build a
|
|
1279
1291
|
* FeeBumpTransaction object. If you have an object or base64-encoded string of
|
|
@@ -1292,7 +1304,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
1292
1304
|
*/
|
|
1293
1305
|
var FeeBumpTransaction = exports.FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
1294
1306
|
_inherits(FeeBumpTransaction, _TransactionBase);
|
|
1295
|
-
var _super = _createSuper(FeeBumpTransaction);
|
|
1296
1307
|
function FeeBumpTransaction(envelope, networkPassphrase) {
|
|
1297
1308
|
var _this;
|
|
1298
1309
|
_classCallCheck(this, FeeBumpTransaction);
|
|
@@ -1309,7 +1320,7 @@ var FeeBumpTransaction = exports.FeeBumpTransaction = /*#__PURE__*/function (_Tr
|
|
|
1309
1320
|
var fee = tx.fee().toString();
|
|
1310
1321
|
// clone signatures
|
|
1311
1322
|
var signatures = (txEnvelope.signatures() || []).slice();
|
|
1312
|
-
_this =
|
|
1323
|
+
_this = _callSuper(this, FeeBumpTransaction, [tx, signatures, fee, networkPassphrase]);
|
|
1313
1324
|
var innerTxEnvelope = _xdr["default"].TransactionEnvelope.envelopeTypeTx(tx.innerTx().v1());
|
|
1314
1325
|
_this._feeSource = (0, _decode_encode_muxed_account.encodeMuxedAccountToAddress)(_this.tx.feeSource());
|
|
1315
1326
|
_this._innerTransaction = new _transaction.Transaction(innerTxEnvelope, networkPassphrase);
|
|
@@ -10254,7 +10265,7 @@ var _scval = __webpack_require__(5567);
|
|
|
10254
10265
|
* `tx`, which we assume has an `Operation.invokeHostFunction` inside of it:
|
|
10255
10266
|
*
|
|
10256
10267
|
* ```typescript
|
|
10257
|
-
* import { Server, buildInvocationTree } from '
|
|
10268
|
+
* import { Server, buildInvocationTree } from '@stellar/stellar-sdk';
|
|
10258
10269
|
*
|
|
10259
10270
|
* const s = new Server("fill in accordingly");
|
|
10260
10271
|
*
|
|
@@ -10407,8 +10418,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10407
10418
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10408
10419
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10409
10420
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10410
|
-
function _toPropertyKey(
|
|
10411
|
-
function _toPrimitive(
|
|
10421
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10422
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint no-bitwise: ["error", {"allow": ["^"]}] */
|
|
10412
10423
|
/**
|
|
10413
10424
|
* `Keypair` represents public (and secret) keys of the account.
|
|
10414
10425
|
*
|
|
@@ -10723,8 +10734,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
10723
10734
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10724
10735
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10725
10736
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10726
|
-
function _toPropertyKey(
|
|
10727
|
-
function _toPrimitive(
|
|
10737
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10738
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10728
10739
|
/**
|
|
10729
10740
|
* LiquidityPoolAsset class represents a liquidity pool trustline change.
|
|
10730
10741
|
*
|
|
@@ -10851,8 +10862,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10851
10862
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10852
10863
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10853
10864
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10854
|
-
function _toPropertyKey(
|
|
10855
|
-
function _toPrimitive(
|
|
10865
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10866
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10856
10867
|
/**
|
|
10857
10868
|
* LiquidityPoolId class represents the asset referenced by a trustline to a
|
|
10858
10869
|
* liquidity pool.
|
|
@@ -10962,8 +10973,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
10962
10973
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10963
10974
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
10964
10975
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10965
|
-
function _toPropertyKey(
|
|
10966
|
-
function _toPrimitive(
|
|
10976
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10977
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10967
10978
|
/**
|
|
10968
10979
|
* Type of {@link Memo}.
|
|
10969
10980
|
*/
|
|
@@ -11240,8 +11251,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
11240
11251
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11241
11252
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11242
11253
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11243
|
-
function _toPropertyKey(
|
|
11244
|
-
function _toPrimitive(
|
|
11254
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11255
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11245
11256
|
/**
|
|
11246
11257
|
* Represents a muxed account for transactions and operations.
|
|
11247
11258
|
*
|
|
@@ -11523,18 +11534,17 @@ var _jsXdr = __webpack_require__(6263);
|
|
|
11523
11534
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11524
11535
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11525
11536
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11526
|
-
function _toPropertyKey(
|
|
11527
|
-
function _toPrimitive(
|
|
11528
|
-
function
|
|
11529
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11530
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11537
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11538
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11539
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11531
11540
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
11532
11541
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
11533
|
-
function _isNativeReflectConstruct() {
|
|
11542
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11534
11543
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
11544
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11545
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11535
11546
|
var Int128 = exports.Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
11536
11547
|
_inherits(Int128, _LargeInt);
|
|
11537
|
-
var _super = _createSuper(Int128);
|
|
11538
11548
|
/**
|
|
11539
11549
|
* Construct a signed 128-bit integer that can be XDR-encoded.
|
|
11540
11550
|
*
|
|
@@ -11546,7 +11556,7 @@ var Int128 = exports.Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
11546
11556
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
11547
11557
|
args[_key] = arguments[_key];
|
|
11548
11558
|
}
|
|
11549
|
-
return
|
|
11559
|
+
return _callSuper(this, Int128, [args]);
|
|
11550
11560
|
}
|
|
11551
11561
|
_createClass(Int128, [{
|
|
11552
11562
|
key: "unsigned",
|
|
@@ -11580,18 +11590,17 @@ var _jsXdr = __webpack_require__(6263);
|
|
|
11580
11590
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11581
11591
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11582
11592
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11583
|
-
function _toPropertyKey(
|
|
11584
|
-
function _toPrimitive(
|
|
11585
|
-
function
|
|
11586
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11587
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11593
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11594
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11595
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11588
11596
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
11589
11597
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
11590
|
-
function _isNativeReflectConstruct() {
|
|
11598
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11591
11599
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
11600
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11601
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11592
11602
|
var Int256 = exports.Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
11593
11603
|
_inherits(Int256, _LargeInt);
|
|
11594
|
-
var _super = _createSuper(Int256);
|
|
11595
11604
|
/**
|
|
11596
11605
|
* Construct a signed 256-bit integer that can be XDR-encoded.
|
|
11597
11606
|
*
|
|
@@ -11603,7 +11612,7 @@ var Int256 = exports.Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
11603
11612
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
11604
11613
|
args[_key] = arguments[_key];
|
|
11605
11614
|
}
|
|
11606
|
-
return
|
|
11615
|
+
return _callSuper(this, Int256, [args]);
|
|
11607
11616
|
}
|
|
11608
11617
|
_createClass(Int256, [{
|
|
11609
11618
|
key: "unsigned",
|
|
@@ -11636,21 +11645,21 @@ exports.ScInt = void 0;
|
|
|
11636
11645
|
var _xdr_large_int = __webpack_require__(6836);
|
|
11637
11646
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11638
11647
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11639
|
-
function _toPropertyKey(
|
|
11640
|
-
function _toPrimitive(
|
|
11648
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11649
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11641
11650
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11642
|
-
function
|
|
11643
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11644
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11651
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11645
11652
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
11646
11653
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
11647
|
-
function _isNativeReflectConstruct() {
|
|
11654
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11648
11655
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
11656
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11657
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11649
11658
|
/**
|
|
11650
11659
|
* Provides an easier way to manipulate large numbers for Stellar operations.
|
|
11651
11660
|
*
|
|
11652
|
-
* You can instantiate this value either from
|
|
11653
|
-
* (whole numbers, or this will throw).
|
|
11661
|
+
* You can instantiate this "**s**mart **c**ontract integer" value either from
|
|
11662
|
+
* bigints, strings, or numbers (whole numbers, or this will throw).
|
|
11654
11663
|
*
|
|
11655
11664
|
* If you need to create a native BigInt from a list of integer "parts" (for
|
|
11656
11665
|
* example, you have a series of encoded 32-bit integers that represent a larger
|
|
@@ -11658,11 +11667,11 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
11658
11667
|
* example, you could do `new XdrLargeInt('u128', bytes...).toBigInt()`.
|
|
11659
11668
|
*
|
|
11660
11669
|
* @example
|
|
11661
|
-
* import { xdr, ScInt } from "@stellar/stellar-base";
|
|
11670
|
+
* import { xdr, ScInt, scValToBigInt } from "@stellar/stellar-base";
|
|
11662
11671
|
*
|
|
11663
11672
|
* // You have an ScVal from a contract and want to parse it into JS native.
|
|
11664
11673
|
* const value = xdr.ScVal.fromXDR(someXdr, "base64");
|
|
11665
|
-
* const bigi =
|
|
11674
|
+
* const bigi = scValToBigInt(value); // grab it as a BigInt
|
|
11666
11675
|
* let sci = new ScInt(bigi);
|
|
11667
11676
|
*
|
|
11668
11677
|
* sci.toNumber(); // gives native JS type (w/ size check)
|
|
@@ -11685,7 +11694,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
11685
11694
|
* ScInt(123456789123456789n);
|
|
11686
11695
|
* ScInt(1n << 140n);
|
|
11687
11696
|
* ScInt(-42);
|
|
11688
|
-
* ScInt
|
|
11697
|
+
* ScInt(scValToBigInt(scValU128)); // from above
|
|
11689
11698
|
*
|
|
11690
11699
|
* // If you know the type ahead of time (accessing `.raw` is faster than
|
|
11691
11700
|
* // conversions), you can specify the type directly (otherwise, it's
|
|
@@ -11713,15 +11722,12 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
11713
11722
|
*
|
|
11714
11723
|
* @throws {RangeError} if the `value` is invalid (e.g. floating point), too
|
|
11715
11724
|
* large (i.e. exceeds a 256-bit value), or doesn't fit in the `opts.type`
|
|
11716
|
-
*
|
|
11717
11725
|
* @throws {TypeError} on missing parameters, or if the "signedness" of `opts`
|
|
11718
11726
|
* doesn't match input `value`, e.g. passing `{type: 'u64'}` yet passing -1n
|
|
11719
|
-
*
|
|
11720
11727
|
* @throws {SyntaxError} if a string `value` can't be parsed as a big integer
|
|
11721
11728
|
*/
|
|
11722
11729
|
var ScInt = exports.ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
11723
11730
|
_inherits(ScInt, _XdrLargeInt);
|
|
11724
|
-
var _super = _createSuper(ScInt);
|
|
11725
11731
|
function ScInt(value, opts) {
|
|
11726
11732
|
var _opts$type;
|
|
11727
11733
|
_classCallCheck(this, ScInt);
|
|
@@ -11746,7 +11752,7 @@ var ScInt = exports.ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
|
11746
11752
|
throw RangeError("expected 64/128/256 bits for input (".concat(value, "), got ").concat(bitlen));
|
|
11747
11753
|
}
|
|
11748
11754
|
}
|
|
11749
|
-
return
|
|
11755
|
+
return _callSuper(this, ScInt, [type, value]);
|
|
11750
11756
|
}
|
|
11751
11757
|
return _createClass(ScInt);
|
|
11752
11758
|
}(_xdr_large_int.XdrLargeInt);
|
|
@@ -11778,18 +11784,17 @@ var _jsXdr = __webpack_require__(6263);
|
|
|
11778
11784
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11779
11785
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11780
11786
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11781
|
-
function _toPropertyKey(
|
|
11782
|
-
function _toPrimitive(
|
|
11783
|
-
function
|
|
11784
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11785
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11787
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11788
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11789
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11786
11790
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
11787
11791
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
11788
|
-
function _isNativeReflectConstruct() {
|
|
11792
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11789
11793
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
11794
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11795
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11790
11796
|
var Uint128 = exports.Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
11791
11797
|
_inherits(Uint128, _LargeInt);
|
|
11792
|
-
var _super = _createSuper(Uint128);
|
|
11793
11798
|
/**
|
|
11794
11799
|
* Construct an unsigned 128-bit integer that can be XDR-encoded.
|
|
11795
11800
|
*
|
|
@@ -11801,7 +11806,7 @@ var Uint128 = exports.Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
11801
11806
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
11802
11807
|
args[_key] = arguments[_key];
|
|
11803
11808
|
}
|
|
11804
|
-
return
|
|
11809
|
+
return _callSuper(this, Uint128, [args]);
|
|
11805
11810
|
}
|
|
11806
11811
|
_createClass(Uint128, [{
|
|
11807
11812
|
key: "unsigned",
|
|
@@ -11835,18 +11840,17 @@ var _jsXdr = __webpack_require__(6263);
|
|
|
11835
11840
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11836
11841
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11837
11842
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11838
|
-
function _toPropertyKey(
|
|
11839
|
-
function _toPrimitive(
|
|
11840
|
-
function
|
|
11841
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11842
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
11843
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11844
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11845
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11843
11846
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
11844
11847
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
11845
|
-
function _isNativeReflectConstruct() {
|
|
11848
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11846
11849
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
11850
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
11851
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
11847
11852
|
var Uint256 = exports.Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
11848
11853
|
_inherits(Uint256, _LargeInt);
|
|
11849
|
-
var _super = _createSuper(Uint256);
|
|
11850
11854
|
/**
|
|
11851
11855
|
* Construct an unsigned 256-bit integer that can be XDR-encoded.
|
|
11852
11856
|
*
|
|
@@ -11858,7 +11862,7 @@ var Uint256 = exports.Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
11858
11862
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
11859
11863
|
args[_key] = arguments[_key];
|
|
11860
11864
|
}
|
|
11861
|
-
return
|
|
11865
|
+
return _callSuper(this, Uint256, [args]);
|
|
11862
11866
|
}
|
|
11863
11867
|
_createClass(Uint256, [{
|
|
11864
11868
|
key: "unsigned",
|
|
@@ -11899,8 +11903,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
11899
11903
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11900
11904
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
11901
11905
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11902
|
-
function _toPropertyKey(
|
|
11903
|
-
function _toPrimitive(
|
|
11906
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11907
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint no-bitwise: ["error", {"allow": [">>"]}] */
|
|
11904
11908
|
/**
|
|
11905
11909
|
* A wrapper class to represent large XDR-encodable integers.
|
|
11906
11910
|
*
|
|
@@ -12180,8 +12184,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
12180
12184
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
12181
12185
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
12182
12186
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12183
|
-
function _toPropertyKey(
|
|
12184
|
-
function _toPrimitive(
|
|
12187
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12188
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable no-bitwise */
|
|
12185
12189
|
var ONE = 10000000;
|
|
12186
12190
|
var MAX_INT64 = '9223372036854775807';
|
|
12187
12191
|
|
|
@@ -13484,9 +13488,9 @@ exports.extendFootprintTtl = extendFootprintTtl;
|
|
|
13484
13488
|
var _xdr = _interopRequireDefault(__webpack_require__(4081));
|
|
13485
13489
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13486
13490
|
/**
|
|
13487
|
-
* Builds an operation to bump the
|
|
13488
|
-
* ledger keys). Its only parameter is the
|
|
13489
|
-
*
|
|
13491
|
+
* Builds an operation to bump the time-to-live of a footprint (read and written
|
|
13492
|
+
* ledger keys). Its only parameter is the new, absolute ledger sequence number
|
|
13493
|
+
* at which the entry will expire.
|
|
13490
13494
|
*
|
|
13491
13495
|
* The footprint itself is derived from the transaction (see
|
|
13492
13496
|
* {@link TransactionBuilder}'s `opts.sorobanData` parameter, which is a
|
|
@@ -13497,12 +13501,11 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
13497
13501
|
* @alias Operation.extendFootprintTtl
|
|
13498
13502
|
*
|
|
13499
13503
|
* @param {object} opts - object holding operation parameters
|
|
13500
|
-
* @param {number} opts.extendTo - the
|
|
13501
|
-
*
|
|
13502
|
-
* this transaction
|
|
13504
|
+
* @param {number} opts.extendTo - the absolute ledger sequence number at which
|
|
13505
|
+
* the transaction's ledger keys will now expire
|
|
13503
13506
|
* @param {string} [opts.source] - an optional source account
|
|
13504
13507
|
*
|
|
13505
|
-
* @returns {xdr.Operation}
|
|
13508
|
+
* @returns {xdr.Operation} an Extend Footprint TTL operation
|
|
13506
13509
|
* (xdr.ExtendFootprintTTLOp)
|
|
13507
13510
|
*/
|
|
13508
13511
|
function extendFootprintTtl(opts) {
|
|
@@ -15245,7 +15248,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
15245
15248
|
* // ]
|
|
15246
15249
|
*
|
|
15247
15250
|
* @example
|
|
15248
|
-
* import {
|
|
15251
|
+
* import {
|
|
15252
|
+
* nativeToScVal,
|
|
15253
|
+
* scValToNative,
|
|
15254
|
+
* ScInt,
|
|
15255
|
+
* xdr
|
|
15256
|
+
* } from '@stellar/stellar-base';
|
|
15249
15257
|
*
|
|
15250
15258
|
* let gigaMap = {
|
|
15251
15259
|
* bool: true,
|
|
@@ -15518,8 +15526,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
15518
15526
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15519
15527
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
15520
15528
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15521
|
-
function _toPropertyKey(
|
|
15522
|
-
function _toPrimitive(
|
|
15529
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15530
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15523
15531
|
/**
|
|
15524
15532
|
* A container class with helpers to convert between signer keys
|
|
15525
15533
|
* (`xdr.SignerKey`) and {@link StrKey}s.
|
|
@@ -15735,8 +15743,8 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
15735
15743
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15736
15744
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
15737
15745
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15738
|
-
function _toPropertyKey(
|
|
15739
|
-
function _toPrimitive(
|
|
15746
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15747
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15740
15748
|
/* Helper class to assist with formatting and parsing token amounts. */
|
|
15741
15749
|
var Soroban = exports.Soroban = /*#__PURE__*/function () {
|
|
15742
15750
|
function Soroban() {
|
|
@@ -15835,8 +15843,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
15835
15843
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
15836
15844
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
15837
15845
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15838
|
-
function _toPropertyKey(
|
|
15839
|
-
function _toPrimitive(
|
|
15846
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
15847
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15840
15848
|
/**
|
|
15841
15849
|
* Supports building {@link xdr.SorobanTransactionData} structures with various
|
|
15842
15850
|
* items set to specific values.
|
|
@@ -16063,8 +16071,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
16063
16071
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16064
16072
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16065
16073
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16066
|
-
function _toPropertyKey(
|
|
16067
|
-
function _toPrimitive(
|
|
16074
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16075
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint no-bitwise: ["error", {"allow": ["<<", ">>", "^", "&", "&="]}] */
|
|
16068
16076
|
var versionBytes = {
|
|
16069
16077
|
ed25519PublicKey: 6 << 3,
|
|
16070
16078
|
// G (when encoded in base32)
|
|
@@ -16474,15 +16482,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
16474
16482
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16475
16483
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16476
16484
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16477
|
-
function _toPropertyKey(
|
|
16478
|
-
function _toPrimitive(
|
|
16479
|
-
function
|
|
16480
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
16481
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
16485
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16486
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16487
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
16482
16488
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
16483
16489
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
16484
|
-
function _isNativeReflectConstruct() {
|
|
16490
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
16485
16491
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16492
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
16493
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
16486
16494
|
/**
|
|
16487
16495
|
* Use {@link TransactionBuilder} to build a transaction object. If you have an
|
|
16488
16496
|
* object or base64-encoded string of the transaction envelope XDR, use {@link
|
|
@@ -16504,7 +16512,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
16504
16512
|
*/
|
|
16505
16513
|
var Transaction = exports.Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
16506
16514
|
_inherits(Transaction, _TransactionBase);
|
|
16507
|
-
var _super = _createSuper(Transaction);
|
|
16508
16515
|
function Transaction(envelope, networkPassphrase) {
|
|
16509
16516
|
var _this;
|
|
16510
16517
|
_classCallCheck(this, Transaction);
|
|
@@ -16520,7 +16527,7 @@ var Transaction = exports.Transaction = /*#__PURE__*/function (_TransactionBase)
|
|
|
16520
16527
|
var tx = txEnvelope.tx();
|
|
16521
16528
|
var fee = tx.fee().toString();
|
|
16522
16529
|
var signatures = (txEnvelope.signatures() || []).slice();
|
|
16523
|
-
_this =
|
|
16530
|
+
_this = _callSuper(this, Transaction, [tx, signatures, fee, networkPassphrase]);
|
|
16524
16531
|
_this._envelopeType = envelopeType;
|
|
16525
16532
|
_this._memo = tx.memo();
|
|
16526
16533
|
_this._sequence = tx.seqNum().toString();
|
|
@@ -16847,8 +16854,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
16847
16854
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16848
16855
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16849
16856
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16850
|
-
function _toPropertyKey(
|
|
16851
|
-
function _toPrimitive(
|
|
16857
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
16858
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16852
16859
|
/**
|
|
16853
16860
|
* @ignore
|
|
16854
16861
|
*/
|
|
@@ -17121,8 +17128,8 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
17121
17128
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17122
17129
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
17123
17130
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17124
|
-
function _toPropertyKey(
|
|
17125
|
-
function _toPrimitive(
|
|
17131
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
17132
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17126
17133
|
/**
|
|
17127
17134
|
* Minimum base fee for transactions. If this fee is below the network
|
|
17128
17135
|
* minimum, the transaction will fail. The more operations in the
|
|
@@ -17159,7 +17166,7 @@ var TimeoutInfinite = exports.TimeoutInfinite = 0;
|
|
|
17159
17166
|
* source account.</p>
|
|
17160
17167
|
*
|
|
17161
17168
|
* <p><strong>Be careful about unsubmitted transactions!</strong> When you build
|
|
17162
|
-
* a transaction, stellar-sdk automatically increments the source account's
|
|
17169
|
+
* a transaction, `stellar-sdk` automatically increments the source account's
|
|
17163
17170
|
* sequence number. If you end up not submitting this transaction and submitting
|
|
17164
17171
|
* another one instead, it'll fail due to the sequence number being wrong. So if
|
|
17165
17172
|
* you decide not to use a built transaction, make sure to update the source
|
|
@@ -21645,24 +21652,23 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
21645
21652
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21646
21653
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
21647
21654
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
21648
|
-
function
|
|
21649
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
21655
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
21650
21656
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
21651
21657
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21658
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21652
21659
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
|
|
21653
|
-
function _construct(
|
|
21654
|
-
function _isNativeReflectConstruct() {
|
|
21660
|
+
function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
|
|
21661
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
21655
21662
|
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } }
|
|
21656
21663
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
21657
21664
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
21658
21665
|
var NetworkError = function (_Error) {
|
|
21659
21666
|
_inherits(NetworkError, _Error);
|
|
21660
|
-
var _super = _createSuper(NetworkError);
|
|
21661
21667
|
function NetworkError(message, response) {
|
|
21662
21668
|
var _this;
|
|
21663
21669
|
_classCallCheck(this, NetworkError);
|
|
21664
21670
|
var trueProto = (this instanceof NetworkError ? this.constructor : void 0).prototype;
|
|
21665
|
-
_this =
|
|
21671
|
+
_this = _callSuper(this, NetworkError, [message]);
|
|
21666
21672
|
_this.__proto__ = trueProto;
|
|
21667
21673
|
_this.constructor = NetworkError;
|
|
21668
21674
|
_this.response = response;
|
|
@@ -21678,12 +21684,11 @@ var NetworkError = function (_Error) {
|
|
|
21678
21684
|
}(_wrapNativeSuper(Error));
|
|
21679
21685
|
var NotFoundError = function (_NetworkError) {
|
|
21680
21686
|
_inherits(NotFoundError, _NetworkError);
|
|
21681
|
-
var _super2 = _createSuper(NotFoundError);
|
|
21682
21687
|
function NotFoundError(message, response) {
|
|
21683
21688
|
var _this2;
|
|
21684
21689
|
_classCallCheck(this, NotFoundError);
|
|
21685
21690
|
var trueProto = (this instanceof NotFoundError ? this.constructor : void 0).prototype;
|
|
21686
|
-
_this2 =
|
|
21691
|
+
_this2 = _callSuper(this, NotFoundError, [message, response]);
|
|
21687
21692
|
_this2.__proto__ = trueProto;
|
|
21688
21693
|
_this2.constructor = NotFoundError;
|
|
21689
21694
|
_this2.name = "NotFoundError";
|
|
@@ -21693,12 +21698,11 @@ var NotFoundError = function (_NetworkError) {
|
|
|
21693
21698
|
}(NetworkError);
|
|
21694
21699
|
var BadRequestError = function (_NetworkError2) {
|
|
21695
21700
|
_inherits(BadRequestError, _NetworkError2);
|
|
21696
|
-
var _super3 = _createSuper(BadRequestError);
|
|
21697
21701
|
function BadRequestError(message, response) {
|
|
21698
21702
|
var _this3;
|
|
21699
21703
|
_classCallCheck(this, BadRequestError);
|
|
21700
21704
|
var trueProto = (this instanceof BadRequestError ? this.constructor : void 0).prototype;
|
|
21701
|
-
_this3 =
|
|
21705
|
+
_this3 = _callSuper(this, BadRequestError, [message, response]);
|
|
21702
21706
|
_this3.__proto__ = trueProto;
|
|
21703
21707
|
_this3.constructor = BadRequestError;
|
|
21704
21708
|
_this3.name = "BadRequestError";
|
|
@@ -21708,12 +21712,11 @@ var BadRequestError = function (_NetworkError2) {
|
|
|
21708
21712
|
}(NetworkError);
|
|
21709
21713
|
var BadResponseError = function (_NetworkError3) {
|
|
21710
21714
|
_inherits(BadResponseError, _NetworkError3);
|
|
21711
|
-
var _super4 = _createSuper(BadResponseError);
|
|
21712
21715
|
function BadResponseError(message, response) {
|
|
21713
21716
|
var _this4;
|
|
21714
21717
|
_classCallCheck(this, BadResponseError);
|
|
21715
21718
|
var trueProto = (this instanceof BadResponseError ? this.constructor : void 0).prototype;
|
|
21716
|
-
_this4 =
|
|
21719
|
+
_this4 = _callSuper(this, BadResponseError, [message, response]);
|
|
21717
21720
|
_this4.__proto__ = trueProto;
|
|
21718
21721
|
_this4.constructor = BadResponseError;
|
|
21719
21722
|
_this4.name = "BadResponseError";
|
|
@@ -21723,12 +21726,11 @@ var BadResponseError = function (_NetworkError3) {
|
|
|
21723
21726
|
}(NetworkError);
|
|
21724
21727
|
var AccountRequiresMemoError = function (_Error2) {
|
|
21725
21728
|
_inherits(AccountRequiresMemoError, _Error2);
|
|
21726
|
-
var _super5 = _createSuper(AccountRequiresMemoError);
|
|
21727
21729
|
function AccountRequiresMemoError(message, accountId, operationIndex) {
|
|
21728
21730
|
var _this5;
|
|
21729
21731
|
_classCallCheck(this, AccountRequiresMemoError);
|
|
21730
21732
|
var trueProto = (this instanceof AccountRequiresMemoError ? this.constructor : void 0).prototype;
|
|
21731
|
-
_this5 =
|
|
21733
|
+
_this5 = _callSuper(this, AccountRequiresMemoError, [message]);
|
|
21732
21734
|
_this5.__proto__ = trueProto;
|
|
21733
21735
|
_this5.constructor = AccountRequiresMemoError;
|
|
21734
21736
|
_this5.name = "AccountRequiresMemoError";
|
|
@@ -25536,21 +25538,20 @@ function account_call_builder_defineProperties(target, props) { for (var i = 0;
|
|
|
25536
25538
|
function account_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) account_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) account_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25537
25539
|
function account_call_builder_toPropertyKey(t) { var i = account_call_builder_toPrimitive(t, "string"); return "symbol" == account_call_builder_typeof(i) ? i : String(i); }
|
|
25538
25540
|
function account_call_builder_toPrimitive(t, r) { if ("object" != account_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != account_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25539
|
-
function
|
|
25540
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25541
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
25541
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25542
25542
|
function _possibleConstructorReturn(self, call) { if (call && (account_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
25543
25543
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25544
|
-
function _isNativeReflectConstruct() {
|
|
25544
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25545
25545
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25546
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25547
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25546
25548
|
|
|
25547
25549
|
var AccountCallBuilder = function (_CallBuilder) {
|
|
25548
25550
|
_inherits(AccountCallBuilder, _CallBuilder);
|
|
25549
|
-
var _super = _createSuper(AccountCallBuilder);
|
|
25550
25551
|
function AccountCallBuilder(serverUrl) {
|
|
25551
25552
|
var _this;
|
|
25552
25553
|
account_call_builder_classCallCheck(this, AccountCallBuilder);
|
|
25553
|
-
_this =
|
|
25554
|
+
_this = _callSuper(this, AccountCallBuilder, [serverUrl]);
|
|
25554
25555
|
_this.url.segment("accounts");
|
|
25555
25556
|
return _this;
|
|
25556
25557
|
}
|
|
@@ -25595,21 +25596,20 @@ function assets_call_builder_defineProperties(target, props) { for (var i = 0; i
|
|
|
25595
25596
|
function assets_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) assets_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) assets_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25596
25597
|
function assets_call_builder_toPropertyKey(t) { var i = assets_call_builder_toPrimitive(t, "string"); return "symbol" == assets_call_builder_typeof(i) ? i : String(i); }
|
|
25597
25598
|
function assets_call_builder_toPrimitive(t, r) { if ("object" != assets_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != assets_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25598
|
-
function
|
|
25599
|
-
function assets_call_builder_setPrototypeOf(o, p) { assets_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return assets_call_builder_setPrototypeOf(o, p); }
|
|
25600
|
-
function assets_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = assets_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = assets_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = assets_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return assets_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25599
|
+
function assets_call_builder_callSuper(t, o, e) { return o = assets_call_builder_getPrototypeOf(o), assets_call_builder_possibleConstructorReturn(t, assets_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], assets_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25601
25600
|
function assets_call_builder_possibleConstructorReturn(self, call) { if (call && (assets_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return assets_call_builder_assertThisInitialized(self); }
|
|
25602
25601
|
function assets_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25603
|
-
function assets_call_builder_isNativeReflectConstruct() {
|
|
25602
|
+
function assets_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (assets_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25604
25603
|
function assets_call_builder_getPrototypeOf(o) { assets_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return assets_call_builder_getPrototypeOf(o); }
|
|
25604
|
+
function assets_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) assets_call_builder_setPrototypeOf(subClass, superClass); }
|
|
25605
|
+
function assets_call_builder_setPrototypeOf(o, p) { assets_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return assets_call_builder_setPrototypeOf(o, p); }
|
|
25605
25606
|
|
|
25606
25607
|
var AssetsCallBuilder = function (_CallBuilder) {
|
|
25607
25608
|
assets_call_builder_inherits(AssetsCallBuilder, _CallBuilder);
|
|
25608
|
-
var _super = assets_call_builder_createSuper(AssetsCallBuilder);
|
|
25609
25609
|
function AssetsCallBuilder(serverUrl) {
|
|
25610
25610
|
var _this;
|
|
25611
25611
|
assets_call_builder_classCallCheck(this, AssetsCallBuilder);
|
|
25612
|
-
_this =
|
|
25612
|
+
_this = assets_call_builder_callSuper(this, AssetsCallBuilder, [serverUrl]);
|
|
25613
25613
|
_this.url.segment("assets");
|
|
25614
25614
|
return _this;
|
|
25615
25615
|
}
|
|
@@ -25635,21 +25635,20 @@ function claimable_balances_call_builder_defineProperties(target, props) { for (
|
|
|
25635
25635
|
function claimable_balances_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) claimable_balances_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) claimable_balances_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25636
25636
|
function claimable_balances_call_builder_toPropertyKey(t) { var i = claimable_balances_call_builder_toPrimitive(t, "string"); return "symbol" == claimable_balances_call_builder_typeof(i) ? i : String(i); }
|
|
25637
25637
|
function claimable_balances_call_builder_toPrimitive(t, r) { if ("object" != claimable_balances_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != claimable_balances_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25638
|
-
function
|
|
25639
|
-
function claimable_balances_call_builder_setPrototypeOf(o, p) { claimable_balances_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return claimable_balances_call_builder_setPrototypeOf(o, p); }
|
|
25640
|
-
function claimable_balances_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = claimable_balances_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = claimable_balances_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = claimable_balances_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return claimable_balances_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25638
|
+
function claimable_balances_call_builder_callSuper(t, o, e) { return o = claimable_balances_call_builder_getPrototypeOf(o), claimable_balances_call_builder_possibleConstructorReturn(t, claimable_balances_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], claimable_balances_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25641
25639
|
function claimable_balances_call_builder_possibleConstructorReturn(self, call) { if (call && (claimable_balances_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return claimable_balances_call_builder_assertThisInitialized(self); }
|
|
25642
25640
|
function claimable_balances_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25643
|
-
function claimable_balances_call_builder_isNativeReflectConstruct() {
|
|
25641
|
+
function claimable_balances_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (claimable_balances_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25644
25642
|
function claimable_balances_call_builder_getPrototypeOf(o) { claimable_balances_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return claimable_balances_call_builder_getPrototypeOf(o); }
|
|
25643
|
+
function claimable_balances_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) claimable_balances_call_builder_setPrototypeOf(subClass, superClass); }
|
|
25644
|
+
function claimable_balances_call_builder_setPrototypeOf(o, p) { claimable_balances_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return claimable_balances_call_builder_setPrototypeOf(o, p); }
|
|
25645
25645
|
|
|
25646
25646
|
var ClaimableBalanceCallBuilder = function (_CallBuilder) {
|
|
25647
25647
|
claimable_balances_call_builder_inherits(ClaimableBalanceCallBuilder, _CallBuilder);
|
|
25648
|
-
var _super = claimable_balances_call_builder_createSuper(ClaimableBalanceCallBuilder);
|
|
25649
25648
|
function ClaimableBalanceCallBuilder(serverUrl) {
|
|
25650
25649
|
var _this;
|
|
25651
25650
|
claimable_balances_call_builder_classCallCheck(this, ClaimableBalanceCallBuilder);
|
|
25652
|
-
_this =
|
|
25651
|
+
_this = claimable_balances_call_builder_callSuper(this, ClaimableBalanceCallBuilder, [serverUrl]);
|
|
25653
25652
|
_this.url.segment("claimable_balances");
|
|
25654
25653
|
return _this;
|
|
25655
25654
|
}
|
|
@@ -25688,21 +25687,20 @@ function effect_call_builder_defineProperties(target, props) { for (var i = 0; i
|
|
|
25688
25687
|
function effect_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) effect_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) effect_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25689
25688
|
function effect_call_builder_toPropertyKey(t) { var i = effect_call_builder_toPrimitive(t, "string"); return "symbol" == effect_call_builder_typeof(i) ? i : String(i); }
|
|
25690
25689
|
function effect_call_builder_toPrimitive(t, r) { if ("object" != effect_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != effect_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25691
|
-
function
|
|
25692
|
-
function effect_call_builder_setPrototypeOf(o, p) { effect_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return effect_call_builder_setPrototypeOf(o, p); }
|
|
25693
|
-
function effect_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = effect_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = effect_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = effect_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return effect_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25690
|
+
function effect_call_builder_callSuper(t, o, e) { return o = effect_call_builder_getPrototypeOf(o), effect_call_builder_possibleConstructorReturn(t, effect_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], effect_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25694
25691
|
function effect_call_builder_possibleConstructorReturn(self, call) { if (call && (effect_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return effect_call_builder_assertThisInitialized(self); }
|
|
25695
25692
|
function effect_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25696
|
-
function effect_call_builder_isNativeReflectConstruct() {
|
|
25693
|
+
function effect_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (effect_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25697
25694
|
function effect_call_builder_getPrototypeOf(o) { effect_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return effect_call_builder_getPrototypeOf(o); }
|
|
25695
|
+
function effect_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) effect_call_builder_setPrototypeOf(subClass, superClass); }
|
|
25696
|
+
function effect_call_builder_setPrototypeOf(o, p) { effect_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return effect_call_builder_setPrototypeOf(o, p); }
|
|
25698
25697
|
|
|
25699
25698
|
var EffectCallBuilder = function (_CallBuilder) {
|
|
25700
25699
|
effect_call_builder_inherits(EffectCallBuilder, _CallBuilder);
|
|
25701
|
-
var _super = effect_call_builder_createSuper(EffectCallBuilder);
|
|
25702
25700
|
function EffectCallBuilder(serverUrl) {
|
|
25703
25701
|
var _this;
|
|
25704
25702
|
effect_call_builder_classCallCheck(this, EffectCallBuilder);
|
|
25705
|
-
_this =
|
|
25703
|
+
_this = effect_call_builder_callSuper(this, EffectCallBuilder, [serverUrl, "effects"]);
|
|
25706
25704
|
_this.url.segment("effects");
|
|
25707
25705
|
return _this;
|
|
25708
25706
|
}
|
|
@@ -25741,21 +25739,20 @@ function friendbot_builder_createClass(Constructor, protoProps, staticProps) { i
|
|
|
25741
25739
|
function friendbot_builder_toPropertyKey(t) { var i = friendbot_builder_toPrimitive(t, "string"); return "symbol" == friendbot_builder_typeof(i) ? i : String(i); }
|
|
25742
25740
|
function friendbot_builder_toPrimitive(t, r) { if ("object" != friendbot_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != friendbot_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25743
25741
|
function friendbot_builder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25744
|
-
function
|
|
25745
|
-
function friendbot_builder_setPrototypeOf(o, p) { friendbot_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return friendbot_builder_setPrototypeOf(o, p); }
|
|
25746
|
-
function friendbot_builder_createSuper(Derived) { var hasNativeReflectConstruct = friendbot_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = friendbot_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = friendbot_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return friendbot_builder_possibleConstructorReturn(this, result); }; }
|
|
25742
|
+
function friendbot_builder_callSuper(t, o, e) { return o = friendbot_builder_getPrototypeOf(o), friendbot_builder_possibleConstructorReturn(t, friendbot_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], friendbot_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25747
25743
|
function friendbot_builder_possibleConstructorReturn(self, call) { if (call && (friendbot_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return friendbot_builder_assertThisInitialized(self); }
|
|
25748
25744
|
function friendbot_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25749
|
-
function friendbot_builder_isNativeReflectConstruct() {
|
|
25745
|
+
function friendbot_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (friendbot_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25750
25746
|
function friendbot_builder_getPrototypeOf(o) { friendbot_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return friendbot_builder_getPrototypeOf(o); }
|
|
25747
|
+
function friendbot_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) friendbot_builder_setPrototypeOf(subClass, superClass); }
|
|
25748
|
+
function friendbot_builder_setPrototypeOf(o, p) { friendbot_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return friendbot_builder_setPrototypeOf(o, p); }
|
|
25751
25749
|
|
|
25752
25750
|
var FriendbotBuilder = function (_CallBuilder) {
|
|
25753
25751
|
friendbot_builder_inherits(FriendbotBuilder, _CallBuilder);
|
|
25754
|
-
var _super = friendbot_builder_createSuper(FriendbotBuilder);
|
|
25755
25752
|
function FriendbotBuilder(serverUrl, address) {
|
|
25756
25753
|
var _this;
|
|
25757
25754
|
friendbot_builder_classCallCheck(this, FriendbotBuilder);
|
|
25758
|
-
_this =
|
|
25755
|
+
_this = friendbot_builder_callSuper(this, FriendbotBuilder, [serverUrl]);
|
|
25759
25756
|
_this.url.segment("friendbot");
|
|
25760
25757
|
_this.url.setQuery("addr", address);
|
|
25761
25758
|
return _this;
|
|
@@ -25769,21 +25766,20 @@ function ledger_call_builder_defineProperties(target, props) { for (var i = 0; i
|
|
|
25769
25766
|
function ledger_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) ledger_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) ledger_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25770
25767
|
function ledger_call_builder_toPropertyKey(t) { var i = ledger_call_builder_toPrimitive(t, "string"); return "symbol" == ledger_call_builder_typeof(i) ? i : String(i); }
|
|
25771
25768
|
function ledger_call_builder_toPrimitive(t, r) { if ("object" != ledger_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != ledger_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25772
|
-
function
|
|
25773
|
-
function ledger_call_builder_setPrototypeOf(o, p) { ledger_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ledger_call_builder_setPrototypeOf(o, p); }
|
|
25774
|
-
function ledger_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = ledger_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = ledger_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = ledger_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return ledger_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25769
|
+
function ledger_call_builder_callSuper(t, o, e) { return o = ledger_call_builder_getPrototypeOf(o), ledger_call_builder_possibleConstructorReturn(t, ledger_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], ledger_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25775
25770
|
function ledger_call_builder_possibleConstructorReturn(self, call) { if (call && (ledger_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return ledger_call_builder_assertThisInitialized(self); }
|
|
25776
25771
|
function ledger_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25777
|
-
function ledger_call_builder_isNativeReflectConstruct() {
|
|
25772
|
+
function ledger_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (ledger_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25778
25773
|
function ledger_call_builder_getPrototypeOf(o) { ledger_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return ledger_call_builder_getPrototypeOf(o); }
|
|
25774
|
+
function ledger_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) ledger_call_builder_setPrototypeOf(subClass, superClass); }
|
|
25775
|
+
function ledger_call_builder_setPrototypeOf(o, p) { ledger_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return ledger_call_builder_setPrototypeOf(o, p); }
|
|
25779
25776
|
|
|
25780
25777
|
var LedgerCallBuilder = function (_CallBuilder) {
|
|
25781
25778
|
ledger_call_builder_inherits(LedgerCallBuilder, _CallBuilder);
|
|
25782
|
-
var _super = ledger_call_builder_createSuper(LedgerCallBuilder);
|
|
25783
25779
|
function LedgerCallBuilder(serverUrl) {
|
|
25784
25780
|
var _this;
|
|
25785
25781
|
ledger_call_builder_classCallCheck(this, LedgerCallBuilder);
|
|
25786
|
-
_this =
|
|
25782
|
+
_this = ledger_call_builder_callSuper(this, LedgerCallBuilder, [serverUrl]);
|
|
25787
25783
|
_this.url.segment("ledgers");
|
|
25788
25784
|
return _this;
|
|
25789
25785
|
}
|
|
@@ -25803,21 +25799,20 @@ function liquidity_pool_call_builder_defineProperties(target, props) { for (var
|
|
|
25803
25799
|
function liquidity_pool_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) liquidity_pool_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) liquidity_pool_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25804
25800
|
function liquidity_pool_call_builder_toPropertyKey(t) { var i = liquidity_pool_call_builder_toPrimitive(t, "string"); return "symbol" == liquidity_pool_call_builder_typeof(i) ? i : String(i); }
|
|
25805
25801
|
function liquidity_pool_call_builder_toPrimitive(t, r) { if ("object" != liquidity_pool_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != liquidity_pool_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25806
|
-
function
|
|
25807
|
-
function liquidity_pool_call_builder_setPrototypeOf(o, p) { liquidity_pool_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return liquidity_pool_call_builder_setPrototypeOf(o, p); }
|
|
25808
|
-
function liquidity_pool_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = liquidity_pool_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = liquidity_pool_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = liquidity_pool_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return liquidity_pool_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25802
|
+
function liquidity_pool_call_builder_callSuper(t, o, e) { return o = liquidity_pool_call_builder_getPrototypeOf(o), liquidity_pool_call_builder_possibleConstructorReturn(t, liquidity_pool_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], liquidity_pool_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25809
25803
|
function liquidity_pool_call_builder_possibleConstructorReturn(self, call) { if (call && (liquidity_pool_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return liquidity_pool_call_builder_assertThisInitialized(self); }
|
|
25810
25804
|
function liquidity_pool_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25811
|
-
function liquidity_pool_call_builder_isNativeReflectConstruct() {
|
|
25805
|
+
function liquidity_pool_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (liquidity_pool_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25812
25806
|
function liquidity_pool_call_builder_getPrototypeOf(o) { liquidity_pool_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return liquidity_pool_call_builder_getPrototypeOf(o); }
|
|
25807
|
+
function liquidity_pool_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) liquidity_pool_call_builder_setPrototypeOf(subClass, superClass); }
|
|
25808
|
+
function liquidity_pool_call_builder_setPrototypeOf(o, p) { liquidity_pool_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return liquidity_pool_call_builder_setPrototypeOf(o, p); }
|
|
25813
25809
|
|
|
25814
25810
|
var LiquidityPoolCallBuilder = function (_CallBuilder) {
|
|
25815
25811
|
liquidity_pool_call_builder_inherits(LiquidityPoolCallBuilder, _CallBuilder);
|
|
25816
|
-
var _super = liquidity_pool_call_builder_createSuper(LiquidityPoolCallBuilder);
|
|
25817
25812
|
function LiquidityPoolCallBuilder(serverUrl) {
|
|
25818
25813
|
var _this;
|
|
25819
25814
|
liquidity_pool_call_builder_classCallCheck(this, LiquidityPoolCallBuilder);
|
|
25820
|
-
_this =
|
|
25815
|
+
_this = liquidity_pool_call_builder_callSuper(this, LiquidityPoolCallBuilder, [serverUrl]);
|
|
25821
25816
|
_this.url.segment("liquidity_pools");
|
|
25822
25817
|
return _this;
|
|
25823
25818
|
}
|
|
@@ -25859,21 +25854,20 @@ function offer_call_builder_defineProperties(target, props) { for (var i = 0; i
|
|
|
25859
25854
|
function offer_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) offer_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) offer_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25860
25855
|
function offer_call_builder_toPropertyKey(t) { var i = offer_call_builder_toPrimitive(t, "string"); return "symbol" == offer_call_builder_typeof(i) ? i : String(i); }
|
|
25861
25856
|
function offer_call_builder_toPrimitive(t, r) { if ("object" != offer_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != offer_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25862
|
-
function
|
|
25863
|
-
function offer_call_builder_setPrototypeOf(o, p) { offer_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return offer_call_builder_setPrototypeOf(o, p); }
|
|
25864
|
-
function offer_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = offer_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = offer_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = offer_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return offer_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25857
|
+
function offer_call_builder_callSuper(t, o, e) { return o = offer_call_builder_getPrototypeOf(o), offer_call_builder_possibleConstructorReturn(t, offer_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], offer_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25865
25858
|
function offer_call_builder_possibleConstructorReturn(self, call) { if (call && (offer_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return offer_call_builder_assertThisInitialized(self); }
|
|
25866
25859
|
function offer_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25867
|
-
function offer_call_builder_isNativeReflectConstruct() {
|
|
25860
|
+
function offer_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (offer_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25868
25861
|
function offer_call_builder_getPrototypeOf(o) { offer_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return offer_call_builder_getPrototypeOf(o); }
|
|
25862
|
+
function offer_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) offer_call_builder_setPrototypeOf(subClass, superClass); }
|
|
25863
|
+
function offer_call_builder_setPrototypeOf(o, p) { offer_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return offer_call_builder_setPrototypeOf(o, p); }
|
|
25869
25864
|
|
|
25870
25865
|
var OfferCallBuilder = function (_CallBuilder) {
|
|
25871
25866
|
offer_call_builder_inherits(OfferCallBuilder, _CallBuilder);
|
|
25872
|
-
var _super = offer_call_builder_createSuper(OfferCallBuilder);
|
|
25873
25867
|
function OfferCallBuilder(serverUrl) {
|
|
25874
25868
|
var _this;
|
|
25875
25869
|
offer_call_builder_classCallCheck(this, OfferCallBuilder);
|
|
25876
|
-
_this =
|
|
25870
|
+
_this = offer_call_builder_callSuper(this, OfferCallBuilder, [serverUrl, "offers"]);
|
|
25877
25871
|
_this.url.segment("offers");
|
|
25878
25872
|
return _this;
|
|
25879
25873
|
}
|
|
@@ -25935,21 +25929,20 @@ function operation_call_builder_defineProperties(target, props) { for (var i = 0
|
|
|
25935
25929
|
function operation_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) operation_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) operation_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25936
25930
|
function operation_call_builder_toPropertyKey(t) { var i = operation_call_builder_toPrimitive(t, "string"); return "symbol" == operation_call_builder_typeof(i) ? i : String(i); }
|
|
25937
25931
|
function operation_call_builder_toPrimitive(t, r) { if ("object" != operation_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != operation_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25938
|
-
function
|
|
25939
|
-
function operation_call_builder_setPrototypeOf(o, p) { operation_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return operation_call_builder_setPrototypeOf(o, p); }
|
|
25940
|
-
function operation_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = operation_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = operation_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = operation_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return operation_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25932
|
+
function operation_call_builder_callSuper(t, o, e) { return o = operation_call_builder_getPrototypeOf(o), operation_call_builder_possibleConstructorReturn(t, operation_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], operation_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
25941
25933
|
function operation_call_builder_possibleConstructorReturn(self, call) { if (call && (operation_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return operation_call_builder_assertThisInitialized(self); }
|
|
25942
25934
|
function operation_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25943
|
-
function operation_call_builder_isNativeReflectConstruct() {
|
|
25935
|
+
function operation_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (operation_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25944
25936
|
function operation_call_builder_getPrototypeOf(o) { operation_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return operation_call_builder_getPrototypeOf(o); }
|
|
25937
|
+
function operation_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) operation_call_builder_setPrototypeOf(subClass, superClass); }
|
|
25938
|
+
function operation_call_builder_setPrototypeOf(o, p) { operation_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return operation_call_builder_setPrototypeOf(o, p); }
|
|
25945
25939
|
|
|
25946
25940
|
var OperationCallBuilder = function (_CallBuilder) {
|
|
25947
25941
|
operation_call_builder_inherits(OperationCallBuilder, _CallBuilder);
|
|
25948
|
-
var _super = operation_call_builder_createSuper(OperationCallBuilder);
|
|
25949
25942
|
function OperationCallBuilder(serverUrl) {
|
|
25950
25943
|
var _this;
|
|
25951
25944
|
operation_call_builder_classCallCheck(this, OperationCallBuilder);
|
|
25952
|
-
_this =
|
|
25945
|
+
_this = operation_call_builder_callSuper(this, OperationCallBuilder, [serverUrl, "operations"]);
|
|
25953
25946
|
_this.url.segment("operations");
|
|
25954
25947
|
return _this;
|
|
25955
25948
|
}
|
|
@@ -26001,21 +25994,20 @@ function orderbook_call_builder_createClass(Constructor, protoProps, staticProps
|
|
|
26001
25994
|
function orderbook_call_builder_toPropertyKey(t) { var i = orderbook_call_builder_toPrimitive(t, "string"); return "symbol" == orderbook_call_builder_typeof(i) ? i : String(i); }
|
|
26002
25995
|
function orderbook_call_builder_toPrimitive(t, r) { if ("object" != orderbook_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != orderbook_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26003
25996
|
function orderbook_call_builder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
26004
|
-
function
|
|
26005
|
-
function orderbook_call_builder_setPrototypeOf(o, p) { orderbook_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return orderbook_call_builder_setPrototypeOf(o, p); }
|
|
26006
|
-
function orderbook_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = orderbook_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = orderbook_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = orderbook_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return orderbook_call_builder_possibleConstructorReturn(this, result); }; }
|
|
25997
|
+
function orderbook_call_builder_callSuper(t, o, e) { return o = orderbook_call_builder_getPrototypeOf(o), orderbook_call_builder_possibleConstructorReturn(t, orderbook_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], orderbook_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26007
25998
|
function orderbook_call_builder_possibleConstructorReturn(self, call) { if (call && (orderbook_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return orderbook_call_builder_assertThisInitialized(self); }
|
|
26008
25999
|
function orderbook_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26009
|
-
function orderbook_call_builder_isNativeReflectConstruct() {
|
|
26000
|
+
function orderbook_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (orderbook_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26010
26001
|
function orderbook_call_builder_getPrototypeOf(o) { orderbook_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return orderbook_call_builder_getPrototypeOf(o); }
|
|
26002
|
+
function orderbook_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) orderbook_call_builder_setPrototypeOf(subClass, superClass); }
|
|
26003
|
+
function orderbook_call_builder_setPrototypeOf(o, p) { orderbook_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return orderbook_call_builder_setPrototypeOf(o, p); }
|
|
26011
26004
|
|
|
26012
26005
|
var OrderbookCallBuilder = function (_CallBuilder) {
|
|
26013
26006
|
orderbook_call_builder_inherits(OrderbookCallBuilder, _CallBuilder);
|
|
26014
|
-
var _super = orderbook_call_builder_createSuper(OrderbookCallBuilder);
|
|
26015
26007
|
function OrderbookCallBuilder(serverUrl, selling, buying) {
|
|
26016
26008
|
var _this;
|
|
26017
26009
|
orderbook_call_builder_classCallCheck(this, OrderbookCallBuilder);
|
|
26018
|
-
_this =
|
|
26010
|
+
_this = orderbook_call_builder_callSuper(this, OrderbookCallBuilder, [serverUrl]);
|
|
26019
26011
|
_this.url.segment("order_book");
|
|
26020
26012
|
if (!selling.isNative()) {
|
|
26021
26013
|
_this.url.setQuery("selling_asset_type", selling.getAssetType());
|
|
@@ -26042,21 +26034,20 @@ function payment_call_builder_defineProperties(target, props) { for (var i = 0;
|
|
|
26042
26034
|
function payment_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) payment_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) payment_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
26043
26035
|
function payment_call_builder_toPropertyKey(t) { var i = payment_call_builder_toPrimitive(t, "string"); return "symbol" == payment_call_builder_typeof(i) ? i : String(i); }
|
|
26044
26036
|
function payment_call_builder_toPrimitive(t, r) { if ("object" != payment_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != payment_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26045
|
-
function
|
|
26046
|
-
function payment_call_builder_setPrototypeOf(o, p) { payment_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return payment_call_builder_setPrototypeOf(o, p); }
|
|
26047
|
-
function payment_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = payment_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = payment_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = payment_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return payment_call_builder_possibleConstructorReturn(this, result); }; }
|
|
26037
|
+
function payment_call_builder_callSuper(t, o, e) { return o = payment_call_builder_getPrototypeOf(o), payment_call_builder_possibleConstructorReturn(t, payment_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], payment_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26048
26038
|
function payment_call_builder_possibleConstructorReturn(self, call) { if (call && (payment_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return payment_call_builder_assertThisInitialized(self); }
|
|
26049
26039
|
function payment_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26050
|
-
function payment_call_builder_isNativeReflectConstruct() {
|
|
26040
|
+
function payment_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (payment_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26051
26041
|
function payment_call_builder_getPrototypeOf(o) { payment_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return payment_call_builder_getPrototypeOf(o); }
|
|
26042
|
+
function payment_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) payment_call_builder_setPrototypeOf(subClass, superClass); }
|
|
26043
|
+
function payment_call_builder_setPrototypeOf(o, p) { payment_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return payment_call_builder_setPrototypeOf(o, p); }
|
|
26052
26044
|
|
|
26053
26045
|
var PaymentCallBuilder = function (_CallBuilder) {
|
|
26054
26046
|
payment_call_builder_inherits(PaymentCallBuilder, _CallBuilder);
|
|
26055
|
-
var _super = payment_call_builder_createSuper(PaymentCallBuilder);
|
|
26056
26047
|
function PaymentCallBuilder(serverUrl) {
|
|
26057
26048
|
var _this;
|
|
26058
26049
|
payment_call_builder_classCallCheck(this, PaymentCallBuilder);
|
|
26059
|
-
_this =
|
|
26050
|
+
_this = payment_call_builder_callSuper(this, PaymentCallBuilder, [serverUrl, "payments"]);
|
|
26060
26051
|
_this.url.segment("payments");
|
|
26061
26052
|
return _this;
|
|
26062
26053
|
}
|
|
@@ -26085,21 +26076,20 @@ function strict_receive_path_call_builder_createClass(Constructor, protoProps, s
|
|
|
26085
26076
|
function strict_receive_path_call_builder_toPropertyKey(t) { var i = strict_receive_path_call_builder_toPrimitive(t, "string"); return "symbol" == strict_receive_path_call_builder_typeof(i) ? i : String(i); }
|
|
26086
26077
|
function strict_receive_path_call_builder_toPrimitive(t, r) { if ("object" != strict_receive_path_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != strict_receive_path_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26087
26078
|
function strict_receive_path_call_builder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
26088
|
-
function
|
|
26089
|
-
function strict_receive_path_call_builder_setPrototypeOf(o, p) { strict_receive_path_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return strict_receive_path_call_builder_setPrototypeOf(o, p); }
|
|
26090
|
-
function strict_receive_path_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = strict_receive_path_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = strict_receive_path_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = strict_receive_path_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return strict_receive_path_call_builder_possibleConstructorReturn(this, result); }; }
|
|
26079
|
+
function strict_receive_path_call_builder_callSuper(t, o, e) { return o = strict_receive_path_call_builder_getPrototypeOf(o), strict_receive_path_call_builder_possibleConstructorReturn(t, strict_receive_path_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], strict_receive_path_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26091
26080
|
function strict_receive_path_call_builder_possibleConstructorReturn(self, call) { if (call && (strict_receive_path_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return strict_receive_path_call_builder_assertThisInitialized(self); }
|
|
26092
26081
|
function strict_receive_path_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26093
|
-
function strict_receive_path_call_builder_isNativeReflectConstruct() {
|
|
26082
|
+
function strict_receive_path_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (strict_receive_path_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26094
26083
|
function strict_receive_path_call_builder_getPrototypeOf(o) { strict_receive_path_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return strict_receive_path_call_builder_getPrototypeOf(o); }
|
|
26084
|
+
function strict_receive_path_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) strict_receive_path_call_builder_setPrototypeOf(subClass, superClass); }
|
|
26085
|
+
function strict_receive_path_call_builder_setPrototypeOf(o, p) { strict_receive_path_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return strict_receive_path_call_builder_setPrototypeOf(o, p); }
|
|
26095
26086
|
|
|
26096
26087
|
var StrictReceivePathCallBuilder = function (_CallBuilder) {
|
|
26097
26088
|
strict_receive_path_call_builder_inherits(StrictReceivePathCallBuilder, _CallBuilder);
|
|
26098
|
-
var _super = strict_receive_path_call_builder_createSuper(StrictReceivePathCallBuilder);
|
|
26099
26089
|
function StrictReceivePathCallBuilder(serverUrl, source, destinationAsset, destinationAmount) {
|
|
26100
26090
|
var _this;
|
|
26101
26091
|
strict_receive_path_call_builder_classCallCheck(this, StrictReceivePathCallBuilder);
|
|
26102
|
-
_this =
|
|
26092
|
+
_this = strict_receive_path_call_builder_callSuper(this, StrictReceivePathCallBuilder, [serverUrl]);
|
|
26103
26093
|
_this.url.segment("paths/strict-receive");
|
|
26104
26094
|
if (typeof source === "string") {
|
|
26105
26095
|
_this.url.setQuery("source_account", source);
|
|
@@ -26131,21 +26121,20 @@ function strict_send_path_call_builder_createClass(Constructor, protoProps, stat
|
|
|
26131
26121
|
function strict_send_path_call_builder_toPropertyKey(t) { var i = strict_send_path_call_builder_toPrimitive(t, "string"); return "symbol" == strict_send_path_call_builder_typeof(i) ? i : String(i); }
|
|
26132
26122
|
function strict_send_path_call_builder_toPrimitive(t, r) { if ("object" != strict_send_path_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != strict_send_path_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26133
26123
|
function strict_send_path_call_builder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
26134
|
-
function
|
|
26135
|
-
function strict_send_path_call_builder_setPrototypeOf(o, p) { strict_send_path_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return strict_send_path_call_builder_setPrototypeOf(o, p); }
|
|
26136
|
-
function strict_send_path_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = strict_send_path_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = strict_send_path_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = strict_send_path_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return strict_send_path_call_builder_possibleConstructorReturn(this, result); }; }
|
|
26124
|
+
function strict_send_path_call_builder_callSuper(t, o, e) { return o = strict_send_path_call_builder_getPrototypeOf(o), strict_send_path_call_builder_possibleConstructorReturn(t, strict_send_path_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], strict_send_path_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26137
26125
|
function strict_send_path_call_builder_possibleConstructorReturn(self, call) { if (call && (strict_send_path_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return strict_send_path_call_builder_assertThisInitialized(self); }
|
|
26138
26126
|
function strict_send_path_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26139
|
-
function strict_send_path_call_builder_isNativeReflectConstruct() {
|
|
26127
|
+
function strict_send_path_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (strict_send_path_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26140
26128
|
function strict_send_path_call_builder_getPrototypeOf(o) { strict_send_path_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return strict_send_path_call_builder_getPrototypeOf(o); }
|
|
26129
|
+
function strict_send_path_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) strict_send_path_call_builder_setPrototypeOf(subClass, superClass); }
|
|
26130
|
+
function strict_send_path_call_builder_setPrototypeOf(o, p) { strict_send_path_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return strict_send_path_call_builder_setPrototypeOf(o, p); }
|
|
26141
26131
|
|
|
26142
26132
|
var StrictSendPathCallBuilder = function (_CallBuilder) {
|
|
26143
26133
|
strict_send_path_call_builder_inherits(StrictSendPathCallBuilder, _CallBuilder);
|
|
26144
|
-
var _super = strict_send_path_call_builder_createSuper(StrictSendPathCallBuilder);
|
|
26145
26134
|
function StrictSendPathCallBuilder(serverUrl, sourceAsset, sourceAmount, destination) {
|
|
26146
26135
|
var _this;
|
|
26147
26136
|
strict_send_path_call_builder_classCallCheck(this, StrictSendPathCallBuilder);
|
|
26148
|
-
_this =
|
|
26137
|
+
_this = strict_send_path_call_builder_callSuper(this, StrictSendPathCallBuilder, [serverUrl]);
|
|
26149
26138
|
_this.url.segment("paths/strict-send");
|
|
26150
26139
|
if (sourceAsset.isNative()) {
|
|
26151
26140
|
_this.url.setQuery("source_asset_type", "native");
|
|
@@ -26177,23 +26166,22 @@ function trade_aggregation_call_builder_defineProperties(target, props) { for (v
|
|
|
26177
26166
|
function trade_aggregation_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) trade_aggregation_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) trade_aggregation_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
26178
26167
|
function trade_aggregation_call_builder_toPropertyKey(t) { var i = trade_aggregation_call_builder_toPrimitive(t, "string"); return "symbol" == trade_aggregation_call_builder_typeof(i) ? i : String(i); }
|
|
26179
26168
|
function trade_aggregation_call_builder_toPrimitive(t, r) { if ("object" != trade_aggregation_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != trade_aggregation_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26180
|
-
function
|
|
26181
|
-
function trade_aggregation_call_builder_setPrototypeOf(o, p) { trade_aggregation_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return trade_aggregation_call_builder_setPrototypeOf(o, p); }
|
|
26182
|
-
function trade_aggregation_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = trade_aggregation_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = trade_aggregation_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = trade_aggregation_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return trade_aggregation_call_builder_possibleConstructorReturn(this, result); }; }
|
|
26169
|
+
function trade_aggregation_call_builder_callSuper(t, o, e) { return o = trade_aggregation_call_builder_getPrototypeOf(o), trade_aggregation_call_builder_possibleConstructorReturn(t, trade_aggregation_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], trade_aggregation_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26183
26170
|
function trade_aggregation_call_builder_possibleConstructorReturn(self, call) { if (call && (trade_aggregation_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return trade_aggregation_call_builder_assertThisInitialized(self); }
|
|
26184
26171
|
function trade_aggregation_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26185
|
-
function trade_aggregation_call_builder_isNativeReflectConstruct() {
|
|
26172
|
+
function trade_aggregation_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (trade_aggregation_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26186
26173
|
function trade_aggregation_call_builder_getPrototypeOf(o) { trade_aggregation_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return trade_aggregation_call_builder_getPrototypeOf(o); }
|
|
26174
|
+
function trade_aggregation_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) trade_aggregation_call_builder_setPrototypeOf(subClass, superClass); }
|
|
26175
|
+
function trade_aggregation_call_builder_setPrototypeOf(o, p) { trade_aggregation_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return trade_aggregation_call_builder_setPrototypeOf(o, p); }
|
|
26187
26176
|
|
|
26188
26177
|
|
|
26189
26178
|
var allowedResolutions = [60000, 300000, 900000, 3600000, 86400000, 604800000];
|
|
26190
26179
|
var TradeAggregationCallBuilder = function (_CallBuilder) {
|
|
26191
26180
|
trade_aggregation_call_builder_inherits(TradeAggregationCallBuilder, _CallBuilder);
|
|
26192
|
-
var _super = trade_aggregation_call_builder_createSuper(TradeAggregationCallBuilder);
|
|
26193
26181
|
function TradeAggregationCallBuilder(serverUrl, base, counter, start_time, end_time, resolution, offset) {
|
|
26194
26182
|
var _this;
|
|
26195
26183
|
trade_aggregation_call_builder_classCallCheck(this, TradeAggregationCallBuilder);
|
|
26196
|
-
_this =
|
|
26184
|
+
_this = trade_aggregation_call_builder_callSuper(this, TradeAggregationCallBuilder, [serverUrl]);
|
|
26197
26185
|
_this.url.segment("trade_aggregations");
|
|
26198
26186
|
if (!base.isNative()) {
|
|
26199
26187
|
_this.url.setQuery("base_asset_type", base.getAssetType());
|
|
@@ -26254,21 +26242,20 @@ function trades_call_builder_defineProperties(target, props) { for (var i = 0; i
|
|
|
26254
26242
|
function trades_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) trades_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) trades_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
26255
26243
|
function trades_call_builder_toPropertyKey(t) { var i = trades_call_builder_toPrimitive(t, "string"); return "symbol" == trades_call_builder_typeof(i) ? i : String(i); }
|
|
26256
26244
|
function trades_call_builder_toPrimitive(t, r) { if ("object" != trades_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != trades_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26257
|
-
function
|
|
26258
|
-
function trades_call_builder_setPrototypeOf(o, p) { trades_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return trades_call_builder_setPrototypeOf(o, p); }
|
|
26259
|
-
function trades_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = trades_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = trades_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = trades_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return trades_call_builder_possibleConstructorReturn(this, result); }; }
|
|
26245
|
+
function trades_call_builder_callSuper(t, o, e) { return o = trades_call_builder_getPrototypeOf(o), trades_call_builder_possibleConstructorReturn(t, trades_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], trades_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26260
26246
|
function trades_call_builder_possibleConstructorReturn(self, call) { if (call && (trades_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return trades_call_builder_assertThisInitialized(self); }
|
|
26261
26247
|
function trades_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26262
|
-
function trades_call_builder_isNativeReflectConstruct() {
|
|
26248
|
+
function trades_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (trades_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26263
26249
|
function trades_call_builder_getPrototypeOf(o) { trades_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return trades_call_builder_getPrototypeOf(o); }
|
|
26250
|
+
function trades_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) trades_call_builder_setPrototypeOf(subClass, superClass); }
|
|
26251
|
+
function trades_call_builder_setPrototypeOf(o, p) { trades_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return trades_call_builder_setPrototypeOf(o, p); }
|
|
26264
26252
|
|
|
26265
26253
|
var TradesCallBuilder = function (_CallBuilder) {
|
|
26266
26254
|
trades_call_builder_inherits(TradesCallBuilder, _CallBuilder);
|
|
26267
|
-
var _super = trades_call_builder_createSuper(TradesCallBuilder);
|
|
26268
26255
|
function TradesCallBuilder(serverUrl) {
|
|
26269
26256
|
var _this;
|
|
26270
26257
|
trades_call_builder_classCallCheck(this, TradesCallBuilder);
|
|
26271
|
-
_this =
|
|
26258
|
+
_this = trades_call_builder_callSuper(this, TradesCallBuilder, [serverUrl, "trades"]);
|
|
26272
26259
|
_this.url.segment("trades");
|
|
26273
26260
|
return _this;
|
|
26274
26261
|
}
|
|
@@ -26323,21 +26310,20 @@ function transaction_call_builder_defineProperties(target, props) { for (var i =
|
|
|
26323
26310
|
function transaction_call_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_call_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_call_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
26324
26311
|
function transaction_call_builder_toPropertyKey(t) { var i = transaction_call_builder_toPrimitive(t, "string"); return "symbol" == transaction_call_builder_typeof(i) ? i : String(i); }
|
|
26325
26312
|
function transaction_call_builder_toPrimitive(t, r) { if ("object" != transaction_call_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_call_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26326
|
-
function
|
|
26327
|
-
function transaction_call_builder_setPrototypeOf(o, p) { transaction_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return transaction_call_builder_setPrototypeOf(o, p); }
|
|
26328
|
-
function transaction_call_builder_createSuper(Derived) { var hasNativeReflectConstruct = transaction_call_builder_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = transaction_call_builder_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = transaction_call_builder_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return transaction_call_builder_possibleConstructorReturn(this, result); }; }
|
|
26313
|
+
function transaction_call_builder_callSuper(t, o, e) { return o = transaction_call_builder_getPrototypeOf(o), transaction_call_builder_possibleConstructorReturn(t, transaction_call_builder_isNativeReflectConstruct() ? Reflect.construct(o, e || [], transaction_call_builder_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
26329
26314
|
function transaction_call_builder_possibleConstructorReturn(self, call) { if (call && (transaction_call_builder_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return transaction_call_builder_assertThisInitialized(self); }
|
|
26330
26315
|
function transaction_call_builder_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
26331
|
-
function transaction_call_builder_isNativeReflectConstruct() {
|
|
26316
|
+
function transaction_call_builder_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (transaction_call_builder_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
26332
26317
|
function transaction_call_builder_getPrototypeOf(o) { transaction_call_builder_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return transaction_call_builder_getPrototypeOf(o); }
|
|
26318
|
+
function transaction_call_builder_inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) transaction_call_builder_setPrototypeOf(subClass, superClass); }
|
|
26319
|
+
function transaction_call_builder_setPrototypeOf(o, p) { transaction_call_builder_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return transaction_call_builder_setPrototypeOf(o, p); }
|
|
26333
26320
|
|
|
26334
26321
|
var TransactionCallBuilder = function (_CallBuilder) {
|
|
26335
26322
|
transaction_call_builder_inherits(TransactionCallBuilder, _CallBuilder);
|
|
26336
|
-
var _super = transaction_call_builder_createSuper(TransactionCallBuilder);
|
|
26337
26323
|
function TransactionCallBuilder(serverUrl) {
|
|
26338
26324
|
var _this;
|
|
26339
26325
|
transaction_call_builder_classCallCheck(this, TransactionCallBuilder);
|
|
26340
|
-
_this =
|
|
26326
|
+
_this = transaction_call_builder_callSuper(this, TransactionCallBuilder, [serverUrl, "transactions"]);
|
|
26341
26327
|
_this.url.segment("transactions");
|
|
26342
26328
|
return _this;
|
|
26343
26329
|
}
|
|
@@ -27105,11 +27091,17 @@ function _toPrimitive(t, r) { if ("object" != parsers_typeof(t) || !t) return t;
|
|
|
27105
27091
|
|
|
27106
27092
|
|
|
27107
27093
|
function parseRawSendTransaction(r) {
|
|
27108
|
-
var
|
|
27094
|
+
var errorResultXdr = r.errorResultXdr,
|
|
27095
|
+
diagnosticEventsXdr = r.diagnosticEventsXdr;
|
|
27109
27096
|
delete r.errorResultXdr;
|
|
27110
|
-
|
|
27111
|
-
|
|
27112
|
-
|
|
27097
|
+
delete r.diagnosticEventsXdr;
|
|
27098
|
+
if (!!errorResultXdr) {
|
|
27099
|
+
return _objectSpread(_objectSpread(_objectSpread({}, r), diagnosticEventsXdr !== undefined && diagnosticEventsXdr.length > 0 && {
|
|
27100
|
+
diagnosticEvents: diagnosticEventsXdr.map(function (evt) {
|
|
27101
|
+
return lib.xdr.DiagnosticEvent.fromXDR(evt, 'base64');
|
|
27102
|
+
})
|
|
27103
|
+
}), {}, {
|
|
27104
|
+
errorResult: lib.xdr.TransactionResult.fromXDR(errorResultXdr, 'base64')
|
|
27113
27105
|
});
|
|
27114
27106
|
}
|
|
27115
27107
|
return _objectSpread({}, r);
|
|
@@ -28011,24 +28003,23 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
28011
28003
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
28012
28004
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
28013
28005
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
28014
|
-
function
|
|
28015
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
28006
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
28016
28007
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
28017
28008
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
28009
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
28018
28010
|
function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
|
|
28019
|
-
function _construct(
|
|
28020
|
-
function _isNativeReflectConstruct() {
|
|
28011
|
+
function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
|
|
28012
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
28021
28013
|
function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } }
|
|
28022
28014
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
28023
28015
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
28024
28016
|
var InvalidChallengeError = function (_Error) {
|
|
28025
28017
|
_inherits(InvalidChallengeError, _Error);
|
|
28026
|
-
var _super = _createSuper(InvalidChallengeError);
|
|
28027
28018
|
function InvalidChallengeError(message) {
|
|
28028
28019
|
var _this;
|
|
28029
28020
|
_classCallCheck(this, InvalidChallengeError);
|
|
28030
28021
|
var trueProto = (this instanceof InvalidChallengeError ? this.constructor : void 0).prototype;
|
|
28031
|
-
_this =
|
|
28022
|
+
_this = _callSuper(this, InvalidChallengeError, [message]);
|
|
28032
28023
|
_this.__proto__ = trueProto;
|
|
28033
28024
|
_this.constructor = InvalidChallengeError;
|
|
28034
28025
|
_this.name = "InvalidChallengeError";
|
|
@@ -40706,6 +40697,9 @@ var gOPD = __webpack_require__(7296);
|
|
|
40706
40697
|
var $TypeError = GetIntrinsic('%TypeError%');
|
|
40707
40698
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
40708
40699
|
|
|
40700
|
+
/** @typedef {(...args: unknown[]) => unknown} Func */
|
|
40701
|
+
|
|
40702
|
+
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
|
40709
40703
|
module.exports = function setFunctionLength(fn, length) {
|
|
40710
40704
|
if (typeof fn !== 'function') {
|
|
40711
40705
|
throw new $TypeError('`fn` is not a function');
|
|
@@ -40730,9 +40724,9 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
40730
40724
|
|
|
40731
40725
|
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
40732
40726
|
if (hasDescriptors) {
|
|
40733
|
-
define(fn, 'length', length, true, true);
|
|
40727
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
40734
40728
|
} else {
|
|
40735
|
-
define(fn, 'length', length);
|
|
40729
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
40736
40730
|
}
|
|
40737
40731
|
}
|
|
40738
40732
|
return fn;
|
|
@@ -54791,6 +54785,9 @@ function arrayToObject(arr) {
|
|
|
54791
54785
|
function formDataToJSON(formData) {
|
|
54792
54786
|
function buildPath(path, value, target, index) {
|
|
54793
54787
|
let name = path[index++];
|
|
54788
|
+
|
|
54789
|
+
if (name === '__proto__') return true;
|
|
54790
|
+
|
|
54794
54791
|
const isNumericKey = Number.isFinite(+name);
|
|
54795
54792
|
const isLast = index >= path.length;
|
|
54796
54793
|
name = !name && utils.isArray(target) ? target.length : name;
|
|
@@ -55518,7 +55515,7 @@ function isAbsoluteURL(url) {
|
|
|
55518
55515
|
*/
|
|
55519
55516
|
function combineURLs(baseURL, relativeURL) {
|
|
55520
55517
|
return relativeURL
|
|
55521
|
-
? baseURL.replace(
|
|
55518
|
+
? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
|
|
55522
55519
|
: baseURL;
|
|
55523
55520
|
}
|
|
55524
55521
|
|
|
@@ -56212,7 +56209,7 @@ function mergeConfig(config1, config2) {
|
|
|
56212
56209
|
}
|
|
56213
56210
|
|
|
56214
56211
|
;// CONCATENATED MODULE: ./node_modules/axios/lib/env/data.js
|
|
56215
|
-
const VERSION = "1.6.
|
|
56212
|
+
const VERSION = "1.6.5";
|
|
56216
56213
|
;// CONCATENATED MODULE: ./node_modules/axios/lib/helpers/validator.js
|
|
56217
56214
|
|
|
56218
56215
|
|
|
@@ -56849,7 +56846,7 @@ axios.default = axios;
|
|
|
56849
56846
|
/***/ ((module) => {
|
|
56850
56847
|
|
|
56851
56848
|
"use strict";
|
|
56852
|
-
module.exports = {"i8":"11.1
|
|
56849
|
+
module.exports = {"i8":"11.2.1"};
|
|
56853
56850
|
|
|
56854
56851
|
/***/ })
|
|
56855
56852
|
|