@stellar/typescript-wallet-sdk 1.6.0 → 1.7.0-beta.1720449817870

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.
@@ -43,7 +43,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
43
43
  return result;
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", ({ value: true }));
46
- exports.Keypair = exports.walletSdk = exports.Server = exports.Exceptions = exports.Utils = exports.Watcher = exports.sep7ReplacementsToString = exports.sep7ReplacementsFromString = exports.parseSep7Uri = exports.isValidSep7Uri = exports.Sep7Tx = exports.Sep7Pay = exports.Sep7Base = exports.Recovery = exports.SponsoringBuilder = exports.TransactionBuilder = exports.CommonTransactionBuilder = exports.Stellar = exports.AccountService = exports.SigningKeypair = exports.PublicKeypair = exports.AccountKeypair = exports.DomainAuthHeaderSigner = exports.DefaultAuthHeaderSigner = exports.DefaultSigner = exports.Sep10 = exports.FiatAssetId = exports.NativeAssetId = exports.IssuedAssetId = exports.Sep24 = exports.Anchor = exports.ApplicationConfiguration = exports.StellarConfiguration = exports.Config = exports.Wallet = exports.Types = void 0;
46
+ exports.Keypair = exports.walletSdk = exports.Server = exports.Exceptions = exports.Utils = exports.Watcher = exports.sep7ReplacementsToString = exports.sep7ReplacementsFromString = exports.parseSep7Uri = exports.isValidSep7Uri = exports.Sep7Tx = exports.Sep7Pay = exports.Sep7Base = exports.Recovery = exports.SponsoringBuilder = exports.TransactionBuilder = exports.CommonTransactionBuilder = exports.Stellar = exports.AccountService = exports.SigningKeypair = exports.PublicKeypair = exports.AccountKeypair = exports.Sep12 = exports.DomainAuthHeaderSigner = exports.DefaultAuthHeaderSigner = exports.DomainSigner = exports.DefaultSigner = exports.Sep10 = exports.FiatAssetId = exports.NativeAssetId = exports.IssuedAssetId = exports.StellarAssetId = exports.Sep38 = exports.Sep24 = exports.Sep6 = exports.Anchor = exports.ApplicationConfiguration = exports.StellarConfiguration = exports.Config = exports.Wallet = exports.Types = void 0;
47
47
  /**
48
48
  * Types
49
49
  */
