@crossmint/wallets-sdk 0.6.0 → 0.7.1

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 (89) hide show
  1. package/dist/api/client.cjs +1 -1
  2. package/dist/api/client.d.cts +1 -1
  3. package/dist/api/client.d.ts +1 -1
  4. package/dist/api/client.js +1 -1
  5. package/dist/api/index.cjs +1 -1
  6. package/dist/api/index.js +1 -1
  7. package/dist/chunk-6N4FGHLR.js +1 -0
  8. package/dist/{chunk-RWMILVIE.cjs → chunk-ABX5HN7T.cjs} +1 -1
  9. package/dist/{chunk-P6OETJSN.cjs → chunk-BL5Z7CXY.cjs} +1 -1
  10. package/dist/chunk-GB4T5TIY.cjs +1 -0
  11. package/dist/{chunk-DGPUMPXP.cjs → chunk-GDIUGLQX.cjs} +1 -1
  12. package/dist/{chunk-WBLNMQR2.cjs → chunk-LKFCFDYL.cjs} +1 -1
  13. package/dist/chunk-N2TNL3K4.js +1 -0
  14. package/dist/{chunk-22NLCTH3.cjs → chunk-NWCCHDKO.cjs} +1 -1
  15. package/dist/chunk-QFPVOEKV.js +1 -0
  16. package/dist/chunk-QYX3J3RZ.js +1 -0
  17. package/dist/chunk-SVTDNOA7.js +1 -0
  18. package/dist/{chunk-VORKK52Z.js → chunk-T4AVN2WF.js} +1 -1
  19. package/dist/chunk-THP7CNQH.js +1 -0
  20. package/dist/{chunk-QWYYZW5W.js → chunk-VJ6HRVWX.js} +1 -1
  21. package/dist/chunk-WNXCWDJQ.cjs +1 -0
  22. package/dist/{chunk-NVRT2CJB.js → chunk-X6WWNH4P.js} +1 -1
  23. package/dist/chunk-XT3KRCH4.cjs +1 -0
  24. package/dist/chunk-ZABEVVGH.cjs +1 -0
  25. package/dist/evm/chains/index.cjs +1 -1
  26. package/dist/evm/chains/index.d.cts +4 -3
  27. package/dist/evm/chains/index.d.ts +4 -3
  28. package/dist/evm/chains/index.js +1 -1
  29. package/dist/evm/index.cjs +1 -1
  30. package/dist/evm/index.d.cts +3 -3
  31. package/dist/evm/index.d.ts +3 -3
  32. package/dist/evm/index.js +1 -1
  33. package/dist/evm/services/delegated-signers-service.cjs +1 -0
  34. package/dist/evm/services/delegated-signers-service.d.cts +16 -0
  35. package/dist/evm/services/delegated-signers-service.d.ts +16 -0
  36. package/dist/evm/services/delegated-signers-service.js +1 -0
  37. package/dist/evm/types/wallet.d.cts +8 -4
  38. package/dist/evm/types/wallet.d.ts +8 -4
  39. package/dist/evm/wallet.cjs +1 -1
  40. package/dist/evm/wallet.d.cts +8 -108
  41. package/dist/evm/wallet.d.ts +8 -108
  42. package/dist/evm/wallet.js +1 -1
  43. package/dist/index-BlJF0PBa.d.ts +147 -0
  44. package/dist/index-Bxn9ZVBw.d.cts +147 -0
  45. package/dist/index.cjs +1 -1
  46. package/dist/index.d.cts +2 -2
  47. package/dist/index.d.ts +2 -2
  48. package/dist/index.js +1 -1
  49. package/dist/{options-Dwn6w8Ar.d.ts → options-DQUNKXxn.d.ts} +0 -1
  50. package/dist/{options-BfWQ7h7d.d.cts → options-IchphkHW.d.cts} +0 -1
  51. package/dist/sdk.cjs +1 -1
  52. package/dist/sdk.d.cts +1 -1
  53. package/dist/sdk.d.ts +1 -1
  54. package/dist/sdk.js +1 -1
  55. package/dist/services/wallet-factory.cjs +1 -1
  56. package/dist/services/wallet-factory.d.cts +1 -1
  57. package/dist/services/wallet-factory.d.ts +1 -1
  58. package/dist/services/wallet-factory.js +1 -1
  59. package/dist/solana/index.cjs +1 -1
  60. package/dist/solana/index.d.cts +1 -1
  61. package/dist/solana/index.d.ts +1 -1
  62. package/dist/solana/index.js +1 -1
  63. package/dist/solana/services/delegated-signers-service.d.cts +1 -1
  64. package/dist/solana/services/delegated-signers-service.d.ts +1 -1
  65. package/dist/solana/services/transactions-service.cjs +1 -1
  66. package/dist/solana/services/transactions-service.d.cts +1 -1
  67. package/dist/solana/services/transactions-service.d.ts +1 -1
  68. package/dist/solana/services/transactions-service.js +1 -1
  69. package/dist/solana/types/wallet.d.cts +1 -2
  70. package/dist/solana/types/wallet.d.ts +1 -2
  71. package/dist/solana/wallet.cjs +1 -1
  72. package/dist/solana/wallet.d.cts +1 -1
  73. package/dist/solana/wallet.d.ts +1 -1
  74. package/dist/solana/wallet.js +1 -1
  75. package/dist/utils/constants.cjs +1 -1
  76. package/dist/utils/constants.js +1 -1
  77. package/dist/utils/options.d.cts +1 -1
  78. package/dist/utils/options.d.ts +1 -1
  79. package/package.json +3 -3
  80. package/dist/chunk-3LGWGGCM.js +0 -1
  81. package/dist/chunk-62C33UL4.cjs +0 -1
  82. package/dist/chunk-7K5B5Q3Y.cjs +0 -1
  83. package/dist/chunk-BUI2QYUC.js +0 -1
  84. package/dist/chunk-DGSYBCLX.js +0 -1
  85. package/dist/chunk-JFUBHJ2C.cjs +0 -1
  86. package/dist/chunk-W5FFWAOI.js +0 -1
  87. package/dist/chunk-ZJL3PQCL.js +0 -1
  88. /package/dist/{chunk-C2WL57HT.cjs → chunk-5CX3CGJS.cjs} +0 -0
  89. /package/dist/{chunk-CGHMCYX6.js → chunk-WZAT3LML.js} +0 -0
