@crossmint/wallets-sdk 0.5.3 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/api/client.cjs +1 -1
  2. package/dist/api/client.d.cts +6 -1
  3. package/dist/api/client.d.ts +6 -1
  4. package/dist/api/client.js +1 -1
  5. package/dist/api/gen/index.cjs +1 -1
  6. package/dist/api/gen/index.js +1 -1
  7. package/dist/api/index.cjs +1 -1
  8. package/dist/api/index.js +1 -1
  9. package/dist/chunk-2SB3SHXI.js +1 -0
  10. package/dist/chunk-3KCFV6PG.cjs +1 -0
  11. package/dist/{chunk-DAZ4XSAW.js → chunk-4WQ44QGQ.js} +1 -1
  12. package/dist/{chunk-DGSYBCLX.js → chunk-7H5SWCHW.js} +1 -1
  13. package/dist/{chunk-SYBJ7MT3.js → chunk-EFRCLQXM.js} +1 -1
  14. package/dist/{chunk-GZO7YY5G.js → chunk-FBBKGOOJ.js} +1 -1
  15. package/dist/chunk-GG5O7NIP.cjs +1 -0
  16. package/dist/chunk-I2GKPGTJ.cjs +1 -0
  17. package/dist/{chunk-2JSYGDAP.cjs → chunk-I7Y6MWGJ.cjs} +1 -1
  18. package/dist/chunk-KETCUZMW.cjs +1 -0
  19. package/dist/{chunk-TJTBZ2QF.cjs → chunk-LEMFQ24F.cjs} +1 -1
  20. package/dist/chunk-MX4VGPMY.js +1 -0
  21. package/dist/{chunk-XH7JPM65.js → chunk-OTXAHTZ6.js} +1 -1
  22. package/dist/{chunk-JFUBHJ2C.cjs → chunk-PM3T4AGY.cjs} +1 -1
  23. package/dist/{chunk-B62JJITC.cjs → chunk-PQH5C2OM.cjs} +1 -1
  24. package/dist/chunk-QYX3J3RZ.js +1 -0
  25. package/dist/chunk-WNXCWDJQ.cjs +1 -0
  26. package/dist/chunk-WQSQIOP5.js +1 -0
  27. package/dist/chunk-XXGXO3FA.js +1 -0
  28. package/dist/{chunk-WQEO47FG.cjs → chunk-Z4UBKMZT.cjs} +1 -1
  29. package/dist/evm/chains/index.cjs +1 -1
  30. package/dist/evm/chains/index.js +1 -1
  31. package/dist/evm/index.cjs +1 -1
  32. package/dist/evm/index.d.cts +2 -2
  33. package/dist/evm/index.d.ts +2 -2
  34. package/dist/evm/index.js +1 -1
  35. package/dist/evm/services/delegated-signers-service.cjs +1 -0
  36. package/dist/evm/services/delegated-signers-service.d.cts +16 -0
  37. package/dist/evm/services/delegated-signers-service.d.ts +16 -0
  38. package/dist/evm/services/delegated-signers-service.js +1 -0
  39. package/dist/evm/types/wallet.d.cts +37 -42
  40. package/dist/evm/types/wallet.d.ts +37 -42
  41. package/dist/evm/wallet.cjs +1 -1
  42. package/dist/evm/wallet.d.cts +8 -59
  43. package/dist/evm/wallet.d.ts +8 -59
  44. package/dist/evm/wallet.js +1 -1
  45. package/dist/index-BlJF0PBa.d.ts +147 -0
  46. package/dist/index-Bxn9ZVBw.d.cts +147 -0
  47. package/dist/index.cjs +1 -1
  48. package/dist/index.d.cts +1 -1
  49. package/dist/index.d.ts +1 -1
  50. package/dist/index.js +1 -1
  51. package/dist/{options-C2ts4NaO.d.ts → options-DQUNKXxn.d.ts} +11 -26
  52. package/dist/{options-Cwj5EWYL.d.cts → options-IchphkHW.d.cts} +11 -26
  53. package/dist/sdk.cjs +1 -1
  54. package/dist/sdk.d.cts +1 -1
  55. package/dist/sdk.d.ts +1 -1
  56. package/dist/sdk.js +1 -1
  57. package/dist/services/types.d.cts +1 -2
  58. package/dist/services/types.d.ts +1 -2
  59. package/dist/services/wallet-factory.cjs +1 -1
  60. package/dist/services/wallet-factory.d.cts +1 -1
  61. package/dist/services/wallet-factory.d.ts +1 -1
  62. package/dist/services/wallet-factory.js +1 -1
  63. package/dist/solana/index.cjs +1 -1
  64. package/dist/solana/index.d.cts +1 -1
  65. package/dist/solana/index.d.ts +1 -1
  66. package/dist/solana/index.js +1 -1
  67. package/dist/solana/services/approvals-service.cjs +1 -1
  68. package/dist/solana/services/approvals-service.d.cts +2 -2
  69. package/dist/solana/services/approvals-service.d.ts +2 -2
  70. package/dist/solana/services/approvals-service.js +1 -1
  71. package/dist/solana/services/delegated-signers-service.d.cts +1 -1
  72. package/dist/solana/services/delegated-signers-service.d.ts +1 -1
  73. package/dist/solana/services/transactions-service.cjs +1 -1
  74. package/dist/solana/services/transactions-service.d.cts +1 -1
  75. package/dist/solana/services/transactions-service.d.ts +1 -1
  76. package/dist/solana/services/transactions-service.js +1 -1
  77. package/dist/solana/types/wallet.d.cts +16 -9
  78. package/dist/solana/types/wallet.d.ts +16 -9
  79. package/dist/solana/wallet.cjs +1 -1
  80. package/dist/solana/wallet.d.cts +1 -1
  81. package/dist/solana/wallet.d.ts +1 -1
  82. package/dist/solana/wallet.js +1 -1
  83. package/dist/utils/constants.cjs +1 -1
  84. package/dist/utils/constants.js +1 -1
  85. package/dist/utils/options.d.cts +1 -1
  86. package/dist/utils/options.d.ts +1 -1
  87. package/package.json +3 -3
  88. package/dist/chunk-46HOKNA7.js +0 -1
  89. package/dist/chunk-BAEWGOIC.cjs +0 -1
  90. package/dist/chunk-DSZ2SEZW.js +0 -1
  91. package/dist/chunk-EIYO37J7.cjs +0 -1
  92. package/dist/chunk-MILONSAH.cjs +0 -1
  93. package/dist/chunk-NNEAJN24.js +0 -1
  94. package/dist/chunk-NRPUIFKC.js +0 -1
  95. package/dist/chunk-PBZUAHQL.cjs +0 -1
