@stellar/stellar-base 10.0.1 → 10.0.2
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 +11 -0
- package/README.md +1 -1
- package/dist/stellar-base.js +128 -118
- package/dist/stellar-base.min.js +1 -1
- package/lib/account.js +2 -2
- package/lib/address.js +2 -2
- package/lib/asset.js +2 -2
- package/lib/auth.js +9 -4
- package/lib/claimant.js +2 -2
- package/lib/contract.js +2 -2
- package/lib/events.js +10 -3
- package/lib/fee_bump_transaction.js +7 -8
- package/lib/invocation.js +1 -1
- package/lib/keypair.js +2 -2
- package/lib/liquidity_pool_asset.js +2 -2
- package/lib/liquidity_pool_id.js +2 -2
- package/lib/memo.js +2 -2
- package/lib/muxed_account.js +2 -2
- package/lib/numbers/int128.js +7 -8
- package/lib/numbers/int256.js +7 -8
- package/lib/numbers/sc_int.js +12 -15
- package/lib/numbers/uint128.js +7 -8
- package/lib/numbers/uint256.js +7 -8
- package/lib/numbers/xdr_large_int.js +2 -2
- package/lib/operation.js +2 -2
- package/lib/operations/extend_footprint_ttl.js +6 -7
- package/lib/scval.js +6 -1
- package/lib/signerkey.js +2 -2
- package/lib/soroban.js +2 -2
- package/lib/sorobandata_builder.js +2 -2
- package/lib/strkey.js +2 -2
- package/lib/transaction.js +7 -8
- package/lib/transaction_base.js +2 -2
- package/lib/transaction_builder.js +3 -3
- package/package.json +15 -15
package/dist/stellar-base.js
CHANGED
|
@@ -13248,8 +13248,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
13248
13248
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13249
13249
|
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); } }
|
|
13250
13250
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13251
|
-
function _toPropertyKey(
|
|
13252
|
-
function _toPrimitive(
|
|
13251
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13252
|
+
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); }
|
|
13253
13253
|
/* eslint no-bitwise: ["error", {"allow": ["<<", ">>", "^", "&", "&="]}] */
|
|
13254
13254
|
|
|
13255
13255
|
|
|
@@ -13644,8 +13644,8 @@ function keypair_typeof(o) { "@babel/helpers - typeof"; return keypair_typeof =
|
|
|
13644
13644
|
function keypair_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13645
13645
|
function keypair_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, keypair_toPropertyKey(descriptor.key), descriptor); } }
|
|
13646
13646
|
function keypair_createClass(Constructor, protoProps, staticProps) { if (protoProps) keypair_defineProperties(Constructor.prototype, protoProps); if (staticProps) keypair_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13647
|
-
function keypair_toPropertyKey(
|
|
13648
|
-
function keypair_toPrimitive(
|
|
13647
|
+
function keypair_toPropertyKey(t) { var i = keypair_toPrimitive(t, "string"); return "symbol" == keypair_typeof(i) ? i : String(i); }
|
|
13648
|
+
function keypair_toPrimitive(t, r) { if ("object" != keypair_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != keypair_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13649
13649
|
/* eslint no-bitwise: ["error", {"allow": ["^"]}] */
|
|
13650
13650
|
|
|
13651
13651
|
|
|
@@ -13950,8 +13950,8 @@ function asset_typeof(o) { "@babel/helpers - typeof"; return asset_typeof = "fun
|
|
|
13950
13950
|
function asset_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
13951
13951
|
function asset_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, asset_toPropertyKey(descriptor.key), descriptor); } }
|
|
13952
13952
|
function asset_createClass(Constructor, protoProps, staticProps) { if (protoProps) asset_defineProperties(Constructor.prototype, protoProps); if (staticProps) asset_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13953
|
-
function asset_toPropertyKey(
|
|
13954
|
-
function asset_toPrimitive(
|
|
13953
|
+
function asset_toPropertyKey(t) { var i = asset_toPrimitive(t, "string"); return "symbol" == asset_typeof(i) ? i : String(i); }
|
|
13954
|
+
function asset_toPrimitive(t, r) { if ("object" != asset_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != asset_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13955
13955
|
|
|
13956
13956
|
|
|
13957
13957
|
|
|
@@ -14322,8 +14322,8 @@ function transaction_base_typeof(o) { "@babel/helpers - typeof"; return transact
|
|
|
14322
14322
|
function transaction_base_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14323
14323
|
function transaction_base_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, transaction_base_toPropertyKey(descriptor.key), descriptor); } }
|
|
14324
14324
|
function transaction_base_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_base_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_base_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14325
|
-
function transaction_base_toPropertyKey(
|
|
14326
|
-
function transaction_base_toPrimitive(
|
|
14325
|
+
function transaction_base_toPropertyKey(t) { var i = transaction_base_toPrimitive(t, "string"); return "symbol" == transaction_base_typeof(i) ? i : String(i); }
|
|
14326
|
+
function transaction_base_toPrimitive(t, r) { if ("object" != transaction_base_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_base_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14327
14327
|
|
|
14328
14328
|
|
|
14329
14329
|
|
|
@@ -14621,8 +14621,8 @@ function _defineProperty(obj, key, value) { key = liquidity_pool_asset_toPropert
|
|
|
14621
14621
|
function liquidity_pool_asset_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14622
14622
|
function liquidity_pool_asset_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, liquidity_pool_asset_toPropertyKey(descriptor.key), descriptor); } }
|
|
14623
14623
|
function liquidity_pool_asset_createClass(Constructor, protoProps, staticProps) { if (protoProps) liquidity_pool_asset_defineProperties(Constructor.prototype, protoProps); if (staticProps) liquidity_pool_asset_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14624
|
-
function liquidity_pool_asset_toPropertyKey(
|
|
14625
|
-
function liquidity_pool_asset_toPrimitive(
|
|
14624
|
+
function liquidity_pool_asset_toPropertyKey(t) { var i = liquidity_pool_asset_toPrimitive(t, "string"); return "symbol" == liquidity_pool_asset_typeof(i) ? i : String(i); }
|
|
14625
|
+
function liquidity_pool_asset_toPrimitive(t, r) { if ("object" != liquidity_pool_asset_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_asset_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14626
14626
|
|
|
14627
14627
|
|
|
14628
14628
|
|
|
@@ -14739,8 +14739,8 @@ function claimant_typeof(o) { "@babel/helpers - typeof"; return claimant_typeof
|
|
|
14739
14739
|
function claimant_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14740
14740
|
function claimant_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, claimant_toPropertyKey(descriptor.key), descriptor); } }
|
|
14741
14741
|
function claimant_createClass(Constructor, protoProps, staticProps) { if (protoProps) claimant_defineProperties(Constructor.prototype, protoProps); if (staticProps) claimant_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14742
|
-
function claimant_toPropertyKey(
|
|
14743
|
-
function claimant_toPrimitive(
|
|
14742
|
+
function claimant_toPropertyKey(t) { var i = claimant_toPrimitive(t, "string"); return "symbol" == claimant_typeof(i) ? i : String(i); }
|
|
14743
|
+
function claimant_toPrimitive(t, r) { if ("object" != claimant_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != claimant_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14744
14744
|
|
|
14745
14745
|
|
|
14746
14746
|
|
|
@@ -14927,8 +14927,8 @@ function liquidity_pool_id_typeof(o) { "@babel/helpers - typeof"; return liquidi
|
|
|
14927
14927
|
function liquidity_pool_id_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14928
14928
|
function liquidity_pool_id_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, liquidity_pool_id_toPropertyKey(descriptor.key), descriptor); } }
|
|
14929
14929
|
function liquidity_pool_id_createClass(Constructor, protoProps, staticProps) { if (protoProps) liquidity_pool_id_defineProperties(Constructor.prototype, protoProps); if (staticProps) liquidity_pool_id_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
14930
|
-
function liquidity_pool_id_toPropertyKey(
|
|
14931
|
-
function liquidity_pool_id_toPrimitive(
|
|
14930
|
+
function liquidity_pool_id_toPropertyKey(t) { var i = liquidity_pool_id_toPrimitive(t, "string"); return "symbol" == liquidity_pool_id_typeof(i) ? i : String(i); }
|
|
14931
|
+
function liquidity_pool_id_toPrimitive(t, r) { if ("object" != liquidity_pool_id_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_id_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
14932
14932
|
|
|
14933
14933
|
|
|
14934
14934
|
/**
|
|
@@ -16499,8 +16499,8 @@ function address_typeof(o) { "@babel/helpers - typeof"; return address_typeof =
|
|
|
16499
16499
|
function address_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16500
16500
|
function address_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, address_toPropertyKey(descriptor.key), descriptor); } }
|
|
16501
16501
|
function address_createClass(Constructor, protoProps, staticProps) { if (protoProps) address_defineProperties(Constructor.prototype, protoProps); if (staticProps) address_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16502
|
-
function address_toPropertyKey(
|
|
16503
|
-
function address_toPrimitive(
|
|
16502
|
+
function address_toPropertyKey(t) { var i = address_toPrimitive(t, "string"); return "symbol" == address_typeof(i) ? i : String(i); }
|
|
16503
|
+
function address_toPrimitive(t, r) { if ("object" != address_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != address_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16504
16504
|
|
|
16505
16505
|
|
|
16506
16506
|
|
|
@@ -16873,9 +16873,9 @@ function getSalty() {
|
|
|
16873
16873
|
|
|
16874
16874
|
|
|
16875
16875
|
/**
|
|
16876
|
-
* Builds an operation to bump the
|
|
16877
|
-
* ledger keys). Its only parameter is the
|
|
16878
|
-
*
|
|
16876
|
+
* Builds an operation to bump the time-to-live of a footprint (read and written
|
|
16877
|
+
* ledger keys). Its only parameter is the new, absolute ledger sequence number
|
|
16878
|
+
* at which the entry will expire.
|
|
16879
16879
|
*
|
|
16880
16880
|
* The footprint itself is derived from the transaction (see
|
|
16881
16881
|
* {@link TransactionBuilder}'s `opts.sorobanData` parameter, which is a
|
|
@@ -16886,12 +16886,11 @@ function getSalty() {
|
|
|
16886
16886
|
* @alias Operation.extendFootprintTtl
|
|
16887
16887
|
*
|
|
16888
16888
|
* @param {object} opts - object holding operation parameters
|
|
16889
|
-
* @param {number} opts.extendTo - the
|
|
16890
|
-
*
|
|
16891
|
-
* this transaction
|
|
16889
|
+
* @param {number} opts.extendTo - the absolute ledger sequence number at which
|
|
16890
|
+
* the transaction's ledger keys will now expire
|
|
16892
16891
|
* @param {string} [opts.source] - an optional source account
|
|
16893
16892
|
*
|
|
16894
|
-
* @returns {xdr.Operation}
|
|
16893
|
+
* @returns {xdr.Operation} an Extend Footprint TTL operation
|
|
16895
16894
|
* (xdr.ExtendFootprintTTLOp)
|
|
16896
16895
|
*/
|
|
16897
16896
|
function extendFootprintTtl(opts) {
|
|
@@ -16975,8 +16974,8 @@ function operation_typeof(o) { "@babel/helpers - typeof"; return operation_typeo
|
|
|
16975
16974
|
function operation_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16976
16975
|
function operation_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, operation_toPropertyKey(descriptor.key), descriptor); } }
|
|
16977
16976
|
function operation_createClass(Constructor, protoProps, staticProps) { if (protoProps) operation_defineProperties(Constructor.prototype, protoProps); if (staticProps) operation_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16978
|
-
function operation_toPropertyKey(
|
|
16979
|
-
function operation_toPrimitive(
|
|
16977
|
+
function operation_toPropertyKey(t) { var i = operation_toPrimitive(t, "string"); return "symbol" == operation_typeof(i) ? i : String(i); }
|
|
16978
|
+
function operation_toPrimitive(t, r) { if ("object" != operation_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != operation_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16980
16979
|
/* eslint-disable no-bitwise */
|
|
16981
16980
|
|
|
16982
16981
|
|
|
@@ -17685,8 +17684,8 @@ function memo_typeof(o) { "@babel/helpers - typeof"; return memo_typeof = "funct
|
|
|
17685
17684
|
function memo_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17686
17685
|
function memo_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, memo_toPropertyKey(descriptor.key), descriptor); } }
|
|
17687
17686
|
function memo_createClass(Constructor, protoProps, staticProps) { if (protoProps) memo_defineProperties(Constructor.prototype, protoProps); if (staticProps) memo_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17688
|
-
function memo_toPropertyKey(
|
|
17689
|
-
function memo_toPrimitive(
|
|
17687
|
+
function memo_toPropertyKey(t) { var i = memo_toPrimitive(t, "string"); return "symbol" == memo_typeof(i) ? i : String(i); }
|
|
17688
|
+
function memo_toPrimitive(t, r) { if ("object" != memo_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != memo_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17690
17689
|
|
|
17691
17690
|
|
|
17692
17691
|
|
|
@@ -17951,15 +17950,15 @@ function transaction_typeof(o) { "@babel/helpers - typeof"; return transaction_t
|
|
|
17951
17950
|
function transaction_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17952
17951
|
function transaction_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, transaction_toPropertyKey(descriptor.key), descriptor); } }
|
|
17953
17952
|
function transaction_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17954
|
-
function transaction_toPropertyKey(
|
|
17955
|
-
function transaction_toPrimitive(
|
|
17956
|
-
function
|
|
17957
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
17958
|
-
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); }; }
|
|
17953
|
+
function transaction_toPropertyKey(t) { var i = transaction_toPrimitive(t, "string"); return "symbol" == transaction_typeof(i) ? i : String(i); }
|
|
17954
|
+
function transaction_toPrimitive(t, r) { if ("object" != transaction_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != transaction_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
17955
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17959
17956
|
function _possibleConstructorReturn(self, call) { if (call && (transaction_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); }
|
|
17960
17957
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
17961
|
-
function _isNativeReflectConstruct() {
|
|
17958
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
17962
17959
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
17960
|
+
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); }
|
|
17961
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
17963
17962
|
|
|
17964
17963
|
|
|
17965
17964
|
|
|
@@ -17989,7 +17988,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
17989
17988
|
*/
|
|
17990
17989
|
var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
17991
17990
|
_inherits(Transaction, _TransactionBase);
|
|
17992
|
-
var _super = _createSuper(Transaction);
|
|
17993
17991
|
function Transaction(envelope, networkPassphrase) {
|
|
17994
17992
|
var _this;
|
|
17995
17993
|
transaction_classCallCheck(this, Transaction);
|
|
@@ -18005,7 +18003,7 @@ var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18005
18003
|
var tx = txEnvelope.tx();
|
|
18006
18004
|
var fee = tx.fee().toString();
|
|
18007
18005
|
var signatures = (txEnvelope.signatures() || []).slice();
|
|
18008
|
-
_this =
|
|
18006
|
+
_this = _callSuper(this, Transaction, [tx, signatures, fee, networkPassphrase]);
|
|
18009
18007
|
_this._envelopeType = envelopeType;
|
|
18010
18008
|
_this._memo = tx.memo();
|
|
18011
18009
|
_this._sequence = tx.seqNum().toString();
|
|
@@ -18316,15 +18314,15 @@ function fee_bump_transaction_typeof(o) { "@babel/helpers - typeof"; return fee_
|
|
|
18316
18314
|
function fee_bump_transaction_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18317
18315
|
function fee_bump_transaction_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, fee_bump_transaction_toPropertyKey(descriptor.key), descriptor); } }
|
|
18318
18316
|
function fee_bump_transaction_createClass(Constructor, protoProps, staticProps) { if (protoProps) fee_bump_transaction_defineProperties(Constructor.prototype, protoProps); if (staticProps) fee_bump_transaction_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18319
|
-
function fee_bump_transaction_toPropertyKey(
|
|
18320
|
-
function fee_bump_transaction_toPrimitive(
|
|
18321
|
-
function
|
|
18322
|
-
function fee_bump_transaction_setPrototypeOf(o, p) { fee_bump_transaction_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return fee_bump_transaction_setPrototypeOf(o, p); }
|
|
18323
|
-
function fee_bump_transaction_createSuper(Derived) { var hasNativeReflectConstruct = fee_bump_transaction_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = fee_bump_transaction_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = fee_bump_transaction_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return fee_bump_transaction_possibleConstructorReturn(this, result); }; }
|
|
18317
|
+
function fee_bump_transaction_toPropertyKey(t) { var i = fee_bump_transaction_toPrimitive(t, "string"); return "symbol" == fee_bump_transaction_typeof(i) ? i : String(i); }
|
|
18318
|
+
function fee_bump_transaction_toPrimitive(t, r) { if ("object" != fee_bump_transaction_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != fee_bump_transaction_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18319
|
+
function fee_bump_transaction_callSuper(t, o, e) { return o = fee_bump_transaction_getPrototypeOf(o), fee_bump_transaction_possibleConstructorReturn(t, fee_bump_transaction_isNativeReflectConstruct() ? Reflect.construct(o, e || [], fee_bump_transaction_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
18324
18320
|
function fee_bump_transaction_possibleConstructorReturn(self, call) { if (call && (fee_bump_transaction_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 fee_bump_transaction_assertThisInitialized(self); }
|
|
18325
18321
|
function fee_bump_transaction_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
18326
|
-
function fee_bump_transaction_isNativeReflectConstruct() {
|
|
18322
|
+
function fee_bump_transaction_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (fee_bump_transaction_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
18327
18323
|
function fee_bump_transaction_getPrototypeOf(o) { fee_bump_transaction_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return fee_bump_transaction_getPrototypeOf(o); }
|
|
18324
|
+
function fee_bump_transaction_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) fee_bump_transaction_setPrototypeOf(subClass, superClass); }
|
|
18325
|
+
function fee_bump_transaction_setPrototypeOf(o, p) { fee_bump_transaction_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return fee_bump_transaction_setPrototypeOf(o, p); }
|
|
18328
18326
|
|
|
18329
18327
|
|
|
18330
18328
|
|
|
@@ -18349,7 +18347,6 @@ function fee_bump_transaction_getPrototypeOf(o) { fee_bump_transaction_getProtot
|
|
|
18349
18347
|
*/
|
|
18350
18348
|
var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
18351
18349
|
fee_bump_transaction_inherits(FeeBumpTransaction, _TransactionBase);
|
|
18352
|
-
var _super = fee_bump_transaction_createSuper(FeeBumpTransaction);
|
|
18353
18350
|
function FeeBumpTransaction(envelope, networkPassphrase) {
|
|
18354
18351
|
var _this;
|
|
18355
18352
|
fee_bump_transaction_classCallCheck(this, FeeBumpTransaction);
|
|
@@ -18366,7 +18363,7 @@ var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
18366
18363
|
var fee = tx.fee().toString();
|
|
18367
18364
|
// clone signatures
|
|
18368
18365
|
var signatures = (txEnvelope.signatures() || []).slice();
|
|
18369
|
-
_this =
|
|
18366
|
+
_this = fee_bump_transaction_callSuper(this, FeeBumpTransaction, [tx, signatures, fee, networkPassphrase]);
|
|
18370
18367
|
var innerTxEnvelope = src_xdr.TransactionEnvelope.envelopeTypeTx(tx.innerTx().v1());
|
|
18371
18368
|
_this._feeSource = encodeMuxedAccountToAddress(_this.tx.feeSource());
|
|
18372
18369
|
_this._innerTransaction = new Transaction(innerTxEnvelope, networkPassphrase);
|
|
@@ -18445,8 +18442,8 @@ function account_typeof(o) { "@babel/helpers - typeof"; return account_typeof =
|
|
|
18445
18442
|
function account_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18446
18443
|
function account_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, account_toPropertyKey(descriptor.key), descriptor); } }
|
|
18447
18444
|
function account_createClass(Constructor, protoProps, staticProps) { if (protoProps) account_defineProperties(Constructor.prototype, protoProps); if (staticProps) account_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18448
|
-
function account_toPropertyKey(
|
|
18449
|
-
function account_toPrimitive(
|
|
18445
|
+
function account_toPropertyKey(t) { var i = account_toPrimitive(t, "string"); return "symbol" == account_typeof(i) ? i : String(i); }
|
|
18446
|
+
function account_toPrimitive(t, r) { if ("object" != account_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != account_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18450
18447
|
|
|
18451
18448
|
|
|
18452
18449
|
|
|
@@ -18520,8 +18517,8 @@ function muxed_account_typeof(o) { "@babel/helpers - typeof"; return muxed_accou
|
|
|
18520
18517
|
function muxed_account_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18521
18518
|
function muxed_account_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, muxed_account_toPropertyKey(descriptor.key), descriptor); } }
|
|
18522
18519
|
function muxed_account_createClass(Constructor, protoProps, staticProps) { if (protoProps) muxed_account_defineProperties(Constructor.prototype, protoProps); if (staticProps) muxed_account_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18523
|
-
function muxed_account_toPropertyKey(
|
|
18524
|
-
function muxed_account_toPrimitive(
|
|
18520
|
+
function muxed_account_toPropertyKey(t) { var i = muxed_account_toPrimitive(t, "string"); return "symbol" == muxed_account_typeof(i) ? i : String(i); }
|
|
18521
|
+
function muxed_account_toPrimitive(t, r) { if ("object" != muxed_account_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != muxed_account_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18525
18522
|
|
|
18526
18523
|
|
|
18527
18524
|
|
|
@@ -18675,8 +18672,8 @@ function sorobandata_builder_classCallCheck(instance, Constructor) { if (!(insta
|
|
|
18675
18672
|
function sorobandata_builder_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, sorobandata_builder_toPropertyKey(descriptor.key), descriptor); } }
|
|
18676
18673
|
function sorobandata_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) sorobandata_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) sorobandata_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18677
18674
|
function sorobandata_builder_defineProperty(obj, key, value) { key = sorobandata_builder_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18678
|
-
function sorobandata_builder_toPropertyKey(
|
|
18679
|
-
function sorobandata_builder_toPrimitive(
|
|
18675
|
+
function sorobandata_builder_toPropertyKey(t) { var i = sorobandata_builder_toPrimitive(t, "string"); return "symbol" == sorobandata_builder_typeof(i) ? i : String(i); }
|
|
18676
|
+
function sorobandata_builder_toPrimitive(t, r) { if ("object" != sorobandata_builder_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sorobandata_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18680
18677
|
|
|
18681
18678
|
|
|
18682
18679
|
/**
|
|
@@ -18887,8 +18884,8 @@ function signerkey_typeof(o) { "@babel/helpers - typeof"; return signerkey_typeo
|
|
|
18887
18884
|
function signerkey_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18888
18885
|
function signerkey_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, signerkey_toPropertyKey(descriptor.key), descriptor); } }
|
|
18889
18886
|
function signerkey_createClass(Constructor, protoProps, staticProps) { if (protoProps) signerkey_defineProperties(Constructor.prototype, protoProps); if (staticProps) signerkey_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18890
|
-
function signerkey_toPropertyKey(
|
|
18891
|
-
function signerkey_toPrimitive(
|
|
18887
|
+
function signerkey_toPropertyKey(t) { var i = signerkey_toPrimitive(t, "string"); return "symbol" == signerkey_typeof(i) ? i : String(i); }
|
|
18888
|
+
function signerkey_toPrimitive(t, r) { if ("object" != signerkey_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != signerkey_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18892
18889
|
|
|
18893
18890
|
|
|
18894
18891
|
|
|
@@ -18994,8 +18991,8 @@ function transaction_builder_defineProperty(obj, key, value) { key = transaction
|
|
|
18994
18991
|
function transaction_builder_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18995
18992
|
function transaction_builder_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, transaction_builder_toPropertyKey(descriptor.key), descriptor); } }
|
|
18996
18993
|
function transaction_builder_createClass(Constructor, protoProps, staticProps) { if (protoProps) transaction_builder_defineProperties(Constructor.prototype, protoProps); if (staticProps) transaction_builder_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18997
|
-
function transaction_builder_toPropertyKey(
|
|
18998
|
-
function transaction_builder_toPrimitive(
|
|
18994
|
+
function transaction_builder_toPropertyKey(t) { var i = transaction_builder_toPrimitive(t, "string"); return "symbol" == transaction_builder_typeof(i) ? i : String(i); }
|
|
18995
|
+
function transaction_builder_toPrimitive(t, r) { if ("object" != transaction_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_builder_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18999
18996
|
|
|
19000
18997
|
|
|
19001
18998
|
|
|
@@ -19045,7 +19042,7 @@ var TimeoutInfinite = 0;
|
|
|
19045
19042
|
* source account.</p>
|
|
19046
19043
|
*
|
|
19047
19044
|
* <p><strong>Be careful about unsubmitted transactions!</strong> When you build
|
|
19048
|
-
* a transaction, stellar-sdk automatically increments the source account's
|
|
19045
|
+
* a transaction, `stellar-sdk` automatically increments the source account's
|
|
19049
19046
|
* sequence number. If you end up not submitting this transaction and submitting
|
|
19050
19047
|
* another one instead, it'll fail due to the sequence number being wrong. So if
|
|
19051
19048
|
* you decide not to use a built transaction, make sure to update the source
|
|
@@ -19756,8 +19753,8 @@ function soroban_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
19756
19753
|
function soroban_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19757
19754
|
function soroban_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, soroban_toPropertyKey(descriptor.key), descriptor); } }
|
|
19758
19755
|
function soroban_createClass(Constructor, protoProps, staticProps) { if (protoProps) soroban_defineProperties(Constructor.prototype, protoProps); if (staticProps) soroban_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19759
|
-
function soroban_toPropertyKey(
|
|
19760
|
-
function soroban_toPrimitive(
|
|
19756
|
+
function soroban_toPropertyKey(t) { var i = soroban_toPrimitive(t, "string"); return "symbol" == soroban_typeof(i) ? i : String(i); }
|
|
19757
|
+
function soroban_toPrimitive(t, r) { if ("object" != soroban_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != soroban_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19761
19758
|
/* Helper class to assist with formatting and parsing token amounts. */
|
|
19762
19759
|
var Soroban = /*#__PURE__*/function () {
|
|
19763
19760
|
function Soroban() {
|
|
@@ -19841,8 +19838,8 @@ function contract_typeof(o) { "@babel/helpers - typeof"; return contract_typeof
|
|
|
19841
19838
|
function contract_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19842
19839
|
function contract_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, contract_toPropertyKey(descriptor.key), descriptor); } }
|
|
19843
19840
|
function contract_createClass(Constructor, protoProps, staticProps) { if (protoProps) contract_defineProperties(Constructor.prototype, protoProps); if (staticProps) contract_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19844
|
-
function contract_toPropertyKey(
|
|
19845
|
-
function contract_toPrimitive(
|
|
19841
|
+
function contract_toPropertyKey(t) { var i = contract_toPrimitive(t, "string"); return "symbol" == contract_typeof(i) ? i : String(i); }
|
|
19842
|
+
function contract_toPrimitive(t, r) { if ("object" != contract_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != contract_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19846
19843
|
|
|
19847
19844
|
|
|
19848
19845
|
|
|
@@ -19949,19 +19946,18 @@ function uint128_typeof(o) { "@babel/helpers - typeof"; return uint128_typeof =
|
|
|
19949
19946
|
function uint128_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19950
19947
|
function uint128_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, uint128_toPropertyKey(descriptor.key), descriptor); } }
|
|
19951
19948
|
function uint128_createClass(Constructor, protoProps, staticProps) { if (protoProps) uint128_defineProperties(Constructor.prototype, protoProps); if (staticProps) uint128_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19952
|
-
function uint128_toPropertyKey(
|
|
19953
|
-
function uint128_toPrimitive(
|
|
19954
|
-
function
|
|
19955
|
-
function uint128_setPrototypeOf(o, p) { uint128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint128_setPrototypeOf(o, p); }
|
|
19956
|
-
function uint128_createSuper(Derived) { var hasNativeReflectConstruct = uint128_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = uint128_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = uint128_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return uint128_possibleConstructorReturn(this, result); }; }
|
|
19949
|
+
function uint128_toPropertyKey(t) { var i = uint128_toPrimitive(t, "string"); return "symbol" == uint128_typeof(i) ? i : String(i); }
|
|
19950
|
+
function uint128_toPrimitive(t, r) { if ("object" != uint128_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != uint128_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19951
|
+
function uint128_callSuper(t, o, e) { return o = uint128_getPrototypeOf(o), uint128_possibleConstructorReturn(t, uint128_isNativeReflectConstruct() ? Reflect.construct(o, e || [], uint128_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
19957
19952
|
function uint128_possibleConstructorReturn(self, call) { if (call && (uint128_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 uint128_assertThisInitialized(self); }
|
|
19958
19953
|
function uint128_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
19959
|
-
function uint128_isNativeReflectConstruct() {
|
|
19954
|
+
function uint128_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (uint128_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
19960
19955
|
function uint128_getPrototypeOf(o) { uint128_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return uint128_getPrototypeOf(o); }
|
|
19956
|
+
function uint128_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) uint128_setPrototypeOf(subClass, superClass); }
|
|
19957
|
+
function uint128_setPrototypeOf(o, p) { uint128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint128_setPrototypeOf(o, p); }
|
|
19961
19958
|
|
|
19962
19959
|
var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
19963
19960
|
uint128_inherits(Uint128, _LargeInt);
|
|
19964
|
-
var _super = uint128_createSuper(Uint128);
|
|
19965
19961
|
/**
|
|
19966
19962
|
* Construct an unsigned 128-bit integer that can be XDR-encoded.
|
|
19967
19963
|
*
|
|
@@ -19973,7 +19969,7 @@ var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
19973
19969
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
19974
19970
|
args[_key] = arguments[_key];
|
|
19975
19971
|
}
|
|
19976
|
-
return
|
|
19972
|
+
return uint128_callSuper(this, Uint128, [args]);
|
|
19977
19973
|
}
|
|
19978
19974
|
uint128_createClass(Uint128, [{
|
|
19979
19975
|
key: "unsigned",
|
|
@@ -19994,19 +19990,18 @@ function uint256_typeof(o) { "@babel/helpers - typeof"; return uint256_typeof =
|
|
|
19994
19990
|
function uint256_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19995
19991
|
function uint256_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, uint256_toPropertyKey(descriptor.key), descriptor); } }
|
|
19996
19992
|
function uint256_createClass(Constructor, protoProps, staticProps) { if (protoProps) uint256_defineProperties(Constructor.prototype, protoProps); if (staticProps) uint256_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19997
|
-
function uint256_toPropertyKey(
|
|
19998
|
-
function uint256_toPrimitive(
|
|
19999
|
-
function
|
|
20000
|
-
function uint256_setPrototypeOf(o, p) { uint256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint256_setPrototypeOf(o, p); }
|
|
20001
|
-
function uint256_createSuper(Derived) { var hasNativeReflectConstruct = uint256_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = uint256_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = uint256_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return uint256_possibleConstructorReturn(this, result); }; }
|
|
19993
|
+
function uint256_toPropertyKey(t) { var i = uint256_toPrimitive(t, "string"); return "symbol" == uint256_typeof(i) ? i : String(i); }
|
|
19994
|
+
function uint256_toPrimitive(t, r) { if ("object" != uint256_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != uint256_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19995
|
+
function uint256_callSuper(t, o, e) { return o = uint256_getPrototypeOf(o), uint256_possibleConstructorReturn(t, uint256_isNativeReflectConstruct() ? Reflect.construct(o, e || [], uint256_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20002
19996
|
function uint256_possibleConstructorReturn(self, call) { if (call && (uint256_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 uint256_assertThisInitialized(self); }
|
|
20003
19997
|
function uint256_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
20004
|
-
function uint256_isNativeReflectConstruct() {
|
|
19998
|
+
function uint256_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (uint256_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20005
19999
|
function uint256_getPrototypeOf(o) { uint256_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return uint256_getPrototypeOf(o); }
|
|
20000
|
+
function uint256_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) uint256_setPrototypeOf(subClass, superClass); }
|
|
20001
|
+
function uint256_setPrototypeOf(o, p) { uint256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return uint256_setPrototypeOf(o, p); }
|
|
20006
20002
|
|
|
20007
20003
|
var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
20008
20004
|
uint256_inherits(Uint256, _LargeInt);
|
|
20009
|
-
var _super = uint256_createSuper(Uint256);
|
|
20010
20005
|
/**
|
|
20011
20006
|
* Construct an unsigned 256-bit integer that can be XDR-encoded.
|
|
20012
20007
|
*
|
|
@@ -20018,7 +20013,7 @@ var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20018
20013
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
20019
20014
|
args[_key] = arguments[_key];
|
|
20020
20015
|
}
|
|
20021
|
-
return
|
|
20016
|
+
return uint256_callSuper(this, Uint256, [args]);
|
|
20022
20017
|
}
|
|
20023
20018
|
uint256_createClass(Uint256, [{
|
|
20024
20019
|
key: "unsigned",
|
|
@@ -20039,19 +20034,18 @@ function int128_typeof(o) { "@babel/helpers - typeof"; return int128_typeof = "f
|
|
|
20039
20034
|
function int128_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20040
20035
|
function int128_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, int128_toPropertyKey(descriptor.key), descriptor); } }
|
|
20041
20036
|
function int128_createClass(Constructor, protoProps, staticProps) { if (protoProps) int128_defineProperties(Constructor.prototype, protoProps); if (staticProps) int128_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20042
|
-
function int128_toPropertyKey(
|
|
20043
|
-
function int128_toPrimitive(
|
|
20044
|
-
function
|
|
20045
|
-
function int128_setPrototypeOf(o, p) { int128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int128_setPrototypeOf(o, p); }
|
|
20046
|
-
function int128_createSuper(Derived) { var hasNativeReflectConstruct = int128_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = int128_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = int128_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return int128_possibleConstructorReturn(this, result); }; }
|
|
20037
|
+
function int128_toPropertyKey(t) { var i = int128_toPrimitive(t, "string"); return "symbol" == int128_typeof(i) ? i : String(i); }
|
|
20038
|
+
function int128_toPrimitive(t, r) { if ("object" != int128_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != int128_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20039
|
+
function int128_callSuper(t, o, e) { return o = int128_getPrototypeOf(o), int128_possibleConstructorReturn(t, int128_isNativeReflectConstruct() ? Reflect.construct(o, e || [], int128_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20047
20040
|
function int128_possibleConstructorReturn(self, call) { if (call && (int128_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 int128_assertThisInitialized(self); }
|
|
20048
20041
|
function int128_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
20049
|
-
function int128_isNativeReflectConstruct() {
|
|
20042
|
+
function int128_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (int128_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20050
20043
|
function int128_getPrototypeOf(o) { int128_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return int128_getPrototypeOf(o); }
|
|
20044
|
+
function int128_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) int128_setPrototypeOf(subClass, superClass); }
|
|
20045
|
+
function int128_setPrototypeOf(o, p) { int128_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int128_setPrototypeOf(o, p); }
|
|
20051
20046
|
|
|
20052
20047
|
var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
20053
20048
|
int128_inherits(Int128, _LargeInt);
|
|
20054
|
-
var _super = int128_createSuper(Int128);
|
|
20055
20049
|
/**
|
|
20056
20050
|
* Construct a signed 128-bit integer that can be XDR-encoded.
|
|
20057
20051
|
*
|
|
@@ -20063,7 +20057,7 @@ var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20063
20057
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
20064
20058
|
args[_key] = arguments[_key];
|
|
20065
20059
|
}
|
|
20066
|
-
return
|
|
20060
|
+
return int128_callSuper(this, Int128, [args]);
|
|
20067
20061
|
}
|
|
20068
20062
|
int128_createClass(Int128, [{
|
|
20069
20063
|
key: "unsigned",
|
|
@@ -20084,19 +20078,18 @@ function int256_typeof(o) { "@babel/helpers - typeof"; return int256_typeof = "f
|
|
|
20084
20078
|
function int256_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20085
20079
|
function int256_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, int256_toPropertyKey(descriptor.key), descriptor); } }
|
|
20086
20080
|
function int256_createClass(Constructor, protoProps, staticProps) { if (protoProps) int256_defineProperties(Constructor.prototype, protoProps); if (staticProps) int256_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20087
|
-
function int256_toPropertyKey(
|
|
20088
|
-
function int256_toPrimitive(
|
|
20089
|
-
function
|
|
20090
|
-
function int256_setPrototypeOf(o, p) { int256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int256_setPrototypeOf(o, p); }
|
|
20091
|
-
function int256_createSuper(Derived) { var hasNativeReflectConstruct = int256_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = int256_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = int256_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return int256_possibleConstructorReturn(this, result); }; }
|
|
20081
|
+
function int256_toPropertyKey(t) { var i = int256_toPrimitive(t, "string"); return "symbol" == int256_typeof(i) ? i : String(i); }
|
|
20082
|
+
function int256_toPrimitive(t, r) { if ("object" != int256_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != int256_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20083
|
+
function int256_callSuper(t, o, e) { return o = int256_getPrototypeOf(o), int256_possibleConstructorReturn(t, int256_isNativeReflectConstruct() ? Reflect.construct(o, e || [], int256_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20092
20084
|
function int256_possibleConstructorReturn(self, call) { if (call && (int256_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 int256_assertThisInitialized(self); }
|
|
20093
20085
|
function int256_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
20094
|
-
function int256_isNativeReflectConstruct() {
|
|
20086
|
+
function int256_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (int256_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20095
20087
|
function int256_getPrototypeOf(o) { int256_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return int256_getPrototypeOf(o); }
|
|
20088
|
+
function int256_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) int256_setPrototypeOf(subClass, superClass); }
|
|
20089
|
+
function int256_setPrototypeOf(o, p) { int256_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return int256_setPrototypeOf(o, p); }
|
|
20096
20090
|
|
|
20097
20091
|
var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
20098
20092
|
int256_inherits(Int256, _LargeInt);
|
|
20099
|
-
var _super = int256_createSuper(Int256);
|
|
20100
20093
|
/**
|
|
20101
20094
|
* Construct a signed 256-bit integer that can be XDR-encoded.
|
|
20102
20095
|
*
|
|
@@ -20108,7 +20101,7 @@ var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20108
20101
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
20109
20102
|
args[_key] = arguments[_key];
|
|
20110
20103
|
}
|
|
20111
|
-
return
|
|
20104
|
+
return int256_callSuper(this, Int256, [args]);
|
|
20112
20105
|
}
|
|
20113
20106
|
int256_createClass(Int256, [{
|
|
20114
20107
|
key: "unsigned",
|
|
@@ -20130,8 +20123,8 @@ function xdr_large_int_classCallCheck(instance, Constructor) { if (!(instance in
|
|
|
20130
20123
|
function xdr_large_int_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, xdr_large_int_toPropertyKey(descriptor.key), descriptor); } }
|
|
20131
20124
|
function xdr_large_int_createClass(Constructor, protoProps, staticProps) { if (protoProps) xdr_large_int_defineProperties(Constructor.prototype, protoProps); if (staticProps) xdr_large_int_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20132
20125
|
function xdr_large_int_defineProperty(obj, key, value) { key = xdr_large_int_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20133
|
-
function xdr_large_int_toPropertyKey(
|
|
20134
|
-
function xdr_large_int_toPrimitive(
|
|
20126
|
+
function xdr_large_int_toPropertyKey(t) { var i = xdr_large_int_toPrimitive(t, "string"); return "symbol" == xdr_large_int_typeof(i) ? i : String(i); }
|
|
20127
|
+
function xdr_large_int_toPrimitive(t, r) { if ("object" != xdr_large_int_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != xdr_large_int_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20135
20128
|
/* eslint no-bitwise: ["error", {"allow": [">>"]}] */
|
|
20136
20129
|
|
|
20137
20130
|
|
|
@@ -20391,23 +20384,23 @@ var XdrLargeInt = /*#__PURE__*/function () {
|
|
|
20391
20384
|
function sc_int_typeof(o) { "@babel/helpers - typeof"; return sc_int_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; }, sc_int_typeof(o); }
|
|
20392
20385
|
function sc_int_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, sc_int_toPropertyKey(descriptor.key), descriptor); } }
|
|
20393
20386
|
function sc_int_createClass(Constructor, protoProps, staticProps) { if (protoProps) sc_int_defineProperties(Constructor.prototype, protoProps); if (staticProps) sc_int_defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
20394
|
-
function sc_int_toPropertyKey(
|
|
20395
|
-
function sc_int_toPrimitive(
|
|
20387
|
+
function sc_int_toPropertyKey(t) { var i = sc_int_toPrimitive(t, "string"); return "symbol" == sc_int_typeof(i) ? i : String(i); }
|
|
20388
|
+
function sc_int_toPrimitive(t, r) { if ("object" != sc_int_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != sc_int_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20396
20389
|
function sc_int_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
20397
|
-
function
|
|
20398
|
-
function sc_int_setPrototypeOf(o, p) { sc_int_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return sc_int_setPrototypeOf(o, p); }
|
|
20399
|
-
function sc_int_createSuper(Derived) { var hasNativeReflectConstruct = sc_int_isNativeReflectConstruct(); return function _createSuperInternal() { var Super = sc_int_getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = sc_int_getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return sc_int_possibleConstructorReturn(this, result); }; }
|
|
20390
|
+
function sc_int_callSuper(t, o, e) { return o = sc_int_getPrototypeOf(o), sc_int_possibleConstructorReturn(t, sc_int_isNativeReflectConstruct() ? Reflect.construct(o, e || [], sc_int_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
20400
20391
|
function sc_int_possibleConstructorReturn(self, call) { if (call && (sc_int_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 sc_int_assertThisInitialized(self); }
|
|
20401
20392
|
function sc_int_assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
20402
|
-
function sc_int_isNativeReflectConstruct() {
|
|
20393
|
+
function sc_int_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (sc_int_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
20403
20394
|
function sc_int_getPrototypeOf(o) { sc_int_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return sc_int_getPrototypeOf(o); }
|
|
20395
|
+
function sc_int_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) sc_int_setPrototypeOf(subClass, superClass); }
|
|
20396
|
+
function sc_int_setPrototypeOf(o, p) { sc_int_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return sc_int_setPrototypeOf(o, p); }
|
|
20404
20397
|
|
|
20405
20398
|
|
|
20406
20399
|
/**
|
|
20407
20400
|
* Provides an easier way to manipulate large numbers for Stellar operations.
|
|
20408
20401
|
*
|
|
20409
|
-
* You can instantiate this value either from
|
|
20410
|
-
* (whole numbers, or this will throw).
|
|
20402
|
+
* You can instantiate this "**s**mart **c**ontract integer" value either from
|
|
20403
|
+
* bigints, strings, or numbers (whole numbers, or this will throw).
|
|
20411
20404
|
*
|
|
20412
20405
|
* If you need to create a native BigInt from a list of integer "parts" (for
|
|
20413
20406
|
* example, you have a series of encoded 32-bit integers that represent a larger
|
|
@@ -20415,11 +20408,11 @@ function sc_int_getPrototypeOf(o) { sc_int_getPrototypeOf = Object.setPrototypeO
|
|
|
20415
20408
|
* example, you could do `new XdrLargeInt('u128', bytes...).toBigInt()`.
|
|
20416
20409
|
*
|
|
20417
20410
|
* @example
|
|
20418
|
-
* import { xdr, ScInt } from "@stellar/stellar-base";
|
|
20411
|
+
* import { xdr, ScInt, scValToBigInt } from "@stellar/stellar-base";
|
|
20419
20412
|
*
|
|
20420
20413
|
* // You have an ScVal from a contract and want to parse it into JS native.
|
|
20421
20414
|
* const value = xdr.ScVal.fromXDR(someXdr, "base64");
|
|
20422
|
-
* const bigi =
|
|
20415
|
+
* const bigi = scValToBigInt(value); // grab it as a BigInt
|
|
20423
20416
|
* let sci = new ScInt(bigi);
|
|
20424
20417
|
*
|
|
20425
20418
|
* sci.toNumber(); // gives native JS type (w/ size check)
|
|
@@ -20442,7 +20435,7 @@ function sc_int_getPrototypeOf(o) { sc_int_getPrototypeOf = Object.setPrototypeO
|
|
|
20442
20435
|
* ScInt(123456789123456789n);
|
|
20443
20436
|
* ScInt(1n << 140n);
|
|
20444
20437
|
* ScInt(-42);
|
|
20445
|
-
* ScInt
|
|
20438
|
+
* ScInt(scValToBigInt(scValU128)); // from above
|
|
20446
20439
|
*
|
|
20447
20440
|
* // If you know the type ahead of time (accessing `.raw` is faster than
|
|
20448
20441
|
* // conversions), you can specify the type directly (otherwise, it's
|
|
@@ -20470,15 +20463,12 @@ function sc_int_getPrototypeOf(o) { sc_int_getPrototypeOf = Object.setPrototypeO
|
|
|
20470
20463
|
*
|
|
20471
20464
|
* @throws {RangeError} if the `value` is invalid (e.g. floating point), too
|
|
20472
20465
|
* large (i.e. exceeds a 256-bit value), or doesn't fit in the `opts.type`
|
|
20473
|
-
*
|
|
20474
20466
|
* @throws {TypeError} on missing parameters, or if the "signedness" of `opts`
|
|
20475
20467
|
* doesn't match input `value`, e.g. passing `{type: 'u64'}` yet passing -1n
|
|
20476
|
-
*
|
|
20477
20468
|
* @throws {SyntaxError} if a string `value` can't be parsed as a big integer
|
|
20478
20469
|
*/
|
|
20479
20470
|
var ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
20480
20471
|
sc_int_inherits(ScInt, _XdrLargeInt);
|
|
20481
|
-
var _super = sc_int_createSuper(ScInt);
|
|
20482
20472
|
function ScInt(value, opts) {
|
|
20483
20473
|
var _opts$type;
|
|
20484
20474
|
sc_int_classCallCheck(this, ScInt);
|
|
@@ -20503,7 +20493,7 @@ var ScInt = /*#__PURE__*/function (_XdrLargeInt) {
|
|
|
20503
20493
|
throw RangeError("expected 64/128/256 bits for input (".concat(value, "), got ").concat(bitlen));
|
|
20504
20494
|
}
|
|
20505
20495
|
}
|
|
20506
|
-
return
|
|
20496
|
+
return sc_int_callSuper(this, ScInt, [type, value]);
|
|
20507
20497
|
}
|
|
20508
20498
|
return sc_int_createClass(ScInt);
|
|
20509
20499
|
}(XdrLargeInt);
|
|
@@ -20674,7 +20664,12 @@ function scval_typeof(o) { "@babel/helpers - typeof"; return scval_typeof = "fun
|
|
|
20674
20664
|
* // ]
|
|
20675
20665
|
*
|
|
20676
20666
|
* @example
|
|
20677
|
-
* import {
|
|
20667
|
+
* import {
|
|
20668
|
+
* nativeToScVal,
|
|
20669
|
+
* scValToNative,
|
|
20670
|
+
* ScInt,
|
|
20671
|
+
* xdr
|
|
20672
|
+
* } from '@stellar/stellar-base';
|
|
20678
20673
|
*
|
|
20679
20674
|
* let gigaMap = {
|
|
20680
20675
|
* bool: true,
|
|
@@ -20928,6 +20923,12 @@ function scValToNative(scv) {
|
|
|
20928
20923
|
}
|
|
20929
20924
|
}
|
|
20930
20925
|
;// CONCATENATED MODULE: ./src/events.js
|
|
20926
|
+
function events_typeof(o) { "@babel/helpers - typeof"; return events_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; }, events_typeof(o); }
|
|
20927
|
+
function events_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; }
|
|
20928
|
+
function events_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? events_ownKeys(Object(t), !0).forEach(function (r) { events_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : events_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20929
|
+
function events_defineProperty(obj, key, value) { key = events_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
20930
|
+
function events_toPropertyKey(t) { var i = events_toPrimitive(t, "string"); return "symbol" == events_typeof(i) ? i : String(i); }
|
|
20931
|
+
function events_toPrimitive(t, r) { if ("object" != events_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != events_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
20931
20932
|
|
|
20932
20933
|
|
|
20933
20934
|
|
|
@@ -20955,14 +20956,15 @@ function humanizeEvents(events) {
|
|
|
20955
20956
|
});
|
|
20956
20957
|
}
|
|
20957
20958
|
function extractEvent(event) {
|
|
20958
|
-
return {
|
|
20959
|
-
contractId:
|
|
20959
|
+
return events_objectSpread(events_objectSpread({}, event.contractId() != null && {
|
|
20960
|
+
contractId: StrKey.encodeContract(event.contractId())
|
|
20961
|
+
}), {}, {
|
|
20960
20962
|
type: event.type().name,
|
|
20961
20963
|
topics: event.body().value().topics().map(function (t) {
|
|
20962
20964
|
return scValToNative(t);
|
|
20963
20965
|
}),
|
|
20964
20966
|
data: scValToNative(event.body().value().data())
|
|
20965
|
-
};
|
|
20967
|
+
});
|
|
20966
20968
|
}
|
|
20967
20969
|
;// CONCATENATED MODULE: ./src/auth.js
|
|
20968
20970
|
/* provided dependency */ var auth_Buffer = __webpack_require__(8764)["Buffer"];
|
|
@@ -21029,7 +21031,12 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
21029
21031
|
*
|
|
21030
21032
|
* @see authorizeInvocation
|
|
21031
21033
|
* @example
|
|
21032
|
-
* import {
|
|
21034
|
+
* import {
|
|
21035
|
+
* SorobanRpc,
|
|
21036
|
+
* Transaction,
|
|
21037
|
+
* Networks,
|
|
21038
|
+
* authorizeEntry
|
|
21039
|
+
* } from '@stellar/stellar-sdk';
|
|
21033
21040
|
*
|
|
21034
21041
|
* // Assume signPayloadCallback is a well-formed signing callback.
|
|
21035
21042
|
* //
|
|
@@ -21041,7 +21048,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
21041
21048
|
* }
|
|
21042
21049
|
*
|
|
21043
21050
|
* function multiPartyAuth(
|
|
21044
|
-
* server: Server,
|
|
21051
|
+
* server: SorobanRpc.Server,
|
|
21045
21052
|
* // assume this involves multi-party auth
|
|
21046
21053
|
* tx: Transaction,
|
|
21047
21054
|
* ) {
|
|
@@ -21053,10 +21060,10 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
21053
21060
|
* entry,
|
|
21054
21061
|
* signPayloadCallback,
|
|
21055
21062
|
* currentLedger + 1000,
|
|
21056
|
-
* Networks.
|
|
21063
|
+
* Networks.TESTNET);
|
|
21057
21064
|
* ));
|
|
21058
21065
|
*
|
|
21059
|
-
* return server.prepareTransaction(tx,
|
|
21066
|
+
* return server.prepareTransaction(tx, simResult);
|
|
21060
21067
|
* })
|
|
21061
21068
|
* .then((preppedTx) => {
|
|
21062
21069
|
* preppedTx.sign(source);
|
|
@@ -21275,7 +21282,7 @@ function bytesToInt64(bytes) {
|
|
|
21275
21282
|
* `tx`, which we assume has an `Operation.invokeHostFunction` inside of it:
|
|
21276
21283
|
*
|
|
21277
21284
|
* ```typescript
|
|
21278
|
-
* import { Server, buildInvocationTree } from '
|
|
21285
|
+
* import { Server, buildInvocationTree } from '@stellar/stellar-sdk';
|
|
21279
21286
|
*
|
|
21280
21287
|
* const s = new Server("fill in accordingly");
|
|
21281
21288
|
*
|
|
@@ -26165,6 +26172,9 @@ var gOPD = __webpack_require__(7296);
|
|
|
26165
26172
|
var $TypeError = GetIntrinsic('%TypeError%');
|
|
26166
26173
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
26167
26174
|
|
|
26175
|
+
/** @typedef {(...args: unknown[]) => unknown} Func */
|
|
26176
|
+
|
|
26177
|
+
/** @type {<T extends Func = Func>(fn: T, length: number, loose?: boolean) => T} */
|
|
26168
26178
|
module.exports = function setFunctionLength(fn, length) {
|
|
26169
26179
|
if (typeof fn !== 'function') {
|
|
26170
26180
|
throw new $TypeError('`fn` is not a function');
|
|
@@ -26189,9 +26199,9 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
26189
26199
|
|
|
26190
26200
|
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
26191
26201
|
if (hasDescriptors) {
|
|
26192
|
-
define(fn, 'length', length, true, true);
|
|
26202
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length, true, true);
|
|
26193
26203
|
} else {
|
|
26194
|
-
define(fn, 'length', length);
|
|
26204
|
+
define(/** @type {Parameters<define>[0]} */ (fn), 'length', length);
|
|
26195
26205
|
}
|
|
26196
26206
|
}
|
|
26197
26207
|
return fn;
|