@@ -1,10 +1,11 @@
1
- import { ApiClient } from '../api/client.cjs';
2
- import { WalletBalance, GetTransactionsResponse, EvmWalletLocator, GetNftsResponse } from '../api/types.cjs';
3
- import { Address, HttpTransport, SignableMessage, Hex, TypedData, TypedDataDefinition, PublicClient } from 'viem';
4
- import { C as Callbacks } from '../options-BfWQ7h7d.cjs';
5
- import { EVMSmartWalletChain } from './chains/index.cjs';
6
- import { EVMSigner } from './types/signers.cjs';
7
- import { EVMSmartWallet, TransactionInput } from './types/wallet.cjs';
1
+ import '../api/client.cjs';
2
+ import '../api/types.cjs';
3
+ import 'viem';
4
+ import '../options-IchphkHW.cjs';
5
+ import './chains/index.cjs';
6
+ import './types/signers.cjs';
7
+ import './types/wallet.cjs';
8
+ export { a as EVMSmartWalletImpl } from '../index-Bxn9ZVBw.cjs';
8
9
  import '@crossmint/common-sdk-base';
9
10
  import '../api/gen/types.gen.cjs';
10
11
  import '../solana/tokens.cjs';
@@ -13,104 +14,3 @@ import '@solana/web3.js';
13
14
  import '../solana/types/wallet.cjs';
14
15
  import '../solana/services/approvals-service.cjs';
15
16
  import 'ox';
16
-
17
- declare class EVMSmartWalletImpl implements EVMSmartWallet {
18
- readonly address: Address;
19
- private readonly apiClient;
20
- private readonly adminSigner;
21
- private readonly callbacks;
22
- constructor(address: Address, apiClient: ApiClient, adminSigner: EVMSigner, callbacks: Callbacks);
23
- /**
24
- * Get the wallet balances
25
- * @param {Object} params - The parameters
26
- * @param {EVMSmartWalletChain} params.chain - The chain
27
- * @param {Address[]} params.tokens - The tokens
28
- * @returns {Promise<WalletBalance>} The balances
29
- * @throws {Error} If the balances cannot be retrieved
30
- */
31
- getBalances(params: {
32
- chain: EVMSmartWalletChain;
33
- tokens: Address[];
34
- }): Promise<WalletBalance>;
35
- /**
36
- * Get the wallet transactions
37
- * @returns The transactions
38
- */
39
- getTransactions(): Promise<GetTransactionsResponse>;
40
- /**
41
- * Get the wallet NFTs
42
- * @param {Object} params - The parameters
43
- * @param {number} params.perPage - The number of NFTs per page
44
- * @param {number} params.page - The page number
45
- * @param {EVMSmartWalletChain} params.chain - The chain
46
- * @param {EvmWalletLocator} [params.locator] - The locator
47
- * @returns The NFTs
48
- * @unstable This API is unstable and may change in the future
49
- */
50
- unstable_getNfts(params: {
51
- perPage: number;
52
- page: number;
53
- chain: EVMSmartWalletChain;
54
- locator?: EvmWalletLocator;
55
- }): Promise<GetNftsResponse>;
56
- /**
57
- * Get the nonce
58
- * @param {Object} params - The parameters
59
- * @param {EVMSmartWalletChain} params.chain - The chain
60
- * @param {bigint} [params.key] - The key
61
- * @param {HttpTransport} [params.transport] - Custom transport
62
- * @returns {Promise<bigint>} The nonce
63
- */
64
- getNonce(params: {
65
- chain: EVMSmartWalletChain;
66
- key?: bigint | undefined;
67
- transport?: HttpTransport;
68
- }): Promise<bigint>;
69
- /**
70
- * Sign a message
71
- * @param {Object} params - The parameters
72
- * @param {SignableMessage} params.message - The message
73
- * @param {EVMSmartWalletChain} params.chain - The chain
74
- * @returns {Promise<Hex>} The signature
75
- */
76
- signMessage(params: {
77
- message: SignableMessage;
78
- chain: EVMSmartWalletChain;
79
- }): Promise<Hex>;
80
- signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(params: TypedDataDefinition<typedData, primaryType> & {
81
- chain: EVMSmartWalletChain;
82
- }): Promise<Hex>;
83
- /**
84
- * Send a transaction
85
- * @param {TransactionInput} params - The parameters
86
- * @param {Address} params.to - The recipient address
87
- * @param {EVMSmartWalletChain} params.chain - The blockchain network
88
- * @param {Hex} [params.data] - The transaction calldata
89
- * @param {bigint} [params.value] - The amount of native currency to send (in wei)
90
- * @returns {Promise<Hex>} The transaction hash
91
- */
92
- sendTransaction(params: TransactionInput): Promise<Hex>;
93
- /**
94
- * Get a viem client for a chain
95
- * @param {Object} params - The parameters
96
- * @param {EVMSmartWalletChain} params.chain - The chain
97
- * @param {HttpTransport} [params.transport] - Optional custom transport
98
- * @returns {PublicClient<HttpTransport>} The viem client
99
- */
100
- getViemClient(params: {
101
- chain: EVMSmartWalletChain;
102
- transport?: HttpTransport;
103
- }): PublicClient<HttpTransport>;
104
- private get walletLocator();
105
- private get signerLocator();
106
- private signWithAdminSigner;
107
- private createTransaction;
108
- private approveTransaction;
109
- private waitForTransaction;
110
- private createSignature;
111
- private createTypedDataSignature;
112
- private approveSignature;
113
- private waitForSignature;
114
- }
115
-
116
- export { EVMSmartWalletImpl };
@@ -1,10 +1,11 @@
1
- import { ApiClient } from '../api/client.js';
2
- import { WalletBalance, GetTransactionsResponse, EvmWalletLocator, GetNftsResponse } from '../api/types.js';
3
- import { Address, HttpTransport, SignableMessage, Hex, TypedData, TypedDataDefinition, PublicClient } from 'viem';
4
- import { C as Callbacks } from '../options-Dwn6w8Ar.js';
5
- import { EVMSmartWalletChain } from './chains/index.js';
6
- import { EVMSigner } from './types/signers.js';
7
- import { EVMSmartWallet, TransactionInput } from './types/wallet.js';
1
+ import '../api/client.js';
2
+ import '../api/types.js';
3
+ import 'viem';
4
+ import '../options-DQUNKXxn.js';
5
+ import './chains/index.js';
6
+ import './types/signers.js';
7
+ import './types/wallet.js';
8
+ export { a as EVMSmartWalletImpl } from '../index-BlJF0PBa.js';
8
9
  import '@crossmint/common-sdk-base';