@@ -59,18 +59,26 @@ Object.defineProperty(exports, "StellarConfiguration", ({ enumerable: true, get:
59
59
  Object.defineProperty(exports, "ApplicationConfiguration", ({ enumerable: true, get: function () { return walletSdk_1.ApplicationConfiguration; } }));
60
60
  var Anchor_1 = __webpack_require__(/*! ./walletSdk/Anchor */ "./src/walletSdk/Anchor/index.ts");
61
61
  Object.defineProperty(exports, "Anchor", ({ enumerable: true, get: function () { return Anchor_1.Anchor; } }));
62
+ var Sep6_1 = __webpack_require__(/*! ./walletSdk/Anchor/Sep6 */ "./src/walletSdk/Anchor/Sep6.ts");
63
+ Object.defineProperty(exports, "Sep6", ({ enumerable: true, get: function () { return Sep6_1.Sep6; } }));
62
64
  var Sep24_1 = __webpack_require__(/*! ./walletSdk/Anchor/Sep24 */ "./src/walletSdk/Anchor/Sep24.ts");
63
65
  Object.defineProperty(exports, "Sep24", ({ enumerable: true, get: function () { return Sep24_1.Sep24; } }));
66
+ var Sep38_1 = __webpack_require__(/*! ./walletSdk/Anchor/Sep38 */ "./src/walletSdk/Anchor/Sep38.ts");
67
+ Object.defineProperty(exports, "Sep38", ({ enumerable: true, get: function () { return Sep38_1.Sep38; } }));
64
68
  var Asset_1 = __webpack_require__(/*! ./walletSdk/Asset */ "./src/walletSdk/Asset/index.ts");
69
+ Object.defineProperty(exports, "StellarAssetId", ({ enumerable: true, get: function () { return Asset_1.StellarAssetId; } }));
65
70
  Object.defineProperty(exports, "IssuedAssetId", ({ enumerable: true, get: function () { return Asset_1.IssuedAssetId; } }));
66
71
  Object.defineProperty(exports, "NativeAssetId", ({ enumerable: true, get: function () { return Asset_1.NativeAssetId; } }));
67
72
  Object.defineProperty(exports, "FiatAssetId", ({ enumerable: true, get: function () { return Asset_1.FiatAssetId; } }));
68
73
  var Auth_1 = __webpack_require__(/*! ./walletSdk/Auth */ "./src/walletSdk/Auth/index.ts");
69
74
  Object.defineProperty(exports, "Sep10", ({ enumerable: true, get: function () { return Auth_1.Sep10; } }));
70
75
  Object.defineProperty(exports, "DefaultSigner", ({ enumerable: true, get: function () { return Auth_1.DefaultSigner; } }));
76
+ Object.defineProperty(exports, "DomainSigner", ({ enumerable: true, get: function () { return Auth_1.DomainSigner; } }));
71
77
  var AuthHeaderSigner_1 = __webpack_require__(/*! ./walletSdk/Auth/AuthHeaderSigner */ "./src/walletSdk/Auth/AuthHeaderSigner.ts");
72
78
  Object.defineProperty(exports, "DefaultAuthHeaderSigner", ({ enumerable: true, get: function () { return AuthHeaderSigner_1.DefaultAuthHeaderSigner; } }));
73
79
  Object.defineProperty(exports, "DomainAuthHeaderSigner", ({ enumerable: true, get: function () { return AuthHeaderSigner_1.DomainAuthHeaderSigner; } }));
80
+ var Customer_1 = __webpack_require__(/*! ./walletSdk/Customer */ "./src/walletSdk/Customer/index.ts");
81
+ Object.defineProperty(exports, "Sep12", ({ enumerable: true, get: function () { return Customer_1.Sep12; } }));
74
82
  var Horizon_1 = __webpack_require__(/*! ./walletSdk/Horizon */ "./src/walletSdk/Horizon/index.ts");
75
83
  Object.defineProperty(exports, "AccountKeypair", ({ enumerable: true, get: function () { return Horizon_1.AccountKeypair; } }));
76
84
  Object.defineProperty(exports, "PublicKeypair", ({ enumerable: true, get: function () { return Horizon_1.PublicKeypair; } }));
@@ -1402,9 +1410,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1402
1410
  };
1403
1411
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1404
1412
  exports.DomainAuthHeaderSigner = exports.DefaultAuthHeaderSigner = void 0;
1413
+ var utf8_1 = __webpack_require__(/*! @stablelib/utf8 */ "../../node_modules/@stablelib/utf8/lib/utf8.js");
1405
1414
  var stellar_sdk_1 = __webpack_require__(/*! @stellar/stellar-sdk */ "../../node_modules/@stellar/stellar-sdk/dist/stellar-sdk.min.js");
1406
1415
  var tweetnacl_1 = __importDefault(__webpack_require__(/*! tweetnacl */ "../../node_modules/tweetnacl/nacl-fast.js"));
1407
- var tweetnacl_util_1 = __importDefault(__webpack_require__(/*! tweetnacl-util */ "../../node_modules/tweetnacl-util/nacl-util.js"));
1408
1416
  var base64url_1 = __importDefault(__webpack_require__(/*! base64url */ "../../node_modules/base64url/index.js"));
1409
1417
  var Account_1 = __webpack_require__(/*! ../Horizon/Account */ "./src/walletSdk/Horizon/Account.ts");
1410
1418
  var __1 = __webpack_require__(/*! ../ */ "./src/walletSdk/index.ts");
@@ -1434,7 +1442,7 @@ var DefaultAuthHeaderSigner = /** @class */ (function () {
1434
1442
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1435
1443
  clientDomain = _a.clientDomain, issuer = _a.issuer;
1436
1444
  return __awaiter(this, void 0, void 0, function () {
1437
- var issuedAt, timeExp, rawSeed, naclKP, header, encodedHeader, encodedPayload, signature, encodedSignature, jwt;
1445
+ var issuedAt, timeExp, rawSeed, naclKP, header, encodedHeader, encodedPayload, utf8Jwt, signature, encodedSignature, jwt;
1438
1446
  return __generator(this, function (_b) {
1439
1447
  if (!(issuer instanceof Account_1.SigningKeypair)) {
1440
1448
  throw new Exceptions_1.AuthHeaderSigningKeypairRequiredError();
@@ -1446,7 +1454,8 @@ var DefaultAuthHeaderSigner = /** @class */ (function () {
1446
1454
  header = { alg: "EdDSA" };
1447
1455
  encodedHeader = (0, base64url_1.default)(JSON.stringify(header));
1448
1456
  encodedPayload = (0, base64url_1.default)(JSON.stringify(__assign(__assign({}, claims), { exp: timeExp, iat: issuedAt })));
1449
- signature = tweetnacl_1.default.sign.detached(tweetnacl_util_1.default.decodeUTF8("".concat(encodedHeader, ".").concat(encodedPayload)), naclKP.secretKey);
1457
+ utf8Jwt = (0, utf8_1.encode)("".concat(encodedHeader, ".").concat(encodedPayload));
1458
+ signature = tweetnacl_1.default.sign.detached(utf8Jwt, naclKP.secretKey);
1450
1459
  encodedSignature = (0, base64url_1.default)(Buffer.from(signature));
1451
1460
  jwt = "".concat(encodedHeader, ".").concat(encodedPayload, ".").concat(encodedSignature);
1452
1461
  return [2 /*return*/, jwt];
@@ -1693,12 +1702,13 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
1693
1702
  }
1694
1703
  };
1695
1704
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1696
- exports.Sep10 = exports.DefaultSigner = void 0;
1705
+ exports.Sep10 = exports.DefaultSigner = exports.DomainSigner = void 0;
1697
1706
  var stellar_sdk_1 = __webpack_require__(/*! @stellar/stellar-sdk */ "../../node_modules/@stellar/stellar-sdk/dist/stellar-sdk.min.js");
1698
1707
  var jws_1 = __webpack_require__(/*! jws */ "../../node_modules/jws/index.js");
1699
1708
  var Exceptions_1 = __webpack_require__(/*! ../Exceptions */ "./src/walletSdk/Exceptions/index.ts");
1700
1709
  var Types_1 = __webpack_require__(/*! ../Types */ "./src/walletSdk/Types/index.ts");
1701
1710
  var WalletSigner_1 = __webpack_require__(/*! ./WalletSigner */ "./src/walletSdk/Auth/WalletSigner.ts");
1711
+ Object.defineProperty(exports, "DomainSigner", ({ enumerable: true, get: function () { return WalletSigner_1.DomainSigner; } }));
1702
1712
  Object.defineProperty(exports, "DefaultSigner", ({ enumerable: true, get: function () { return WalletSigner_1.DefaultSigner; } }));
1703
1713
  /**
1704
1714
  * Sep-10 used for authentication to an external server.
@@ -55483,98 +55493,6 @@ function simpleEnd(buf) {
55483
55493
  return buf && buf.length ? this.write(buf) : '';
55484
55494
  }
55485
55495
 
55486
- /***/ }),
55487
-
55488
- /***/ "../../node_modules/tweetnacl-util/nacl-util.js":
55489
- /*!******************************************************!*\
55490
- !*** ../../node_modules/tweetnacl-util/nacl-util.js ***!
55491
- \******************************************************/
55492
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
55493
-
55494
- /* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ "?109b")["Buffer"];
55495
- // Written in 2014-2016 by Dmitry Chestnykh and Devi Mandiri.
55496
- // Public domain.
55497
- (function(root, f) {
55498
- 'use strict';
55499
- if ( true && module.exports) module.exports = f();
55500
- else if (root.nacl) root.nacl.util = f();
55501
- else {
55502
- root.nacl = {};
55503
- root.nacl.util = f();
55504
- }
55505
- }(this, function() {
55506
- 'use strict';
55507
-
55508
- var util = {};
55509
-
55510
- function validateBase64(s) {
55511
- if (!(/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(s))) {
55512
- throw new TypeError('invalid encoding');
55513
- }
55514
- }
55515
-
55516
- util.decodeUTF8 = function(s) {
55517
- if (typeof s !== 'string') throw new TypeError('expected string');
55518
- var i, d = unescape(encodeURIComponent(s)), b = new Uint8Array(d.length);
55519
- for (i = 0; i < d.length; i++) b[i] = d.charCodeAt(i);
55520
- return b;
55521
- };
55522
-
55523
- util.encodeUTF8 = function(arr) {
55524
- var i, s = [];
55525
- for (i = 0; i < arr.length; i++) s.push(String.fromCharCode(arr[i]));
55526
- return decodeURIComponent(escape(s.join('')));
55527
- };
55528
-
55529
- if (typeof atob === 'undefined') {
55530
- // Node.js
55531
-
55532
- if (typeof Buffer.from !== 'undefined') {
55533
- // Node v6 and later
55534
- util.encodeBase64 = function (arr) { // v6 and later
55535
- return Buffer.from(arr).toString('base64');
55536
- };
55537
-
55538
- util.decodeBase64 = function (s) {
55539
- validateBase64(s);
55540
- return new Uint8Array(Array.prototype.slice.call(Buffer.from(s, 'base64'), 0));
55541
- };
55542
-
55543
- } else {
55544
- // Node earlier than v6
55545
- util.encodeBase64 = function (arr) { // v6 and later
55546
- return (new Buffer(arr)).toString('base64');
55547
- };
55548
-
55549
- util.decodeBase64 = function(s) {
55550
- validateBase64(s);
55551
- return new Uint8Array(Array.prototype.slice.call(new Buffer(s, 'base64'), 0));
55552
- };
55553
- }
55554
-
55555
- } else {
55556
- // Browsers
55557
-
55558
- util.encodeBase64 = function(arr) {
55559
- var i, s = [], len = arr.length;
55560
- for (i = 0; i < len; i++) s.push(String.fromCharCode(arr[i]));
55561
- return btoa(s.join(''));
55562
- };
55563
-
55564
- util.decodeBase64 = function(s) {
55565
- validateBase64(s);
55566
- var i, d = atob(s), b = new Uint8Array(d.length);
55567
- for (i = 0; i < d.length; i++) b[i] = d.charCodeAt(i);
55568
- return b;
55569
- };
55570
-
55571
- }
55572
-
55573
- return util;
55574
-
55575
- }));
55576
-
55577
-
55578
55496
  /***/ }),
55579
55497
 
55580
55498
  /***/ "../../node_modules/tweetnacl/nacl-fast.js":
@@ -60226,16 +60144,6 @@ exports.createContext = Script.createContext = function (context) {
60226
60144
 
60227
60145
  /***/ }),
60228
60146
 
60229
- /***/ "?109b":
60230
- /*!************************!*\
60231
- !*** buffer (ignored) ***!
60232
- \************************/
60233
- /***/ (() => {
60234
-
60235
- /* (ignored) */
60236
-
60237
- /***/ }),
60238
-
60239
60147
  /***/ "?7497":
60240
60148
  /*!************************!*\
60241
60149
  !*** crypto (ignored) ***!
@@ -63504,6 +63412,170 @@ module.exports = axios;
63504
63412
  //# sourceMappingURL=axios.cjs.map
63505
63413
 
63506
63414
 
63415
+ /***/ }),
63416
+
63417
+ /***/ "../../node_modules/@stablelib/utf8/lib/utf8.js":
63418
+ /*!******************************************************!*\
63419
+ !*** ../../node_modules/@stablelib/utf8/lib/utf8.js ***!
63420
+ \******************************************************/
63421
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
63422
+
63423
+ "use strict";
63424
+ __webpack_require__.r(__webpack_exports__);
63425
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
63426
+ /* harmony export */ decode: () => (/* binding */ decode),
63427
+ /* harmony export */ encode: () => (/* binding */ encode),
63428
+ /* harmony export */ encodedLength: () => (/* binding */ encodedLength)
63429
+ /* harmony export */ });
63430
+ // Copyright (C) 2016 Dmitry Chestnykh
63431
+ // MIT License. See LICENSE file for details.
63432
+ /**
63433
+ * Package utf8 implements UTF-8 encoding and decoding.
63434
+ */
63435
+ const INVALID_UTF16 = "utf8: invalid string";
63436
+ const INVALID_UTF8 = "utf8: invalid source encoding";
63437
+ /**
63438
+ * Encodes the given string into UTF-8 byte array.
63439
+ * Throws if the source string has invalid UTF-16 encoding.
63440
+ */
63441
+ function encode(s) {
63442
+ // Calculate result length and allocate output array.
63443
+ // encodedLength() validates string and throws errors,
63444
+ // so we don't need repeat validation here.
63445
+ const arr = new Uint8Array(encodedLength(s));
63446
+ let pos = 0;
63447
+ for (let i = 0; i < s.length; i++) {
63448
+ let c = s.charCodeAt(i);
63449
+ if (c >= 0xd800 && c <= 0xdbff) {
63450
+ c = ((c - 0xd800) << 10) + (s.charCodeAt(++i) - 0xdc00) + 0x10000;
63451
+ }
63452
+ if (c < 0x80) {
63453
+ arr[pos++] = c;
63454
+ }
63455
+ else if (c < 0x800) {
63456
+ arr[pos++] = 0xc0 | (c >> 6);
63457
+ arr[pos++] = 0x80 | (c & 0x3f);
63458
+ }
63459
+ else if (c < 0x10000) {
63460
+ arr[pos++] = 0xe0 | (c >> 12);
63461
+ arr[pos++] = 0x80 | ((c >> 6) & 0x3f);
63462
+ arr[pos++] = 0x80 | (c & 0x3f);
63463
+ }
63464
+ else {
63465
+ arr[pos++] = 0xf0 | (c >> 18);
63466
+ arr[pos++] = 0x80 | ((c >> 12) & 0x3f);
63467
+ arr[pos++] = 0x80 | ((c >> 6) & 0x3f);
63468
+ arr[pos++] = 0x80 | (c & 0x3f);
63469
+ }
63470
+ }
63471
+ return arr;
63472
+ }
63473
+ /**
63474
+ * Returns the number of bytes required to encode the given string into UTF-8.
63475
+ * Throws if the source string has invalid UTF-16 encoding.
63476
+ */
63477
+ function encodedLength(s) {
63478
+ let result = 0;
63479
+ for (let i = 0; i < s.length; i++) {
63480
+ let c = s.charCodeAt(i);
63481
+ if (c >= 0xd800 && c <= 0xdbff) {
63482
+ // surrogate pair
63483
+ if (i === s.length - 1) {
63484
+ throw new Error(INVALID_UTF16);
63485
+ }
63486
+ i++;
63487
+ const c2 = s.charCodeAt(i);
63488
+ if (c2 < 0xdc00 || c2 > 0xdfff) {
63489
+ throw new Error(INVALID_UTF16);
63490
+ }
63491
+ c = ((c - 0xd800) << 10) + (c2 - 0xdc00) + 0x10000;
63492
+ }
63493
+ if (c < 0x80) {
63494
+ result += 1;
63495
+ }
63496
+ else if (c < 0x800) {
63497
+ result += 2;
63498
+ }
63499
+ else if (c < 0x10000) {
63500
+ result += 3;
63501
+ }
63502
+ else {
63503
+ result += 4;
63504
+ }
63505
+ }
63506
+ return result;
63507
+ }
63508
+ /**
63509
+ * Decodes the given byte array from UTF-8 into a string.
63510
+ * Throws if encoding is invalid.
63511
+ */
63512
+ function decode(arr) {
63513
+ const chars = [];
63514
+ for (let i = 0; i < arr.length; i++) {
63515
+ let b = arr[i];
63516
+ if (b & 0x80) {
63517
+ let min;
63518
+ if (b < 0xe0) {
63519
+ // Need 1 more byte.
63520
+ if (i >= arr.length) {
63521
+ throw new Error(INVALID_UTF8);
63522
+ }
63523
+ const n1 = arr[++i];
63524
+ if ((n1 & 0xc0) !== 0x80) {
63525
+ throw new Error(INVALID_UTF8);
63526
+ }
63527
+ b = (b & 0x1f) << 6 | (n1 & 0x3f);
63528
+ min = 0x80;
63529
+ }
63530
+ else if (b < 0xf0) {
63531
+ // Need 2 more bytes.
63532
+ if (i >= arr.length - 1) {
63533
+ throw new Error(INVALID_UTF8);
63534
+ }
63535
+ const n1 = arr[++i];
63536
+ const n2 = arr[++i];
63537
+ if ((n1 & 0xc0) !== 0x80 || (n2 & 0xc0) !== 0x80) {
63538
+ throw new Error(INVALID_UTF8);
63539
+ }
63540
+ b = (b & 0x0f) << 12 | (n1 & 0x3f) << 6 | (n2 & 0x3f);
63541
+ min = 0x800;
63542
+ }
63543
+ else if (b < 0xf8) {
63544
+ // Need 3 more bytes.
63545
+ if (i >= arr.length - 2) {
63546
+ throw new Error(INVALID_UTF8);
63547
+ }
63548
+ const n1 = arr[++i];
63549
+ const n2 = arr[++i];
63550
+ const n3 = arr[++i];
63551
+ if ((n1 & 0xc0) !== 0x80 || (n2 & 0xc0) !== 0x80 || (n3 & 0xc0) !== 0x80) {
63552
+ throw new Error(INVALID_UTF8);
63553
+ }
63554
+ b = (b & 0x0f) << 18 | (n1 & 0x3f) << 12 | (n2 & 0x3f) << 6 | (n3 & 0x3f);
63555
+ min = 0x10000;
63556
+ }
63557
+ else {
63558
+ throw new Error(INVALID_UTF8);
63559
+ }
63560
+ if (b < min || (b >= 0xd800 && b <= 0xdfff)) {
63561
+ throw new Error(INVALID_UTF8);
63562
+ }
63563
+ if (b >= 0x10000) {
63564
+ // Surrogate pair.
63565
+ if (b > 0x10ffff) {
63566
+ throw new Error(INVALID_UTF8);
63567
+ }
63568
+ b -= 0x10000;
63569
+ chars.push(String.fromCharCode(0xd800 | (b >> 10)));
63570
+ b = 0xdc00 | (b & 0x3ff);
63571
+ }
63572
+ }
63573
+ chars.push(String.fromCharCode(b));
63574
+ }
63575
+ return chars.join("");
63576
+ }
63577
+ //# sourceMappingURL=utf8.js.map
63578
+
63507
63579
  /***/ }),
