@crossmint/wallets-sdk 0.18.9 → 0.18.11

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 (53) hide show
  1. package/dist/api/client.cjs +4 -4
  2. package/dist/api/client.js +3 -3
  3. package/dist/api/index.cjs +4 -4
  4. package/dist/api/index.js +3 -3
  5. package/dist/chains/chains.cjs +3 -3
  6. package/dist/chains/chains.js +2 -2
  7. package/dist/chains/definitions/tempoTestnet.cjs +2 -2
  8. package/dist/chains/definitions/tempoTestnet.d.cts +2 -2
  9. package/dist/chains/definitions/tempoTestnet.d.ts +2 -2
  10. package/dist/chains/definitions/tempoTestnet.js +1 -1
  11. package/dist/{chunk-K4RPCL5B.js → chunk-66OKXCYL.js} +2 -2
  12. package/dist/{chunk-NIVHH42N.js → chunk-6DRR3LG4.js} +2 -2
  13. package/dist/{chunk-J5XAUV2V.cjs → chunk-6H6ZBJC2.cjs} +2 -2
  14. package/dist/{chunk-4QK4L5VF.js → chunk-AJIUH7J4.js} +2 -2
  15. package/dist/{chunk-5W4XWZHO.js → chunk-EDBSUNF2.js} +1 -1
  16. package/dist/{chunk-FQUH37WQ.js → chunk-FQRYO6LZ.js} +1 -1
  17. package/dist/{chunk-BILOL2NR.js → chunk-GAGVFMN7.js} +3 -3
  18. package/dist/{chunk-5KDA2N2A.cjs → chunk-GROJZ247.cjs} +2 -2
  19. package/dist/{chunk-IIGQSNJW.cjs → chunk-HZKNKBU5.cjs} +1 -1
  20. package/dist/{chunk-T5QUCHZJ.js → chunk-IZJUOXOZ.js} +2 -2
  21. package/dist/{chunk-G2CYEQE2.js → chunk-JFIN435P.js} +2 -2
  22. package/dist/{chunk-DLPFZLN7.cjs → chunk-KWII4S3U.cjs} +23 -23
  23. package/dist/{chunk-IZBTRZ6H.js → chunk-NJTKHWXR.js} +1 -1
  24. package/dist/{chunk-WCT4BKO2.cjs → chunk-PSKZR36J.cjs} +9 -9
  25. package/dist/{chunk-PNCAKT7I.cjs → chunk-QKDQHKDJ.cjs} +38 -38
  26. package/dist/{chunk-2ZSKJAOT.cjs → chunk-THJFGWWT.cjs} +17 -17
  27. package/dist/{chunk-LOYQBZ5U.js → chunk-UCHEZUU2.js} +2 -2
  28. package/dist/{chunk-5M7F5ACW.cjs → chunk-UH62INDA.cjs} +9 -9
  29. package/dist/{chunk-HMAWUNLS.cjs → chunk-WACETVEE.cjs} +7 -7
  30. package/dist/{chunk-LQLIK47F.cjs → chunk-WDYAGKXG.cjs} +12 -12
  31. package/dist/{chunk-223GEFZO.cjs → chunk-WRIOKE3W.cjs} +3 -3
  32. package/dist/{chunk-Z46X5PNX.js → chunk-XCBU56Z2.js} +3 -3
  33. package/dist/index.cjs +12 -12
  34. package/dist/index.js +11 -11
  35. package/dist/logger/index.cjs +3 -3
  36. package/dist/logger/index.js +2 -2
  37. package/dist/logger/init.cjs +3 -3
  38. package/dist/logger/init.js +2 -2
  39. package/dist/sdk.cjs +7 -7
  40. package/dist/sdk.js +6 -6
  41. package/dist/utils/constants.cjs +2 -2
  42. package/dist/utils/constants.js +1 -1
  43. package/dist/wallets/evm.cjs +7 -7
  44. package/dist/wallets/evm.js +6 -6
  45. package/dist/wallets/solana.cjs +5 -5
  46. package/dist/wallets/solana.js +4 -4
  47. package/dist/wallets/stellar.cjs +5 -5
  48. package/dist/wallets/stellar.js +4 -4
  49. package/dist/wallets/wallet-factory.cjs +5 -5
  50. package/dist/wallets/wallet-factory.js +4 -4
  51. package/dist/wallets/wallet.cjs +4 -4
  52. package/dist/wallets/wallet.js +3 -3
  53. package/package.json +4 -4
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkLQLIK47Fcjs = require('../chunk-LQLIK47F.cjs');
3
+ var _chunkWDYAGKXGcjs = require('../chunk-WDYAGKXG.cjs');
4
4
  require('../chunk-XC2V34TS.cjs');
