@crossmint/wallets-sdk 0.1.0 → 0.2.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 (90) 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/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-56QYBMZK.js +1 -0
  10. package/dist/{chunk-IUCH2YM2.cjs → chunk-BZLLAOU4.cjs} +1 -1
  11. package/dist/chunk-EAWW5EV3.cjs +1 -0
  12. package/dist/chunk-EZPTJLMB.js +1 -0
  13. package/dist/{chunk-FBBHIN3M.cjs → chunk-HUT7DZHT.cjs} +1 -1
  14. package/dist/chunk-IHSWUTVK.cjs +1 -0
  15. package/dist/chunk-J7HMLX5E.js +1 -0
  16. package/dist/chunk-JDYQZNI4.cjs +1 -0
  17. package/dist/chunk-JQYF6RSY.cjs +1 -0
  18. package/dist/{chunk-ASZ42HGR.js → chunk-KFPFLFUK.js} +1 -1
  19. package/dist/chunk-QDDUE2ZA.js +1 -0
  20. package/dist/chunk-UMIVH7M5.cjs +1 -0
  21. package/dist/chunk-VUVRSFOD.js +1 -0
  22. package/dist/chunk-WFAEBPGM.js +1 -0
  23. package/dist/chunk-X7I6RPET.js +1 -0
  24. package/dist/chunk-ZL4IE7XX.cjs +1 -0
  25. package/dist/evm/chains/definitions/story.d.cts +5 -3
  26. package/dist/evm/chains/definitions/story.d.ts +5 -3
  27. package/dist/evm/chains/definitions/storyTestnet.d.cts +5 -3
  28. package/dist/evm/chains/definitions/storyTestnet.d.ts +5 -3
  29. package/dist/evm/index.cjs +1 -1
  30. package/dist/evm/index.d.cts +6 -1
  31. package/dist/evm/index.d.ts +6 -1
  32. package/dist/evm/index.js +1 -1
  33. package/dist/evm/utils.cjs +1 -0
  34. package/dist/evm/utils.d.cts +26 -0
  35. package/dist/evm/utils.d.ts +26 -0
  36. package/dist/evm/utils.js +1 -0
  37. package/dist/evm/wallet.cjs +1 -1
  38. package/dist/evm/wallet.d.cts +10 -183
  39. package/dist/evm/wallet.d.ts +10 -183
  40. package/dist/evm/wallet.js +1 -1
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.cts +9 -11
  43. package/dist/index.d.ts +9 -11
  44. package/dist/index.js +1 -1
  45. package/dist/sdk.cjs +1 -1
  46. package/dist/sdk.d.cts +8 -9
  47. package/dist/sdk.d.ts +8 -9
  48. package/dist/sdk.js +1 -1
  49. package/dist/services/types.d.cts +7 -6
  50. package/dist/services/types.d.ts +7 -6
  51. package/dist/services/wallet-factory.cjs +1 -1
  52. package/dist/services/wallet-factory.d.cts +12 -9
  53. package/dist/services/wallet-factory.d.ts +12 -9
  54. package/dist/services/wallet-factory.js +1 -1
  55. package/dist/solana/index.cjs +1 -1
  56. package/dist/solana/index.d.cts +7 -7
  57. package/dist/solana/index.d.ts +7 -7
  58. package/dist/solana/index.js +1 -1
  59. package/dist/solana/services/delegated-signers-service.d.cts +7 -16
  60. package/dist/solana/services/delegated-signers-service.d.ts +7 -16
  61. package/dist/solana/services/transactions-service.cjs +1 -1
  62. package/dist/solana/services/transactions-service.d.cts +9 -23
  63. package/dist/solana/services/transactions-service.d.ts +9 -23
  64. package/dist/solana/services/transactions-service.js +1 -1
  65. package/dist/solana/wallet.cjs +1 -1
  66. package/dist/solana/wallet.d.cts +8 -49
  67. package/dist/solana/wallet.d.ts +8 -49
  68. package/dist/solana/wallet.js +1 -1
  69. package/dist/utils/constants.cjs +1 -1
  70. package/dist/utils/constants.js +1 -1
  71. package/dist/utils/options.cjs +1 -0
  72. package/dist/utils/options.d.cts +11 -0
  73. package/dist/utils/options.d.ts +11 -0
  74. package/dist/utils/options.js +0 -0
  75. package/dist/wallet-BCTK_Ucz.d.cts +276 -0
  76. package/dist/wallet-DOZp5Hnh.d.ts +276 -0
  77. package/package.json +4 -4
  78. package/dist/chunk-64NR5QRR.js +0 -1
  79. package/dist/chunk-6RTTEIHW.cjs +0 -1
  80. package/dist/chunk-6ZSPKEHA.js +0 -1
  81. package/dist/chunk-7PGV52LP.cjs +0 -1
  82. package/dist/chunk-AADORF6G.js +0 -1
  83. package/dist/chunk-JGR6BPVQ.js +0 -1
  84. package/dist/chunk-NTRGH35O.cjs +0 -1
  85. package/dist/chunk-NZYUMZHK.js +0 -1
  86. package/dist/chunk-PBNETIRB.js +0 -1
  87. package/dist/chunk-RRJH2PAJ.cjs +0 -1
  88. package/dist/chunk-XYHAZU5Y.cjs +0 -1
  89. /package/dist/{chunk-EHPQ2A6Z.cjs → chunk-3TTYXSH3.cjs} +0 -0
  90. /package/dist/{chunk-QL7OSVKM.js → chunk-ITCP6W2T.js} +0 -0
@@ -1,184 +1,11 @@
1
- import { ApiClient, GetNftsResponse } from '../api/client.js';
2
- import { WalletBalanceResponseDto } from '../api/gen/types.gen.js';
3
- import { EIP1193Provider, Account, Address, SignableMessage, Hex, TypedData, TypedDataDefinition, PublicClient, HttpTransport } from 'viem';
4
- import { EVMSmartWalletChain } from './chains/index.js';
1
+ import '../api/client.js';
2
+ import '../api/gen/types.gen.js';
3
+ import 'ox';
4
+ import 'viem';
5
+ export { c as EVMMPCWallet, a as EVMSigner, E as EVMSignerInput, b as EVMSmartWallet, P as PasskeyCreationCallback, e as PasskeySigningCallback, T as TransactionInput, V as ViemWallet } from '../wallet-DOZp5Hnh.js';
6
+ import './chains/index.js';
5
7
  import '@crossmint/common-sdk-base';