63508
63580
 
63509
63581
  /***/ "./package.json":
@@ -63513,7 +63585,7 @@ module.exports = axios;
63513
63585
  /***/ ((module) => {
63514
63586
 
63515
63587
  "use strict";
63516
- module.exports = JSON.parse('{"name":"@stellar/typescript-wallet-sdk","version":"1.6.0","engines":{"node":">=18"},"browser":"./lib/bundle_browser.js","main":"./lib/bundle.js","types":"./lib/index.d.ts","license":"Apache-2.0","private":false,"devDependencies":{"@babel/preset-env":"^7.20.2","@babel/preset-typescript":"^7.23.3","@stellar/prettier-config":"^1.0.1","@stellar/tsconfig":"^1.0.2","@types/jest":"^29.4.0","@types/lodash":"^4.14.194","@types/sinon":"^10.0.15","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","babel-jest":"^29.4.1","crypto-browserify":"^3.12.0","dotenv":"^16.3.1","eslint":"^8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-jsdoc":"^46.8.2","husky":"^8.0.0","jest":"^29.4.1","lint-staged":"^14.0.1","npm-run-all":"^4.1.5","playwright":"^1.43.1","prettier":"^2.0.5","pretty-quick":"^2.0.1","process":"^0.11.10","sinon":"^15.1.0","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-loader":"^9.4.2","ts-node":"^10.9.1","tslib":"^2.5.0","typescript":"^5.0.4","webpack":"^5.83.1","webpack-cli":"^5.1.1"},"dependencies":{"@stellar/stellar-sdk":"12.1.0","axios":"^1.4.0","base64url":"^3.0.1","https-browserify":"^1.0.0","jws":"^4.0.0","lodash":"^4.17.21","query-string":"^7.1.3","stream-http":"^3.2.0","tweetnacl":"^1.0.3","tweetnacl-util":"^0.15.1","url":"^0.11.0","util":"^0.12.5","utility-types":"^3.10.0","vm-browserify":"^1.1.2"},"scripts":{"test":"jest --watchAll","test:ci":"jest --ci","test:e2e:ci":"jest --config jest.e2e.config.js --ci","test:recovery:ci":"jest --config jest.integration.config.js recovery.test.ts --ci","test:anchorplatform:ci":"yarn jest --config jest.integration.config.js anchorplatform.test.ts --ci","build:web":"webpack --config webpack.config.js","build:node":"webpack --env NODE=true --config webpack.config.js","build":"run-p build:web build:node","example:sep24":"ts-node examples/sep24/sep24.ts"}}');
63588
+ module.exports = JSON.parse('{"name":"@stellar/typescript-wallet-sdk","version":"1.7.0","engines":{"node":">=18"},"browser":"./lib/bundle_browser.js","main":"./lib/bundle.js","types":"./lib/index.d.ts","license":"Apache-2.0","private":false,"devDependencies":{"@babel/preset-env":"^7.20.2","@babel/preset-typescript":"^7.23.3","@stellar/prettier-config":"^1.0.1","@stellar/tsconfig":"^1.0.2","@types/jest":"^29.4.0","@types/lodash":"^4.14.194","@types/sinon":"^10.0.15","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","babel-jest":"^29.4.1","crypto-browserify":"^3.12.0","dotenv":"^16.3.1","eslint":"^8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-jsdoc":"^46.8.2","husky":"^8.0.0","jest":"^29.4.1","lint-staged":"^14.0.1","npm-run-all":"^4.1.5","playwright":"^1.43.1","prettier":"^2.0.5","pretty-quick":"^2.0.1","process":"^0.11.10","sinon":"^15.1.0","stream-browserify":"^3.0.0","ts-jest":"^29.0.5","ts-loader":"^9.4.2","ts-node":"^10.9.1","tslib":"^2.5.0","typescript":"^5.0.4","webpack":"^5.83.1","webpack-cli":"^5.1.1"},"dependencies":{"@stablelib/base64":"^2.0.0","@stablelib/utf8":"^2.0.0","@stellar/stellar-sdk":"12.1.0","axios":"^1.4.0","base64url":"^3.0.1","https-browserify":"^1.0.0","jws":"^4.0.0","lodash":"^4.17.21","query-string":"^7.1.3","stream-http":"^3.2.0","tweetnacl":"^1.0.3","url":"^0.11.0","util":"^0.12.5","utility-types":"^3.10.0","vm-browserify":"^1.1.2"},"scripts":{"test":"jest --watchAll","test:ci":"jest --ci","test:e2e:ci":"jest --config jest.e2e.config.js --ci","test:recovery:ci":"jest --config jest.integration.config.js recovery.test.ts --ci","test:anchorplatform:ci":"yarn jest --config jest.integration.config.js anchorplatform.test.ts --ci","build:web":"webpack --config webpack.config.js","build:node":"webpack --env NODE=true --config webpack.config.js","build":"run-p build:web build:node","example:sep24":"ts-node examples/sep24/sep24.ts"}}');
63517
63589
 
63518
63590
  /***/ }),