5
- require('../chunk-223GEFZO.cjs');
6
- require('../chunk-IIGQSNJW.cjs');
5
+ require('../chunk-WRIOKE3W.cjs');
6
+ require('../chunk-HZKNKBU5.cjs');
7
7
  require('../chunk-UO2J2ZB2.cjs');
8
8
 
9
9
 
10
- exports.ApiClient = _chunkLQLIK47Fcjs.ApiClient;
10
+ exports.ApiClient = _chunkWDYAGKXGcjs.ApiClient;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ApiClient
3
- } from "../chunk-K4RPCL5B.js";
3
+ } from "../chunk-66OKXCYL.js";
4
4
  import "../chunk-SGINWAB6.js";
5
- import "../chunk-FQUH37WQ.js";
6
- import "../chunk-5W4XWZHO.js";
5
+ import "../chunk-FQRYO6LZ.js";
6
+ import "../chunk-EDBSUNF2.js";
7
7
  import "../chunk-ASE2FXWP.js";
8
8
  export {
9
9
  ApiClient
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6HXIZLEQ.cjs');
2
2
 
3
3
 
4
- var _chunkLQLIK47Fcjs = require('../chunk-LQLIK47F.cjs');
4
+ var _chunkWDYAGKXGcjs = require('../chunk-WDYAGKXG.cjs');
5
5
  require('../chunk-XC2V34TS.cjs');
6
6
  require('../chunk-ECAM5KTH.cjs');
7
- require('../chunk-223GEFZO.cjs');
8
- require('../chunk-IIGQSNJW.cjs');
7
+ require('../chunk-WRIOKE3W.cjs');
8
+ require('../chunk-HZKNKBU5.cjs');
9
9
  require('../chunk-UO2J2ZB2.cjs');
10
10
 
11
11
 
12
- exports.ApiClient = _chunkLQLIK47Fcjs.ApiClient;
12
+ exports.ApiClient = _chunkWDYAGKXGcjs.ApiClient;
package/dist/api/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "../chunk-5IFDVB4Y.js";
2
2
  import {
3
3
  ApiClient
4
- } from "../chunk-K4RPCL5B.js";
4
+ } from "../chunk-66OKXCYL.js";
5
5
  import "../chunk-SGINWAB6.js";
6
6
  import "../chunk-KBJA7JDT.js";
7
- import "../chunk-FQUH37WQ.js";
8
- import "../chunk-5W4XWZHO.js";
7
+ import "../chunk-FQRYO6LZ.js";
8
+ import "../chunk-EDBSUNF2.js";
9
9
  import "../chunk-ASE2FXWP.js";
10
10
  export {
11
11
  ApiClient
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5KDA2N2Acjs = require('../chunk-5KDA2N2A.cjs');
4
- require('../chunk-J5XAUV2V.cjs');
3
+ var _chunkGROJZ247cjs = require('../chunk-GROJZ247.cjs');
4
+ require('../chunk-6H6ZBJC2.cjs');
5
5
  require('../chunk-HTSQPZHW.cjs');
6
6
  require('../chunk-NIBKCMQ2.cjs');
7
7
  require('../chunk-55V4VMTX.cjs');
8
8
  require('../chunk-UO2J2ZB2.cjs');
9
9
 
10
10
 
11
- exports.toViemChain = _chunk5KDA2N2Acjs.toViemChain;
11
+ exports.toViemChain = _chunkGROJZ247cjs.toViemChain;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  toViemChain
3
- } from "../chunk-IZBTRZ6H.js";
4
- import "../chunk-T5QUCHZJ.js";
3
+ } from "../chunk-NJTKHWXR.js";
4
+ import "../chunk-IZJUOXOZ.js";
5
5
  import "../chunk-ZBLW42YE.js";
6
6
  import "../chunk-2T5HHKUI.js";
7
7
  import "../chunk-3U6UAYOV.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJ5XAUV2Vcjs = require('../../chunk-J5XAUV2V.cjs');
3
+ var _chunk6H6ZBJC2cjs = require('../../chunk-6H6ZBJC2.cjs');
4
4
  require('../../chunk-UO2J2ZB2.cjs');
