@crossmint/wallets-sdk 0.18.8 → 0.18.10

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.
Files changed (130) hide show
  1. package/dist/api/client.cjs +5 -5
  2. package/dist/api/client.js +4 -4
  3. package/dist/api/gen/client.gen.cjs +1 -1
  4. package/dist/api/gen/client.gen.js +1 -1
  5. package/dist/api/gen/index.cjs +4 -4
  6. package/dist/api/gen/index.js +3 -3
  7. package/dist/api/gen/sdk.gen.cjs +3 -3
  8. package/dist/api/gen/sdk.gen.js +2 -2
  9. package/dist/api/gen/types.gen.d.cts +35 -35
  10. package/dist/api/gen/types.gen.d.ts +35 -35
  11. package/dist/api/index.cjs +5 -5
  12. package/dist/api/index.js +4 -4
  13. package/dist/chains/chains.cjs +5 -4
  14. package/dist/chains/chains.d.cts +1 -1
  15. package/dist/chains/chains.d.ts +1 -1
  16. package/dist/chains/chains.js +4 -3
  17. package/dist/chains/definitions/arcTestnet.cjs +1 -1
  18. package/dist/chains/definitions/arcTestnet.js +1 -1
  19. package/dist/chains/definitions/story.cjs +1 -1
  20. package/dist/chains/definitions/story.js +1 -1
  21. package/dist/chains/definitions/storyTestnet.cjs +1 -1
  22. package/dist/chains/definitions/storyTestnet.js +1 -1
  23. package/dist/chains/definitions/tempoTestnet.cjs +7 -0
  24. package/dist/chains/definitions/tempoTestnet.d.cts +43 -0
  25. package/dist/chains/definitions/tempoTestnet.d.ts +43 -0
  26. package/dist/chains/definitions/tempoTestnet.js +7 -0
  27. package/dist/{chunk-ZTGRDOOH.js → chunk-2I2OFGNL.js} +1 -1
  28. package/dist/{chunk-ZPH2YLZO.js → chunk-3RSZDA3X.js} +2 -2
  29. package/dist/{chunk-MZBFXUHT.js → chunk-47WKYTRN.js} +1 -1
  30. package/dist/{chunk-BRNT3DZP.cjs → chunk-4GFSUI2I.cjs} +3 -3
  31. package/dist/{chunk-N3RG7OZW.cjs → chunk-5KFST6KH.cjs} +60 -37
  32. package/dist/chunk-6H6ZBJC2.cjs +25 -0
  33. package/dist/chunk-6Z5QSTIS.cjs +58 -0
  34. package/dist/{chunk-YSDATSFB.js → chunk-73EJIGRV.js} +30 -7
  35. package/dist/{chunk-AL77JANE.js → chunk-7GOUUPS4.js} +1 -1
  36. package/dist/{chunk-LLDPJU6L.cjs → chunk-AN7MHABM.cjs} +6 -6
  37. package/dist/{chunk-FPMW7Q5O.js → chunk-ASE2FXWP.js} +10 -0
  38. package/dist/{chunk-ZBW2YHQZ.cjs → chunk-AZIXXLMP.cjs} +29 -29
  39. package/dist/{chunk-RTRDZB52.js → chunk-BMMZIPXT.js} +1 -1
  40. package/dist/{chunk-V3QJQUT7.cjs → chunk-COR3CNRW.cjs} +128 -128
  41. package/dist/{chunk-SXR4KWXS.js → chunk-CQNVHQHH.js} +3 -3
  42. package/dist/{chunk-V3FETRWW.js → chunk-FOOISYCJ.js} +1 -1
  43. package/dist/{chunk-FWC2WXFN.cjs → chunk-GRAV7BTN.cjs} +31 -8
  44. package/dist/{chunk-6QEK7D2B.cjs → chunk-GROJZ247.cjs} +10 -4
  45. package/dist/{chunk-YBA7WO32.cjs → chunk-IOMKHF6R.cjs} +3 -3
  46. package/dist/{chunk-EYJQSDDI.js → chunk-IPO25BCU.js} +1 -1
  47. package/dist/{chunk-4NHVYWZC.js → chunk-IYTDGUGZ.js} +116 -50
  48. package/dist/chunk-IZJUOXOZ.js +25 -0
  49. package/dist/{chunk-CHGPNMRL.cjs → chunk-JSWTGW46.cjs} +3 -3
  50. package/dist/{chunk-K5HDSLUV.js → chunk-KMHPLOVX.js} +4 -4
  51. package/dist/{chunk-ASJVZCHA.js → chunk-LVSVT2VD.js} +1 -1
  52. package/dist/{chunk-SD7I7CQ4.cjs → chunk-MNJA5EPY.cjs} +6 -6
  53. package/dist/{chunk-2JCKWYGA.cjs → chunk-NBDHZJ44.cjs} +11 -11
  54. package/dist/{chunk-3ZIQQ4PW.js → chunk-NIHJXITI.js} +52 -29
  55. package/dist/{chunk-PROOTUIO.js → chunk-NJTKHWXR.js} +10 -4
  56. package/dist/{chunk-4CPLMKRO.cjs → chunk-OFQDCA2H.cjs} +1 -1
  57. package/dist/{chunk-PCFXTJL4.cjs → chunk-OWGPEA2A.cjs} +3 -3
  58. package/dist/{chunk-DQCXGBZM.js → chunk-PIFD6KNH.js} +1 -1
  59. package/dist/{chunk-WC7T2CR4.js → chunk-PK7J3Y3L.js} +1 -1
  60. package/dist/{chunk-R2OY54EJ.cjs → chunk-Q5KNPVYI.cjs} +3 -3
  61. package/dist/{chunk-Y24JAHPT.cjs → chunk-QXJZ75GW.cjs} +166 -100
  62. package/dist/{chunk-7L5EEVWT.js → chunk-R5TY6M5Z.js} +66 -9
  63. package/dist/{chunk-NUOU3SCU.js → chunk-RCK3ZEP7.js} +2 -2
  64. package/dist/{chunk-TR2CW644.js → chunk-SYZKDDGK.js} +2 -2
  65. package/dist/{chunk-EAMPCH35.cjs → chunk-TEQYWMHS.cjs} +13 -13
  66. package/dist/{chunk-BQF3R3BC.cjs → chunk-TYN3KL7U.cjs} +33 -10
  67. package/dist/{chunk-G5NYLGM5.cjs → chunk-UO2J2ZB2.cjs} +11 -1
  68. package/dist/{chunk-HNISEOCV.js → chunk-UPS2UQJO.js} +2 -2
  69. package/dist/{chunk-M4JBQNOI.cjs → chunk-UXNFYAIS.cjs} +71 -14
  70. package/dist/{chunk-ZFFB4RDK.js → chunk-UZN67GMO.js} +9 -9
  71. package/dist/{chunk-5BSYP2R3.cjs → chunk-WFGKVGZ2.cjs} +7 -7
  72. package/dist/{chunk-LLFD22UQ.cjs → chunk-XOCC3MPK.cjs} +3 -3
  73. package/dist/{chunk-V2DJ5TIR.js → chunk-YNLL6GP4.js} +29 -6
  74. package/dist/{chunk-VRMQGFQX.js → chunk-ZJUXMOUB.js} +1 -1
  75. package/dist/{chunk-BSC55MYK.cjs → chunk-ZNAGDENG.cjs} +3 -3
  76. package/dist/{chunk-7ECQJFYM.cjs → chunk-ZTEMOYS2.cjs} +3 -3
  77. package/dist/index.cjs +26 -25
  78. package/dist/index.js +25 -24
  79. package/dist/logger/index.cjs +4 -4
  80. package/dist/logger/index.js +3 -3
  81. package/dist/logger/init.cjs +4 -4
  82. package/dist/logger/init.js +3 -3
  83. package/dist/sdk.cjs +20 -20
  84. package/dist/sdk.js +19 -19
  85. package/dist/signers/evm-api-key.cjs +3 -3
  86. package/dist/signers/evm-api-key.js +2 -2
  87. package/dist/signers/evm-external-wallet.cjs +3 -3
  88. package/dist/signers/evm-external-wallet.js +2 -2
  89. package/dist/signers/index.cjs +14 -14
  90. package/dist/signers/index.js +13 -13
  91. package/dist/signers/non-custodial/index.cjs +7 -7
  92. package/dist/signers/non-custodial/index.js +6 -6
  93. package/dist/signers/non-custodial/ncs-evm-signer.cjs +5 -5
  94. package/dist/signers/non-custodial/ncs-evm-signer.js +4 -4
  95. package/dist/signers/non-custodial/ncs-iframe-manager.cjs +3 -3
  96. package/dist/signers/non-custodial/ncs-iframe-manager.js +2 -2
  97. package/dist/signers/non-custodial/ncs-signer.cjs +4 -4
  98. package/dist/signers/non-custodial/ncs-signer.js +3 -3
  99. package/dist/signers/non-custodial/ncs-solana-signer.cjs +5 -5
  100. package/dist/signers/non-custodial/ncs-solana-signer.js +4 -4
  101. package/dist/signers/non-custodial/ncs-stellar-signer.cjs +5 -5
  102. package/dist/signers/non-custodial/ncs-stellar-signer.js +4 -4
  103. package/dist/signers/passkey.cjs +3 -3
  104. package/dist/signers/passkey.js +2 -2
  105. package/dist/signers/solana-api-key.cjs +3 -3
  106. package/dist/signers/solana-api-key.js +2 -2
  107. package/dist/signers/solana-external-wallet.cjs +3 -3
  108. package/dist/signers/solana-external-wallet.js +2 -2
  109. package/dist/signers/stellar-external-wallet.cjs +3 -3
  110. package/dist/signers/stellar-external-wallet.js +2 -2
  111. package/dist/signers/types.cjs +1 -1
  112. package/dist/signers/types.js +1 -1
  113. package/dist/utils/constants.cjs +3 -3
  114. package/dist/utils/constants.js +2 -2
  115. package/dist/utils/errors.cjs +1 -1
  116. package/dist/utils/errors.js +1 -1
  117. package/dist/utils/signer-validation.cjs +1 -1
  118. package/dist/utils/signer-validation.js +1 -1
  119. package/dist/wallets/evm.cjs +15 -12
  120. package/dist/wallets/evm.js +14 -11
  121. package/dist/wallets/solana.cjs +13 -11
  122. package/dist/wallets/solana.js +12 -10
  123. package/dist/wallets/stellar.cjs +12 -10
  124. package/dist/wallets/stellar.js +11 -9
  125. package/dist/wallets/wallet-factory.cjs +18 -18
  126. package/dist/wallets/wallet-factory.js +17 -17
  127. package/dist/wallets/wallet.cjs +11 -9
  128. package/dist/wallets/wallet.js +10 -8
  129. package/package.json +3 -3
  130. package/dist/chunk-3LKDNHF5.cjs +0 -58