9
10
  import '../api/gen/types.gen.js';
10
11
  import '../solana/tokens.js';
@@ -13,104 +14,3 @@ import '@solana/web3.js';
13
14
  import '../solana/types/wallet.js';
14
15
  import '../solana/services/approvals-service.js';
15
16
  import 'ox';
16
-
17
- declare class EVMSmartWalletImpl implements EVMSmartWallet {
18
- readonly address: Address;
19
- private readonly apiClient;
20
- private readonly adminSigner;
21
- private readonly callbacks;
22
- constructor(address: Address, apiClient: ApiClient, adminSigner: EVMSigner, callbacks: Callbacks);
23
- /**
24
- * Get the wallet balances
25
- * @param {Object} params - The parameters
26
- * @param {EVMSmartWalletChain} params.chain - The chain
27
- * @param {Address[]} params.tokens - The tokens
28
- * @returns {Promise<WalletBalance>} The balances
29
- * @throws {Error} If the balances cannot be retrieved
30
- */
31
- getBalances(params: {
32
- chain: EVMSmartWalletChain;
33
- tokens: Address[];
34
- }): Promise<WalletBalance>;
35
- /**
36
- * Get the wallet transactions
37
- * @returns The transactions
38
- */
39
- getTransactions(): Promise<GetTransactionsResponse>;
40
- /**
41
- * Get the wallet NFTs
42
- * @param {Object} params - The parameters
43
- * @param {number} params.perPage - The number of NFTs per page
44
- * @param {number} params.page - The page number
45
- * @param {EVMSmartWalletChain} params.chain - The chain
46
- * @param {EvmWalletLocator} [params.locator] - The locator
47
- * @returns The NFTs
48
- * @unstable This API is unstable and may change in the future
49
- */
50
- unstable_getNfts(params: {
51
- perPage: number;
52
- page: number;
53
- chain: EVMSmartWalletChain;
54
- locator?: EvmWalletLocator;
55
- }): Promise<GetNftsResponse>;
56
- /**
57
- * Get the nonce
58
- * @param {Object} params - The parameters
59
- * @param {EVMSmartWalletChain} params.chain - The chain
60
- * @param {bigint} [params.key] - The key
61
- * @param {HttpTransport} [params.transport] - Custom transport
62
- * @returns {Promise<bigint>} The nonce
63
- */
64
- getNonce(params: {
65
- chain: EVMSmartWalletChain;
66
- key?: bigint | undefined;
67
- transport?: HttpTransport;
68
- }): Promise<bigint>;
69
- /**
70
- * Sign a message
71
- * @param {Object} params - The parameters
72
- * @param {SignableMessage} params.message - The message
73
- * @param {EVMSmartWalletChain} params.chain - The chain
74
- * @returns {Promise<Hex>} The signature
75
- */
76
- signMessage(params: {
77
- message: SignableMessage;
78
- chain: EVMSmartWalletChain;
79
- }): Promise<Hex>;
80
- signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(params: TypedDataDefinition<typedData, primaryType> & {
81
- chain: EVMSmartWalletChain;
82
- }): Promise<Hex>;
83
- /**
84
- * Send a transaction
85
- * @param {TransactionInput} params - The parameters
86
- * @param {Address} params.to - The recipient address
87
- * @param {EVMSmartWalletChain} params.chain - The blockchain network
88
- * @param {Hex} [params.data] - The transaction calldata
89
- * @param {bigint} [params.value] - The amount of native currency to send (in wei)
90
- * @returns {Promise<Hex>} The transaction hash
91
- */
92
- sendTransaction(params: TransactionInput): Promise<Hex>;
93
- /**
94
- * Get a viem client for a chain
95
- * @param {Object} params - The parameters
96
- * @param {EVMSmartWalletChain} params.chain - The chain
97
- * @param {HttpTransport} [params.transport] - Optional custom transport
98
- * @returns {PublicClient<HttpTransport>} The viem client
99
- */
100
- getViemClient(params: {
101
- chain: EVMSmartWalletChain;
102
- transport?: HttpTransport;
103
- }): PublicClient<HttpTransport>;
104
- private get walletLocator();
105
- private get signerLocator();
106
- private signWithAdminSigner;
107
- private createTransaction;
108
- private approveTransaction;
109
- private waitForTransaction;
110
- private createSignature;
111
- private createTypedDataSignature;
112
- private approveSignature;
113
- private waitForSignature;
114
- }
115
-
116
- export { EVMSmartWalletImpl };
@@ -1 +1 @@
1
- import{a}from"../chunk-ZJL3PQCL.js";import"../chunk-HKY6CBZC.js";import"../chunk-DGSYBCLX.js";import"../chunk-SILEK5O4.js";import"../chunk-KVFFSUF4.js";import"../chunk-LX6WD7J6.js";import"../chunk-QWYYZW5W.js";import"../chunk-7ENJXL4H.js";import"../chunk-22GIA4MK.js";export{a as EVMSmartWalletImpl};
1
+ import{a}from"../chunk-6N4FGHLR.js";import"../chunk-QYX3J3RZ.js";import"../chunk-HKY6CBZC.js";import"../chunk-N2TNL3K4.js";import"../chunk-KVFFSUF4.js";import"../chunk-SILEK5O4.js";import"../chunk-LX6WD7J6.js";import"../chunk-VJ6HRVWX.js";import"../chunk-7ENJXL4H.js";import"../chunk-22GIA4MK.js";export{a as EVMSmartWalletImpl};
@@ -0,0 +1,147 @@
1
+ import { ApiClient } from './api/client.js';
2
+ import { EvmWalletLocator, GetSignerResponse, WalletBalance, GetTransactionsResponse, GetNftsResponse, DelegatedSigner, CreateTransactionSuccessResponse } from './api/types.js';
3
+ import { Address, HttpTransport, SignableMessage, Hex, TypedData, TypedDataDefinition, PublicClient } from 'viem';
4
+ import { C as Callbacks } from './options-DQUNKXxn.js';
5
+ import { EVMSmartWalletChain } from './evm/chains/index.js';
6
+ import { EVMSigner } from './evm/types/signers.js';
7
+ import { EVMSmartWallet, TransactionInput } from './evm/types/wallet.js';
8
+ import { DelegatedSignerDto } from './api/gen/types.gen.js';
9
+
10
+ declare class EVMDelegatedSignerService {
11
+ private readonly walletLocator;
12
+ private readonly wallet;
13
+ private readonly apiClient;
14
+ constructor(walletLocator: EvmWalletLocator, wallet: EVMSmartWalletImpl, apiClient: ApiClient);
15
+ registerDelegatedSigner(chain: EVMSmartWalletChain, signer: string, options?: {
16
+ expiresAt?: number;
17
+ adminSigner?: EVMSigner;
18
+ }): Promise<GetSignerResponse>;
19
+ getDelegatedSigner(signer: string): Promise<GetSignerResponse>;
20
+ getDelegatedSigners(): Promise<DelegatedSignerDto[]>;
21
+ }
22
+
23
+ type PendingApproval = NonNullable<NonNullable<CreateTransactionSuccessResponse["approvals"]>["pending"]>[number];
24
+ declare class EVMSmartWalletImpl implements EVMSmartWallet {
25
+ readonly address: Address;
26
+ private readonly apiClient;
27
+ private readonly adminSigner;
28
+ private readonly callbacks;
29
+ protected readonly delegatedSignerService: EVMDelegatedSignerService;
30
+ constructor(address: Address, apiClient: ApiClient, adminSigner: EVMSigner, callbacks: Callbacks);
31
+ /**
32
+ * Get the wallet balances
33
+ * @param {Object} params - The parameters
34
+ * @param {EVMSmartWalletChain} params.chain - The chain
35
+ * @param {Address[]} params.tokens - The tokens
36
+ * @returns {Promise<WalletBalance>} The balances
37
+ * @throws {Error} If the balances cannot be retrieved
38
+ */
39
+ getBalances(params: {
40
+ chain: EVMSmartWalletChain;
41
+ tokens: string[];
42
+ }): Promise<WalletBalance>;
43
+ /**
44
+ * Get the wallet transactions
45
+ * @returns The transactions
46
+ */
47
+ getTransactions(): Promise<GetTransactionsResponse>;
48
+ /**
49
+ * Get the wallet NFTs
50
+ * @param {Object} params - The parameters
51
+ * @param {number} params.perPage - The number of NFTs per page
52
+ * @param {number} params.page - The page number
53
+ * @param {EVMSmartWalletChain} params.chain - The chain
54
+ * @param {EvmWalletLocator} [params.locator] - The locator
55
+ * @returns The NFTs
56
+ * @unstable This API is unstable and may change in the future
57
+ */
58
+ unstable_getNfts(params: {
59
+ perPage: number;
60
+ page: number;
61
+ chain: EVMSmartWalletChain;
62
+ }): Promise<GetNftsResponse>;
63
+ /**
64
+ * Get the nonce
65
+ * @param {Object} params - The parameters
66
+ * @param {EVMSmartWalletChain} params.chain - The chain
67
+ * @param {bigint} [params.key] - The key
68
+ * @param {HttpTransport} [params.transport] - Custom transport
69
+ * @returns {Promise<bigint>} The nonce
70
+ */
71
+ getNonce(params: {
72
+ chain: EVMSmartWalletChain;
73
+ key?: bigint | undefined;
74
+ transport?: HttpTransport;
75
+ }): Promise<bigint>;
76
+ /**
77
+ * Sign a message
78
+ * @param {Object} params - The parameters
79
+ * @param {SignableMessage} params.message - The message
80
+ * @param {EVMSmartWalletChain} params.chain - The chain
81
+ * @returns {Promise<Hex>} The signature
82
+ */
83
+ signMessage(params: {
84
+ message: SignableMessage;
85
+ chain: EVMSmartWalletChain;
86
+ }): Promise<Hex>;
87
+ signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(params: TypedDataDefinition<typedData, primaryType> & {
88
+ chain: EVMSmartWalletChain;
89
+ }): Promise<Hex>;
90
+ /**
91
+ * Send a transaction
92
+ * @param {TransactionInput} params - The parameters
93
+ * @param {Address} params.to - The recipient address
94
+ * @param {EVMSmartWalletChain} params.chain - The blockchain network
95
+ * @param {Hex} [params.data] - The transaction calldata
96
+ * @param {bigint} [params.value] - The amount of native currency to send (in wei)
97
+ * @returns {Promise<Hex>} The transaction hash
98
+ */
99
+ sendTransaction(params: TransactionInput): Promise<Hex>;
100
+ /**
101
+ * Get a viem client for a chain
102
+ * @param {Object} params - The parameters
103
+ * @param {EVMSmartWalletChain} params.chain - The chain
104
+ * @param {HttpTransport} [params.transport] - Optional custom transport
105
+ * @returns {PublicClient<HttpTransport>} The viem client
106
+ */
107
+ getViemClient(params: {
108
+ chain: EVMSmartWalletChain;
109
+ transport?: HttpTransport;
110
+ }): PublicClient<HttpTransport>;
111
+ /**
112
+ * Add a delegated signer to the wallet
113
+ * @param {Object} params - The parameters
114
+ * @param {EVMSmartWalletChain} params.chain - The chain
115
+ * @param {string} params.signer - The signer
116
+ * @returns The delegated signer
117
+ */
118
+ addDelegatedSigner(params: {
119
+ chain: EVMSmartWalletChain;
120
+ signer: string;
121
+ }): Promise<GetSignerResponse>;
122
+ /**
123
+ * Gets delegated signers for the wallet
124
+ * @returns The delegated signers
125
+ * @throws {WalletNotAvailableError} If the wallet is not found
126
+ * @throws {WalletTypeNotSupportedError} If the wallet type is not supported
127
+ */
128
+ getDelegatedSigners(): Promise<DelegatedSigner[]>;
129
+ private get walletLocator();
130
+ private get signerLocator();
131
+ private signWithAdminSigner;
132
+ private createTransaction;
133
+ private approveTransaction;
134
+ private waitForTransaction;
135
+ /**
136
+ * @internal Used by DelegatedSignerService
137
+ */
138
+ approveSignature(pendingApprovals: Array<PendingApproval>, signatureId: string): Promise<`0x${string}`>;
139
+ /**
140
+ * @internal Used by DelegatedSignerService
141
+ */
142
+ waitForSignature(signatureId: string): Promise<void>;
143
+ private createSignature;
144
+ private createTypedDataSignature;
145
+ }
146
+
147
+ export { EVMDelegatedSignerService as E, EVMSmartWalletImpl as a };
@@ -0,0 +1,147 @@
1
+ import { ApiClient } from './api/client.cjs';
2
+ import { EvmWalletLocator, GetSignerResponse, WalletBalance, GetTransactionsResponse, GetNftsResponse, DelegatedSigner, CreateTransactionSuccessResponse } from './api/types.cjs';
3
+ import { Address, HttpTransport, SignableMessage, Hex, TypedData, TypedDataDefinition, PublicClient } from 'viem';
4
+ import { C as Callbacks } from './options-IchphkHW.cjs';
5
+ import { EVMSmartWalletChain } from './evm/chains/index.cjs';
6
+ import { EVMSigner } from './evm/types/signers.cjs';
7
+ import { EVMSmartWallet, TransactionInput } from './evm/types/wallet.cjs';
8
+ import { DelegatedSignerDto } from './api/gen/types.gen.cjs';
9
+
10
+ declare class EVMDelegatedSignerService {
11
+ private readonly walletLocator;
12
+ private readonly wallet;
13
+ private readonly apiClient;
14
+ constructor(walletLocator: EvmWalletLocator, wallet: EVMSmartWalletImpl, apiClient: ApiClient);
15
+ registerDelegatedSigner(chain: EVMSmartWalletChain, signer: string, options?: {
16
+ expiresAt?: number;
17
+ adminSigner?: EVMSigner;
18
+ }): Promise<GetSignerResponse>;
19
+ getDelegatedSigner(signer: string): Promise<GetSignerResponse>;
20
+ getDelegatedSigners(): Promise<DelegatedSignerDto[]>;
21
+ }
22
+
23
+ type PendingApproval = NonNullable<NonNullable<CreateTransactionSuccessResponse["approvals"]>["pending"]>[number];
24
+ declare class EVMSmartWalletImpl implements EVMSmartWallet {
25
+ readonly address: Address;
26
+ private readonly apiClient;
27
+ private readonly adminSigner;
28
+ private readonly callbacks;
29
+ protected readonly delegatedSignerService: EVMDelegatedSignerService;
30
+ constructor(address: Address, apiClient: ApiClient, adminSigner: EVMSigner, callbacks: Callbacks);
31
+ /**
32
+ * Get the wallet balances
33
+ * @param {Object} params - The parameters
34
+ * @param {EVMSmartWalletChain} params.chain - The chain
35
+ * @param {Address[]} params.tokens - The tokens
36
+ * @returns {Promise<WalletBalance>} The balances
37
+ * @throws {Error} If the balances cannot be retrieved
38
+ */
39
+ getBalances(params: {
40
+ chain: EVMSmartWalletChain;
41
+ tokens: string[];
42
+ }): Promise<WalletBalance>;
43
+ /**
44
+ * Get the wallet transactions
45
+ * @returns The transactions
46
+ */
47
+ getTransactions(): Promise<GetTransactionsResponse>;
48
+ /**
49
+ * Get the wallet NFTs
50
+ * @param {Object} params - The parameters
51
+ * @param {number} params.perPage - The number of NFTs per page
52
+ * @param {number} params.page - The page number
53
+ * @param {EVMSmartWalletChain} params.chain - The chain
54
+ * @param {EvmWalletLocator} [params.locator] - The locator
55
+ * @returns The NFTs
56
+ * @unstable This API is unstable and may change in the future
57
+ */
58
+ unstable_getNfts(params: {
59
+ perPage: number;
60
+ page: number;
61
+ chain: EVMSmartWalletChain;
62
+ }): Promise<GetNftsResponse>;
63
+ /**
64
+ * Get the nonce
65
+ * @param {Object} params - The parameters
66
+ * @param {EVMSmartWalletChain} params.chain - The chain
67
+ * @param {bigint} [params.key] - The key
68
+ * @param {HttpTransport} [params.transport] - Custom transport
69
+ * @returns {Promise<bigint>} The nonce
70
+ */
71
+ getNonce(params: {
72
+ chain: EVMSmartWalletChain;
73
+ key?: bigint | undefined;
74
+ transport?: HttpTransport;
75
+ }): Promise<bigint>;
76
+ /**
77
+ * Sign a message
78
+ * @param {Object} params - The parameters
79
+ * @param {SignableMessage} params.message - The message
80
+ * @param {EVMSmartWalletChain} params.chain - The chain
81
+ * @returns {Promise<Hex>} The signature
82
+ */
83
+ signMessage(params: {
84
+ message: SignableMessage;
85
+ chain: EVMSmartWalletChain;
86
+ }): Promise<Hex>;
87
+ signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(params: TypedDataDefinition<typedData, primaryType> & {
88
+ chain: EVMSmartWalletChain;
89
+ }): Promise<Hex>;
90
+ /**
91
+ * Send a transaction
92
+ * @param {TransactionInput} params - The parameters
93
+ * @param {Address} params.to - The recipient address
94
+ * @param {EVMSmartWalletChain} params.chain - The blockchain network
95
+ * @param {Hex} [params.data] - The transaction calldata
96
+ * @param {bigint} [params.value] - The amount of native currency to send (in wei)
97
+ * @returns {Promise<Hex>} The transaction hash
98
+ */
99
+ sendTransaction(params: TransactionInput): Promise<Hex>;
100
+ /**
101
+ * Get a viem client for a chain
102
+ * @param {Object} params - The parameters
103
+ * @param {EVMSmartWalletChain} params.chain - The chain
104
+ * @param {HttpTransport} [params.transport] - Optional custom transport
105
+ * @returns {PublicClient<HttpTransport>} The viem client
106
+ */
107
+ getViemClient(params: {
108
+ chain: EVMSmartWalletChain;
109
+ transport?: HttpTransport;
110
+ }): PublicClient<HttpTransport>;
111
+ /**
112
+ * Add a delegated signer to the wallet
113
+ * @param {Object} params - The parameters
114
+ * @param {EVMSmartWalletChain} params.chain - The chain
115
+ * @param {string} params.signer - The signer
116
+ * @returns The delegated signer
117
+ */
118
+ addDelegatedSigner(params: {
119
+ chain: EVMSmartWalletChain;
120
+ signer: string;
121
+ }): Promise<GetSignerResponse>;
122
+ /**
123
+ * Gets delegated signers for the wallet
124
+ * @returns The delegated signers
125
+ * @throws {WalletNotAvailableError} If the wallet is not found
126
+ * @throws {WalletTypeNotSupportedError} If the wallet type is not supported
127
+ */
128
+ getDelegatedSigners(): Promise<DelegatedSigner[]>;
129
+ private get walletLocator();
130
+ private get signerLocator();
131
+ private signWithAdminSigner;
132
+ private createTransaction;
133
+ private approveTransaction;
134
+ private waitForTransaction;
135
+ /**
136
+ * @internal Used by DelegatedSignerService
137
+ */
138
+ approveSignature(pendingApprovals: Array<PendingApproval>, signatureId: string): Promise<`0x${string}`>;
139
+ /**
140
+ * @internal Used by DelegatedSignerService
141
+ */
142
+ waitForSignature(signatureId: string): Promise<void>;
143
+ private createSignature;
144
+ private createTypedDataSignature;
145
+ }
146
+
147
+ export { EVMDelegatedSignerService as E, EVMSmartWalletImpl as a };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWBLNMQR2cjs = require('./chunk-WBLNMQR2.cjs');require('./chunk-DGPUMPXP.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-62C33UL4.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-22NLCTH3.cjs');require('./chunk-PQH5C2OM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-RWMILVIE.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-7K5B5Q3Y.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-JFUBHJ2C.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-P6OETJSN.cjs');var _chunkCT2UGJELcjs = require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallets = _chunkWBLNMQR2cjs.b; exports.InvalidApiKeyError = _chunkCT2UGJELcjs.a; exports.InvalidEnvironmentError = _chunkCT2UGJELcjs.b; exports.InvalidMessageFormatError = _chunkCT2UGJELcjs.j; exports.InvalidSignerError = _chunkCT2UGJELcjs.i; exports.InvalidTypedDataError = _chunkCT2UGJELcjs.k; exports.InvalidWalletConfigError = _chunkCT2UGJELcjs.e; exports.MessageSigningNotSupportedError = _chunkCT2UGJELcjs.n; exports.PendingApprovalsError = _chunkCT2UGJELcjs.x; exports.SignatureNotAvailableError = _chunkCT2UGJELcjs.p; exports.SignatureNotCreatedError = _chunkCT2UGJELcjs.o; exports.SignatureNotFoundError = _chunkCT2UGJELcjs.l; exports.SignerTypeMismatchError = _chunkCT2UGJELcjs.h; exports.SigningFailedError = _chunkCT2UGJELcjs.m; exports.TransactionAwaitingApprovalError = _chunkCT2UGJELcjs.u; exports.TransactionConfirmationTimeoutError = _chunkCT2UGJELcjs.s; exports.TransactionFailedError = _chunkCT2UGJELcjs.w; exports.TransactionHashNotFoundError = _chunkCT2UGJELcjs.v; exports.TransactionNotAvailableError = _chunkCT2UGJELcjs.r; exports.TransactionNotCreatedError = _chunkCT2UGJELcjs.q; exports.TransactionSendingFailedError = _chunkCT2UGJELcjs.t; exports.WalletCreationError = _chunkCT2UGJELcjs.f; exports.WalletNotAvailableError = _chunkCT2UGJELcjs.d; exports.WalletTypeMismatchError = _chunkCT2UGJELcjs.g; exports.WalletTypeNotSupportedError = _chunkCT2UGJELcjs.c; exports.createCrossmint = _chunkWBLNMQR2cjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLKFCFDYLcjs = require('./chunk-LKFCFDYL.cjs');require('./chunk-GDIUGLQX.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-GB4T5TIY.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-NWCCHDKO.cjs');require('./chunk-PQH5C2OM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-ABX5HN7T.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-5CX3CGJS.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-XT3KRCH4.cjs');require('./chunk-WNXCWDJQ.cjs');require('./chunk-6DTBGTSS.cjs');var _chunkZABEVVGHcjs = require('./chunk-ZABEVVGH.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-BL5Z7CXY.cjs');var _chunkCT2UGJELcjs = require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallets = _chunkLKFCFDYLcjs.b; exports.InvalidApiKeyError = _chunkCT2UGJELcjs.a; exports.InvalidEnvironmentError = _chunkCT2UGJELcjs.b; exports.InvalidMessageFormatError = _chunkCT2UGJELcjs.j; exports.InvalidSignerError = _chunkCT2UGJELcjs.i; exports.InvalidTypedDataError = _chunkCT2UGJELcjs.k; exports.InvalidWalletConfigError = _chunkCT2UGJELcjs.e; exports.MessageSigningNotSupportedError = _chunkCT2UGJELcjs.n; exports.PendingApprovalsError = _chunkCT2UGJELcjs.x; exports.SignatureNotAvailableError = _chunkCT2UGJELcjs.p; exports.SignatureNotCreatedError = _chunkCT2UGJELcjs.o; exports.SignatureNotFoundError = _chunkCT2UGJELcjs.l; exports.SignerTypeMismatchError = _chunkCT2UGJELcjs.h; exports.SigningFailedError = _chunkCT2UGJELcjs.m; exports.TransactionAwaitingApprovalError = _chunkCT2UGJELcjs.u; exports.TransactionConfirmationTimeoutError = _chunkCT2UGJELcjs.s; exports.TransactionFailedError = _chunkCT2UGJELcjs.w; exports.TransactionHashNotFoundError = _chunkCT2UGJELcjs.v; exports.TransactionNotAvailableError = _chunkCT2UGJELcjs.r; exports.TransactionNotCreatedError = _chunkCT2UGJELcjs.q; exports.TransactionSendingFailedError = _chunkCT2UGJELcjs.t; exports.WalletCreationError = _chunkCT2UGJELcjs.f; exports.WalletNotAvailableError = _chunkCT2UGJELcjs.d; exports.WalletTypeMismatchError = _chunkCT2UGJELcjs.g; exports.WalletTypeNotSupportedError = _chunkCT2UGJELcjs.c; exports.createCrossmint = _chunkLKFCFDYLcjs.a; exports.isValidEVMChain = _chunkZABEVVGHcjs.c;
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
1
  export { CrossmintWallets } from './sdk.cjs';