5
5
 
6
6
 
7
- exports.tempoTestnet = _chunkJ5XAUV2Vcjs.tempoTestnet;
7
+ exports.tempoTestnet = _chunk6H6ZBJC2cjs.tempoTestnet;
@@ -23,8 +23,8 @@ declare const tempoTestnet: {
23
23
  name: "Tempo Testnet";
24
24
  nativeCurrency: {
25
25
  readonly decimals: 6;
26
- readonly name: "LUSD";
27
- readonly symbol: "LUSD";
26
+ readonly name: "pathUSD";
27
+ readonly symbol: "pathUSD";
28
28
  };
29
29
  experimental_preconfirmationTime?: number | undefined;
30
30
  rpcUrls: {
@@ -23,8 +23,8 @@ declare const tempoTestnet: {
23
23
  name: "Tempo Testnet";
24
24
  nativeCurrency: {
25
25
  readonly decimals: 6;
26
- readonly name: "LUSD";
27
- readonly symbol: "LUSD";
26
+ readonly name: "pathUSD";
27
+ readonly symbol: "pathUSD";
28
28
  };
29
29
  experimental_preconfirmationTime?: number | undefined;
30
30
  rpcUrls: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tempoTestnet
3
- } from "../../chunk-T5QUCHZJ.js";
3
+ } from "../../chunk-IZJUOXOZ.js";
4
4
  import "../../chunk-ASE2FXWP.js";
5
5
  export {
6
6
  tempoTestnet
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-SGINWAB6.js";
4
4
  import {
5
5
  walletsLogger
6
- } from "./chunk-FQUH37WQ.js";
6
+ } from "./chunk-FQRYO6LZ.js";
7
7
  import {
8
8
  SDK_NAME,
9
9
  SDK_VERSION
10
- } from "./chunk-5W4XWZHO.js";
10
+ } from "./chunk-EDBSUNF2.js";
11
11
  import {
12
12
  __async
13
13
  } from "./chunk-ASE2FXWP.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZP4ZZCIE.js";
5
5
  import {
6
6
  Wallet
7
- } from "./chunk-G2CYEQE2.js";
7
+ } from "./chunk-JFIN435P.js";
8
8
  import {
9
9
  assembleSigner
10
10
  } from "./chunk-UZN67GMO.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-SGINWAB6.js";
15
15
  import {
16
16
  walletsLogger
17
- } from "./chunk-FQUH37WQ.js";
17
+ } from "./chunk-FQRYO6LZ.js";
18
18
  import {
19
19
  __async,
20
20
  __decorateClass,
@@ -5,8 +5,8 @@ var tempoTestnet = _viem.defineChain.call(void 0, {
5
5
  name: "Tempo Testnet",
6
6
  nativeCurrency: {
7
7
  decimals: 6,
8
- name: "LUSD",
9
- symbol: "LUSD"
8
+ name: "pathUSD",
9
+ symbol: "pathUSD"
10
10
  },
11
11
  rpcUrls: {
12
12
  default: { http: ["https://rpc.testnet.tempo.xyz"] }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Wallet
3
- } from "./chunk-G2CYEQE2.js";
3
+ } from "./chunk-JFIN435P.js";
4
4
  import {
5
5
  SolanaExternalWalletSigner
6
6
  } from "./chunk-PIFD6KNH.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-SGINWAB6.js";
10
10
  import {
11
11
  walletsLogger
12
- } from "./chunk-FQUH37WQ.js";
12
+ } from "./chunk-FQRYO6LZ.js";
13
13
  import {
14
14
  __async,
15
15
  __decorateClass
@@ -1,6 +1,6 @@
1
1
  // package.json
2
2
  var name = "@crossmint/wallets-sdk";
3
- var version = "0.18.9";
3
+ var version = "0.18.11";
4
4
 
5
5
  // src/utils/constants.ts
6
6
  var WALLETS_SERVICE = "WALLETS_SDK";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SDK_NAME,
3
3
  SDK_VERSION
4
- } from "./chunk-5W4XWZHO.js";
4
+ } from "./chunk-EDBSUNF2.js";
5
5
 
6
6
  // src/logger/init.ts