@@ -1,25 +1,25 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkN3RG7OZWcjs = require('./chunk-N3RG7OZW.cjs');
3
+ var _chunk5KFST6KHcjs = require('./chunk-5KFST6KH.cjs');
4
4
 
5
5
 
6
- var _chunkZBW2YHQZcjs = require('./chunk-ZBW2YHQZ.cjs');
6
+ var _chunkAZIXXLMPcjs = require('./chunk-AZIXXLMP.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunkPCFXTJL4cjs = require('./chunk-PCFXTJL4.cjs');
10
+ var _chunkOWGPEA2Acjs = require('./chunk-OWGPEA2A.cjs');
11
11
 
12
12
 
13
- var _chunkG5NYLGM5cjs = require('./chunk-G5NYLGM5.cjs');
13
+ var _chunkUO2J2ZB2cjs = require('./chunk-UO2J2ZB2.cjs');
14
14
 
15
15
  // src/sdk.ts
16
16
  var _commonsdkbase = require('@crossmint/common-sdk-base');
17
17
  var CrossmintWallets = class _CrossmintWallets {
18
18
  constructor(crossmint) {
19
- _chunkPCFXTJL4cjs.initWalletsLogger.call(void 0, crossmint.apiKey);
20
- const apiClient = new (0, _chunkZBW2YHQZcjs.ApiClient)(crossmint);
21
- this.walletFactory = new (0, _chunkN3RG7OZWcjs.WalletFactory)(apiClient);
22
- _chunkPCFXTJL4cjs.walletsLogger.info("wallets.sdk.initialized");
19
+ _chunkOWGPEA2Acjs.initWalletsLogger.call(void 0, crossmint.apiKey);
20
+ const apiClient = new (0, _chunkAZIXXLMPcjs.ApiClient)(crossmint);
21
+ this.walletFactory = new (0, _chunk5KFST6KHcjs.WalletFactory)(apiClient);
22
+ _chunkOWGPEA2Acjs.walletsLogger.info("wallets.sdk.initialized");
23
23
  }
24
24
  /**
25
25
  * Initialize the Wallets SDK
@@ -36,7 +36,7 @@ var CrossmintWallets = class _CrossmintWallets {
36
36
  * @returns An existing wallet or a new wallet
37
37
  */
38
38
  getOrCreateWallet(options) {
39
- return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
39
+ return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
40
40
  return yield this.walletFactory.getOrCreateWallet(options);
41
41
  });
42
42
  }