2
2
  export { InvalidApiKeyError, InvalidEnvironmentError, InvalidMessageFormatError, InvalidSignerError, InvalidTypedDataError, InvalidWalletConfigError, MessageSigningNotSupportedError, PendingApprovalsError, SignatureNotAvailableError, SignatureNotCreatedError, SignatureNotFoundError, SignerTypeMismatchError, SigningFailedError, TransactionAwaitingApprovalError, TransactionConfirmationTimeoutError, TransactionFailedError, TransactionHashNotFoundError, TransactionNotAvailableError, TransactionNotCreatedError, TransactionSendingFailedError, WalletCreationError, WalletError, WalletNotAvailableError, WalletTypeMismatchError, WalletTypeNotSupportedError } from './utils/errors.cjs';
3
- export { C as Callbacks } from './options-BfWQ7h7d.cjs';
3
+ export { C as Callbacks } from './options-IchphkHW.cjs';
4
4
  export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
5
5
  export { DelegatedSigner, WalletBalance } from './api/types.cjs';
6
6
  export { SolanaSignerInput } from './solana/types/signers.cjs';
7
7
  export { SolanaMPCWallet, SolanaSmartWallet } from './solana/types/wallet.cjs';
8
- export { EVMSmartWalletChain } from './evm/chains/index.cjs';
8
+ export { EVMSmartWalletChain, isValidChain as isValidEVMChain } from './evm/chains/index.cjs';
9
9
  export { EVMSigner, EVMSignerInput } from './evm/types/signers.cjs';