7
7
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Wallet
3
- } from "./chunk-G2CYEQE2.js";
3
+ } from "./chunk-JFIN435P.js";
4
4
  import {
5
5
  InvalidTypedDataError,
6
6
  SignatureNotCreatedError,
@@ -8,10 +8,10 @@ import {
8
8
  } from "./chunk-SGINWAB6.js";
9
9
  import {
10
10
  toViemChain
11
- } from "./chunk-IZBTRZ6H.js";
11
+ } from "./chunk-NJTKHWXR.js";
12
12
  import {
13
13
  walletsLogger
14
- } from "./chunk-FQUH37WQ.js";
14
+ } from "./chunk-FQRYO6LZ.js";
15
15
  import {
16
16
  __async,
17
17
  __decorateClass
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJ5XAUV2Vcjs = require('./chunk-J5XAUV2V.cjs');
3
+ var _chunk6H6ZBJC2cjs = require('./chunk-6H6ZBJC2.cjs');
4
4
 
5
5
 
6
6
  var _chunkHTSQPZHWcjs = require('./chunk-HTSQPZHW.cjs');
@@ -124,7 +124,7 @@ function toViemChain(chain) {
124
124
  case _commonsdkbase.BlockchainIncludingTestnet.ARC_TESTNET:
125
125
  return _chunkHTSQPZHWcjs.arcTestnet;
126
126
  case _commonsdkbase.BlockchainIncludingTestnet.TEMPO_TESTNET:
127
- return _chunkJ5XAUV2Vcjs.tempoTestnet;
127
+ return _chunk6H6ZBJC2cjs.tempoTestnet;
128
128
  case _commonsdkbase.BlockchainIncludingTestnet.ABSTRACT:
129
129
  case _commonsdkbase.BlockchainIncludingTestnet.ABSTRACT_TESTNET:
130
130
  case _commonsdkbase.BlockchainIncludingTestnet.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.9";
3
+ var version = "0.18.11";
4
4
 
5
5
  // src/utils/constants.ts
6
6
  var WALLETS_SERVICE = "WALLETS_SDK";
@@ -5,8 +5,8 @@ var tempoTestnet = defineChain({
5
5
  name: "Tempo Testnet",
6
6
  nativeCurrency: {
7
7
  decimals: 6,
8
- name: "LUSD",
9
- symbol: "LUSD"
8
+ name: "pathUSD",
9
+ symbol: "pathUSD"
10
10
  },
11
11
  rpcUrls: {
12
12
  default: { http: ["https://rpc.testnet.tempo.xyz"] }
@@ -18,10 +18,10 @@ import {
18
18
  } from "./chunk-SGINWAB6.js";
19
19
  import {
20
20
  walletsLogger
21
- } from "./chunk-FQUH37WQ.js";
21
+ } from "./chunk-FQRYO6LZ.js";
22
22
  import {
23
23
  STATUS_POLLING_INTERVAL_MS
24
- } from "./chunk-5W4XWZHO.js";
24
+ } from "./chunk-EDBSUNF2.js";
25
25
  import {
26
26
  __async,
27
27
  __decorateClass,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkPNCAKT7Icjs = require('./chunk-PNCAKT7I.cjs');
3
+ var _chunkQKDQHKDJcjs = require('./chunk-QKDQHKDJ.cjs');
4
4
 
5
5
 
6
6
 
@@ -8,10 +8,10 @@ var _chunkPNCAKT7Icjs = require('./chunk-PNCAKT7I.cjs');
8
8
  var _chunkXC2V34TScjs = require('./chunk-XC2V34TS.cjs');
9
9
 
10
10
 
11
- var _chunk5KDA2N2Acjs = require('./chunk-5KDA2N2A.cjs');
11
+ var _chunkGROJZ247cjs = require('./chunk-GROJZ247.cjs');
12
12
 
13
13
 
14
- var _chunk223GEFZOcjs = require('./chunk-223GEFZO.cjs');
14
+ var _chunkWRIOKE3Wcjs = require('./chunk-WRIOKE3W.cjs');
15
15
 
16
16
 
17
17
 
@@ -20,7 +20,7 @@ var _chunkUO2J2ZB2cjs = require('./chunk-UO2J2ZB2.cjs');
20
20
  // src/wallets/evm.ts
21
21
  var _viem = require('viem');
22
22
  var _commonsdkbase = require('@crossmint/common-sdk-base');
23
- var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
23
+ var _EVMWallet = class _EVMWallet extends _chunkQKDQHKDJcjs.Wallet {
24
24
  constructor(wallet) {
25
25
  super(
26
26
  {
@@ -28,10 +28,10 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
28
28
  address: wallet.address,
29
29
  owner: wallet.owner,
30
30
  signer: wallet.signer,
31
- options: _chunkPNCAKT7Icjs.Wallet.getOptions(wallet),
31
+ options: _chunkQKDQHKDJcjs.Wallet.getOptions(wallet),
32
32
  alias: wallet.alias
33
33
  },
34
- _chunkPNCAKT7Icjs.Wallet.getApiClient(wallet)
34
+ _chunkQKDQHKDJcjs.Wallet.getApiClient(wallet)
35
35
  );
36
36
  }
37
37
  static from(wallet) {
@@ -43,12 +43,12 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
43
43
  sendTransaction(params) {
44
44
  return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
45
45
  var _a;
46
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.sendTransaction.start");
46
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.sendTransaction.start");
47
47
  yield this.preAuthIfNeeded();
48
48
  const builtTransaction = this.buildTransaction(params);
49
49
  const createdTransaction = yield this.createTransaction(builtTransaction, params.options);
50
50
  if ((_a = params.options) == null ? void 0 : _a.experimental_prepareOnly) {
51
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.sendTransaction.prepared", {
51
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.sendTransaction.prepared", {
52
52
  transactionId: createdTransaction.id
53
53
  });
54
54
  return {
@@ -58,7 +58,7 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
58
58
  };
59
59
  }
60
60
  const result = yield this.approveTransactionAndWait(createdTransaction.id);
61
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.sendTransaction.success", {
61
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.sendTransaction.success", {
62
62
  transactionId: createdTransaction.id,
63
63
  hash: result.hash
64
64
  });
@@ -68,7 +68,7 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
68
68
  signMessage(params) {
69
69
  return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
70
70
  var _a;
71
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.signMessage.start");
71
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.signMessage.start");
72
72
  yield this.preAuthIfNeeded();
73
73
  const signatureCreationResponse = yield this.apiClient.createSignature(this.walletLocator, {
74
74
  type: "message",
@@ -79,11 +79,11 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
79
79
  }
80
80
  });
81
81
  if ("error" in signatureCreationResponse) {
82
- _chunk223GEFZOcjs.walletsLogger.error("evmWallet.signMessage.error", { error: signatureCreationResponse });
82
+ _chunkWRIOKE3Wcjs.walletsLogger.error("evmWallet.signMessage.error", { error: signatureCreationResponse });
83
83
  throw new (0, _chunkXC2V34TScjs.SignatureNotCreatedError)(JSON.stringify(signatureCreationResponse));
84
84
  }
85
85
  if ((_a = params.options) == null ? void 0 : _a.experimental_prepareOnly) {
86
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.signMessage.prepared", {
86
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.signMessage.prepared", {
87
87
  signatureId: signatureCreationResponse.id
88
88
  });
89
89
  return {
@@ -92,23 +92,23 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
92
92
  };
93
93
  }
94
94
  const result = yield this.approveSignatureAndWait(signatureCreationResponse.id);
95
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.signMessage.success", { signatureId: signatureCreationResponse.id });
95
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.signMessage.success", { signatureId: signatureCreationResponse.id });
96
96
  return result;
97
97
  });