@@ -47,7 +47,7 @@ var CrossmintWallets = class _CrossmintWallets {
47
47
  * @returns A wallet if found, throws WalletNotAvailableError if not found
48
48
  */
49
49
  getWallet(walletLocator, options) {
50
- return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
50
+ return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
51
51
  return yield this.walletFactory.getWallet(walletLocator, options);
52
52
  });
53
53
  }
@@ -57,7 +57,7 @@ var CrossmintWallets = class _CrossmintWallets {
57
57
  * @returns A new wallet
58
58
  */
59
59
  createWallet(options) {
60
- return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
60
+ return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
61
61
  return yield this.walletFactory.createWallet(options);
62
62
  });
63
63
  }
@@ -4,23 +4,25 @@ import {
4
4
  } from "./chunk-ZP4ZZCIE.js";
5
5
  import {
6
6
  Wallet
7
- } from "./chunk-4NHVYWZC.js";
7
+ } from "./chunk-IYTDGUGZ.js";
8
8
  import {
9
9
  assembleSigner
10
- } from "./chunk-ZFFB4RDK.js";
10
+ } from "./chunk-UZN67GMO.js";
11
11
  import {
12
12
  WalletCreationError,
13
13
  WalletNotAvailableError
14
14
  } from "./chunk-SGINWAB6.js";