63519
63591
 
@@ -63635,6 +63707,18 @@ module.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1
63635
63707
  /******/ }
63636
63708
  /******/
63637
63709
  /************************************************************************/
63710
+ /******/ /* webpack/runtime/define property getters */
63711
+ /******/ (() => {
63712
+ /******/ // define getter functions for harmony exports
63713
+ /******/ __webpack_require__.d = (exports, definition) => {
63714
+ /******/ for(var key in definition) {
63715
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
63716
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
63717
+ /******/ }
63718
+ /******/ }
63719
+ /******/ };
63720
+ /******/ })();
63721
+ /******/
63638
63722
  /******/ /* webpack/runtime/global */
63639
63723
  /******/ (() => {
63640
63724
  /******/ __webpack_require__.g = (function() {
@@ -63647,6 +63731,22 @@ module.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1
63647
63731
  /******/ })();
63648
63732
  /******/ })();
63649
63733
  /******/
63734
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
63735
+ /******/ (() => {
63736
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
63737
+ /******/ })();
63738
+ /******/
63739
+ /******/ /* webpack/runtime/make namespace object */
63740
+ /******/ (() => {
63741
+ /******/ // define __esModule on exports
63742
+ /******/ __webpack_require__.r = (exports) => {
63743
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
63744
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
63745
+ /******/ }
63746
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
63747
+ /******/ };
63748
+ /******/ })();
63749
+ /******/
63650
63750
  /******/ /* webpack/runtime/node module decorator */
63651
63751
  /******/ (() => {
63652
63752
  /******/ __webpack_require__.nmd = (module) => {