@@ -1,10 +1,11 @@
1
- import { ApiClient } from '../api/client.cjs';
2
- import { WalletBalance, GetTransactionsResponse, EvmWalletLocator, GetNftsResponse } from '../api/types.cjs';
3
- import { Address, PublicClient, HttpTransport, SignableMessage, Hex, TypedData, TypedDataDefinition } from 'viem';
4
- import { C as Callbacks } from '../options-Cwj5EWYL.cjs';
5
- import { EVMSmartWalletChain } from './chains/index.cjs';
6
- import { EVMSigner } from './types/signers.cjs';
7
- import { ViemWallet, 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,55 +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 ViemWallet {
18
- readonly chain: EVMSmartWalletChain;
19
- readonly address: Address;
20
- private readonly apiClient;
21
- private readonly adminSigner;
22
- private readonly callbacks;
23
- readonly publicClient: PublicClient<HttpTransport>;
24
- constructor(chain: EVMSmartWalletChain, address: Address, apiClient: ApiClient, adminSigner: EVMSigner, callbacks: Callbacks);
25
- /**
26
- * Get the wallet balances
27
- * @param tokens - The tokens
28
- * @returns The balances
29
- * @throws {Error} If the balances cannot be retrieved
30
- */
31
- getBalances(tokens: Address[]): Promise<WalletBalance>;
32
- /**
33
- * Get the wallet transactions
34
- * @returns The transactions
35
- */
36
- getTransactions(): Promise<GetTransactionsResponse>;
37
- /**
38
- * Get the wallet NFTs
39
- * @param perPage - The number of NFTs per page
40
- * @param page - The page number
41
- * @param chain - The chain
42
- * @param locator - The locator
43
- * @returns The NFTs
44
- * @unstable This API is unstable and may change in the future
45
- */
46
- unstable_getNfts(perPage: number, page: number, chain: string, locator?: EvmWalletLocator): Promise<GetNftsResponse>;
47
- getNonce(parameters?: {
48
- key?: bigint | undefined;
49
- } | undefined): Promise<bigint>;
50
- signMessage(parameters: {
51
- message: SignableMessage;
52
- }): Promise<Hex>;
53
- signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: TypedDataDefinition<typedData, primaryType>): Promise<Hex>;
54
- sendTransaction(parameters: TransactionInput): Promise<Hex>;
55
- private get walletLocator();
56
- private get signerLocator();
57
- private signWithAdminSigner;
58
- private createTransaction;
59
- private approveTransaction;
60
- private waitForTransaction;
61
- private createSignature;
62
- private createTypedDataSignature;
63
- private approveSignature;
64
- private waitForSignature;
65
- }
66
-
67
- 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, PublicClient, HttpTransport, SignableMessage, Hex, TypedData, TypedDataDefinition } from 'viem';
4
- import { C as Callbacks } from '../options-C2ts4NaO.js';
5
- import { EVMSmartWalletChain } from './chains/index.js';
6
- import { EVMSigner } from './types/signers.js';
7
- import { ViemWallet, 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,55 +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 ViemWallet {
18
- readonly chain: EVMSmartWalletChain;
19
- readonly address: Address;
20
- private readonly apiClient;
21
- private readonly adminSigner;
22
- private readonly callbacks;
23
- readonly publicClient: PublicClient<HttpTransport>;
24
- constructor(chain: EVMSmartWalletChain, address: Address, apiClient: ApiClient, adminSigner: EVMSigner, callbacks: Callbacks);
25
- /**
26
- * Get the wallet balances
27
- * @param tokens - The tokens
28
- * @returns The balances
29
- * @throws {Error} If the balances cannot be retrieved
30
- */
31
- getBalances(tokens: Address[]): Promise<WalletBalance>;
32
- /**
33
- * Get the wallet transactions
34
- * @returns The transactions
35
- */
36
- getTransactions(): Promise<GetTransactionsResponse>;
37
- /**
38
- * Get the wallet NFTs
39
- * @param perPage - The number of NFTs per page
40
- * @param page - The page number
41
- * @param chain - The chain
42
- * @param locator - The locator
43
- * @returns The NFTs
44
- * @unstable This API is unstable and may change in the future
45
- */
46
- unstable_getNfts(perPage: number, page: number, chain: string, locator?: EvmWalletLocator): Promise<GetNftsResponse>;
47
- getNonce(parameters?: {
48
- key?: bigint | undefined;
49
- } | undefined): Promise<bigint>;
50
- signMessage(parameters: {
51
- message: SignableMessage;
52
- }): Promise<Hex>;
53
- signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: TypedDataDefinition<typedData, primaryType>): Promise<Hex>;
54
- sendTransaction(parameters: TransactionInput): Promise<Hex>;
55
- private get walletLocator();
56
- private get signerLocator();
57
- private signWithAdminSigner;
58
- private createTransaction;
59
- private approveTransaction;
60
- private waitForTransaction;
61
- private createSignature;
62
- private createTypedDataSignature;
63
- private approveSignature;
64
- private waitForSignature;
65
- }
66
-
67
- export { EVMSmartWalletImpl };
@@ -1 +1 @@
1
- import{a}from"../chunk-DSZ2SEZW.js";import"../chunk-HKY6CBZC.js";import"../chunk-DGSYBCLX.js";import"../chunk-SILEK5O4.js";import"../chunk-KVFFSUF4.js";import"../chunk-LX6WD7J6.js";import"../chunk-XH7JPM65.js";import"../chunk-7ENJXL4H.js";import"../chunk-22GIA4MK.js";export{a as EVMSmartWalletImpl};
1
+ import{a}from"../chunk-XXGXO3FA.js";import"../chunk-QYX3J3RZ.js";import"../chunk-HKY6CBZC.js";import"../chunk-7H5SWCHW.js";import"../chunk-KVFFSUF4.js";import"../chunk-SILEK5O4.js";import"../chunk-LX6WD7J6.js";import"../chunk-OTXAHTZ6.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 _chunkTJTBZ2QFcjs = require('./chunk-TJTBZ2QF.cjs');require('./chunk-EIYO37J7.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-BAEWGOIC.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-2JSYGDAP.cjs');require('./chunk-B62JJITC.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-PBZUAHQL.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-JFUBHJ2C.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-MILONSAH.cjs');require('./chunk-WQEO47FG.cjs');var _chunkCT2UGJELcjs = require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');require('./chunk-ECAM5KTH.cjs');exports.CrossmintWallets = _chunkTJTBZ2QFcjs.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 = _chunkTJTBZ2QFcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLEMFQ24Fcjs = require('./chunk-LEMFQ24F.cjs');require('./chunk-I2GKPGTJ.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-3KCFV6PG.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-I7Y6MWGJ.cjs');require('./chunk-PQH5C2OM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-KETCUZMW.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-GG5O7NIP.cjs');require('./chunk-WNXCWDJQ.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-PM3T4AGY.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-Z4UBKMZT.cjs');var _chunkCT2UGJELcjs = require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallets = _chunkLEMFQ24Fcjs.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 = _chunkLEMFQ24Fcjs.a;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
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-Cwj5EWYL.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';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
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-C2ts4NaO.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';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{a as I,b as T}from"./chunk-GZO7YY5G.js";import"./chunk-46HOKNA7.js";import"./chunk-ITCP6W2T.js";import"./chunk-SDH5CVH7.js";import"./chunk-OKXV3IAA.js";import"./chunk-NNEAJN24.js";import"./chunk-YLMKJ56K.js";import"./chunk-DAZ4XSAW.js";import"./chunk-SYBJ7MT3.js";import"./chunk-6W35AARC.js";import"./chunk-CGHMCYX6.js";import"./chunk-7WRWCJJ6.js";import"./chunk-DSZ2SEZW.js";import"./chunk-HKY6CBZC.js";import"./chunk-DGSYBCLX.js";import"./chunk-SILEK5O4.js";import"./chunk-KVFFSUF4.js";import"./chunk-LX6WD7J6.js";import"./chunk-5IFDVB4Y.js";import"./chunk-NRPUIFKC.js";import"./chunk-XH7JPM65.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";import"./chunk-KBJA7JDT.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-FBBKGOOJ.js";import"./chunk-2SB3SHXI.js";import"./chunk-ITCP6W2T.js";import"./chunk-SDH5CVH7.js";import"./chunk-OKXV3IAA.js";import"./chunk-WQSQIOP5.js";import"./chunk-YLMKJ56K.js";import"./chunk-4WQ44QGQ.js";import"./chunk-EFRCLQXM.js";import"./chunk-6W35AARC.js";import"./chunk-5IFDVB4Y.js";import"./chunk-MX4VGPMY.js";import"./chunk-KBJA7JDT.js";import"./chunk-CGHMCYX6.js";import"./chunk-7WRWCJJ6.js";import"./chunk-XXGXO3FA.js";import"./chunk-QYX3J3RZ.js";import"./chunk-HKY6CBZC.js";import"./chunk-7H5SWCHW.js";import"./chunk-KVFFSUF4.js";import"./chunk-SILEK5O4.js";import"./chunk-LX6WD7J6.js";import"./chunk-OTXAHTZ6.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};
@@ -48,30 +48,15 @@ declare abstract class SolanaWallet implements BaseSolanaWallet {
48
48
  protected readonly transactionsService: SolanaTransactionsService;
49
49
  protected readonly delegatedSignerService: SolanaDelegatedSignerService;
50
50
  constructor(apiClient: ApiClient, publicKey: PublicKey, client: Connection, callbacks: Callbacks);
51
- /**
52
- * The wallet address
53
- */
54
51
  get address(): string;
55
- /**
56
- * Get the wallet balances
57
- * @param tokens - The tokens
58
- * @returns The balances
59
- */
60
- getBalances(tokens: SolanaSupportedToken[]): Promise<WalletBalance>;
61
- /**
62
- * Get the wallet transactions
63
- * @returns The transactions
64
- */
52
+ getBalances(params: {
53
+ tokens: SolanaSupportedToken[];
54
+ }): Promise<WalletBalance>;
65
55
  getTransactions(): Promise<GetTransactionsResponse>;
66
- /**
67
- * Get the wallet NFTs
68
- * @param perPage - The number of NFTs per page
69
- * @param page - The page number
70
- * @param locator - The wallet locator
71
- * @returns The NFTs
72
- * @unstable This API is unstable and may change in the future
73
- */
74
- unstable_getNfts(perPage: number, page: number, locator?: SolanaWalletLocator): Promise<GetNftsResponse>;
56
+ unstable_getNfts(params: {
57
+ perPage: number;
58
+ page: number;
59
+ }): Promise<GetNftsResponse>;
75
60
  protected get walletLocator(): SolanaWalletLocator;
76
61
  }