15
15
  import {
16
16
  walletsLogger
17
- } from "./chunk-VRMQGFQX.js";
17
+ } from "./chunk-ZJUXMOUB.js";
18
18
  import {
19
19
  __async,
20
+ __decorateClass,
20
21
  __spreadValues
21
- } from "./chunk-FPMW7Q5O.js";
22
+ } from "./chunk-ASE2FXWP.js";
22
23
 
23
24
  // src/wallets/wallet-factory.ts
25
+ import { WithLoggerContext } from "@crossmint/common-sdk-base";
24
26
  import { WebAuthnP256 } from "ox";
25
27
  var DELEGATED_SIGNER_MISMATCH_ERROR = "When 'delegatedSigners' is provided to a method that may fetch an existing wallet, each specified delegated signer must exist in that wallet's configuration.";
26
28
  var WalletFactory = class {
@@ -30,48 +32,43 @@ var WalletFactory = class {
30
32
  getOrCreateWallet(args) {
31
33
  return __async(this, null, function* () {
32
34
  if (this.apiClient.isServerSide) {
35
+ walletsLogger.error("walletFactory.getOrCreateWallet.error", {
36
+ error: "getOrCreateWallet can only be called from client-side code"
37
+ });
33
38
  throw new WalletCreationError(
34
39
  "getOrCreateWallet can only be called from client-side code.\n- Make sure you're running this in the browser (or another client environment), not on your server.\n- Use your Crossmint Client API Key (not a server key)."
35
40
  );
36
41
  }
37
42
  const locator = this.getWalletLocator(args);
38
- walletsLogger.info("wallet.getOrCreate.start", {
39
- chain: args.chain,
40
- signerType: args.signer.type
41
- });
43
+ walletsLogger.info("walletFactory.getOrCreateWallet.start");
42
44
  const existingWallet = yield this.apiClient.getWallet(locator);
43
45
  if (existingWallet != null && !("error" in existingWallet)) {
44
- walletsLogger.info("wallet.getOrCreate.existing", {
45
- chain: args.chain,
46
+ walletsLogger.info("walletFactory.getOrCreateWallet.existing", {
46
47
  address: existingWallet.address
47
48
  });
48
49
  return this.createWalletInstance(existingWallet, args);
49
50
  }
50
- walletsLogger.info("wallet.getOrCreate.creating", {
51
- chain: args.chain
52
- });
51
+ walletsLogger.info("walletFactory.getOrCreateWallet.creating");
53
52
  return this.createWallet(args);
54
53
  });
55
54
  }
56
55
  getWallet(walletLocator, args) {
57
56
  return __async(this, null, function* () {
58
57
  if (!this.apiClient.isServerSide) {
58
+ walletsLogger.error("walletFactory.getWallet.error", {
59
+ error: "getWallet is not supported on client side"
60
+ });
59
61
  throw new WalletCreationError("getWallet is not supported on client side, use getOrCreateWallet instead");
60
62
  }
61
- walletsLogger.info("wallet.get.start", {
62
- walletLocator,
63
- chain: args.chain
64
- });
63
+ walletsLogger.info("walletFactory.getWallet.start");
65
64
  const existingWallet = yield this.apiClient.getWallet(walletLocator);
66
65
  if ("error" in existingWallet) {
67
- walletsLogger.warn("wallet.get.notFound", {
68
- walletLocator,
66
+ walletsLogger.warn("walletFactory.getWallet.notFound", {
69
67
  error: existingWallet.error
70
68
  });
71
69
  throw new WalletNotAvailableError(JSON.stringify(existingWallet));
72
70
  }
73
- walletsLogger.info("wallet.get.success", {
74
- walletLocator,
71
+ walletsLogger.info("walletFactory.getWallet.success", {
75
72
  address: existingWallet.address
76
73
  });
77
74
  return this.createWalletInstance(existingWallet, args);
@@ -81,10 +78,7 @@ var WalletFactory = class {
81
78
  return __async(this, null, function* () {
82
79
  var _a, _b, _c, _d, _e;
83
80
  yield (_c = (_b = (_a = args.options) == null ? void 0 : _a.experimental_callbacks) == null ? void 0 : _b.onWalletCreationStart) == null ? void 0 : _c.call(_b);
84
- walletsLogger.info("wallet.create.start", {
85
- chain: args.chain,
86
- signerType: args.signer.type
87
- });
81
+ walletsLogger.info("walletFactory.createWallet.start");
88
82
  this.mutateSignerFromCustomAuth(args, true);
89
83
  const adminSigner = args.signer.type === "passkey" ? yield this.createPasskeyAdminSigner(args.signer) : args.signer;
90
84
  const walletResponse = yield this.apiClient.createWallet({
@@ -97,14 +91,12 @@ var WalletFactory = class {
97
91
  alias: (_e = args.alias) != null ? _e : void 0
98
92
  });
99
93
  if ("error" in walletResponse) {
100
- walletsLogger.error("wallet.create.error", {
101
- chain: args.chain,
94
+ walletsLogger.error("walletFactory.createWallet.error", {
102
95
  error: walletResponse.error
103
96
  });
104
97
  throw new WalletCreationError(JSON.stringify(walletResponse));
105
98
  }
106
- walletsLogger.info("wallet.create.success", {
107
- chain: args.chain,
99
+ walletsLogger.info("walletFactory.createWallet.success", {
108
100
  address: walletResponse.address
109
101
  });
110
102
  return this.createWalletInstance(walletResponse, args);
@@ -295,6 +287,37 @@ var WalletFactory = class {
295
287
  return "evm";
296
288
  }
297
289
  };
290
+ __decorateClass([
291
+ WithLoggerContext({
292
+ logger: walletsLogger,
293
+ methodName: "walletFactory.getOrCreateWallet",
294
+ buildContext(_thisArg, args) {
295
+ const walletArgs = args[0];
296
+ return { chain: walletArgs.chain, signerType: walletArgs.signer.type };
297
+ }
298
+ })
299
+ ], WalletFactory.prototype, "getOrCreateWallet", 1);
300
+ __decorateClass([
301
+ WithLoggerContext({
302
+ logger: walletsLogger,
303
+ methodName: "walletFactory.getWallet",
304
+ buildContext(_thisArg, args) {
305
+ const walletLocator = args[0];
306
+ const walletArgs = args[1];
307
+ return { walletLocator, chain: walletArgs.chain };
308
+ }
309
+ })
310
+ ], WalletFactory.prototype, "getWallet", 1);
311
+ __decorateClass([
312
+ WithLoggerContext({
313
+ logger: walletsLogger,
314
+ methodName: "walletFactory.createWallet",
315
+ buildContext(_thisArg, args) {
316
+ const walletArgs = args[0];
317
+ return { chain: walletArgs.chain, signerType: walletArgs.signer.type };
318
+ }
319
+ })
320
+ ], WalletFactory.prototype, "createWallet", 1);
298
321
 
299
322
  export {
300
323
  WalletFactory
@@ -1,12 +1,15 @@
1
+ import {
2
+ tempoTestnet
3
+ } from "./chunk-IZJUOXOZ.js";
4
+ import {
5
+ arcTestnet
6
+ } from "./chunk-ZBLW42YE.js";
1
7
  import {
2
8
  story
3
9
  } from "./chunk-2T5HHKUI.js";
4
10
  import {
5
11
  storyTestnet
6
12
  } from "./chunk-3U6UAYOV.js";
7
- import {
8
- arcTestnet
9
- } from "./chunk-ZBLW42YE.js";
10
13
 
11
14
  // src/chains/chains.ts
12
15
  import { BlockchainIncludingTestnet as Blockchain } from "@crossmint/common-sdk-base";
@@ -49,7 +52,8 @@ var TESTNET_AA_CHAINS = [
49
52
  Blockchain.STORY_TESTNET,
50
53
  Blockchain.WORLD_CHAIN_SEPOLIA,
51
54
  Blockchain.ZORA_SEPOLIA,
52
- Blockchain.ARC_TESTNET
55
+ Blockchain.ARC_TESTNET,
56
+ Blockchain.TEMPO_TESTNET
53
57
  ];
54
58
  var PRODUCTION_AA_CHAINS = [
55
59
  Blockchain.ABSTRACT,
@@ -119,6 +123,8 @@ function toViemChain(chain) {
119
123
  return plume;
120
124
  case Blockchain.ARC_TESTNET:
121
125
  return arcTestnet;
126
+ case Blockchain.TEMPO_TESTNET:
127
+ return tempoTestnet;
122
128
  case Blockchain.ABSTRACT:
123
129
  case Blockchain.ABSTRACT_TESTNET:
124
130
  case Blockchain.APECHAIN:
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// package.json
2
2
  var name = "@crossmint/wallets-sdk";
3
- var version = "0.18.8";
3
+ var version = "0.18.10";
4
4
 
5
5
  // src/utils/constants.ts
6
6
  var WALLETS_SERVICE = "WALLETS_SDK";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
2
 
3
3
 
4
- var _chunk4CPLMKROcjs = require('./chunk-4CPLMKRO.cjs');
4
+ var _chunkOFQDCA2Hcjs = require('./chunk-OFQDCA2H.cjs');
5
5
 
6
6
  // src/logger/init.ts
7
7
 
@@ -21,8 +21,8 @@ function initWalletsLogger(apiKey) {
21
21
  }
22
22
  const { environment, projectId } = validationResult;
23
23
  walletsLogger.init({
24
- packageName: _chunk4CPLMKROcjs.SDK_NAME,
25
- packageVersion: _chunk4CPLMKROcjs.SDK_VERSION,
24
+ packageName: _chunkOFQDCA2Hcjs.SDK_NAME,
25
+ packageVersion: _chunkOFQDCA2Hcjs.SDK_VERSION,
26
26
  environment,
27
27
  projectId,
28
28
  platform
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-SGINWAB6.js";
4
4
  import {
5
5
  __async
6
- } from "./chunk-FPMW7Q5O.js";
6
+ } from "./chunk-ASE2FXWP.js";
7
7
 
8
8
  // src/signers/solana-external-wallet.ts
9
9
  import { PublicKey, VersionedTransaction } from "@solana/web3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __async
3
- } from "./chunk-FPMW7Q5O.js";
3
+ } from "./chunk-ASE2FXWP.js";
4
4
 
5
5
  // src/signers/stellar-external-wallet.ts
6
6
  var StellarExternalWalletSigner = class {
@@ -3,7 +3,7 @@
3
3
  var _chunkXC2V34TScjs = require('./chunk-XC2V34TS.cjs');
4
4
 
5
5
 
6
- var _chunkG5NYLGM5cjs = require('./chunk-G5NYLGM5.cjs');
6
+ var _chunkUO2J2ZB2cjs = require('./chunk-UO2J2ZB2.cjs');
7
7
 
8
8
  // src/signers/solana-external-wallet.ts
9
9
  var _web3js = require('@solana/web3.js');
@@ -25,12 +25,12 @@ var SolanaExternalWalletSigner = class {
25
25
  return this.config.locator;
26
26
  }
27
27
  signMessage() {
28
- return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
28
+ return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
29
29
  return yield Promise.reject(new Error("signMessage method not implemented for solana external wallet signer"));
30
30
  });
31
31
  }
32
32
  signTransaction(transaction) {
33
- return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
33
+ return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
34
34
  if (this.onSignTransaction == null) {
35
35
  return yield Promise.reject(
36
36
  new Error("onSignTransaction method is required to sign transactions with a Solana external wallet")