98
98
  }
99
99
  signTypedData(params) {
100
100
  return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
101
101
  var _a;
102
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.signTypedData.start");
102
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.signTypedData.start");
103
103
  yield this.preAuthIfNeeded();
104
104
  const { domain, message, primaryType, types, chain } = params;
105
105
  if (!domain || !message || !types || !chain) {
106
- _chunk223GEFZOcjs.walletsLogger.error("evmWallet.signTypedData.error", { error: "Invalid typed data" });
106
+ _chunkWRIOKE3Wcjs.walletsLogger.error("evmWallet.signTypedData.error", { error: "Invalid typed data" });
107
107
  throw new (0, _chunkXC2V34TScjs.InvalidTypedDataError)("Invalid typed data");
108
108
  }
109
109
  const { name, version, chainId, verifyingContract, salt } = domain;
110
110
  if (!name || !version || !chainId || !verifyingContract) {
111
- _chunk223GEFZOcjs.walletsLogger.error("evmWallet.signTypedData.error", { error: "Invalid typed data domain" });
111
+ _chunkWRIOKE3Wcjs.walletsLogger.error("evmWallet.signTypedData.error", { error: "Invalid typed data domain" });
112
112
  throw new (0, _chunkXC2V34TScjs.InvalidTypedDataError)("Invalid typed data domain");
113
113
  }
114
114
  const signatureCreationResponse = yield this.apiClient.createSignature(this.walletLocator, {
@@ -131,11 +131,11 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
131
131
  }
132
132
  });