77
62
  declare class SolanaSmartWalletImpl extends SolanaWallet implements SolanaSmartWallet {
@@ -79,10 +64,10 @@ declare class SolanaSmartWalletImpl extends SolanaWallet implements SolanaSmartW
79
64
  constructor(apiClient: ApiClient, publicKey: PublicKey, adminSignerInput: SolanaSignerInput, client: Connection, callbacks: Callbacks);
80
65
  /**
81
66
  * Sign and submit a transaction
82
- * @param parameters - The transaction parameters
67
+ * @param {SmartWalletTransactionParams} params - The transaction params
83
68
  * @returns The transaction hash
84
69
  */
85
- sendTransaction(parameters: SmartWalletTransactionParams): Promise<string>;
70
+ sendTransaction(params: SmartWalletTransactionParams): Promise<string>;
86
71
  /**
87
72
  * Add a delegated signer to the wallet
88
73
  * @param signer - The signer
@@ -101,10 +86,10 @@ declare class SolanaSmartWalletImpl extends SolanaWallet implements SolanaSmartW
101
86
  declare class SolanaMPCWalletImpl extends SolanaWallet implements SolanaMPCWallet {
102
87
  /**
103
88
  * Sign and submit a transaction
104
- * @param parameters - The transaction parameters
89
+ * @param {MPCTransactionParams} params - The transaction params
105
90
  * @returns The transaction hash
106
91
  */
107
- sendTransaction(parameters: MPCTransactionParams): Promise<string>;
92
+ sendTransaction(params: MPCTransactionParams): Promise<string>;
108
93
  }
