@crossmint/client-sdk-smart-wallet 0.1.19 → 0.1.21
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.
- package/dist/SmartWalletSDK.cjs +1 -0
- package/dist/SmartWalletSDK.d.cts +47 -0
- package/dist/SmartWalletSDK.d.ts +47 -0
- package/dist/SmartWalletSDK.js +1 -0
- package/dist/api/CrossmintWalletService.cjs +1 -0
- package/dist/api/CrossmintWalletService.d.cts +31 -0
- package/dist/api/CrossmintWalletService.d.ts +31 -0
- package/dist/api/CrossmintWalletService.js +1 -0
- package/dist/blockchain/chains.cjs +1 -0
- package/dist/blockchain/chains.d.cts +36 -0
- package/dist/blockchain/chains.d.ts +36 -0
- package/dist/blockchain/chains.js +1 -0
- package/dist/blockchain/rpc.cjs +1 -0
- package/dist/blockchain/rpc.d.cts +9 -0
- package/dist/blockchain/rpc.d.ts +9 -0
- package/dist/blockchain/rpc.js +1 -0
- package/dist/blockchain/transfer.cjs +1 -0
- package/dist/blockchain/transfer.d.cts +23 -0
- package/dist/blockchain/transfer.d.ts +23 -0
- package/dist/blockchain/transfer.js +1 -0
- package/dist/blockchain/wallets/EVMSmartWallet.cjs +1 -0
- package/dist/blockchain/wallets/EVMSmartWallet.d.cts +102 -0
- package/dist/blockchain/wallets/EVMSmartWallet.d.ts +102 -0
- package/dist/blockchain/wallets/EVMSmartWallet.js +1 -0
- package/dist/blockchain/wallets/SendTransactionService.cjs +1 -0
- package/dist/blockchain/wallets/SendTransactionService.d.cts +84 -0
- package/dist/blockchain/wallets/SendTransactionService.d.ts +84 -0
- package/dist/blockchain/wallets/SendTransactionService.js +1 -0
- package/dist/blockchain/wallets/account/cache.cjs +1 -0
- package/dist/blockchain/wallets/account/cache.d.cts +25 -0
- package/dist/blockchain/wallets/account/cache.d.ts +25 -0
- package/dist/blockchain/wallets/account/cache.js +1 -0
- package/dist/blockchain/wallets/account/config.cjs +1 -0
- package/dist/blockchain/wallets/account/config.d.cts +47 -0
- package/dist/blockchain/wallets/account/config.d.ts +47 -0
- package/dist/blockchain/wallets/account/config.js +1 -0
- package/dist/blockchain/wallets/account/creator.cjs +1 -0
- package/dist/blockchain/wallets/account/creator.d.cts +26 -0
- package/dist/blockchain/wallets/account/creator.d.ts +26 -0
- package/dist/blockchain/wallets/account/creator.js +1 -0
- package/dist/blockchain/wallets/account/eoa.cjs +1 -0
- package/dist/blockchain/wallets/account/eoa.d.cts +21 -0
- package/dist/blockchain/wallets/account/eoa.d.ts +21 -0
- package/dist/blockchain/wallets/account/eoa.js +1 -0
- package/dist/blockchain/wallets/account/passkey.cjs +1 -0
- package/dist/blockchain/wallets/account/passkey.d.cts +29 -0
- package/dist/blockchain/wallets/account/passkey.d.ts +29 -0
- package/dist/blockchain/wallets/account/passkey.js +1 -0
- package/dist/blockchain/wallets/account/signer.cjs +1 -0
- package/dist/blockchain/wallets/account/signer.d.cts +14 -0
- package/dist/blockchain/wallets/account/signer.d.ts +14 -0
- package/dist/blockchain/wallets/account/signer.js +1 -0
- package/dist/blockchain/wallets/account/strategy.cjs +1 -0
- package/dist/blockchain/wallets/account/strategy.d.cts +20 -0
- package/dist/blockchain/wallets/account/strategy.d.ts +20 -0
- package/dist/blockchain/wallets/account/strategy.js +0 -0
- package/dist/blockchain/wallets/clientDecorator.cjs +1 -0
- package/dist/blockchain/wallets/clientDecorator.d.cts +38 -0
- package/dist/blockchain/wallets/clientDecorator.d.ts +38 -0
- package/dist/blockchain/wallets/clientDecorator.js +1 -0
- package/dist/blockchain/wallets/index.cjs +1 -0
- package/dist/blockchain/wallets/index.d.cts +20 -0
- package/dist/blockchain/wallets/index.d.ts +20 -0
- package/dist/blockchain/wallets/index.js +1 -0
- package/dist/blockchain/wallets/paymaster.cjs +1 -0
- package/dist/blockchain/wallets/paymaster.d.cts +29 -0
- package/dist/blockchain/wallets/paymaster.d.ts +29 -0
- package/dist/blockchain/wallets/paymaster.js +1 -0
- package/dist/blockchain/wallets/service.cjs +1 -0
- package/dist/blockchain/wallets/service.d.cts +41 -0
- package/dist/blockchain/wallets/service.d.ts +41 -0
- package/dist/blockchain/wallets/service.js +1 -0
- package/dist/chunk-27US7ZBX.js +1 -0
- package/dist/chunk-2GS5TXEY.cjs +1 -0
- package/dist/chunk-2R6HK64N.cjs +1 -0
- package/dist/chunk-3F6P4HUZ.js +1 -0
- package/dist/chunk-4SPA557P.js +0 -0
- package/dist/chunk-5M3MSPHK.cjs +1 -0
- package/dist/chunk-6DE5YEO5.cjs +1 -0
- package/dist/chunk-7AVDZZGD.cjs +1 -0
- package/dist/chunk-7FXFOOQU.cjs +1 -0
- package/dist/chunk-7JAT6GQU.js +1 -0
- package/dist/chunk-ATQ4WGCW.js +1 -0
- package/dist/chunk-B3LJJZXD.cjs +2 -0
- package/dist/chunk-BJZQA5VC.js +1 -0
- package/dist/chunk-BXXREMNR.cjs +1 -0
- package/dist/chunk-C3VZY7VJ.js +1 -0
- package/dist/chunk-CPYNP4XI.js +1 -0
- package/dist/chunk-CUTQYF3F.js +1 -0
- package/dist/chunk-D4NDUT36.js +1 -0
- package/dist/chunk-DIDKPOO2.cjs +1 -0
- package/dist/chunk-ETVJGLNY.js +1 -0
- package/dist/chunk-FHNNZVNU.js +1 -0
- package/dist/chunk-FIJ3CBJ4.js +3 -0
- package/dist/chunk-G57LROTD.js +1 -0
- package/dist/chunk-GB35YMN4.cjs +1 -0
- package/dist/chunk-H4CMXNVK.js +1 -0
- package/dist/chunk-IQTGPM2U.cjs +1 -0
- package/dist/chunk-KYPTGHC6.cjs +1 -0
- package/dist/chunk-LMVY4C4Y.js +1 -0
- package/dist/chunk-M4K3IZTT.cjs +1 -0
- package/dist/chunk-NLGILHJS.js +1 -0
- package/dist/chunk-O2ACORII.cjs +1 -0
- package/dist/chunk-OCJYX5QF.cjs +1 -0
- package/dist/chunk-ODAUWGUU.cjs +1 -0
- package/dist/chunk-PBUJXVQT.js +1 -0
- package/dist/chunk-PLRQBDYS.cjs +1 -0
- package/dist/chunk-PPTSNCSQ.cjs +1 -0
- package/dist/chunk-PZ6Q22YJ.js +1 -0
- package/dist/chunk-Q44P7MO7.cjs +1 -0
- package/dist/chunk-QVB3HE6Q.js +2 -0
- package/dist/chunk-S2XBSAGM.js +1 -0
- package/dist/chunk-SCXFZMLR.cjs +1 -0
- package/dist/chunk-STH2LE35.cjs +1 -0
- package/dist/chunk-SWWOVT47.cjs +1 -0
- package/dist/chunk-TZG6MROQ.js +1 -0
- package/dist/chunk-UG47CBKR.js +1 -0
- package/dist/chunk-UPURFW46.js +1 -0
- package/dist/chunk-WDM7PN4O.js +1 -0
- package/dist/chunk-WJ6XJMRD.cjs +1 -0
- package/dist/chunk-WTPE2I2Q.cjs +1 -0
- package/dist/chunk-XHSA4YTO.cjs +3 -0
- package/dist/chunk-XJGFG3RT.cjs +1 -0
- package/dist/chunk-XP6ESWVJ.js +1 -0
- package/dist/chunk-XQ2K2K23.cjs +1 -0
- package/dist/chunk-YBHSEZMB.js +1 -0
- package/dist/chunk-YZQJV2KA.cjs +1 -0
- package/dist/chunk-Z22H3MJS.js +1 -0
- package/dist/error/index.cjs +1 -0
- package/dist/error/index.d.cts +58 -0
- package/dist/error/index.d.ts +58 -0
- package/dist/error/index.js +1 -0
- package/dist/error/processor.cjs +1 -0
- package/dist/error/processor.d.cts +25 -0
- package/dist/error/processor.d.ts +25 -0
- package/dist/error/processor.js +1 -0
- package/dist/index.cjs +1 -5
- package/dist/index.d.cts +20 -559
- package/dist/index.d.ts +20 -559
- package/dist/index.js +1 -5
- package/dist/service-DqYCir8s.d.ts +103 -0
- package/dist/service-Ir-Qho-9.d.cts +103 -0
- package/dist/services/index.cjs +1 -0
- package/dist/services/index.d.cts +2 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.js +1 -0
- package/dist/services/logger.cjs +1 -0
- package/dist/services/logger.d.cts +6 -0
- package/dist/services/logger.d.ts +6 -0
- package/dist/services/logger.js +1 -0
- package/dist/types/internal.cjs +1 -0
- package/dist/types/internal.d.cts +14 -0
- package/dist/types/internal.d.ts +14 -0
- package/dist/types/internal.js +1 -0
- package/dist/types/params.cjs +1 -0
- package/dist/types/params.d.cts +33 -0
- package/dist/types/params.d.ts +33 -0
- package/dist/types/params.js +0 -0
- package/dist/types/schema.cjs +1 -0
- package/dist/types/schema.d.cts +241 -0
- package/dist/types/schema.d.ts +241 -0
- package/dist/types/schema.js +1 -0
- package/dist/types/service.cjs +1 -0
- package/dist/types/service.d.cts +14 -0
- package/dist/types/service.d.ts +14 -0
- package/dist/types/service.js +0 -0
- package/dist/types/token.cjs +1 -0
- package/dist/types/token.d.cts +35 -0
- package/dist/types/token.d.ts +35 -0
- package/dist/types/token.js +0 -0
- package/dist/utils/api.cjs +1 -0
- package/dist/utils/api.d.cts +4 -0
- package/dist/utils/api.d.ts +4 -0
- package/dist/utils/api.js +1 -0
- package/dist/utils/blockchain.cjs +1 -0
- package/dist/utils/blockchain.d.cts +7 -0
- package/dist/utils/blockchain.d.ts +7 -0
- package/dist/utils/blockchain.js +1 -0
- package/dist/utils/constants.cjs +1 -0
- package/dist/utils/constants.d.cts +9 -0
- package/dist/utils/constants.d.ts +9 -0
- package/dist/utils/constants.js +1 -0
- package/dist/utils/environment.cjs +1 -0
- package/dist/utils/environment.d.cts +3 -0
- package/dist/utils/environment.d.ts +3 -0
- package/dist/utils/environment.js +1 -0
- package/dist/utils/helpers.cjs +1 -0
- package/dist/utils/helpers.d.cts +4 -0
- package/dist/utils/helpers.d.ts +4 -0
- package/dist/utils/helpers.js +1 -0
- package/dist/utils/signer.cjs +1 -0
- package/dist/utils/signer.d.cts +15 -0
- package/dist/utils/signer.d.ts +15 -0
- package/dist/utils/signer.js +1 -0
- package/dist/utils/test.cjs +1 -0
- package/dist/utils/test.d.cts +18 -0
- package/dist/utils/test.d.ts +18 -0
- package/dist/utils/test.js +1 -0
- package/package.json +4 -5
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as viem from 'viem';
|
|
2
|
+
import { Address, Abi, BaseError, ContractFunctionRevertedError, PublicClient, Transport, Chain, Hex } from 'viem';
|
|
3
|
+
import { SmartAccountClient } from 'permissionless';
|
|
4
|
+
import { EntryPoint } from 'permissionless/_types/types';
|
|
5
|
+
import { SmartAccount } from 'permissionless/accounts';
|
|
6
|
+
import { CrossmintSDKError } from '@crossmint/client-sdk-base';
|
|
7
|
+
|
|
8
|
+
type TransactionServiceTransactionRequest = {
|
|
9
|
+
address: Address;
|
|
10
|
+
abi: Abi;
|
|
11
|
+
functionName: string;
|
|
12
|
+
args: any;
|
|
13
|
+
value?: bigint;
|
|
14
|
+
};
|
|
15
|
+
type SendTransactionFailureStage = "simulation" | "send" | "confirmation" | "execution";
|
|
16
|
+
/**
|
|
17
|
+
* Error thrown when a transaction fails to send.
|
|
18
|
+
* @param viemError The error thrown by the viem client. See https://viem.sh/docs/glossary/errors.html
|
|
19
|
+
*/
|
|
20
|
+
declare class EVMSendTransactionError extends CrossmintSDKError {
|
|
21
|
+
readonly viemError: BaseError;
|
|
22
|
+
readonly stage: SendTransactionFailureStage;
|
|
23
|
+
constructor(message: string, viemError: BaseError, stage: SendTransactionFailureStage, code?: string);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Error thrown when a transaction fails due to a contract execution error.
|
|
27
|
+
* @param viemError The error thrown by the viem client. See https://viem.sh/docs/glossary/errors.html
|
|
28
|
+
* @param data The name and arguments of the revert error from the provided ABI
|
|
29
|
+
* @param reason The revert error if it is a string and not an ABI error
|
|
30
|
+
* @example
|
|
31
|
+
* try {
|
|
32
|
+
* await wallet.executeContract({
|
|
33
|
+
* address: contractAddress,
|
|
34
|
+
* abi,
|
|
35
|
+
* functionName: "mintNFT",
|
|
36
|
+
* args: [recipientAddress],
|
|
37
|
+
* });
|
|
38
|
+
* } catch (e) {
|
|
39
|
+
* if (e instanceof SendTransactionExecutionRevertedError) {
|
|
40
|
+
* alert(`Transaction reverted: ${e.message}`);
|
|
41
|
+
* }
|
|
42
|
+
* throw e;
|
|
43
|
+
* }
|
|
44
|
+
*/
|
|
45
|
+
declare class EVMSendTransactionExecutionRevertedError extends EVMSendTransactionError {
|
|
46
|
+
readonly viemError: BaseError;
|
|
47
|
+
readonly txId: string | undefined;
|
|
48
|
+
readonly stage: SendTransactionFailureStage;
|
|
49
|
+
readonly data: {
|
|
50
|
+
abiItem: viem.AbiItem;
|
|
51
|
+
args: readonly unknown[] | undefined;
|
|
52
|
+
errorName: string;
|
|
53
|
+
} | undefined;
|
|
54
|
+
readonly reason: string | undefined;
|
|
55
|
+
constructor(message: string, viemError: BaseError, revertError: ContractFunctionRevertedError, txId: string | undefined, stage: SendTransactionFailureStage, data?: {
|
|
56
|
+
abiItem: viem.AbiItem;
|
|
57
|
+
args: readonly unknown[] | undefined;
|
|
58
|
+
errorName: string;
|
|
59
|
+
} | undefined, reason?: string | undefined);
|
|
60
|
+
}
|
|
61
|
+
interface SendTransactionOptions {
|
|
62
|
+
/**
|
|
63
|
+
* The number of confirmations to wait for before yielding the transaction hash.
|
|
64
|
+
*/
|
|
65
|
+
confirmations: number;
|
|
66
|
+
/**
|
|
67
|
+
* The timeout in milliseconds to wait for a transaction to confirm before throwing an error.
|
|
68
|
+
*/
|
|
69
|
+
transactionConfirmationTimeout: number;
|
|
70
|
+
}
|
|
71
|
+
declare class SendTransactionService {
|
|
72
|
+
private readonly client;
|
|
73
|
+
private readonly defaultSendTransactionOptions;
|
|
74
|
+
constructor(client: {
|
|
75
|
+
public: PublicClient;
|
|
76
|
+
wallet: SmartAccountClient<EntryPoint, Transport, Chain, SmartAccount<EntryPoint>>;
|
|
77
|
+
}, defaultSendTransactionOptions?: SendTransactionOptions);
|
|
78
|
+
sendTransaction(request: TransactionServiceTransactionRequest, config?: Partial<SendTransactionOptions>): Promise<Hex>;
|
|
79
|
+
private getConfig;
|
|
80
|
+
private handleReceipt;
|
|
81
|
+
private simulateCall;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export { EVMSendTransactionError, EVMSendTransactionExecutionRevertedError, type SendTransactionFailureStage, type SendTransactionOptions, SendTransactionService, type TransactionServiceTransactionRequest };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c}from"../../chunk-S2XBSAGM.js";export{a as EVMSendTransactionError,b as EVMSendTransactionExecutionRevertedError,c as SendTransactionService};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQ44P7MO7cjs = require('../../../chunk-Q44P7MO7.cjs');require('../../../chunk-BXXREMNR.cjs');require('../../../chunk-5M3MSPHK.cjs');exports.AccountConfigCache = _chunkQ44P7MO7cjs.a;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UserParams } from '../../../types/params.cjs';
|
|
2
|
+
import { S as SmartWalletConfig } from '../../../service-Ir-Qho-9.cjs';
|
|
3
|
+
import 'viem';
|
|
4
|
+
import 'zod';
|
|
5
|
+
import '@zerodev/sdk';
|
|
6
|
+
import 'permissionless';
|
|
7
|
+
import 'permissionless/accounts';
|
|
8
|
+
import 'permissionless/types/entrypoint';
|
|
9
|
+
import '../../chains.cjs';
|
|
10
|
+
import 'viem/chains';
|
|
11
|
+
import '@crossmint/common-sdk-base';
|
|
12
|
+
import '../../../types/schema.cjs';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../../utils/constants.cjs';
|
|
15
|
+
|
|
16
|
+
declare class AccountConfigCache {
|
|
17
|
+
private readonly keyPrefix;
|
|
18
|
+
constructor(keyPrefix: string);
|
|
19
|
+
set(user: UserParams, config: SmartWalletConfig): void;
|
|
20
|
+
get(user: UserParams): SmartWalletConfig | null;
|
|
21
|
+
clear(): void;
|
|
22
|
+
private key;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { AccountConfigCache };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UserParams } from '../../../types/params.js';
|
|
2
|
+
import { S as SmartWalletConfig } from '../../../service-DqYCir8s.js';
|
|
3
|
+
import 'viem';
|
|
4
|
+
import 'zod';
|
|
5
|
+
import '@zerodev/sdk';
|
|
6
|
+
import 'permissionless';
|
|
7
|
+
import 'permissionless/accounts';
|
|
8
|
+
import 'permissionless/types/entrypoint';
|
|
9
|
+
import '../../chains.js';
|
|
10
|
+
import 'viem/chains';
|
|
11
|
+
import '@crossmint/common-sdk-base';
|
|
12
|
+
import '../../../types/schema.js';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../../utils/constants.js';
|
|
15
|
+
|
|
16
|
+
declare class AccountConfigCache {
|
|
17
|
+
private readonly keyPrefix;
|
|
18
|
+
constructor(keyPrefix: string);
|
|
19
|
+
set(user: UserParams, config: SmartWalletConfig): void;
|
|
20
|
+
get(user: UserParams): SmartWalletConfig | null;
|
|
21
|
+
clear(): void;
|
|
22
|
+
private key;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { AccountConfigCache };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../../chunk-G57LROTD.js";import"../../../chunk-CPYNP4XI.js";import"../../../chunk-WDM7PN4O.js";export{a as AccountConfigCache};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkO2ACORIIcjs = require('../../../chunk-O2ACORII.cjs');require('../../../chunk-GB35YMN4.cjs');require('../../../chunk-M4K3IZTT.cjs');exports.AccountConfigService = _chunkO2ACORIIcjs.a;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CrossmintWalletService } from '../../../api/CrossmintWalletService.cjs';
|
|
2
|
+
import { SmartWalletChain } from '../../chains.cjs';
|
|
3
|
+
import { b as SupportedEntryPointVersion, c as SupportedKernelVersion, d as PreExistingWalletProperties } from '../../../service-Ir-Qho-9.cjs';
|
|
4
|
+
import { UserParams } from '../../../types/params.cjs';
|
|
5
|
+
import { AccountConfigCache } from './cache.cjs';
|
|
6
|
+
import '@crossmint/client-sdk-base';
|
|
7
|
+
import 'permissionless';
|
|
8
|
+
import 'permissionless/types/entrypoint';
|
|
9
|
+
import 'viem/chains';
|
|
10
|
+
import '@crossmint/common-sdk-base';
|
|
11
|
+
import 'zod';
|
|
12
|
+
import '@zerodev/sdk';
|
|
13
|
+
import 'permissionless/accounts';
|
|
14
|
+
import 'viem';
|
|
15
|
+
import '../../../types/schema.cjs';
|
|
16
|
+
import '@zerodev/passkey-validator';
|
|
17
|
+
import '../../../utils/constants.cjs';
|
|
18
|
+
|
|
19
|
+
interface AccountConfig {
|
|
20
|
+
entryPointVersion: SupportedEntryPointVersion;
|
|
21
|
+
kernelVersion: SupportedKernelVersion;
|
|
22
|
+
userWithId: UserParams & {
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
existing?: PreExistingWalletProperties;
|
|
26
|
+
}
|
|
27
|
+
declare class AccountConfigService {
|
|
28
|
+
private readonly crossmintService;
|
|
29
|
+
private readonly configCache;
|
|
30
|
+
constructor(crossmintService: CrossmintWalletService, configCache: AccountConfigCache);
|
|
31
|
+
get(user: UserParams, chain: SmartWalletChain): Promise<{
|
|
32
|
+
config: AccountConfig;
|
|
33
|
+
cached: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
cache({ entryPointVersion, kernelVersion, user, existing, }: {
|
|
36
|
+
entryPointVersion: SupportedEntryPointVersion;
|
|
37
|
+
kernelVersion: SupportedKernelVersion;
|
|
38
|
+
user: UserParams & {
|
|
39
|
+
id: string;
|
|
40
|
+
};
|
|
41
|
+
existing: PreExistingWalletProperties;
|
|
42
|
+
}): void;
|
|
43
|
+
private validateAndFormat;
|
|
44
|
+
private getSigner;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { AccountConfigService };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CrossmintWalletService } from '../../../api/CrossmintWalletService.js';
|
|
2
|
+
import { SmartWalletChain } from '../../chains.js';
|
|
3
|
+
import { b as SupportedEntryPointVersion, c as SupportedKernelVersion, d as PreExistingWalletProperties } from '../../../service-DqYCir8s.js';
|
|
4
|
+
import { UserParams } from '../../../types/params.js';
|
|
5
|
+
import { AccountConfigCache } from './cache.js';
|
|
6
|
+
import '@crossmint/client-sdk-base';
|
|
7
|
+
import 'permissionless';
|
|
8
|
+
import 'permissionless/types/entrypoint';
|
|
9
|
+
import 'viem/chains';
|
|
10
|
+
import '@crossmint/common-sdk-base';
|
|
11
|
+
import 'zod';
|
|
12
|
+
import '@zerodev/sdk';
|
|
13
|
+
import 'permissionless/accounts';
|
|
14
|
+
import 'viem';
|
|
15
|
+
import '../../../types/schema.js';
|
|
16
|
+
import '@zerodev/passkey-validator';
|
|
17
|
+
import '../../../utils/constants.js';
|
|
18
|
+
|
|
19
|
+
interface AccountConfig {
|
|
20
|
+
entryPointVersion: SupportedEntryPointVersion;
|
|
21
|
+
kernelVersion: SupportedKernelVersion;
|
|
22
|
+
userWithId: UserParams & {
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
existing?: PreExistingWalletProperties;
|
|
26
|
+
}
|
|
27
|
+
declare class AccountConfigService {
|
|
28
|
+
private readonly crossmintService;
|
|
29
|
+
private readonly configCache;
|
|
30
|
+
constructor(crossmintService: CrossmintWalletService, configCache: AccountConfigCache);
|
|
31
|
+
get(user: UserParams, chain: SmartWalletChain): Promise<{
|
|
32
|
+
config: AccountConfig;
|
|
33
|
+
cached: boolean;
|
|
34
|
+
}>;
|
|
35
|
+
cache({ entryPointVersion, kernelVersion, user, existing, }: {
|
|
36
|
+
entryPointVersion: SupportedEntryPointVersion;
|
|
37
|
+
kernelVersion: SupportedKernelVersion;
|
|
38
|
+
user: UserParams & {
|
|
39
|
+
id: string;
|
|
40
|
+
};
|
|
41
|
+
existing: PreExistingWalletProperties;
|
|
42
|
+
}): void;
|
|
43
|
+
private validateAndFormat;
|
|
44
|
+
private getSigner;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { AccountConfigService };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../../chunk-ATQ4WGCW.js";import"../../../chunk-BJZQA5VC.js";import"../../../chunk-UPURFW46.js";export{a as AccountConfigService};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXHSA4YTOcjs = require('../../../chunk-XHSA4YTO.cjs');require('../../../chunk-6DE5YEO5.cjs');require('../../../chunk-5M3MSPHK.cjs');require('../../../chunk-M4K3IZTT.cjs');exports.AccountCreator = _chunkXHSA4YTOcjs.a;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { W as WalletCreationContext, A as AccountAndSigner } from '../../../service-Ir-Qho-9.cjs';
|
|
2
|
+
import { EOACreationStrategy } from './eoa.cjs';
|
|
3
|
+
import { PasskeyCreationStrategy } from './passkey.cjs';
|
|
4
|
+
import 'zod';
|
|
5
|
+
import '@zerodev/sdk';
|
|
6
|
+
import 'permissionless';
|
|
7
|
+
import 'permissionless/accounts';
|
|
8
|
+
import 'permissionless/types/entrypoint';
|
|
9
|
+
import 'viem';
|
|
10
|
+
import '../../chains.cjs';
|
|
11
|
+
import 'viem/chains';
|
|
12
|
+
import '@crossmint/common-sdk-base';
|
|
13
|
+
import '../../../types/schema.cjs';
|
|
14
|
+
import '@zerodev/passkey-validator';
|
|
15
|
+
import '../../../utils/constants.cjs';
|
|
16
|
+
import '../../../types/params.cjs';
|
|
17
|
+
import './strategy.cjs';
|
|
18
|
+
|
|
19
|
+
declare class AccountCreator {
|
|
20
|
+
private readonly eoaStrategy;
|
|
21
|
+
private readonly passkeyStrategy;
|
|
22
|
+
constructor(eoaStrategy: EOACreationStrategy, passkeyStrategy: PasskeyCreationStrategy);
|
|
23
|
+
get(context: WalletCreationContext): Promise<AccountAndSigner>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { AccountCreator };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { W as WalletCreationContext, A as AccountAndSigner } from '../../../service-DqYCir8s.js';
|
|
2
|
+
import { EOACreationStrategy } from './eoa.js';
|
|
3
|
+
import { PasskeyCreationStrategy } from './passkey.js';
|
|
4
|
+
import 'zod';
|
|
5
|
+
import '@zerodev/sdk';
|
|
6
|
+
import 'permissionless';
|
|
7
|
+
import 'permissionless/accounts';
|
|
8
|
+
import 'permissionless/types/entrypoint';
|
|
9
|
+
import 'viem';
|
|
10
|
+
import '../../chains.js';
|
|
11
|
+
import 'viem/chains';
|
|
12
|
+
import '@crossmint/common-sdk-base';
|
|
13
|
+
import '../../../types/schema.js';
|
|
14
|
+
import '@zerodev/passkey-validator';
|
|
15
|
+
import '../../../utils/constants.js';
|
|
16
|
+
import '../../../types/params.js';
|
|
17
|
+
import './strategy.js';
|
|
18
|
+
|
|
19
|
+
declare class AccountCreator {
|
|
20
|
+
private readonly eoaStrategy;
|
|
21
|
+
private readonly passkeyStrategy;
|
|
22
|
+
constructor(eoaStrategy: EOACreationStrategy, passkeyStrategy: PasskeyCreationStrategy);
|
|
23
|
+
get(context: WalletCreationContext): Promise<AccountAndSigner>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { AccountCreator };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../../chunk-FIJ3CBJ4.js";import"../../../chunk-XP6ESWVJ.js";import"../../../chunk-WDM7PN4O.js";import"../../../chunk-UPURFW46.js";export{a as AccountCreator};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk2R6HK64Ncjs = require('../../../chunk-2R6HK64N.cjs');require('../../../chunk-GB35YMN4.cjs');require('../../../chunk-XJGFG3RT.cjs');require('../../../chunk-DIDKPOO2.cjs');require('../../../chunk-M4K3IZTT.cjs');exports.EOACreationStrategy = _chunk2R6HK64Ncjs.a;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { E as EOACreationContext, A as AccountAndSigner } from '../../../service-Ir-Qho-9.cjs';
|
|
2
|
+
import { AccountCreationStrategy } from './strategy.cjs';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import '@zerodev/sdk';
|
|
5
|
+
import 'permissionless';
|
|
6
|
+
import 'permissionless/accounts';
|
|
7
|
+
import 'permissionless/types/entrypoint';
|
|
8
|
+
import 'viem';
|
|
9
|
+
import '../../chains.cjs';
|
|
10
|
+
import 'viem/chains';
|
|
11
|
+
import '@crossmint/common-sdk-base';
|
|
12
|
+
import '../../../types/schema.cjs';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../../utils/constants.cjs';
|
|
15
|
+
import '../../../types/params.cjs';
|
|
16
|
+
|
|
17
|
+
declare class EOACreationStrategy implements AccountCreationStrategy {
|
|
18
|
+
create({ chain, publicClient, entryPoint, walletParams, kernelVersion, user, existing, }: EOACreationContext): Promise<AccountAndSigner>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { EOACreationStrategy };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { E as EOACreationContext, A as AccountAndSigner } from '../../../service-DqYCir8s.js';
|
|
2
|
+
import { AccountCreationStrategy } from './strategy.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import '@zerodev/sdk';
|
|
5
|
+
import 'permissionless';
|
|
6
|
+
import 'permissionless/accounts';
|
|
7
|
+
import 'permissionless/types/entrypoint';
|
|
8
|
+
import 'viem';
|
|
9
|
+
import '../../chains.js';
|
|
10
|
+
import 'viem/chains';
|
|
11
|
+
import '@crossmint/common-sdk-base';
|
|
12
|
+
import '../../../types/schema.js';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../../utils/constants.js';
|
|
15
|
+
import '../../../types/params.js';
|
|
16
|
+
|
|
17
|
+
declare class EOACreationStrategy implements AccountCreationStrategy {
|
|
18
|
+
create({ chain, publicClient, entryPoint, walletParams, kernelVersion, user, existing, }: EOACreationContext): Promise<AccountAndSigner>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { EOACreationStrategy };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../../chunk-UG47CBKR.js";import"../../../chunk-BJZQA5VC.js";import"../../../chunk-CUTQYF3F.js";import"../../../chunk-FHNNZVNU.js";import"../../../chunk-UPURFW46.js";export{a as EOACreationStrategy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSCXFZMLRcjs = require('../../../chunk-SCXFZMLR.cjs');require('../../../chunk-GB35YMN4.cjs');require('../../../chunk-M4K3IZTT.cjs');exports.PasskeyCreationStrategy = _chunkSCXFZMLRcjs.a;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { f as PasskeyCreationContext, A as AccountAndSigner } from '../../../service-Ir-Qho-9.cjs';
|
|
2
|
+
import { AccountCreationStrategy } from './strategy.cjs';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import '@zerodev/sdk';
|
|
5
|
+
import 'permissionless';
|
|
6
|
+
import 'permissionless/accounts';
|
|
7
|
+
import 'permissionless/types/entrypoint';
|
|
8
|
+
import 'viem';
|
|
9
|
+
import '../../chains.cjs';
|
|
10
|
+
import 'viem/chains';
|
|
11
|
+
import '@crossmint/common-sdk-base';
|
|
12
|
+
import '../../../types/schema.cjs';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../../utils/constants.cjs';
|
|
15
|
+
import '../../../types/params.cjs';
|
|
16
|
+
|
|
17
|
+
declare class PasskeyCreationStrategy implements AccountCreationStrategy {
|
|
18
|
+
private readonly passkeyServerUrl;
|
|
19
|
+
private readonly apiKey;
|
|
20
|
+
constructor(passkeyServerUrl: string, apiKey: string);
|
|
21
|
+
create({ user, publicClient, walletParams, entryPoint, kernelVersion, existing, }: PasskeyCreationContext): Promise<AccountAndSigner>;
|
|
22
|
+
private getPasskey;
|
|
23
|
+
private getSignerConfig;
|
|
24
|
+
private createPasskeysServerHeaders;
|
|
25
|
+
private mapError;
|
|
26
|
+
private decorate;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { PasskeyCreationStrategy };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { f as PasskeyCreationContext, A as AccountAndSigner } from '../../../service-DqYCir8s.js';
|
|
2
|
+
import { AccountCreationStrategy } from './strategy.js';
|
|
3
|
+
import 'zod';
|
|
4
|
+
import '@zerodev/sdk';
|
|
5
|
+
import 'permissionless';
|
|
6
|
+
import 'permissionless/accounts';
|
|
7
|
+
import 'permissionless/types/entrypoint';
|
|
8
|
+
import 'viem';
|
|
9
|
+
import '../../chains.js';
|
|
10
|
+
import 'viem/chains';
|
|
11
|
+
import '@crossmint/common-sdk-base';
|
|
12
|
+
import '../../../types/schema.js';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../../utils/constants.js';
|
|
15
|
+
import '../../../types/params.js';
|
|
16
|
+
|
|
17
|
+
declare class PasskeyCreationStrategy implements AccountCreationStrategy {
|
|
18
|
+
private readonly passkeyServerUrl;
|
|
19
|
+
private readonly apiKey;
|
|
20
|
+
constructor(passkeyServerUrl: string, apiKey: string);
|
|
21
|
+
create({ user, publicClient, walletParams, entryPoint, kernelVersion, existing, }: PasskeyCreationContext): Promise<AccountAndSigner>;
|
|
22
|
+
private getPasskey;
|
|
23
|
+
private getSignerConfig;
|
|
24
|
+
private createPasskeysServerHeaders;
|
|
25
|
+
private mapError;
|
|
26
|
+
private decorate;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { PasskeyCreationStrategy };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../../chunk-H4CMXNVK.js";import"../../../chunk-BJZQA5VC.js";import"../../../chunk-UPURFW46.js";export{a as PasskeyCreationStrategy};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGB35YMN4cjs = require('../../../chunk-GB35YMN4.cjs');exports.EOASignerConfig = _chunkGB35YMN4cjs.b; exports.PasskeySignerConfig = _chunkGB35YMN4cjs.a;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { j as EOASignerConfig, i as PasskeySignerConfig, h as SignerConfig } from '../../../service-Ir-Qho-9.cjs';
|
|
2
|
+
import 'zod';
|
|
3
|
+
import '@zerodev/sdk';
|
|
4
|
+
import 'permissionless';
|
|
5
|
+
import 'permissionless/accounts';
|
|
6
|
+
import 'permissionless/types/entrypoint';
|
|
7
|
+
import 'viem';
|
|
8
|
+
import '../../chains.cjs';
|
|
9
|
+
import 'viem/chains';
|
|
10
|
+
import '@crossmint/common-sdk-base';
|
|
11
|
+
import '../../../types/schema.cjs';
|
|
12
|
+
import '@zerodev/passkey-validator';
|
|
13
|
+
import '../../../utils/constants.cjs';
|
|
14
|
+
import '../../../types/params.cjs';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { j as EOASignerConfig, i as PasskeySignerConfig, h as SignerConfig } from '../../../service-DqYCir8s.js';
|
|
2
|
+
import 'zod';
|
|
3
|
+
import '@zerodev/sdk';
|
|
4
|
+
import 'permissionless';
|
|
5
|
+
import 'permissionless/accounts';
|
|
6
|
+
import 'permissionless/types/entrypoint';
|
|
7
|
+
import 'viem';
|
|
8
|
+
import '../../chains.js';
|
|
9
|
+
import 'viem/chains';
|
|
10
|
+
import '@crossmint/common-sdk-base';
|
|
11
|
+
import '../../../types/schema.js';
|
|
12
|
+
import '@zerodev/passkey-validator';
|
|
13
|
+
import '../../../utils/constants.js';
|
|
14
|
+
import '../../../types/params.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../../../chunk-BJZQA5VC.js";export{b as EOASignerConfig,a as PasskeySignerConfig};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { W as WalletCreationContext, A as AccountAndSigner } from '../../../service-Ir-Qho-9.cjs';
|
|
2
|
+
import 'zod';
|
|
3
|
+
import '@zerodev/sdk';
|
|
4
|
+
import 'permissionless';
|
|
5
|
+
import 'permissionless/accounts';
|
|
6
|
+
import 'permissionless/types/entrypoint';
|
|
7
|
+
import 'viem';
|
|
8
|
+
import '../../chains.cjs';
|
|
9
|
+
import 'viem/chains';
|
|
10
|
+
import '@crossmint/common-sdk-base';
|
|
11
|
+
import '../../../types/schema.cjs';
|
|
12
|
+
import '@zerodev/passkey-validator';
|
|
13
|
+
import '../../../utils/constants.cjs';
|
|
14
|
+
import '../../../types/params.cjs';
|
|
15
|
+
|
|
16
|
+
interface AccountCreationStrategy {
|
|
17
|
+
create(params: WalletCreationContext): Promise<AccountAndSigner>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type { AccountCreationStrategy };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { W as WalletCreationContext, A as AccountAndSigner } from '../../../service-DqYCir8s.js';
|
|
2
|
+
import 'zod';
|
|
3
|
+
import '@zerodev/sdk';
|
|
4
|
+
import 'permissionless';
|
|
5
|
+
import 'permissionless/accounts';
|
|
6
|
+
import 'permissionless/types/entrypoint';
|
|
7
|
+
import 'viem';
|
|
8
|
+
import '../../chains.js';
|
|
9
|
+
import 'viem/chains';
|
|
10
|
+
import '@crossmint/common-sdk-base';
|
|
11
|
+
import '../../../types/schema.js';
|
|
12
|
+
import '@zerodev/passkey-validator';
|
|
13
|
+
import '../../../utils/constants.js';
|
|
14
|
+
import '../../../types/params.js';
|
|
15
|
+
|
|
16
|
+
interface AccountCreationStrategy {
|
|
17
|
+
create(params: WalletCreationContext): Promise<AccountAndSigner>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type { AccountCreationStrategy };
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWTPE2I2Qcjs = require('../../chunk-WTPE2I2Q.cjs');require('../../chunk-WJ6XJMRD.cjs');require('../../chunk-ODAUWGUU.cjs');require('../../chunk-PLRQBDYS.cjs');require('../../chunk-5M3MSPHK.cjs');require('../../chunk-M4K3IZTT.cjs');exports.ClientDecorator = _chunkWTPE2I2Qcjs.a;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as _crossmint_client_sdk_base from '@crossmint/client-sdk-base';
|
|
2
|
+
import { SmartAccountClient } from 'permissionless';
|
|
3
|
+
import { EntryPoint } from 'permissionless/types/entrypoint';
|
|
4
|
+
import { ErrorProcessor } from '../../error/processor.cjs';
|
|
5
|
+
import { SmartWalletChain } from '../chains.cjs';
|
|
6
|
+
import 'viem';
|
|
7
|
+
import '../../error/index.cjs';
|
|
8
|
+
import '../../service-Ir-Qho-9.cjs';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '@zerodev/sdk';
|
|
11
|
+
import 'permissionless/accounts';
|
|
12
|
+
import '../../types/schema.cjs';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../utils/constants.cjs';
|
|
15
|
+
import '../../types/params.cjs';
|
|
16
|
+
import 'viem/chains';
|
|
17
|
+
import '@crossmint/common-sdk-base';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A decorator class for SmartAccountClient instances. It enhances the client with:
|
|
21
|
+
* - Error handling & logging.
|
|
22
|
+
* - Performance metrics.
|
|
23
|
+
* - Automatic formatting of transactions for Gelato bundler compatibility.
|
|
24
|
+
* */
|
|
25
|
+
declare class ClientDecorator {
|
|
26
|
+
private readonly errorProcessor;
|
|
27
|
+
protected logger: _crossmint_client_sdk_base.SDKLogger;
|
|
28
|
+
constructor(errorProcessor: ErrorProcessor, logger?: _crossmint_client_sdk_base.SDKLogger);
|
|
29
|
+
decorate<Client extends SmartAccountClient<EntryPoint>>({ crossmintChain, smartAccountClient, }: {
|
|
30
|
+
crossmintChain: SmartWalletChain;
|
|
31
|
+
smartAccountClient: Client;
|
|
32
|
+
}): Client;
|
|
33
|
+
private execute;
|
|
34
|
+
private processTxnArgs;
|
|
35
|
+
private addGelatoBundlerProperties;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ClientDecorator };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as _crossmint_client_sdk_base from '@crossmint/client-sdk-base';
|
|
2
|
+
import { SmartAccountClient } from 'permissionless';
|
|
3
|
+
import { EntryPoint } from 'permissionless/types/entrypoint';
|
|
4
|
+
import { ErrorProcessor } from '../../error/processor.js';
|
|
5
|
+
import { SmartWalletChain } from '../chains.js';
|
|
6
|
+
import 'viem';
|
|
7
|
+
import '../../error/index.js';
|
|
8
|
+
import '../../service-DqYCir8s.js';
|
|
9
|
+
import 'zod';
|
|
10
|
+
import '@zerodev/sdk';
|
|
11
|
+
import 'permissionless/accounts';
|
|
12
|
+
import '../../types/schema.js';
|
|
13
|
+
import '@zerodev/passkey-validator';
|
|
14
|
+
import '../../utils/constants.js';
|
|
15
|
+
import '../../types/params.js';
|
|
16
|
+
import 'viem/chains';
|
|
17
|
+
import '@crossmint/common-sdk-base';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A decorator class for SmartAccountClient instances. It enhances the client with:
|
|
21
|
+
* - Error handling & logging.
|
|
22
|
+
* - Performance metrics.
|
|
23
|
+
* - Automatic formatting of transactions for Gelato bundler compatibility.
|
|
24
|
+
* */
|
|
25
|
+
declare class ClientDecorator {
|
|
26
|
+
private readonly errorProcessor;
|
|
27
|
+
protected logger: _crossmint_client_sdk_base.SDKLogger;
|
|
28
|
+
constructor(errorProcessor: ErrorProcessor, logger?: _crossmint_client_sdk_base.SDKLogger);
|
|
29
|
+
decorate<Client extends SmartAccountClient<EntryPoint>>({ crossmintChain, smartAccountClient, }: {
|
|
30
|
+
crossmintChain: SmartWalletChain;
|
|
31
|
+
smartAccountClient: Client;
|
|
32
|
+
}): Client;
|
|
33
|
+
private execute;
|
|
34
|
+
private processTxnArgs;
|
|
35
|
+
private addGelatoBundlerProperties;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { ClientDecorator };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../../chunk-PBUJXVQT.js";import"../../chunk-C3VZY7VJ.js";import"../../chunk-4SPA557P.js";import"../../chunk-Z22H3MJS.js";import"../../chunk-WDM7PN4O.js";import"../../chunk-UPURFW46.js";export{a as ClientDecorator};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSWWOVT47cjs = require('../../chunk-SWWOVT47.cjs');require('../../chunk-7AVDZZGD.cjs');require('../../chunk-KYPTGHC6.cjs');require('../../chunk-M4K3IZTT.cjs');exports.EVMSmartWallet = _chunkSWWOVT47cjs.a;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { EVMSmartWallet } from './EVMSmartWallet.cjs';
|
|
2
|
+
import 'viem';
|
|
3
|
+
import '../../api/CrossmintWalletService.cjs';
|
|
4
|
+
import '@crossmint/client-sdk-base';
|
|
5
|
+
import 'permissionless';
|
|
6
|
+
import 'permissionless/types/entrypoint';
|
|
7
|
+
import '../chains.cjs';
|
|
8
|
+
import 'viem/chains';
|
|
9
|
+
import '@crossmint/common-sdk-base';
|
|
10
|
+
import '../../types/params.cjs';
|
|
11
|
+
import '../../service-Ir-Qho-9.cjs';
|
|
12
|
+
import 'zod';
|
|
13
|
+
import '@zerodev/sdk';
|
|
14
|
+
import 'permissionless/accounts';
|
|
15
|
+
import '../../types/schema.cjs';
|
|
16
|
+
import '@zerodev/passkey-validator';
|
|
17
|
+
import '../../utils/constants.cjs';
|
|
18
|
+
import '../../types/token.cjs';
|
|
19
|
+
import './SendTransactionService.cjs';
|
|
20
|
+
import 'permissionless/_types/types';
|