6
-
7
- type EVMSignerInput = {
8
- type: "evm-keypair";
9
- address: string;
10
- signer: {
11
- type: "provider";
12
- provider: EIP1193Provider;
13
- } | {
14
- type: "viem_v2";
15
- account: Account;
16
- };
17
- } | {
18
- type: "evm-passkey";
19
- id: string;
20
- name: string;
21
- publicKey: {
22
- x: string;
23
- y: string;
24
- };
25
- };
26
- type EVMSigner = EVMSignerInput & {
27
- locator: string;
28
- };
29
- interface ViemWallet {
30
- getAddress: () => Address;
31
- getNonce?: ((parameters?: {
32
- key?: bigint | undefined;
33
- } | undefined) => Promise<bigint>) | undefined;
34
- signMessage: (parameters: {
35
- message: SignableMessage;
36
- }) => Promise<Hex>;
37
- signTypedData: <const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
38
- sendTransaction: (parameters: {
39
- to: Address;
40
- data?: Hex;
41
- value?: bigint;
42
- }) => Promise<Hex>;
43
- }
44
- declare class EVMSmartWallet implements ViemWallet {
45
- readonly chain: EVMSmartWalletChain;
46
- private readonly apiClient;
47
- private readonly address;
48
- private readonly adminSigner;
49
- readonly publicClient: PublicClient<HttpTransport>;
50
- constructor(chain: EVMSmartWalletChain, apiClient: ApiClient, address: Address, adminSigner: EVMSigner);
51
- balances(tokens: Address[]): Promise<WalletBalanceResponseDto>;
52
- transactions(): Promise<{
53
- walletType: "evm-smart-wallet";
54
- params: {
55
- calls: Array<{
56
- address: string;
57
- functionName: string;
58
- abi: Array<{
59
- type: "error";
60
- inputs: Array<unknown>;
61
- name: string;
62
- } | {
63
- type: "event";
64
- anonymous?: boolean;
65
- inputs: Array<unknown & {
66
- indexed?: boolean;
67
- }>;
68
- name: string;
69
- } | ({
70
- constant?: boolean;
71
- gas?: number;
72
- payable?: boolean;
73
- } & ({
74
- type: "function";
75
- inputs: Array<unknown>;
76
- name: string;
77
- outputs: Array<unknown>;
78
- stateMutability: "pure" | "view" | "nonpayable" | "payable";
79
- } | {
80
- type: "constructor";
81
- inputs: Array<unknown>;
82
- stateMutability: "payable" | "nonpayable";
83
- } | {
84
- type: "fallback";
85
- inputs?: unknown;
86
- stateMutability: "payable" | "nonpayable";
87
- } | {
88
- type: "receive";
89
- stateMutability: "payable";
90
- }))>;
91
- args: Array<unknown>;
92
- value?: string;
93
- } | {
94
- to: string;
95
- value: string;
96
- data: unknown;
97
- }>;
98
- chain: "base" | "polygon" | "optimism" | "arbitrum" | "mode" | "story" | "base-sepolia" | "polygon-amoy" | "optimism-sepolia" | "arbitrum-sepolia" | "mode-sepolia" | "story-testnet";
99
- signer?: string;
100
- };
101
- onChain: {
102
- userOperation: {
103
- sender: string;
104
- nonce: string;
105
- callData: string;
106
- callGasLimit: string;
107
- verificationGasLimit: string;
108
- preVerificationGas: string;
109
- maxFeePerGas: string;
110
- maxPriorityFeePerGas: string;
111
- paymaster?: string;
112
- paymasterVerificationGasLimit?: string;
113
- paymasterData?: string;
114
- paymasterPostOpGasLimit?: string;
115
- signature: string;
116
- factory?: string;
117
- factoryData?: string;
118
- };
119
- userOperationHash: string;
120
- txId?: string;
121
- explorerLink?: string;
122
- };
123
- id: string;
124
- status: "awaiting-approval" | "pending" | "failed" | "success";
125
- approvals?: {
126
- pending: Array<{
127
- signer: string;
128
- message: string;
129
- }>;
130
- submitted: Array<{
131
- signature: string;
132
- submittedAt: number;
133
- signer: string;
134
- message: string;
135
- metadata?: {
136
- deviceInfo?: string;
137
- ipAddress?: string;
138
- userAgent?: string;
139
- };
140
- }>;
141
- required?: number;
142
- };
143
- createdAt: number;
144
- completedAt?: number;
145
- error?: {
146
- reason: "program_error";
147
- message: string;
148
- logs?: unknown;
149
- } | {
150
- reason: "execution_reverted";
151
- message: string;
152
- revert?: {
153
- type: "contract_call" | "wallet_authorization" | "wallet_deployment";
154
- reason: string;
155
- reasonData?: string;
156
- explorerLink?: string;
157
- simulationLink?: string;
158
- };
159
- };
160
- }[]>;
161
- nfts(perPage: number, page: number): Promise<GetNftsResponse>;
162
- getAddress(): `0x${string}`;
163
- getNonce(parameters?: {
164
- key?: bigint | undefined;
165
- } | undefined): Promise<bigint>;
166
- signMessage(parameters: {
167
- message: SignableMessage;
168
- }): Promise<Hex>;
169
- signTypedData<const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(parameters: TypedDataDefinition<typedData, primaryType>): Promise<Hex>;
170
- sendTransaction(parameters: {
171
- to: Address;
172
- data?: Hex;
173
- value?: bigint;
174
- }): Promise<Hex>;
175
- private get walletLocator();
176
- private get signerLocator();
177
- private signWithAdminSigner;
178
- private approveTransaction;
179
- private approveSignature;
180
- }
181
- declare class EVMMPCWallet {
182
- }
183
-
184
- export { EVMMPCWallet, type EVMSigner, type EVMSignerInput, EVMSmartWallet, type ViemWallet };
8
+ import '../solana/tokens.js';
9
+ import '../solana/types/signers.js';
10
+ import '@solana/web3.js';
11
+ import '../solana/services/approvals-service.js';
@@ -1 +1 @@
1
- import{a,b}from"../chunk-NZYUMZHK.js";import"../chunk-HKY6CBZC.js";import"../chunk-7Y2E7VNV.js";import"../chunk-KVFFSUF4.js";import"../chunk-SILEK5O4.js";import"../chunk-LX6WD7J6.js";import"../chunk-ASZ42HGR.js";import"../chunk-22GIA4MK.js";export{b as EVMMPCWallet,a as EVMSmartWallet};
1
+ import{a,b}from"../chunk-EZPTJLMB.js";import"../chunk-HKY6CBZC.js";import"../chunk-7Y2E7VNV.js";import"../chunk-KVFFSUF4.js";import"../chunk-SILEK5O4.js";import"../chunk-LX6WD7J6.js";import"../chunk-KFPFLFUK.js";import"../chunk-22GIA4MK.js";export{b as EVMMPCWallet,a as EVMSmartWallet};
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNTRGH35Ocjs = require('./chunk-NTRGH35O.cjs');require('./chunk-RUIBT3JV.cjs');require('./chunk-FBBHIN3M.cjs');require('./chunk-RRJH2PAJ.cjs');require('./chunk-EHPQ2A6Z.cjs');require('./chunk-F7GTDFYC.cjs');var _chunkXYHAZU5Ycjs = require('./chunk-XYHAZU5Y.cjs');require('./chunk-FUHBLVE7.cjs');require('./chunk-6RTTEIHW.cjs');require('./chunk-GS3FTDMM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-E2EM43SP.cjs');require('./chunk-C2WL57HT.cjs');var _chunk7PGV52LPcjs = require('./chunk-7PGV52LP.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-AHFMV7RZ.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-IUCH2YM2.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallet = _chunkNTRGH35Ocjs.a; exports.EVMMPCWallet = _chunk7PGV52LPcjs.b; exports.EVMSmartWallet = _chunk7PGV52LPcjs.a; exports.SolanaMPCWallet = _chunkXYHAZU5Ycjs.b; exports.SolanaSmartWallet = _chunkXYHAZU5Ycjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIHSWUTVKcjs = require('./chunk-IHSWUTVK.cjs');require('./chunk-JDYQZNI4.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-E2EM43SP.cjs');var _chunkEAWW5EV3cjs = require('./chunk-EAWW5EV3.cjs');require('./chunk-UMIVH7M5.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-GS3FTDMM.cjs');require('./chunk-FUHBLVE7.cjs');require('./chunk-RUIBT3JV.cjs');require('./chunk-HUT7DZHT.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-JQYF6RSY.cjs');var _chunkZL4IE7XXcjs = require('./chunk-ZL4IE7XX.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-AHFMV7RZ.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-BZLLAOU4.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallet = _chunkIHSWUTVKcjs.b; exports.EVMMPCWallet = _chunkZL4IE7XXcjs.b; exports.EVMSmartWallet = _chunkZL4IE7XXcjs.a; exports.SolanaMPCWallet = _chunkEAWW5EV3cjs.b; exports.SolanaSmartWallet = _chunkEAWW5EV3cjs.a; exports.createCrossmint = _chunkIHSWUTVKcjs.a;
package/dist/index.d.cts CHANGED
@@ -1,15 +1,13 @@
1
1
  export { CrossmintWallet } from './sdk.cjs';
2
- export { SolanaMPCWallet, SolanaSmartWallet } from './solana/wallet.cjs';
3
- export { EVMMPCWallet, EVMSmartWallet } from './evm/wallet.cjs';
4
- export { Crossmint } from '@crossmint/common-sdk-base';
5
- import './services/types.cjs';
6
- import './evm/chains/index.cjs';
7
- import 'viem';
8
- import './solana/types/signers.cjs';
9
- import '@solana/web3.js';
2
+ export { c as EVMMPCWallet, a as EVMSigner, E as EVMSignerInput, b as EVMSmartWallet, d as SolanaMPCWallet, S as SolanaSmartWallet } from './wallet-BCTK_Ucz.cjs';
3
+ export { EVMSmartWalletChain } from './evm/chains/index.cjs';
4
+ export { SolanaSignerInput } from './solana/types/signers.cjs';
5
+ export { WalletTypeToArgs } from './services/types.cjs';
6
+ export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
7
+ import './solana/tokens.cjs';
10
8
  import './api/client.cjs';
9
+ import 'viem';
11
10
  import './api/gen/types.gen.cjs';
12
- import './solana/tokens.cjs';
13
- import './solana/services/transactions-service.cjs';
11
+ import 'ox';
12
+ import '@solana/web3.js';
14
13
  import './solana/services/approvals-service.cjs';
15
- import './solana/services/delegated-signers-service.cjs';
package/dist/index.d.ts CHANGED
@@ -1,15 +1,13 @@
1
1
  export { CrossmintWallet } from './sdk.js';
2
- export { SolanaMPCWallet, SolanaSmartWallet } from './solana/wallet.js';
3
- export { EVMMPCWallet, EVMSmartWallet } from './evm/wallet.js';
4
- export { Crossmint } from '@crossmint/common-sdk-base';
5
- import './services/types.js';
6
- import './evm/chains/index.js';
7
- import 'viem';
8
- import './solana/types/signers.js';
9
- import '@solana/web3.js';
2
+ export { c as EVMMPCWallet, a as EVMSigner, E as EVMSignerInput, b as EVMSmartWallet, d as SolanaMPCWallet, S as SolanaSmartWallet } from './wallet-DOZp5Hnh.js';
3
+ export { EVMSmartWalletChain } from './evm/chains/index.js';
4
+ export { SolanaSignerInput } from './solana/types/signers.js';
5
+ export { WalletTypeToArgs } from './services/types.js';
6
+ export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
7
+ import './solana/tokens.js';
10
8
  import './api/client.js';
9
+ import 'viem';
11
10
  import './api/gen/types.gen.js';
12
- import './solana/tokens.js';
13
- import './solana/services/transactions-service.js';
11
+ import 'ox';
12
+ import '@solana/web3.js';
14
13
  import './solana/services/approvals-service.js';
15
- import './solana/services/delegated-signers-service.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{a as r}from"./chunk-PBNETIRB.js";import"./chunk-A7F5DWC7.js";import"./chunk-64NR5QRR.js";import"./chunk-AADORF6G.js";import"./chunk-QL7OSVKM.js";import"./chunk-SDH5CVH7.js";import{a,b as l}from"./chunk-6ZSPKEHA.js";import"./chunk-TYK4I7OU.js";import"./chunk-JGR6BPVQ.js";import"./chunk-ICVV5CBS.js";import"./chunk-6W35AARC.js";import"./chunk-K7ZLWZPC.js";import"./chunk-CGHMCYX6.js";import{a as t,b as o}from"./chunk-NZYUMZHK.js";import"./chunk-HKY6CBZC.js";import"./chunk-7Y2E7VNV.js";import"./chunk-KVFFSUF4.js";import"./chunk-SILEK5O4.js";import"./chunk-LX6WD7J6.js";import"./chunk-ASZ42HGR.js";import"./chunk-22GIA4MK.js";export{r as CrossmintWallet,o as EVMMPCWallet,t as EVMSmartWallet,l as SolanaMPCWallet,a as SolanaSmartWallet};
1
+ import{a as o,b as l}from"./chunk-J7HMLX5E.js";import"./chunk-VUVRSFOD.js";import"./chunk-ITCP6W2T.js";import"./chunk-SDH5CVH7.js";import"./chunk-K7ZLWZPC.js";import{a as e,b as t}from"./chunk-56QYBMZK.js";import"./chunk-X7I6RPET.js";import"./chunk-6W35AARC.js";import"./chunk-ICVV5CBS.js";import"./chunk-TYK4I7OU.js";import"./chunk-A7F5DWC7.js";import"./chunk-QDDUE2ZA.js";import"./chunk-CGHMCYX6.js";import"./chunk-WFAEBPGM.js";import{a as r,b as a}from"./chunk-EZPTJLMB.js";import"./chunk-HKY6CBZC.js";import"./chunk-7Y2E7VNV.js";import"./chunk-KVFFSUF4.js";import"./chunk-SILEK5O4.js";import"./chunk-LX6WD7J6.js";import"./chunk-KFPFLFUK.js";import"./chunk-22GIA4MK.js";export{l as CrossmintWallet,a as EVMMPCWallet,r as EVMSmartWallet,t as SolanaMPCWallet,e as SolanaSmartWallet,o as createCrossmint};
package/dist/sdk.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNTRGH35Ocjs = require('./chunk-NTRGH35O.cjs');require('./chunk-RUIBT3JV.cjs');require('./chunk-FBBHIN3M.cjs');require('./chunk-RRJH2PAJ.cjs');require('./chunk-EHPQ2A6Z.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-XYHAZU5Y.cjs');require('./chunk-FUHBLVE7.cjs');require('./chunk-6RTTEIHW.cjs');require('./chunk-GS3FTDMM.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-E2EM43SP.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-7PGV52LP.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-AHFMV7RZ.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-IUCH2YM2.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallet = _chunkNTRGH35Ocjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIHSWUTVKcjs = require('./chunk-IHSWUTVK.cjs');require('./chunk-JDYQZNI4.cjs');require('./chunk-3TTYXSH3.cjs');require('./chunk-F7GTDFYC.cjs');require('./chunk-E2EM43SP.cjs');require('./chunk-EAWW5EV3.cjs');require('./chunk-UMIVH7M5.cjs');require('./chunk-6XOH62PV.cjs');require('./chunk-GS3FTDMM.cjs');require('./chunk-FUHBLVE7.cjs');require('./chunk-RUIBT3JV.cjs');require('./chunk-HUT7DZHT.cjs');require('./chunk-C2WL57HT.cjs');require('./chunk-JQYF6RSY.cjs');require('./chunk-ZL4IE7XX.cjs');require('./chunk-6DTBGTSS.cjs');require('./chunk-AHFMV7RZ.cjs');require('./chunk-MFUN74KH.cjs');require('./chunk-F2XDGZCB.cjs');require('./chunk-DANM4IBF.cjs');require('./chunk-BZLLAOU4.cjs');require('./chunk-CK4JCQY6.cjs');exports.CrossmintWallet = _chunkIHSWUTVKcjs.b; exports.createCrossmint = _chunkIHSWUTVKcjs.a;
package/dist/sdk.d.cts CHANGED
@@ -1,25 +1,24 @@
1
1
  import { Crossmint } from '@crossmint/common-sdk-base';
2
- export { Crossmint } from '@crossmint/common-sdk-base';
2
+ export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
3
3
  import { WalletTypeToArgs, WalletTypeToWallet } from './services/types.cjs';
4
- import './solana/wallet.cjs';
5
- import './evm/wallet.cjs';
4
+ import { W as WalletOptions } from './wallet-BCTK_Ucz.cjs';
6
5
  import './evm/chains/index.cjs';
7
- import 'viem';
8
6
  import './solana/types/signers.cjs';
9
- import '@solana/web3.js';
7
+ import './solana/tokens.cjs';
10
8
  import './api/client.cjs';
9
+ import 'viem';
11
10
  import './api/gen/types.gen.cjs';
12
- import './solana/tokens.cjs';
13
- import './solana/services/transactions-service.cjs';
11
+ import 'ox';
12
+ import '@solana/web3.js';
14
13
  import './solana/services/approvals-service.cjs';
15
- import './solana/services/delegated-signers-service.cjs';
16
14
 
17
15
  type WalletType = keyof WalletTypeToArgs;
18
16
  declare class CrossmintWallet {
19
17
  private readonly walletFactory;
20
18
  private constructor();
21
19
  static from(crossmint: Crossmint): CrossmintWallet;
22
- getOrCreateWallet<T extends WalletType>(type: T, args: WalletTypeToArgs[T]): Promise<WalletTypeToWallet[T]>;
20
+ getOrCreateWallet<T extends WalletType>(type: T, args: WalletTypeToArgs[T], options?: WalletOptions): Promise<WalletTypeToWallet[T]>;
21
+ getWallet<T extends WalletType>(address: string, type: T, args: WalletTypeToArgs[T], options?: WalletOptions): Promise<WalletTypeToWallet[T]>;
23
22
  }
24
23
 
25
24
  export { CrossmintWallet };
package/dist/sdk.d.ts CHANGED
@@ -1,25 +1,24 @@
1
1
  import { Crossmint } from '@crossmint/common-sdk-base';
2
- export { Crossmint } from '@crossmint/common-sdk-base';
2
+ export { Crossmint, createCrossmint } from '@crossmint/common-sdk-base';
3
3
  import { WalletTypeToArgs, WalletTypeToWallet } from './services/types.js';
4
- import './solana/wallet.js';
5
- import './evm/wallet.js';
4
+ import { W as WalletOptions } from './wallet-DOZp5Hnh.js';
6
5
  import './evm/chains/index.js';
7
- import 'viem';
8
6
  import './solana/types/signers.js';
9
- import '@solana/web3.js';
7
+ import './solana/tokens.js';
10
8
  import './api/client.js';
9
+ import 'viem';
11
10
  import './api/gen/types.gen.js';
12
- import './solana/tokens.js';
13
- import './solana/services/transactions-service.js';
11
+ import 'ox';
12
+ import '@solana/web3.js';
14
13
  import './solana/services/approvals-service.js';
15
- import './solana/services/delegated-signers-service.js';
16
14
 
17
15
  type WalletType = keyof WalletTypeToArgs;
18
16
  declare class CrossmintWallet {
19
17
  private readonly walletFactory;
20
18
  private constructor();
21
19
  static from(crossmint: Crossmint): CrossmintWallet;
22
- getOrCreateWallet<T extends WalletType>(type: T, args: WalletTypeToArgs[T]): Promise<WalletTypeToWallet[T]>;
20
+ getOrCreateWallet<T extends WalletType>(type: T, args: WalletTypeToArgs[T], options?: WalletOptions): Promise<WalletTypeToWallet[T]>;
21
+ getWallet<T extends WalletType>(address: string, type: T, args: WalletTypeToArgs[T], options?: WalletOptions): Promise<WalletTypeToWallet[T]>;
23
22
  }
24
23
 
25
24
  export { CrossmintWallet };
package/dist/sdk.js CHANGED
@@ -1 +1 @@
1
- import{a}from"./chunk-PBNETIRB.js";import"./chunk-A7F5DWC7.js";import"./chunk-64NR5QRR.js";import"./chunk-AADORF6G.js";import"./chunk-QL7OSVKM.js";import"./chunk-SDH5CVH7.js";import"./chunk-6ZSPKEHA.js";import"./chunk-TYK4I7OU.js";import"./chunk-JGR6BPVQ.js";import"./chunk-ICVV5CBS.js";import"./chunk-6W35AARC.js";import"./chunk-K7ZLWZPC.js";import"./chunk-CGHMCYX6.js";import"./chunk-NZYUMZHK.js";import"./chunk-HKY6CBZC.js";import"./chunk-7Y2E7VNV.js";import"./chunk-KVFFSUF4.js";import"./chunk-SILEK5O4.js";import"./chunk-LX6WD7J6.js";import"./chunk-ASZ42HGR.js";import"./chunk-22GIA4MK.js";export{a as CrossmintWallet};
1
+ import{a,b}from"./chunk-J7HMLX5E.js";import"./chunk-VUVRSFOD.js";import"./chunk-ITCP6W2T.js";import"./chunk-SDH5CVH7.js";import"./chunk-K7ZLWZPC.js";import"./chunk-56QYBMZK.js";import"./chunk-X7I6RPET.js";import"./chunk-6W35AARC.js";import"./chunk-ICVV5CBS.js";import"./chunk-TYK4I7OU.js";import"./chunk-A7F5DWC7.js";import"./chunk-QDDUE2ZA.js";import"./chunk-CGHMCYX6.js";import"./chunk-WFAEBPGM.js";import"./chunk-EZPTJLMB.js";import"./chunk-HKY6CBZC.js";import"./chunk-7Y2E7VNV.js";import"./chunk-KVFFSUF4.js";import"./chunk-SILEK5O4.js";import"./chunk-LX6WD7J6.js";import"./chunk-KFPFLFUK.js";import"./chunk-22GIA4MK.js";export{b as CrossmintWallet,a as createCrossmint};
@@ -1,17 +1,18 @@
1
- import { EVMSmartWallet, EVMMPCWallet, EVMSignerInput } from '../evm/wallet.cjs';
2
- import { SolanaSmartWallet, SolanaMPCWallet } from '../solana/wallet.cjs';
1
+ import { b as EVMSmartWallet, c as EVMMPCWallet, S as SolanaSmartWallet, d as SolanaMPCWallet, E as EVMSignerInput } from '../wallet-BCTK_Ucz.cjs';
3
2
  import { EVMSmartWalletChain } from '../evm/chains/index.cjs';
4
3
  import { SolanaSignerInput } from '../solana/types/signers.cjs';
4
+ import '../solana/tokens.cjs';
5
5
  import '../api/client.cjs';
6
6
  import '@crossmint/common-sdk-base';
7
7
  import 'viem';
8
8
  import '../api/gen/types.gen.cjs';
9
+ import 'ox';
9
10
  import '@solana/web3.js';
10
- import '../solana/tokens.cjs';
11
- import '../solana/services/transactions-service.cjs';
12
11
  import '../solana/services/approvals-service.cjs';
13
- import '../solana/services/delegated-signers-service.cjs';
14
12
 
13
+ type EvmWalletType = "evm-smart-wallet" | "evm-mpc-wallet";
14
+ type SolanaWalletType = "solana-smart-wallet" | "solana-mpc-wallet";
15
+ type WalletType = EvmWalletType | SolanaWalletType;
15
16
  type WalletTypeToWallet = {
16
17
  "evm-smart-wallet": EVMSmartWallet;
17
18
  "evm-mpc-wallet": EVMMPCWallet;
@@ -37,4 +38,4 @@ type WalletTypeToArgs = {
37
38
  };
38
39
  };
39
40
 
40
- export type { WalletTypeToArgs, WalletTypeToWallet };
41
+ export type { EvmWalletType, SolanaWalletType, WalletType, WalletTypeToArgs, WalletTypeToWallet };
@@ -1,17 +1,18 @@
1
- import { EVMSmartWallet, EVMMPCWallet, EVMSignerInput } from '../evm/wallet.js';
2
- import { SolanaSmartWallet, SolanaMPCWallet } from '../solana/wallet.js';
1
+ import { b as EVMSmartWallet, c as EVMMPCWallet, S as SolanaSmartWallet, d as SolanaMPCWallet, E as EVMSignerInput } from '../wallet-DOZp5Hnh.js';
3
2
  import { EVMSmartWalletChain } from '../evm/chains/index.js';
4
3
  import { SolanaSignerInput } from '../solana/types/signers.js';
4
+ import '../solana/tokens.js';
5
5
  import '../api/client.js';
6
6
  import '@crossmint/common-sdk-base';
7
7
  import 'viem';
8
8
  import '../api/gen/types.gen.js';
9
+ import 'ox';
9
10
  import '@solana/web3.js';
10
- import '../solana/tokens.js';
11
- import '../solana/services/transactions-service.js';
12
11
  import '../solana/services/approvals-service.js';
13
- import '../solana/services/delegated-signers-service.js';
14
12
 
13
+ type EvmWalletType = "evm-smart-wallet" | "evm-mpc-wallet";
14
+ type SolanaWalletType = "solana-smart-wallet" | "solana-mpc-wallet";
15
+ type WalletType = EvmWalletType | SolanaWalletType;
15
16
  type WalletTypeToWallet = {
16
17
  "evm-smart-wallet": EVMSmartWallet;
17
18
  "evm-mpc-wallet": EVMMPCWallet;
@@ -37,4 +38,4 @@ type WalletTypeToArgs = {
37
38
  };
38
39
  };
39
40
 
40
- export type { WalletTypeToArgs, WalletTypeToWallet };
41
+ export type { EvmWalletType, SolanaWalletType, WalletType, WalletTypeToArgs, WalletTypeToWallet };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRRJH2PAJcjs = require('../chunk-RRJH2PAJ.cjs');require('../chunk-EHPQ2A6Z.cjs');require('../chunk-F7GTDFYC.cjs');require('../chunk-XYHAZU5Y.cjs');require('../chunk-FUHBLVE7.cjs');require('../chunk-6RTTEIHW.cjs');require('../chunk-GS3FTDMM.cjs');require('../chunk-6XOH62PV.cjs');require('../chunk-E2EM43SP.cjs');require('../chunk-C2WL57HT.cjs');require('../chunk-7PGV52LP.cjs');require('../chunk-6DTBGTSS.cjs');require('../chunk-AHFMV7RZ.cjs');require('../chunk-MFUN74KH.cjs');require('../chunk-F2XDGZCB.cjs');require('../chunk-DANM4IBF.cjs');require('../chunk-IUCH2YM2.cjs');require('../chunk-CK4JCQY6.cjs');exports.WalletFactory = _chunkRRJH2PAJcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJDYQZNI4cjs = require('../chunk-JDYQZNI4.cjs');require('../chunk-3TTYXSH3.cjs');require('../chunk-F7GTDFYC.cjs');require('../chunk-E2EM43SP.cjs');require('../chunk-EAWW5EV3.cjs');require('../chunk-UMIVH7M5.cjs');require('../chunk-6XOH62PV.cjs');require('../chunk-GS3FTDMM.cjs');require('../chunk-FUHBLVE7.cjs');require('../chunk-C2WL57HT.cjs');require('../chunk-JQYF6RSY.cjs');require('../chunk-ZL4IE7XX.cjs');require('../chunk-6DTBGTSS.cjs');require('../chunk-AHFMV7RZ.cjs');require('../chunk-MFUN74KH.cjs');require('../chunk-F2XDGZCB.cjs');require('../chunk-DANM4IBF.cjs');require('../chunk-BZLLAOU4.cjs');require('../chunk-CK4JCQY6.cjs');exports.WalletFactory = _chunkJDYQZNI4cjs.a;
@@ -1,22 +1,25 @@
1
1
  import { WalletTypeToArgs, WalletTypeToWallet } from './types.cjs';
2
2
  import { ApiClient } from '../api/client.cjs';
3
- import '../evm/wallet.cjs';
4
- import '../api/gen/types.gen.cjs';
5
- import 'viem';
3
+ import { W as WalletOptions } from '../wallet-BCTK_Ucz.cjs';
6
4
  import '../evm/chains/index.cjs';
7
- import '../solana/wallet.cjs';
5
+ import 'viem';
6
+ import '../solana/types/signers.cjs';
8
7
  import '@solana/web3.js';
8
+ import '@crossmint/common-sdk-base';
9
+ import '../api/gen/types.gen.cjs';
9
10
  import '../solana/tokens.cjs';
10
- import '../solana/types/signers.cjs';
11
- import '../solana/services/transactions-service.cjs';
11
+ import 'ox';
12
12
  import '../solana/services/approvals-service.cjs';
13
- import '../solana/services/delegated-signers-service.cjs';
14
- import '@crossmint/common-sdk-base';
15
13
 
16
14
  declare class WalletFactory {
17
15
  private readonly apiClient;
18
16
  constructor(apiClient: ApiClient);
19
- getOrCreateWallet<WalletType extends keyof WalletTypeToArgs>(type: WalletType, args: WalletTypeToArgs[WalletType]): Promise<WalletTypeToWallet[WalletType]>;
17
+ getOrCreateWallet<WalletType extends keyof WalletTypeToArgs>(type: WalletType, args: WalletTypeToArgs[WalletType], options?: WalletOptions): Promise<WalletTypeToWallet[WalletType]>;
18
+ getWallet<WalletType extends keyof WalletTypeToArgs>(address: string, type: WalletType, args: WalletTypeToArgs[WalletType], options?: WalletOptions): Promise<WalletTypeToWallet[WalletType]>;
19
+ private createWallet;
20
+ private createWalletInstance;
21
+ private createEvmWalletInstance;
22
+ private createSolanaWalletInstance;
20
23
  private assertCorrectWalletType;
21
24
  }
22
25
 
@@ -1,22 +1,25 @@
1
1
  import { WalletTypeToArgs, WalletTypeToWallet } from './types.js';
2
2
  import { ApiClient } from '../api/client.js';
3
- import '../evm/wallet.js';
4
- import '../api/gen/types.gen.js';
5
- import 'viem';
3
+ import { W as WalletOptions } from '../wallet-DOZp5Hnh.js';
6
4
  import '../evm/chains/index.js';
7
- import '../solana/wallet.js';
5
+ import 'viem';
6
+ import '../solana/types/signers.js';
8
7
  import '@solana/web3.js';
8
+ import '@crossmint/common-sdk-base';
9
+ import '../api/gen/types.gen.js';
9
10
  import '../solana/tokens.js';
10
- import '../solana/types/signers.js';
11
- import '../solana/services/transactions-service.js';
11
+ import 'ox';
12
12
  import '../solana/services/approvals-service.js';
13
- import '../solana/services/delegated-signers-service.js';
14
- import '@crossmint/common-sdk-base';
15
13
 
16
14
  declare class WalletFactory {
17
15
  private readonly apiClient;
18
16
  constructor(apiClient: ApiClient);
19
- getOrCreateWallet<WalletType extends keyof WalletTypeToArgs>(type: WalletType, args: WalletTypeToArgs[WalletType]): Promise<WalletTypeToWallet[WalletType]>;
17
+ getOrCreateWallet<WalletType extends keyof WalletTypeToArgs>(type: WalletType, args: WalletTypeToArgs[WalletType], options?: WalletOptions): Promise<WalletTypeToWallet[WalletType]>;
18
+ getWallet<WalletType extends keyof WalletTypeToArgs>(address: string, type: WalletType, args: WalletTypeToArgs[WalletType], options?: WalletOptions): Promise<WalletTypeToWallet[WalletType]>;
19
+ private createWallet;
20
+ private createWalletInstance;
21
+ private createEvmWalletInstance;
22
+ private createSolanaWalletInstance;
20
23
  private assertCorrectWalletType;
21
24
  }
22
25
 
@@ -1 +1 @@
1
- import{a}from"../chunk-AADORF6G.js";import"../chunk-QL7OSVKM.js";import"../chunk-SDH5CVH7.js";import"../chunk-6ZSPKEHA.js";import"../chunk-TYK4I7OU.js";import"../chunk-JGR6BPVQ.js";import"../chunk-ICVV5CBS.js";import"../chunk-6W35AARC.js";import"../chunk-K7ZLWZPC.js";import"../chunk-CGHMCYX6.js";import"../chunk-NZYUMZHK.js";import"../chunk-HKY6CBZC.js";import"../chunk-7Y2E7VNV.js";import"../chunk-KVFFSUF4.js";import"../chunk-SILEK5O4.js";import"../chunk-LX6WD7J6.js";import"../chunk-ASZ42HGR.js";import"../chunk-22GIA4MK.js";export{a as WalletFactory};
1
+ import{a}from"../chunk-VUVRSFOD.js";import"../chunk-ITCP6W2T.js";import"../chunk-SDH5CVH7.js";import"../chunk-K7ZLWZPC.js";import"../chunk-56QYBMZK.js";import"../chunk-X7I6RPET.js";import"../chunk-6W35AARC.js";import"../chunk-ICVV5CBS.js";import"../chunk-TYK4I7OU.js";import"../chunk-CGHMCYX6.js";import"../chunk-WFAEBPGM.js";import"../chunk-EZPTJLMB.js";import"../chunk-HKY6CBZC.js";import"../chunk-7Y2E7VNV.js";import"../chunk-KVFFSUF4.js";import"../chunk-SILEK5O4.js";import"../chunk-LX6WD7J6.js";import"../chunk-KFPFLFUK.js";import"../chunk-22GIA4MK.js";export{a as WalletFactory};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-EHPQ2A6Z.cjs');require('../chunk-F7GTDFYC.cjs');var _chunkXYHAZU5Ycjs = require('../chunk-XYHAZU5Y.cjs');require('../chunk-FUHBLVE7.cjs');require('../chunk-6RTTEIHW.cjs');require('../chunk-GS3FTDMM.cjs');require('../chunk-6XOH62PV.cjs');require('../chunk-E2EM43SP.cjs');require('../chunk-DANM4IBF.cjs');require('../chunk-IUCH2YM2.cjs');require('../chunk-CK4JCQY6.cjs');exports.SolanaMPCWallet = _chunkXYHAZU5Ycjs.b; exports.SolanaSmartWallet = _chunkXYHAZU5Ycjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-3TTYXSH3.cjs');require('../chunk-F7GTDFYC.cjs');var _chunkEAWW5EV3cjs = require('../chunk-EAWW5EV3.cjs');require('../chunk-UMIVH7M5.cjs');var _chunk6XOH62PVcjs = require('../chunk-6XOH62PV.cjs');require('../chunk-GS3FTDMM.cjs');require('../chunk-FUHBLVE7.cjs');require('../chunk-DANM4IBF.cjs');require('../chunk-BZLLAOU4.cjs');require('../chunk-CK4JCQY6.cjs');exports.SolanaMPCWallet = _chunkEAWW5EV3cjs.b; exports.SolanaSmartWallet = _chunkEAWW5EV3cjs.a; exports.isCustodialSigner = _chunk6XOH62PVcjs.b; exports.isNonCustodialSigner = _chunk6XOH62PVcjs.c; exports.parseSolanaNonCustodialSignerInput = _chunk6XOH62PVcjs.a; exports.parseSolanaSignerInput = _chunk6XOH62PVcjs.d;
@@ -1,11 +1,11 @@
1
- export { SolanaMPCWallet, SolanaSmartWallet } from './wallet.cjs';
1
+ export { d as SolanaMPCWallet, S as SolanaSmartWallet, h as Transaction } from '../wallet-BCTK_Ucz.cjs';
2
2
  export { SolanaSupportedToken } from './tokens.cjs';
3
- import '../api/gen/types.gen.cjs';
4
- import '@solana/web3.js';
3
+ export { SolanaAddress, SolanaCustodialSigner, SolanaCustodialSignerInput, SolanaExternalSignerInput, SolanaKeypairSignerInput, SolanaNonCustodialSigner, SolanaNonCustodialSignerInput, SolanaSigner, SolanaSignerInput, isCustodialSigner, isNonCustodialSigner, parseSolanaNonCustodialSignerInput, parseSolanaSignerInput } from './types/signers.cjs';
4
+ import '../evm/chains/index.cjs';
5
+ import 'viem';
5
6
  import '../api/client.cjs';
6
7
  import '@crossmint/common-sdk-base';
7
- import 'viem';
8
- import './types/signers.cjs';
9
- import './services/transactions-service.cjs';
8
+ import '../api/gen/types.gen.cjs';
9
+ import 'ox';
10
+ import '@solana/web3.js';
10
11
  import './services/approvals-service.cjs';
11
- import './services/delegated-signers-service.cjs';
@@ -1,11 +1,11 @@
1
- export { SolanaMPCWallet, SolanaSmartWallet } from './wallet.js';
1
+ export { d as SolanaMPCWallet, S as SolanaSmartWallet, h as Transaction } from '../wallet-DOZp5Hnh.js';
2
2
  export { SolanaSupportedToken } from './tokens.js';
3
- import '../api/gen/types.gen.js';
4
- import '@solana/web3.js';
3
+ export { SolanaAddress, SolanaCustodialSigner, SolanaCustodialSignerInput, SolanaExternalSignerInput, SolanaKeypairSignerInput, SolanaNonCustodialSigner, SolanaNonCustodialSignerInput, SolanaSigner, SolanaSignerInput, isCustodialSigner, isNonCustodialSigner, parseSolanaNonCustodialSignerInput, parseSolanaSignerInput } from './types/signers.js';
4
+ import '../evm/chains/index.js';
5
+ import 'viem';
5
6
  import '../api/client.js';
6
7
  import '@crossmint/common-sdk-base';
7
- import 'viem';
8
- import './types/signers.js';
9
- import './services/transactions-service.js';
8
+ import '../api/gen/types.gen.js';
9
+ import 'ox';
10
+ import '@solana/web3.js';
10
11
  import './services/approvals-service.js';
11
- import './services/delegated-signers-service.js';
@@ -1 +1 @@
1
- import"../chunk-QL7OSVKM.js";import"../chunk-SDH5CVH7.js";import{a,b}from"../chunk-6ZSPKEHA.js";import"../chunk-TYK4I7OU.js";import"../chunk-JGR6BPVQ.js";import"../chunk-ICVV5CBS.js";import"../chunk-6W35AARC.js";import"../chunk-K7ZLWZPC.js";import"../chunk-LX6WD7J6.js";import"../chunk-ASZ42HGR.js";import"../chunk-22GIA4MK.js";export{b as SolanaMPCWallet,a as SolanaSmartWallet};
1
+ import"../chunk-ITCP6W2T.js";import"../chunk-SDH5CVH7.js";import{a as e,b as f}from"../chunk-56QYBMZK.js";import"../chunk-X7I6RPET.js";import{a,b,c,d}from"../chunk-6W35AARC.js";import"../chunk-ICVV5CBS.js";import"../chunk-TYK4I7OU.js";import"../chunk-LX6WD7J6.js";import"../chunk-KFPFLFUK.js";import"../chunk-22GIA4MK.js";export{f as SolanaMPCWallet,e as SolanaSmartWallet,b as isCustodialSigner,c as isNonCustodialSigner,a as parseSolanaNonCustodialSignerInput,d as parseSolanaSignerInput};
@@ -1,20 +1,11 @@
1
- import { DelegatedSignerDto } from '../../api/gen/types.gen.cjs';
2
- import { SolanaWalletLocator, ApiClient } from '../../api/client.cjs';
3
- import { SolanaTransactionsService } from './transactions-service.cjs';
4
- import { SolanaNonCustodialSigner } from '../types/signers.cjs';
1
+ import '../../api/gen/types.gen.cjs';
2
+ import '../../api/client.cjs';
3
+ export { g as SolanaDelegatedSignerService } from '../../wallet-BCTK_Ucz.cjs';
4
+ import '../types/signers.cjs';
5
5
  import '@crossmint/common-sdk-base';
6
6
  import 'viem';
7
+ import '../../evm/chains/index.cjs';
8
+ import '../tokens.cjs';
9
+ import 'ox';
7
10
  import '@solana/web3.js';
8
11
  import './approvals-service.cjs';
9
-
10
- declare class SolanaDelegatedSignerService {
11
- private readonly walletLocator;
12
- private readonly transactionsService;
13
- private readonly apiClient;
14
- constructor(walletLocator: SolanaWalletLocator, transactionsService: SolanaTransactionsService, apiClient: ApiClient);
15
- registerDelegatedSigner(signer: string, adminSigner?: SolanaNonCustodialSigner): Promise<DelegatedSignerDto>;
16
- getDelegatedSigner(signer: string): Promise<DelegatedSignerDto>;
17
- removeDelegatedSigner(_address: string): Promise<void>;
18
- }
19
-
20
- export { SolanaDelegatedSignerService };
@@ -1,20 +1,11 @@
1
- import { DelegatedSignerDto } from '../../api/gen/types.gen.js';
2
- import { SolanaWalletLocator, ApiClient } from '../../api/client.js';
3
- import { SolanaTransactionsService } from './transactions-service.js';
4
- import { SolanaNonCustodialSigner } from '../types/signers.js';
1
+ import '../../api/gen/types.gen.js';
2
+ import '../../api/client.js';
3
+ export { g as SolanaDelegatedSignerService } from '../../wallet-DOZp5Hnh.js';
4
+ import '../types/signers.js';
5
5
  import '@crossmint/common-sdk-base';
6
6
  import 'viem';
7
+ import '../../evm/chains/index.js';
8
+ import '../tokens.js';
9
+ import 'ox';
7
10
  import '@solana/web3.js';
8
11
  import './approvals-service.js';
9
-
10
- declare class SolanaDelegatedSignerService {
11
- private readonly walletLocator;
12
- private readonly transactionsService;
13
- private readonly apiClient;
14
- constructor(walletLocator: SolanaWalletLocator, transactionsService: SolanaTransactionsService, apiClient: ApiClient);
15
- registerDelegatedSigner(signer: string, adminSigner?: SolanaNonCustodialSigner): Promise<DelegatedSignerDto>;
16
- getDelegatedSigner(signer: string): Promise<DelegatedSignerDto>;
17
- removeDelegatedSigner(_address: string): Promise<void>;
18
- }
19
-
20
- export { SolanaDelegatedSignerService };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk6RTTEIHWcjs = require('../../chunk-6RTTEIHW.cjs');require('../../chunk-GS3FTDMM.cjs');require('../../chunk-DANM4IBF.cjs');require('../../chunk-IUCH2YM2.cjs');require('../../chunk-CK4JCQY6.cjs');exports.SolanaTransactionsService = _chunk6RTTEIHWcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkUMIVH7M5cjs = require('../../chunk-UMIVH7M5.cjs');require('../../chunk-GS3FTDMM.cjs');require('../../chunk-DANM4IBF.cjs');require('../../chunk-BZLLAOU4.cjs');require('../../chunk-CK4JCQY6.cjs');exports.SolanaTransactionsService = _chunkUMIVH7M5cjs.a;