109
94
 
110
95
  type Wallet = EVMSmartWallet | SolanaSmartWallet | SolanaMPCWallet;
@@ -48,30 +48,15 @@ declare abstract class SolanaWallet implements BaseSolanaWallet {
48
48
  protected readonly transactionsService: SolanaTransactionsService;
49
49
  protected readonly delegatedSignerService: SolanaDelegatedSignerService;
50
50
  constructor(apiClient: ApiClient, publicKey: PublicKey, client: Connection, callbacks: Callbacks);
51
- /**
52
- * The wallet address
53
- */
54
51
  get address(): string;
55
- /**
56
- * Get the wallet balances
57
- * @param tokens - The tokens
58
- * @returns The balances
59
- */
60
- getBalances(tokens: SolanaSupportedToken[]): Promise<WalletBalance>;
61
- /**
62
- * Get the wallet transactions
63
- * @returns The transactions
64
- */
52
+ getBalances(params: {
53
+ tokens: SolanaSupportedToken[];
54
+ }): Promise<WalletBalance>;
65
55
  getTransactions(): Promise<GetTransactionsResponse>;
66
- /**
67
- * Get the wallet NFTs
68
- * @param perPage - The number of NFTs per page
69
- * @param page - The page number
70
- * @param locator - The wallet locator
71
- * @returns The NFTs
72
- * @unstable This API is unstable and may change in the future
73
- */
74
- unstable_getNfts(perPage: number, page: number, locator?: SolanaWalletLocator): Promise<GetNftsResponse>;
56
+ unstable_getNfts(params: {
57
+ perPage: number;
58
+ page: number;
59
+ }): Promise<GetNftsResponse>;
75
60
  protected get walletLocator(): SolanaWalletLocator;
76
61
  }