10
10
  export { EVMSmartWallet } from './evm/types/wallet.cjs';
11
11
  export { WalletTypeToArgs } from './services/types.cjs';
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  export { CrossmintWallets } from './sdk.js';
2
2
  export { InvalidApiKeyError, InvalidEnvironmentError, InvalidMessageFormatError, InvalidSignerError, InvalidTypedDataError, InvalidWalletConfigError, MessageSigningNotSupportedError, PendingApprovalsError, SignatureNotAvailableError, SignatureNotCreatedError, SignatureNotFoundError, SignerTypeMismatchError, SigningFailedError, TransactionAwaitingApprovalError, TransactionConfirmationTimeoutError, TransactionFailedError, TransactionHashNotFoundError, TransactionNotAvailableError, TransactionNotCreatedError, TransactionSendingFailedError, WalletCreationError, WalletError, WalletNotAvailableError, WalletTypeMismatchError, WalletTypeNotSupportedError } from './utils/errors.js';
3
- export { C as Callbacks } from './options-Dwn6w8Ar.js';
3
+ export { C as Callbacks } from './options-DQUNKXxn.js';
4
4
  export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
5
5
  export { DelegatedSigner, WalletBalance } from './api/types.js';
6
6
  export { SolanaSignerInput } from './solana/types/signers.js';
