@stellar/stellar-base 13.0.0-beta.1 → 13.0.0
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 +7 -0
- package/dist/stellar-base.js +72 -72
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## [`v13.0.0`](https://github.com/stellar/js-stellar-base/compare/v12.1.1...v13.0.0)
|
|
7
|
+
|
|
8
|
+
**This release supports Protocol 22.** While the network has not upgraded yet, you can start integrating the new features into your codebase if you want a head start. Keep in mind that while the binary XDR is backwards-compatible, the naming and layout of structures is not. In other words, this build will continue to work on Protocol 21, but you may have to update code that references XDR directly.
|
|
9
|
+
|
|
10
|
+
This version is unchanged from [`beta.1`](#v13.0.0-beta.1).
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
## [`v13.0.0-beta.1`](https://github.com/stellar/js-stellar-base/compare/v12.1.1...v13.0.0-beta.1)
|
|
7
14
|
|
|
8
15
|
**This is the first release that supports Protocol 22.** While the network has not upgraded yet, you can start integrating the new features into your codebase if you want a head start. Keep in mind that while the binary XDR is backwards-compatible, the naming and layout of structures is not. In other words, this build will continue to work on Protocol 21, but you may have to update code that references XDR directly.
|
package/dist/stellar-base.js
CHANGED
|
@@ -1918,7 +1918,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1918
1918
|
|
|
1919
1919
|
// EXTERNAL MODULE: ./node_modules/@stellar/js-xdr/dist/xdr.js
|
|
1920
1920
|
var xdr = __webpack_require__(3740);
|
|
1921
|
-
;//
|
|
1921
|
+
;// ./src/generated/curr_generated.js
|
|
1922
1922
|
// Automatically generated by xdrgen on 2024-09-12T11:09:00-08:00
|
|
1923
1923
|
// DO NOT EDIT or your changes may be overwritten
|
|
1924
1924
|
|
|
@@ -11076,10 +11076,10 @@ var types = xdr.config(function (xdr) {
|
|
|
11076
11076
|
});
|
|
11077
11077
|
});
|
|
11078
11078
|
/* harmony default export */ const curr_generated = (types);
|
|
11079
|
-
;//
|
|
11079
|
+
;// ./src/xdr.js
|
|
11080
11080
|
|
|
11081
11081
|
/* harmony default export */ const src_xdr = (curr_generated);
|
|
11082
|
-
;//
|
|
11082
|
+
;// ./src/jsxdr.js
|
|
11083
11083
|
|
|
11084
11084
|
var cereal = {
|
|
11085
11085
|
XdrWriter: xdr.XdrWriter,
|
|
@@ -11088,14 +11088,14 @@ var cereal = {
|
|
|
11088
11088
|
/* harmony default export */ const jsxdr = (cereal);
|
|
11089
11089
|
// EXTERNAL MODULE: ./node_modules/sha.js/index.js
|
|
11090
11090
|
var sha_js = __webpack_require__(2802);
|
|
11091
|
-
;//
|
|
11091
|
+
;// ./src/hashing.js
|
|
11092
11092
|
|
|
11093
11093
|
function hashing_hash(data) {
|
|
11094
11094
|
var hasher = new sha_js.sha256();
|
|
11095
11095
|
hasher.update(data, 'utf8');
|
|
11096
11096
|
return hasher.digest();
|
|
11097
11097
|
}
|
|
11098
|
-
;//
|
|
11098
|
+
;// ./src/signing.js
|
|
11099
11099
|
/* provided dependency */ var Buffer = __webpack_require__(3626)["A"];
|
|
11100
11100
|
// This module provides the signing functionality used by the stellar network
|
|
11101
11101
|
// The code below may look a little strange... this is because we try to provide
|
|
@@ -11184,7 +11184,7 @@ function checkFastSigningBrowser() {
|
|
|
11184
11184
|
};
|
|
11185
11185
|
return false;
|
|
11186
11186
|
}
|
|
11187
|
-
;//
|
|
11187
|
+
;// ./src/util/util.js
|
|
11188
11188
|
var trimEnd = function trimEnd(input, _char) {
|
|
11189
11189
|
var isNumber = typeof input === 'number';
|
|
11190
11190
|
var str = String(input);
|
|
@@ -11198,7 +11198,7 @@ var nacl_fast = __webpack_require__(8947);
|
|
|
11198
11198
|
var nacl_fast_default = /*#__PURE__*/__webpack_require__.n(nacl_fast);
|
|
11199
11199
|
// EXTERNAL MODULE: ./node_modules/base32.js/base32.js
|
|
11200
11200
|
var base32 = __webpack_require__(5360);
|
|
11201
|
-
;//
|
|
11201
|
+
;// ./src/util/checksum.js
|
|
11202
11202
|
function verifyChecksum(expected, actual) {
|
|
11203
11203
|
if (expected.length !== actual.length) {
|
|
11204
11204
|
return false;
|
|
@@ -11213,7 +11213,7 @@ function verifyChecksum(expected, actual) {
|
|
|
11213
11213
|
}
|
|
11214
11214
|
return true;
|
|
11215
11215
|
}
|
|
11216
|
-
;//
|
|
11216
|
+
;// ./src/strkey.js
|
|
11217
11217
|
/* provided dependency */ var strkey_Buffer = __webpack_require__(3626)["A"];
|
|
11218
11218
|
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); }
|
|
11219
11219
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -11608,7 +11608,7 @@ function calculateChecksum(payload) {
|
|
|
11608
11608
|
checksum[1] = crc16 >> 8 & 0xff;
|
|
11609
11609
|
return checksum;
|
|
11610
11610
|
}
|
|
11611
|
-
;//
|
|
11611
|
+
;// ./src/keypair.js
|
|
11612
11612
|
/* provided dependency */ var keypair_Buffer = __webpack_require__(3626)["A"];
|
|
11613
11613
|
function keypair_typeof(o) { "@babel/helpers - typeof"; return keypair_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; }, keypair_typeof(o); }
|
|
11614
11614
|
function keypair_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -11913,7 +11913,7 @@ var Keypair = /*#__PURE__*/function () {
|
|
|
11913
11913
|
}
|
|
11914
11914
|
}]);
|
|
11915
11915
|
}();
|
|
11916
|
-
;//
|
|
11916
|
+
;// ./src/asset.js
|
|
11917
11917
|
/* provided dependency */ var asset_Buffer = __webpack_require__(3626)["A"];
|
|
11918
11918
|
function asset_typeof(o) { "@babel/helpers - typeof"; return asset_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; }, asset_typeof(o); }
|
|
11919
11919
|
function asset_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -12232,7 +12232,7 @@ var Asset = /*#__PURE__*/function () {
|
|
|
12232
12232
|
function asciiCompare(a, b) {
|
|
12233
12233
|
return asset_Buffer.compare(asset_Buffer.from(a, 'ascii'), asset_Buffer.from(b, 'ascii'));
|
|
12234
12234
|
}
|
|
12235
|
-
;//
|
|
12235
|
+
;// ./src/get_liquidity_pool_id.js
|
|
12236
12236
|
/* provided dependency */ var get_liquidity_pool_id_Buffer = __webpack_require__(3626)["A"];
|
|
12237
12237
|
|
|
12238
12238
|
|
|
@@ -12284,7 +12284,7 @@ function getLiquidityPoolId(liquidityPoolType) {
|
|
|
12284
12284
|
var payload = get_liquidity_pool_id_Buffer.concat([lpTypeData, lpParamsData]);
|
|
12285
12285
|
return hashing_hash(payload);
|
|
12286
12286
|
}
|
|
12287
|
-
;//
|
|
12287
|
+
;// ./src/transaction_base.js
|
|
12288
12288
|
/* provided dependency */ var transaction_base_Buffer = __webpack_require__(3626)["A"];
|
|
12289
12289
|
function transaction_base_typeof(o) { "@babel/helpers - typeof"; return transaction_base_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; }, transaction_base_typeof(o); }
|
|
12290
12290
|
function transaction_base_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -12527,7 +12527,7 @@ var TransactionBase = /*#__PURE__*/function () {
|
|
|
12527
12527
|
}
|
|
12528
12528
|
}]);
|
|
12529
12529
|
}();
|
|
12530
|
-
;//
|
|
12530
|
+
;// ./node_modules/bignumber.js/bignumber.mjs
|
|
12531
12531
|
/*
|
|
12532
12532
|
* bignumber.js v9.1.2
|
|
12533
12533
|
* A JavaScript library for arbitrary-precision arithmetic.
|
|
@@ -15436,13 +15436,13 @@ var BigNumber = clone();
|
|
|
15436
15436
|
|
|
15437
15437
|
/* harmony default export */ const bignumber = (BigNumber);
|
|
15438
15438
|
|
|
15439
|
-
;//
|
|
15439
|
+
;// ./src/util/bignumber.js
|
|
15440
15440
|
|
|
15441
15441
|
var bignumber_BigNumber = bignumber.clone();
|
|
15442
15442
|
bignumber_BigNumber.DEBUG = true; // gives us exceptions on bad constructor values
|
|
15443
15443
|
|
|
15444
15444
|
/* harmony default export */ const util_bignumber = (bignumber_BigNumber);
|
|
15445
|
-
;//
|
|
15445
|
+
;// ./src/util/continued_fraction.js
|
|
15446
15446
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
15447
15447
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15448
15448
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -15495,7 +15495,7 @@ function best_r(rawNumber) {
|
|
|
15495
15495
|
}
|
|
15496
15496
|
return [n.toNumber(), d.toNumber()];
|
|
15497
15497
|
}
|
|
15498
|
-
;//
|
|
15498
|
+
;// ./src/liquidity_pool_asset.js
|
|
15499
15499
|
function liquidity_pool_asset_typeof(o) { "@babel/helpers - typeof"; return liquidity_pool_asset_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; }, liquidity_pool_asset_typeof(o); }
|
|
15500
15500
|
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; }
|
|
15501
15501
|
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; }
|
|
@@ -15615,7 +15615,7 @@ var LiquidityPoolAsset = /*#__PURE__*/function () {
|
|
|
15615
15615
|
}
|
|
15616
15616
|
}]);
|
|
15617
15617
|
}();
|
|
15618
|
-
;//
|
|
15618
|
+
;// ./src/claimant.js
|
|
15619
15619
|
function claimant_typeof(o) { "@babel/helpers - typeof"; return claimant_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; }, claimant_typeof(o); }
|
|
15620
15620
|
function claimant_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15621
15621
|
function claimant_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, claimant_toPropertyKey(o.key), o); } }
|
|
@@ -15802,7 +15802,7 @@ var Claimant = /*#__PURE__*/function () {
|
|
|
15802
15802
|
}
|
|
15803
15803
|
}]);
|
|
15804
15804
|
}();
|
|
15805
|
-
;//
|
|
15805
|
+
;// ./src/liquidity_pool_id.js
|
|
15806
15806
|
function liquidity_pool_id_typeof(o) { "@babel/helpers - typeof"; return liquidity_pool_id_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; }, liquidity_pool_id_typeof(o); }
|
|
15807
15807
|
function liquidity_pool_id_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15808
15808
|
function liquidity_pool_id_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, liquidity_pool_id_toPropertyKey(o.key), o); } }
|
|
@@ -15897,7 +15897,7 @@ var LiquidityPoolId = /*#__PURE__*/function () {
|
|
|
15897
15897
|
}
|
|
15898
15898
|
}]);
|
|
15899
15899
|
}();
|
|
15900
|
-
;//
|
|
15900
|
+
;// ./src/operations/manage_sell_offer.js
|
|
15901
15901
|
|
|
15902
15902
|
|
|
15903
15903
|
/**
|
|
@@ -15941,7 +15941,7 @@ function manageSellOffer(opts) {
|
|
|
15941
15941
|
this.setSourceAccount(opAttributes, opts);
|
|
15942
15942
|
return new src_xdr.Operation(opAttributes);
|
|
15943
15943
|
}
|
|
15944
|
-
;//
|
|
15944
|
+
;// ./src/operations/create_passive_sell_offer.js
|
|
15945
15945
|
|
|
15946
15946
|
|
|
15947
15947
|
/**
|
|
@@ -15980,7 +15980,7 @@ function createPassiveSellOffer(opts) {
|
|
|
15980
15980
|
this.setSourceAccount(opAttributes, opts);
|
|
15981
15981
|
return new src_xdr.Operation(opAttributes);
|
|
15982
15982
|
}
|
|
15983
|
-
;//
|
|
15983
|
+
;// ./src/util/decode_encode_muxed_account.js
|
|
15984
15984
|
/* provided dependency */ var decode_encode_muxed_account_Buffer = __webpack_require__(3626)["A"];
|
|
15985
15985
|
|
|
15986
15986
|
|
|
@@ -16089,7 +16089,7 @@ function _encodeMuxedAccountFullyToAddress(muxedAccount) {
|
|
|
16089
16089
|
var muxed = muxedAccount.med25519();
|
|
16090
16090
|
return StrKey.encodeMed25519PublicKey(decode_encode_muxed_account_Buffer.concat([muxed.ed25519(), muxed.id().toXDR('raw')]));
|
|
16091
16091
|
}
|
|
16092
|
-
;//
|
|
16092
|
+
;// ./src/operations/account_merge.js
|
|
16093
16093
|
|
|
16094
16094
|
|
|
16095
16095
|
|
|
@@ -16116,7 +16116,7 @@ function accountMerge(opts) {
|
|
|
16116
16116
|
this.setSourceAccount(opAttributes, opts);
|
|
16117
16117
|
return new src_xdr.Operation(opAttributes);
|
|
16118
16118
|
}
|
|
16119
|
-
;//
|
|
16119
|
+
;// ./src/operations/allow_trust.js
|
|
16120
16120
|
|
|
16121
16121
|
|
|
16122
16122
|
|
|
@@ -16168,7 +16168,7 @@ function allowTrust(opts) {
|
|
|
16168
16168
|
this.setSourceAccount(opAttributes, opts);
|
|
16169
16169
|
return new src_xdr.Operation(opAttributes);
|
|
16170
16170
|
}
|
|
16171
|
-
;//
|
|
16171
|
+
;// ./src/operations/bump_sequence.js
|
|
16172
16172
|
|
|
16173
16173
|
|
|
16174
16174
|
|
|
@@ -16200,7 +16200,7 @@ function bumpSequence(opts) {
|
|
|
16200
16200
|
this.setSourceAccount(opAttributes, opts);
|
|
16201
16201
|
return new src_xdr.Operation(opAttributes);
|
|
16202
16202
|
}
|
|
16203
|
-
;//
|
|
16203
|
+
;// ./src/operations/change_trust.js
|
|
16204
16204
|
|
|
16205
16205
|
|
|
16206
16206
|
|
|
@@ -16246,7 +16246,7 @@ function changeTrust(opts) {
|
|
|
16246
16246
|
this.setSourceAccount(opAttributes, opts);
|
|
16247
16247
|
return new src_xdr.Operation(opAttributes);
|
|
16248
16248
|
}
|
|
16249
|
-
;//
|
|
16249
|
+
;// ./src/operations/create_account.js
|
|
16250
16250
|
|
|
16251
16251
|
|
|
16252
16252
|
|
|
@@ -16278,7 +16278,7 @@ function createAccount(opts) {
|
|
|
16278
16278
|
this.setSourceAccount(opAttributes, opts);
|
|
16279
16279
|
return new src_xdr.Operation(opAttributes);
|
|
16280
16280
|
}
|
|
16281
|
-
;//
|
|
16281
|
+
;// ./src/operations/create_claimable_balance.js
|
|
16282
16282
|
|
|
16283
16283
|
|
|
16284
16284
|
|
|
@@ -16338,7 +16338,7 @@ function createClaimableBalance(opts) {
|
|
|
16338
16338
|
this.setSourceAccount(opAttributes, opts);
|
|
16339
16339
|
return new src_xdr.Operation(opAttributes);
|
|
16340
16340
|
}
|
|
16341
|
-
;//
|
|
16341
|
+
;// ./src/operations/claim_claimable_balance.js
|
|
16342
16342
|
|
|
16343
16343
|
|
|
16344
16344
|
/**
|
|
@@ -16372,7 +16372,7 @@ function validateClaimableBalanceId(balanceId) {
|
|
|
16372
16372
|
throw new Error('must provide a valid claimable balance id');
|
|
16373
16373
|
}
|
|
16374
16374
|
}
|
|
16375
|
-
;//
|
|
16375
|
+
;// ./src/operations/clawback_claimable_balance.js
|
|
16376
16376
|
|
|
16377
16377
|
|
|
16378
16378
|
|
|
@@ -16406,7 +16406,7 @@ function clawbackClaimableBalance() {
|
|
|
16406
16406
|
this.setSourceAccount(opAttributes, opts);
|
|
16407
16407
|
return new src_xdr.Operation(opAttributes);
|
|
16408
16408
|
}
|
|
16409
|
-
;//
|
|
16409
|
+
;// ./src/operations/inflation.js
|
|
16410
16410
|
|
|
16411
16411
|
|
|
16412
16412
|
/**
|
|
@@ -16424,7 +16424,7 @@ function inflation() {
|
|
|
16424
16424
|
this.setSourceAccount(opAttributes, opts);
|
|
16425
16425
|
return new src_xdr.Operation(opAttributes);
|
|
16426
16426
|
}
|
|
16427
|
-
;//
|
|
16427
|
+
;// ./src/operations/manage_data.js
|
|
16428
16428
|
/* provided dependency */ var manage_data_Buffer = __webpack_require__(3626)["A"];
|
|
16429
16429
|
|
|
16430
16430
|
|
|
@@ -16461,7 +16461,7 @@ function manageData(opts) {
|
|
|
16461
16461
|
this.setSourceAccount(opAttributes, opts);
|
|
16462
16462
|
return new src_xdr.Operation(opAttributes);
|
|
16463
16463
|
}
|
|
16464
|
-
;//
|
|
16464
|
+
;// ./src/operations/manage_buy_offer.js
|
|
16465
16465
|
|
|
16466
16466
|
|
|
16467
16467
|
/**
|
|
@@ -16505,7 +16505,7 @@ function manageBuyOffer(opts) {
|
|
|
16505
16505
|
this.setSourceAccount(opAttributes, opts);
|
|
16506
16506
|
return new src_xdr.Operation(opAttributes);
|
|
16507
16507
|
}
|
|
16508
|
-
;//
|
|
16508
|
+
;// ./src/operations/path_payment_strict_receive.js
|
|
16509
16509
|
|
|
16510
16510
|
|
|
16511
16511
|
|
|
@@ -16568,7 +16568,7 @@ function pathPaymentStrictReceive(opts) {
|
|
|
16568
16568
|
this.setSourceAccount(opAttributes, opts);
|
|
16569
16569
|
return new src_xdr.Operation(opAttributes);
|
|
16570
16570
|
}
|
|
16571
|
-
;//
|
|
16571
|
+
;// ./src/operations/path_payment_strict_send.js
|
|
16572
16572
|
|
|
16573
16573
|
|
|
16574
16574
|
|
|
@@ -16631,7 +16631,7 @@ function pathPaymentStrictSend(opts) {
|
|
|
16631
16631
|
this.setSourceAccount(opAttributes, opts);
|
|
16632
16632
|
return new src_xdr.Operation(opAttributes);
|
|
16633
16633
|
}
|
|
16634
|
-
;//
|
|
16634
|
+
;// ./src/operations/payment.js
|
|
16635
16635
|
|
|
16636
16636
|
|
|
16637
16637
|
|
|
@@ -16673,7 +16673,7 @@ function payment(opts) {
|
|
|
16673
16673
|
this.setSourceAccount(opAttributes, opts);
|
|
16674
16674
|
return new src_xdr.Operation(opAttributes);
|
|
16675
16675
|
}
|
|
16676
|
-
;//
|
|
16676
|
+
;// ./src/operations/set_options.js
|
|
16677
16677
|
/* provided dependency */ var set_options_Buffer = __webpack_require__(3626)["A"];
|
|
16678
16678
|
/* eslint-disable no-param-reassign */
|
|
16679
16679
|
|
|
@@ -16803,7 +16803,7 @@ function setOptions(opts) {
|
|
|
16803
16803
|
this.setSourceAccount(opAttributes, opts);
|
|
16804
16804
|
return new src_xdr.Operation(opAttributes);
|
|
16805
16805
|
}
|
|
16806
|
-
;//
|
|
16806
|
+
;// ./src/operations/begin_sponsoring_future_reserves.js
|
|
16807
16807
|
|
|
16808
16808
|
|
|
16809
16809
|
|
|
@@ -16836,7 +16836,7 @@ function beginSponsoringFutureReserves() {
|
|
|
16836
16836
|
this.setSourceAccount(opAttributes, opts);
|
|
16837
16837
|
return new src_xdr.Operation(opAttributes);
|
|
16838
16838
|
}
|
|
16839
|
-
;//
|
|
16839
|
+
;// ./src/operations/end_sponsoring_future_reserves.js
|
|
16840
16840
|
|
|
16841
16841
|
|
|
16842
16842
|
/**
|
|
@@ -16858,7 +16858,7 @@ function endSponsoringFutureReserves() {
|
|
|
16858
16858
|
this.setSourceAccount(opAttributes, opts);
|
|
16859
16859
|
return new src_xdr.Operation(opAttributes);
|
|
16860
16860
|
}
|
|
16861
|
-
;//
|
|
16861
|
+
;// ./src/operations/revoke_sponsorship.js
|
|
16862
16862
|
/* provided dependency */ var revoke_sponsorship_Buffer = __webpack_require__(3626)["A"];
|
|
16863
16863
|
|
|
16864
16864
|
|
|
@@ -17149,7 +17149,7 @@ function revokeSignerSponsorship() {
|
|
|
17149
17149
|
this.setSourceAccount(opAttributes, opts);
|
|
17150
17150
|
return new src_xdr.Operation(opAttributes);
|
|
17151
17151
|
}
|
|
17152
|
-
;//
|
|
17152
|
+
;// ./src/operations/clawback.js
|
|
17153
17153
|
|
|
17154
17154
|
|
|
17155
17155
|
|
|
@@ -17190,7 +17190,7 @@ function clawback(opts) {
|
|
|
17190
17190
|
this.setSourceAccount(opAttributes, opts);
|
|
17191
17191
|
return new src_xdr.Operation(opAttributes);
|
|
17192
17192
|
}
|
|
17193
|
-
;//
|
|
17193
|
+
;// ./src/operations/set_trustline_flags.js
|
|
17194
17194
|
function set_trustline_flags_typeof(o) { "@babel/helpers - typeof"; return set_trustline_flags_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; }, set_trustline_flags_typeof(o); }
|
|
17195
17195
|
|
|
17196
17196
|
|
|
@@ -17269,7 +17269,7 @@ function setTrustLineFlags() {
|
|
|
17269
17269
|
this.setSourceAccount(opAttributes, opts);
|
|
17270
17270
|
return new src_xdr.Operation(opAttributes);
|
|
17271
17271
|
}
|
|
17272
|
-
;//
|
|
17272
|
+
;// ./src/operations/liquidity_pool_deposit.js
|
|
17273
17273
|
|
|
17274
17274
|
|
|
17275
17275
|
/**
|
|
@@ -17328,7 +17328,7 @@ function liquidityPoolDeposit() {
|
|
|
17328
17328
|
this.setSourceAccount(opAttributes, opts);
|
|
17329
17329
|
return new src_xdr.Operation(opAttributes);
|
|
17330
17330
|
}
|
|
17331
|
-
;//
|
|
17331
|
+
;// ./src/operations/liquidity_pool_withdraw.js
|
|
17332
17332
|
|
|
17333
17333
|
|
|
17334
17334
|
/**
|
|
@@ -17373,7 +17373,7 @@ function liquidityPoolWithdraw() {
|
|
|
17373
17373
|
this.setSourceAccount(opAttributes, opts);
|
|
17374
17374
|
return new src_xdr.Operation(opAttributes);
|
|
17375
17375
|
}
|
|
17376
|
-
;//
|
|
17376
|
+
;// ./src/address.js
|
|
17377
17377
|
function address_typeof(o) { "@babel/helpers - typeof"; return address_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; }, address_typeof(o); }
|
|
17378
17378
|
function address_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
17379
17379
|
function address_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, address_toPropertyKey(o.key), o); } }
|
|
@@ -17536,7 +17536,7 @@ var Address = /*#__PURE__*/function () {
|
|
|
17536
17536
|
}
|
|
17537
17537
|
}]);
|
|
17538
17538
|
}();
|
|
17539
|
-
;//
|
|
17539
|
+
;// ./src/operations/invoke_host_function.js
|
|
17540
17540
|
/* provided dependency */ var invoke_host_function_Buffer = __webpack_require__(3626)["A"];
|
|
17541
17541
|
function invoke_host_function_slicedToArray(r, e) { return invoke_host_function_arrayWithHoles(r) || invoke_host_function_iterableToArrayLimit(r, e) || invoke_host_function_unsupportedIterableToArray(r, e) || invoke_host_function_nonIterableRest(); }
|
|
17542
17542
|
function invoke_host_function_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -17753,7 +17753,7 @@ function uploadContractWasm(opts) {
|
|
|
17753
17753
|
function getSalty() {
|
|
17754
17754
|
return Keypair.random().xdrPublicKey().value(); // ed25519 is 256 bits, too
|
|
17755
17755
|
}
|
|
17756
|
-
;//
|
|
17756
|
+
;// ./src/operations/extend_footprint_ttl.js
|
|
17757
17757
|
|
|
17758
17758
|
|
|
17759
17759
|
/**
|
|
@@ -17801,7 +17801,7 @@ function extendFootprintTtl(opts) {
|
|
|
17801
17801
|
this.setSourceAccount(opAttributes, opts);
|
|
17802
17802
|
return new src_xdr.Operation(opAttributes);
|
|
17803
17803
|
}
|
|
17804
|
-
;//
|
|
17804
|
+
;// ./src/operations/restore_footprint.js
|
|
17805
17805
|
|
|
17806
17806
|
|
|
17807
17807
|
/**
|
|
@@ -17838,7 +17838,7 @@ function restoreFootprint() {
|
|
|
17838
17838
|
this.setSourceAccount(opAttributes, opts !== null && opts !== void 0 ? opts : {});
|
|
17839
17839
|
return new src_xdr.Operation(opAttributes);
|
|
17840
17840
|
}
|
|
17841
|
-
;//
|
|
17841
|
+
;// ./src/operations/index.js
|
|
17842
17842
|
|
|
17843
17843
|
|
|
17844
17844
|
|
|
@@ -17866,7 +17866,7 @@ function restoreFootprint() {
|
|
|
17866
17866
|
|
|
17867
17867
|
|
|
17868
17868
|
|
|
17869
|
-
;//
|
|
17869
|
+
;// ./src/operation.js
|
|
17870
17870
|
function operation_typeof(o) { "@babel/helpers - typeof"; return operation_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; }, operation_typeof(o); }
|
|
17871
17871
|
function operation_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
17872
17872
|
function operation_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, operation_toPropertyKey(o.key), o); } }
|
|
@@ -18579,7 +18579,7 @@ Operation.createStellarAssetContract = createStellarAssetContract;
|
|
|
18579
18579
|
Operation.invokeContractFunction = invokeContractFunction;
|
|
18580
18580
|
Operation.createCustomContract = createCustomContract;
|
|
18581
18581
|
Operation.uploadContractWasm = uploadContractWasm;
|
|
18582
|
-
;//
|
|
18582
|
+
;// ./src/memo.js
|
|
18583
18583
|
/* provided dependency */ var memo_Buffer = __webpack_require__(3626)["A"];
|
|
18584
18584
|
function memo_typeof(o) { "@babel/helpers - typeof"; return memo_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; }, memo_typeof(o); }
|
|
18585
18585
|
function memo_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -18844,7 +18844,7 @@ var Memo = /*#__PURE__*/function () {
|
|
|
18844
18844
|
}
|
|
18845
18845
|
}]);
|
|
18846
18846
|
}();
|
|
18847
|
-
;//
|
|
18847
|
+
;// ./src/transaction.js
|
|
18848
18848
|
/* provided dependency */ var transaction_Buffer = __webpack_require__(3626)["A"];
|
|
18849
18849
|
function transaction_typeof(o) { "@babel/helpers - typeof"; return transaction_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; }, transaction_typeof(o); }
|
|
18850
18850
|
function transaction_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -19207,7 +19207,7 @@ var Transaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
19207
19207
|
}
|
|
19208
19208
|
}]);
|
|
19209
19209
|
}(TransactionBase);
|
|
19210
|
-
;//
|
|
19210
|
+
;// ./src/fee_bump_transaction.js
|
|
19211
19211
|
/* provided dependency */ var fee_bump_transaction_Buffer = __webpack_require__(3626)["A"];
|
|
19212
19212
|
function fee_bump_transaction_typeof(o) { "@babel/helpers - typeof"; return fee_bump_transaction_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; }, fee_bump_transaction_typeof(o); }
|
|
19213
19213
|
function fee_bump_transaction_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
@@ -19335,7 +19335,7 @@ var FeeBumpTransaction = /*#__PURE__*/function (_TransactionBase) {
|
|
|
19335
19335
|
}
|
|
19336
19336
|
}]);
|
|
19337
19337
|
}(TransactionBase);
|
|
19338
|
-
;//
|
|
19338
|
+
;// ./src/account.js
|
|
19339
19339
|
function account_typeof(o) { "@babel/helpers - typeof"; return account_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; }, account_typeof(o); }
|
|
19340
19340
|
function account_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
19341
19341
|
function account_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, account_toPropertyKey(o.key), o); } }
|
|
@@ -19409,7 +19409,7 @@ var Account = /*#__PURE__*/function () {
|
|
|
19409
19409
|
}
|
|
19410
19410
|
}]);
|
|
19411
19411
|
}();
|
|
19412
|
-
;//
|
|
19412
|
+
;// ./src/muxed_account.js
|
|
19413
19413
|
function muxed_account_typeof(o) { "@babel/helpers - typeof"; return muxed_account_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; }, muxed_account_typeof(o); }
|
|
19414
19414
|
function muxed_account_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
19415
19415
|
function muxed_account_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, muxed_account_toPropertyKey(o.key), o); } }
|
|
@@ -19562,7 +19562,7 @@ var MuxedAccount = /*#__PURE__*/function () {
|
|
|
19562
19562
|
}
|
|
19563
19563
|
}]);
|
|
19564
19564
|
}();
|
|
19565
|
-
;//
|
|
19565
|
+
;// ./src/sorobandata_builder.js
|
|
19566
19566
|
function sorobandata_builder_typeof(o) { "@babel/helpers - typeof"; return sorobandata_builder_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; }, sorobandata_builder_typeof(o); }
|
|
19567
19567
|
function sorobandata_builder_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
19568
19568
|
function sorobandata_builder_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, sorobandata_builder_toPropertyKey(o.key), o); } }
|
|
@@ -19774,7 +19774,7 @@ var SorobanDataBuilder = /*#__PURE__*/function () {
|
|
|
19774
19774
|
}
|
|
19775
19775
|
}]);
|
|
19776
19776
|
}();
|
|
19777
|
-
;//
|
|
19777
|
+
;// ./src/signerkey.js
|
|
19778
19778
|
function signerkey_typeof(o) { "@babel/helpers - typeof"; return signerkey_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; }, signerkey_typeof(o); }
|
|
19779
19779
|
function signerkey_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
19780
19780
|
function signerkey_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, signerkey_toPropertyKey(o.key), o); } }
|
|
@@ -19871,7 +19871,7 @@ var SignerKey = /*#__PURE__*/function () {
|
|
|
19871
19871
|
}
|
|
19872
19872
|
}]);
|
|
19873
19873
|
}();
|
|
19874
|
-
;//
|
|
19874
|
+
;// ./src/transaction_builder.js
|
|
19875
19875
|
function transaction_builder_typeof(o) { "@babel/helpers - typeof"; return transaction_builder_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; }, transaction_builder_typeof(o); }
|
|
19876
19876
|
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || transaction_builder_unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
19877
19877
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -20647,7 +20647,7 @@ function isValidDate(d) {
|
|
|
20647
20647
|
// eslint-disable-next-line no-restricted-globals
|
|
20648
20648
|
return d instanceof Date && !isNaN(d);
|
|
20649
20649
|
}
|
|
20650
|
-
;//
|
|
20650
|
+
;// ./src/network.js
|
|
20651
20651
|
/**
|
|
20652
20652
|
* Contains passphrases for common networks:
|
|
20653
20653
|
* * `Networks.PUBLIC`: `Public Global Stellar Network ; September 2015`
|
|
@@ -20664,7 +20664,7 @@ var Networks = {
|
|
|
20664
20664
|
SANDBOX: 'Local Sandbox Stellar Network ; September 2022',
|
|
20665
20665
|
STANDALONE: 'Standalone Network ; February 2017'
|
|
20666
20666
|
};
|
|
20667
|
-
;//
|
|
20667
|
+
;// ./src/soroban.js
|
|
20668
20668
|
function soroban_typeof(o) { "@babel/helpers - typeof"; return soroban_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; }, soroban_typeof(o); }
|
|
20669
20669
|
function _toArray(r) { return soroban_arrayWithHoles(r) || soroban_iterableToArray(r) || soroban_unsupportedIterableToArray(r) || soroban_nonIterableRest(); }
|
|
20670
20670
|
function soroban_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -20754,7 +20754,7 @@ var Soroban = /*#__PURE__*/function () {
|
|
|
20754
20754
|
}
|
|
20755
20755
|
}]);
|
|
20756
20756
|
}();
|
|
20757
|
-
;//
|
|
20757
|
+
;// ./src/contract.js
|
|
20758
20758
|
function contract_typeof(o) { "@babel/helpers - typeof"; return contract_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; }, contract_typeof(o); }
|
|
20759
20759
|
function contract_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20760
20760
|
function contract_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, contract_toPropertyKey(o.key), o); } }
|
|
@@ -20861,7 +20861,7 @@ var Contract = /*#__PURE__*/function () {
|
|
|
20861
20861
|
}
|
|
20862
20862
|
}]);
|
|
20863
20863
|
}();
|
|
20864
|
-
;//
|
|
20864
|
+
;// ./src/numbers/uint128.js
|
|
20865
20865
|
function uint128_typeof(o) { "@babel/helpers - typeof"; return uint128_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; }, uint128_typeof(o); }
|
|
20866
20866
|
function uint128_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20867
20867
|
function uint128_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, uint128_toPropertyKey(o.key), o); } }
|
|
@@ -20904,7 +20904,7 @@ var Uint128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20904
20904
|
}]);
|
|
20905
20905
|
}(xdr.LargeInt);
|
|
20906
20906
|
Uint128.defineIntBoundaries();
|
|
20907
|
-
;//
|
|
20907
|
+
;// ./src/numbers/uint256.js
|
|
20908
20908
|
function uint256_typeof(o) { "@babel/helpers - typeof"; return uint256_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; }, uint256_typeof(o); }
|
|
20909
20909
|
function uint256_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20910
20910
|
function uint256_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, uint256_toPropertyKey(o.key), o); } }
|
|
@@ -20947,7 +20947,7 @@ var Uint256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20947
20947
|
}]);
|
|
20948
20948
|
}(xdr.LargeInt);
|
|
20949
20949
|
Uint256.defineIntBoundaries();
|
|
20950
|
-
;//
|
|
20950
|
+
;// ./src/numbers/int128.js
|
|
20951
20951
|
function int128_typeof(o) { "@babel/helpers - typeof"; return int128_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; }, int128_typeof(o); }
|
|
20952
20952
|
function int128_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20953
20953
|
function int128_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, int128_toPropertyKey(o.key), o); } }
|
|
@@ -20990,7 +20990,7 @@ var Int128 = /*#__PURE__*/function (_LargeInt) {
|
|
|
20990
20990
|
}]);
|
|
20991
20991
|
}(xdr.LargeInt);
|
|
20992
20992
|
Int128.defineIntBoundaries();
|
|
20993
|
-
;//
|
|
20993
|
+
;// ./src/numbers/int256.js
|
|
20994
20994
|
function int256_typeof(o) { "@babel/helpers - typeof"; return int256_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; }, int256_typeof(o); }
|
|
20995
20995
|
function int256_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20996
20996
|
function int256_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, int256_toPropertyKey(o.key), o); } }
|
|
@@ -21033,7 +21033,7 @@ var Int256 = /*#__PURE__*/function (_LargeInt) {
|
|
|
21033
21033
|
}]);
|
|
21034
21034
|
}(xdr.LargeInt);
|
|
21035
21035
|
Int256.defineIntBoundaries();
|
|
21036
|
-
;//
|
|
21036
|
+
;// ./src/numbers/xdr_large_int.js
|
|
21037
21037
|
function xdr_large_int_typeof(o) { "@babel/helpers - typeof"; return xdr_large_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; }, xdr_large_int_typeof(o); }
|
|
21038
21038
|
function xdr_large_int_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
21039
21039
|
function xdr_large_int_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, xdr_large_int_toPropertyKey(o.key), o); } }
|
|
@@ -21295,7 +21295,7 @@ var XdrLargeInt = /*#__PURE__*/function () {
|
|
|
21295
21295
|
}
|
|
21296
21296
|
}]);
|
|
21297
21297
|
}();
|
|
21298
|
-
;//
|
|
21298
|
+
;// ./src/numbers/sc_int.js
|
|
21299
21299
|
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); }
|
|
21300
21300
|
function sc_int_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, sc_int_toPropertyKey(o.key), o); } }
|
|
21301
21301
|
function sc_int_createClass(e, r, t) { return r && sc_int_defineProperties(e.prototype, r), t && sc_int_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
@@ -21422,7 +21422,7 @@ function nearestBigIntSize(bigI) {
|
|
|
21422
21422
|
return bitlen <= len;
|
|
21423
21423
|
})) !== null && _find !== void 0 ? _find : bitlen;
|
|
21424
21424
|
}
|
|
21425
|
-
;//
|
|
21425
|
+
;// ./src/numbers/index.js
|
|
21426
21426
|
|
|
21427
21427
|
|
|
21428
21428
|
|
|
@@ -21468,7 +21468,7 @@ function scValToBigInt(scv) {
|
|
|
21468
21468
|
throw TypeError("expected integer type, got ".concat(scv["switch"]()));
|
|
21469
21469
|
}
|
|
21470
21470
|
}
|
|
21471
|
-
;//
|
|
21471
|
+
;// ./src/scval.js
|
|
21472
21472
|
/* provided dependency */ var scval_Buffer = __webpack_require__(3626)["A"];
|
|
21473
21473
|
function scval_slicedToArray(r, e) { return scval_arrayWithHoles(r) || scval_iterableToArrayLimit(r, e) || scval_unsupportedIterableToArray(r, e) || scval_nonIterableRest(); }
|
|
21474
21474
|
function scval_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
@@ -21855,7 +21855,7 @@ function scValToNative(scv) {
|
|
|
21855
21855
|
return scv.value();
|
|
21856
21856
|
}
|
|
21857
21857
|
}
|
|
21858
|
-
;//
|
|
21858
|
+
;// ./src/events.js
|
|
21859
21859
|
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); }
|
|
21860
21860
|
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; }
|
|
21861
21861
|
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; }
|
|
@@ -21900,7 +21900,7 @@ function extractEvent(event) {
|
|
|
21900
21900
|
data: scValToNative(event.body().value().data())
|
|
21901
21901
|
});
|
|
21902
21902
|
}
|
|
21903
|
-
;//
|
|
21903
|
+
;// ./src/auth.js
|
|
21904
21904
|
/* provided dependency */ var auth_Buffer = __webpack_require__(3626)["A"];
|
|
21905
21905
|
function auth_typeof(o) { "@babel/helpers - typeof"; return auth_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; }, auth_typeof(o); }
|
|
21906
21906
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == auth_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(auth_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
@@ -22160,7 +22160,7 @@ function bytesToInt64(bytes) {
|
|
|
22160
22160
|
return accum << 8 | b;
|
|
22161
22161
|
}, 0);
|
|
22162
22162
|
}
|
|
22163
|
-
;//
|
|
22163
|
+
;// ./src/invocation.js
|
|
22164
22164
|
|
|
22165
22165
|
|
|
22166
22166
|
|
|
@@ -22351,7 +22351,7 @@ function walkHelper(node, depth, callback, parent) {
|
|
|
22351
22351
|
return walkHelper(i, depth + 1, callback, node);
|
|
22352
22352
|
});
|
|
22353
22353
|
}
|
|
22354
|
-
;//
|
|
22354
|
+
;// ./src/index.js
|
|
22355
22355
|
/* module decorator */ module = __webpack_require__.hmd(module);
|
|
22356
22356
|
/* eslint-disable import/no-import-module-exports */
|
|
22357
22357
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stellar/stellar-base",
|
|
3
|
-
"version": "13.0.0
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"description": "Low-level support library for the Stellar network.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
},
|
|
71
71
|
"homepage": "https://github.com/stellar/js-stellar-base",
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@babel/cli": "^7.25.
|
|
74
|
-
"@babel/core": "^7.
|
|
75
|
-
"@babel/eslint-parser": "^7.25.
|
|
76
|
-
"@babel/eslint-plugin": "^7.25.
|
|
77
|
-
"@babel/preset-env": "^7.
|
|
78
|
-
"@babel/register": "^7.
|
|
73
|
+
"@babel/cli": "^7.25.9",
|
|
74
|
+
"@babel/core": "^7.26.0",
|
|
75
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
76
|
+
"@babel/eslint-plugin": "^7.25.9",
|
|
77
|
+
"@babel/preset-env": "^7.26.0",
|
|
78
|
+
"@babel/register": "^7.25.9",
|
|
79
79
|
"@definitelytyped/dtslint": "^0.0.182",
|
|
80
80
|
"@istanbuljs/nyc-config-babel": "3.0.0",
|
|
81
81
|
"@types/node": "^20.14.11",
|
|
82
82
|
"@typescript-eslint/parser": "^6.20.0",
|
|
83
|
-
"babel-loader": "^9.1
|
|
83
|
+
"babel-loader": "^9.2.1",
|
|
84
84
|
"babel-plugin-istanbul": "^6.1.1",
|
|
85
85
|
"chai": "^4.3.10",
|
|
86
86
|
"chai-as-promised": "^7.1.2",
|
|
@@ -88,14 +88,14 @@
|
|
|
88
88
|
"eslint": "^8.57.0",
|
|
89
89
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
90
90
|
"eslint-config-prettier": "^9.1.0",
|
|
91
|
-
"eslint-plugin-import": "^2.
|
|
91
|
+
"eslint-plugin-import": "^2.31.0",
|
|
92
92
|
"eslint-plugin-node": "^11.1.0",
|
|
93
93
|
"eslint-plugin-prefer-import": "^0.0.1",
|
|
94
94
|
"eslint-plugin-prettier": "^5.2.1",
|
|
95
95
|
"eslint-webpack-plugin": "^4.2.0",
|
|
96
96
|
"ghooks": "^2.0.4",
|
|
97
97
|
"husky": "^8.0.3",
|
|
98
|
-
"jsdoc": "^4.0.
|
|
98
|
+
"jsdoc": "^4.0.4",
|
|
99
99
|
"karma": "^6.4.4",
|
|
100
100
|
"karma-chrome-launcher": "^3.1.0",
|
|
101
101
|
"karma-coverage": "^2.2.1",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"karma-webpack": "^5.0.1",
|
|
106
106
|
"lint-staged": "^15.2.10",
|
|
107
107
|
"minami": "^1.1.1",
|
|
108
|
-
"mocha": "^10.
|
|
108
|
+
"mocha": "^10.8.2",
|
|
109
109
|
"node-polyfill-webpack-plugin": "^3.0.0",
|
|
110
110
|
"nyc": "^15.1.0",
|
|
111
111
|
"prettier": "^3.3.3",
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
"taffydb": "^2.7.3",
|
|
116
116
|
"terser-webpack-plugin": "^5.3.10",
|
|
117
117
|
"ts-node": "^10.9.2",
|
|
118
|
-
"typescript": "^5.6.
|
|
119
|
-
"webpack": "^5.
|
|
118
|
+
"typescript": "^5.6.3",
|
|
119
|
+
"webpack": "^5.96.1",
|
|
120
120
|
"webpack-cli": "^5.1.1"
|
|
121
121
|
},
|
|
122
122
|
"dependencies": {
|
|
@@ -128,6 +128,6 @@
|
|
|
128
128
|
"tweetnacl": "^1.0.3"
|
|
129
129
|
},
|
|
130
130
|
"optionalDependencies": {
|
|
131
|
-
"sodium-native": "^4.
|
|
131
|
+
"sodium-native": "^4.3.0"
|
|
132
132
|
}
|
|
133
133
|
}
|