77
62
  declare class SolanaSmartWalletImpl extends SolanaWallet implements SolanaSmartWallet {
@@ -79,10 +64,10 @@ declare class SolanaSmartWalletImpl extends SolanaWallet implements SolanaSmartW
79
64
  constructor(apiClient: ApiClient, publicKey: PublicKey, adminSignerInput: SolanaSignerInput, client: Connection, callbacks: Callbacks);
80
65
  /**
81
66
  * Sign and submit a transaction
82
- * @param parameters - The transaction parameters
67
+ * @param {SmartWalletTransactionParams} params - The transaction params
83
68
  * @returns The transaction hash
84
69
  */
85
- sendTransaction(parameters: SmartWalletTransactionParams): Promise<string>;
70
+ sendTransaction(params: SmartWalletTransactionParams): Promise<string>;
86
71
  /**
87
72
  * Add a delegated signer to the wallet
88
73
  * @param signer - The signer
@@ -101,10 +86,10 @@ declare class SolanaSmartWalletImpl extends SolanaWallet implements SolanaSmartW
101
86
  declare class SolanaMPCWalletImpl extends SolanaWallet implements SolanaMPCWallet {
102
87
  /**
103
88
  * Sign and submit a transaction
104
- * @param parameters - The transaction parameters
89
+ * @param {MPCTransactionParams} params - The transaction params
105
90
  * @returns The transaction hash
106
91
  */
107
- sendTransaction(parameters: MPCTransactionParams): Promise<string>;
92
+ sendTransaction(params: MPCTransactionParams): Promise<string>;
108
93
  }