133
133
  if ("error" in signatureCreationResponse) {
134
- _chunk223GEFZOcjs.walletsLogger.error("evmWallet.signTypedData.error", { error: signatureCreationResponse });
134
+ _chunkWRIOKE3Wcjs.walletsLogger.error("evmWallet.signTypedData.error", { error: signatureCreationResponse });
135
135
  throw new (0, _chunkXC2V34TScjs.SignatureNotCreatedError)(JSON.stringify(signatureCreationResponse));
136
136
  }
137
137
  if ((_a = params.options) == null ? void 0 : _a.experimental_prepareOnly) {
138
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.signTypedData.prepared", {
138
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.signTypedData.prepared", {
139
139
  signatureId: signatureCreationResponse.id
140
140
  });
141
141
  return {
@@ -144,7 +144,7 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
144
144
  };
145
145
  }
146
146
  const result = yield this.approveSignatureAndWait(signatureCreationResponse.id);
147
- _chunk223GEFZOcjs.walletsLogger.info("evmWallet.signTypedData.success", { signatureId: signatureCreationResponse.id });
147
+ _chunkWRIOKE3Wcjs.walletsLogger.info("evmWallet.signTypedData.success", { signatureId: signatureCreationResponse.id });
148
148
  return result;
149
149
  });
150
150
  }
@@ -152,7 +152,7 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
152
152
  var _a;
153
153
  return _viem.createPublicClient.call(void 0, {
154
154
  transport: (_a = params == null ? void 0 : params.transport) != null ? _a : _viem.http.call(void 0, ),
155
- chain: _chunk5KDA2N2Acjs.toViemChain.call(void 0, this.chain)
155
+ chain: _chunkGROJZ247cjs.toViemChain.call(void 0, this.chain)
156
156
  });
157
157
  }