7
7
  export { SolanaMPCWallet, SolanaSmartWallet } from './solana/types/wallet.js';
8
- export { EVMSmartWalletChain } from './evm/chains/index.js';
8
+ export { EVMSmartWalletChain, isValidChain as isValidEVMChain } from './evm/chains/index.js';
9
9
  export { EVMSigner, EVMSignerInput } from './evm/types/signers.js';
10
10
  export { EVMSmartWallet } from './evm/types/wallet.js';
11
11
  export { WalletTypeToArgs } from './services/types.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{a as I,b as T}from"./chunk-NVRT2CJB.js";import"./chunk-W5FFWAOI.js";import"./chunk-ITCP6W2T.js";import"./chunk-SDH5CVH7.js";import"./chunk-OKXV3IAA.js";import"./chunk-BUI2QYUC.js";import"./chunk-YLMKJ56K.js";import"./chunk-VORKK52Z.js";import"./chunk-EFRCLQXM.js";import"./chunk-6W35AARC.js";import"./chunk-5IFDVB4Y.js";import"./chunk-3LGWGGCM.js";import"./chunk-KBJA7JDT.js";import"./chunk-CGHMCYX6.js";import"./chunk-7WRWCJJ6.js";import"./chunk-ZJL3PQCL.js";import"./chunk-HKY6CBZC.js";import"./chunk-DGSYBCLX.js";import"./chunk-SILEK5O4.js";import"./chunk-KVFFSUF4.js";import"./chunk-LX6WD7J6.js";import"./chunk-QWYYZW5W.js";import{a as e,b as t,c as a,d as r,e as l,f as o,g as p,h as n,i as m,j as S,k as i,l as s,m as f,n as x,o as y,p as g,q as W,r as M,s as E,t as V,u as c,v as u,w as C,x as v}from"./chunk-7ENJXL4H.js";import"./chunk-22GIA4MK.js";export{T as CrossmintWallets,e as InvalidApiKeyError,t as InvalidEnvironmentError,S as InvalidMessageFormatError,m as InvalidSignerError,i as InvalidTypedDataError,l as InvalidWalletConfigError,x as MessageSigningNotSupportedError,v as PendingApprovalsError,g as SignatureNotAvailableError,y as SignatureNotCreatedError,s as SignatureNotFoundError,n as SignerTypeMismatchError,f as SigningFailedError,c as TransactionAwaitingApprovalError,E as TransactionConfirmationTimeoutError,C as TransactionFailedError,u as TransactionHashNotFoundError,M as TransactionNotAvailableError,W as TransactionNotCreatedError,V as TransactionSendingFailedError,o as WalletCreationError,r as WalletNotAvailableError,p as WalletTypeMismatchError,a as WalletTypeNotSupportedError,I as createCrossmint};