109
94
 
110
95
  type Wallet = EVMSmartWallet | SolanaSmartWallet | SolanaMPCWallet;
package/dist/sdk.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkTJTBZ2QFcjs = require('./chunk-TJTBZ2QF.cjs');require('./chunk-EIYO37J7.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-BAEWGOIC.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-2JSYGDAP.cjs');require('./chunk-B62JJITC.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-PBZUAHQL.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-JFUBHJ2C.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-MILONSAH.cjs');require('./chunk-WQEO47FG.cjs');require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');require('./chunk-ECAM5KTH.cjs');exports.CrossmintWallets = _chunkTJTBZ2QFcjs.b; exports.createCrossmint = _chunkTJTBZ2QFcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLEMFQ24Fcjs = require('./chunk-LEMFQ24F.cjs');require('./chunk-I2GKPGTJ.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-VDYYOSPR.cjs');require('./chunk-3KCFV6PG.cjs');require('./chunk-DNWDTJR6.cjs');require('./chunk-I7Y6MWGJ.cjs');require('./chunk-PQH5C2OM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-KETCUZMW.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-XKXW2FNY.cjs');require('./chunk-GG5O7NIP.cjs');require('./chunk-WNXCWDJQ.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-PM3T4AGY.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-Z4UBKMZT.cjs');require('./chunk-CT2UGJEL.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallets = _chunkLEMFQ24Fcjs.b; exports.createCrossmint = _chunkLEMFQ24Fcjs.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-Cwj5EWYL.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-C2ts4NaO.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';