158
158
  createTransaction(transaction, options) {
@@ -200,7 +200,7 @@ var _EVMWallet = class _EVMWallet extends _chunkPNCAKT7Icjs.Wallet {
200
200
  };
201
201
  _chunkUO2J2ZB2cjs.__decorateClass.call(void 0, [
202
202
  _commonsdkbase.WithLoggerContext.call(void 0, {
203
- logger: _chunk223GEFZOcjs.walletsLogger,
203
+ logger: _chunkWRIOKE3Wcjs.walletsLogger,
204
204
  methodName: "evmWallet.sendTransaction",
205
205
  buildContext(thisArg) {
206
206
  return { chain: thisArg.chain, address: thisArg.address };
@@ -209,7 +209,7 @@ _chunkUO2J2ZB2cjs.__decorateClass.call(void 0, [
209
209
  ], _EVMWallet.prototype, "sendTransaction", 1);
210
210
  _chunkUO2J2ZB2cjs.__decorateClass.call(void 0, [
211
211
  _commonsdkbase.WithLoggerContext.call(void 0, {
212
- logger: _chunk223GEFZOcjs.walletsLogger,
212
+ logger: _chunkWRIOKE3Wcjs.walletsLogger,
213
213
  methodName: "evmWallet.signMessage",
214
214
  buildContext(thisArg) {
215
215
  return { chain: thisArg.chain, address: thisArg.address };
@@ -218,7 +218,7 @@ _chunkUO2J2ZB2cjs.__decorateClass.call(void 0, [
218
218
  ], _EVMWallet.prototype, "signMessage", 1);
219
219
  _chunkUO2J2ZB2cjs.__decorateClass.call(void 0, [
220
220
  _commonsdkbase.WithLoggerContext.call(void 0, {
221
- logger: _chunk223GEFZOcjs.walletsLogger,
221
+ logger: _chunkWRIOKE3Wcjs.walletsLogger,
222
222
  methodName: "evmWallet.signTypedData",
223
223
  buildContext(thisArg) {
224
224
  return { chain: thisArg.chain, address: thisArg.address };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tempoTestnet
3
- } from "./chunk-T5QUCHZJ.js";
3
+ } from "./chunk-IZJUOXOZ.js";
4
4
  import {
5
5
  arcTestnet
6
6
  } from "./chunk-ZBLW42YE.js";
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkPNCAKT7Icjs = require('./chunk-PNCAKT7I.cjs');
3
+ var _chunkQKDQHKDJcjs = require('./chunk-QKDQHKDJ.cjs');
4
4
 
5
5
 
6
6
  var _chunkXC2V34TScjs = require('./chunk-XC2V34TS.cjs');
7
7
 
8
8
 
9
- var _chunk223GEFZOcjs = require('./chunk-223GEFZO.cjs');
9
+ var _chunkWRIOKE3Wcjs = require('./chunk-WRIOKE3W.cjs');
10
10
 
11
11
 
12
12
 
@@ -14,7 +14,7 @@ var _chunkUO2J2ZB2cjs = require('./chunk-UO2J2ZB2.cjs');
14
14
 
15
15
  // src/wallets/stellar.ts
16
16
  var _commonsdkbase = require('@crossmint/common-sdk-base');
17
- var _StellarWallet = class _StellarWallet extends _chunkPNCAKT7Icjs.Wallet {
17
+ var _StellarWallet = class _StellarWallet extends _chunkQKDQHKDJcjs.Wallet {
18
18
  constructor(wallet) {
19
19
  super(
20
20
  {
@@ -22,10 +22,10 @@ var _StellarWallet = class _StellarWallet extends _chunkPNCAKT7Icjs.Wallet {
22
22
  address: wallet.address,
23
23
  owner: wallet.owner,
24
24
  signer: wallet.signer,
25
- options: _chunkPNCAKT7Icjs.Wallet.getOptions(wallet),
25
+ options: _chunkQKDQHKDJcjs.Wallet.getOptions(wallet),
26
26
  alias: wallet.alias
27
27
  },
28
- _chunkPNCAKT7Icjs.Wallet.getApiClient(wallet)
28
+ _chunkQKDQHKDJcjs.Wallet.getApiClient(wallet)
29
29
  );
30
30
  }
31
31
  static from(wallet) {
@@ -37,11 +37,11 @@ var _StellarWallet = class _StellarWallet extends _chunkPNCAKT7Icjs.Wallet {
37
37
  sendTransaction(params) {
38
38
  return _chunkUO2J2ZB2cjs.__async.call(void 0, this, null, function* () {
39
39
  var _a;
40
- _chunk223GEFZOcjs.walletsLogger.info("stellarWallet.sendTransaction.start");
40
+ _chunkWRIOKE3Wcjs.walletsLogger.info("stellarWallet.sendTransaction.start");
41
41
  yield this.preAuthIfNeeded();
42
42
  const createdTransaction = yield this.createTransaction(params);
43
43
  if ((_a = params.options) == null ? void 0 : _a.experimental_prepareOnly) {
44
- _chunk223GEFZOcjs.walletsLogger.info("stellarWallet.sendTransaction.prepared", {
44
+ _chunkWRIOKE3Wcjs.walletsLogger.info("stellarWallet.sendTransaction.prepared", {
45
45
  transactionId: createdTransaction.id
46
46
  });
47
47
  return {
@@ -52,7 +52,7 @@ var _StellarWallet = class _StellarWallet extends _chunkPNCAKT7Icjs.Wallet {
52
52
  }
53
53
  const options = {};
54
54
  const result = yield this.approveTransactionAndWait(createdTransaction.id, options);
55
- _chunk223GEFZOcjs.walletsLogger.info("stellarWallet.sendTransaction.success", {
55
+ _chunkWRIOKE3Wcjs.walletsLogger.info("stellarWallet.sendTransaction.success", {
56
56
  transactionId: createdTransaction.id,
57
57
  hash: result.hash
58
58
  });
@@ -96,7 +96,7 @@ var _StellarWallet = class _StellarWallet extends _chunkPNCAKT7Icjs.Wallet {
96
96
  };
97
97
  _chunkUO2J2ZB2cjs.__decorateClass.call(void 0, [
98
98
  _commonsdkbase.WithLoggerContext.call(void 0, {
99
- logger: _chunk223GEFZOcjs.walletsLogger,
99
+ logger: _chunkWRIOKE3Wcjs.walletsLogger,
100
100
  methodName: "stellarWallet.sendTransaction",
101
101
  buildContext(thisArg) {
102
102
  return { chain: thisArg.chain, address: thisArg.address };