1
+ import{a as I,b as T}from"./chunk-X6WWNH4P.js";import"./chunk-THP7CNQH.js";import"./chunk-ITCP6W2T.js";import"./chunk-SDH5CVH7.js";import"./chunk-OKXV3IAA.js";import"./chunk-SVTDNOA7.js";import"./chunk-YLMKJ56K.js";import"./chunk-T4AVN2WF.js";import"./chunk-EFRCLQXM.js";import"./chunk-6W35AARC.js";import"./chunk-5IFDVB4Y.js";import"./chunk-QFPVOEKV.js";import"./chunk-KBJA7JDT.js";import"./chunk-WZAT3LML.js";import"./chunk-7WRWCJJ6.js";import"./chunk-6N4FGHLR.js";import"./chunk-QYX3J3RZ.js";import"./chunk-HKY6CBZC.js";import{c as e}from"./chunk-N2TNL3K4.js";import"./chunk-KVFFSUF4.js";import"./chunk-SILEK5O4.js";import"./chunk-LX6WD7J6.js";import"./chunk-VJ6HRVWX.js";import{a as t,b as a,c as l,d as r,e as o,f as p,g as i,h as n,i as s,j as m,k as y,l as S,m as f,n as x,o as V,p as g,q as M,r as W,s as C,t as E,u as c,v as d,w as h,x as u}from"./chunk-7ENJXL4H.js";import"./chunk-22GIA4MK.js";export{T as CrossmintWallets,t as InvalidApiKeyError,a as InvalidEnvironmentError,m as InvalidMessageFormatError,s as InvalidSignerError,y as InvalidTypedDataError,o as InvalidWalletConfigError,x as MessageSigningNotSupportedError,u as PendingApprovalsError,g as SignatureNotAvailableError,V as SignatureNotCreatedError,S as SignatureNotFoundError,n as SignerTypeMismatchError,f as SigningFailedError,c as TransactionAwaitingApprovalError,C as TransactionConfirmationTimeoutError,h as TransactionFailedError,d as TransactionHashNotFoundError,W as TransactionNotAvailableError,M as TransactionNotCreatedError,E as TransactionSendingFailedError,p as WalletCreationError,r as WalletNotAvailableError,i as WalletTypeMismatchError,l as WalletTypeNotSupportedError,I as createCrossmint,e as isValidEVMChain};
@@ -56,7 +56,6 @@ declare abstract class SolanaWallet implements BaseSolanaWallet {
56
56
  unstable_getNfts(params: {
57
57
  perPage: number;
58
58
  page: number;
59
- locator?: SolanaWalletLocator;
60
59
  }): Promise<GetNftsResponse>;
61
60
  protected get walletLocator(): SolanaWalletLocator;
62
61
  }
@@ -56,7 +56,6 @@ declare abstract class SolanaWallet implements BaseSolanaWallet {
56
56
  unstable_getNfts(params: {
57
57
  perPage: number;
58
58
  page: number;
59
- locator?: SolanaWalletLocator;
60
59
  }): Promise<GetNftsResponse>;
61
60
  protected get walletLocator(): SolanaWalletLocator;
62
61
  }
package/dist/sdk.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWBLNMQR2cjs = require('./chunk-WBLNMQR2.cjs');require('./chunk-DGPUMPXP.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-62C33UL4.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-22NLCTH3.cjs');require('./chunk-PQH5C2OM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-RWMILVIE.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-7K5B5Q3Y.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-JFUBHJ2C.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-P6OETJSN.cjs');require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallets = _chunkWBLNMQR2cjs.b; exports.createCrossmint = _chunkWBLNMQR2cjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLKFCFDYLcjs = require('./chunk-LKFCFDYL.cjs');require('./chunk-GDIUGLQX.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-GB4T5TIY.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-NWCCHDKO.cjs');require('./chunk-PQH5C2OM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-ABX5HN7T.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-5CX3CGJS.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-XT3KRCH4.cjs');require('./chunk-WNXCWDJQ.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-ZABEVVGH.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-BL5Z7CXY.cjs');require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallets = _chunkLKFCFDYLcjs.b; exports.createCrossmint = _chunkLKFCFDYLcjs.a;
package/dist/sdk.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Crossmint } from '@crossmint/common-sdk-base';
2
2
  export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
3
3
  import { WalletTypeToArgs, WalletTypeToWallet } from './services/types.cjs';
4
- import { W as WalletOptions } from './options-BfWQ7h7d.cjs';
4
+ import { W as WalletOptions } from './options-IchphkHW.cjs';
5
5
  import './evm/types/signers.cjs';
6
6
  import 'ox';
7
7
  import 'viem';
package/dist/sdk.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Crossmint } from '@crossmint/common-sdk-base';
2
2
  export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
3
3
  import { WalletTypeToArgs, WalletTypeToWallet } from './services/types.js';
4
- import { W as WalletOptions } from './options-Dwn6w8Ar.js';
4
+ import { W as WalletOptions } from './options-DQUNKXxn.js';
5
5
  import './evm/types/signers.js';
6
6
  import 'ox';
7
7
  import 'viem';