@crossmint/client-sdk-smart-wallet 0.1.36 → 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.
- package/README.md +293 -0
- package/dist/abi/entryPoint.cjs +1 -0
- package/dist/abi/entryPoint.d.cts +777 -0
- package/dist/abi/entryPoint.d.ts +777 -0
- package/dist/abi/entryPoint.js +1 -0
- package/dist/abi/erc1155.cjs +1 -0
- package/dist/abi/erc1155.d.cts +254 -0
- package/dist/abi/erc1155.d.ts +254 -0
- package/dist/abi/erc1155.js +1 -0
- package/dist/abi/erc20.cjs +1 -0
- package/dist/abi/erc20.d.cts +170 -0
- package/dist/abi/erc20.d.ts +170 -0
- package/dist/abi/erc20.js +1 -0
- package/dist/abi/erc721.cjs +1 -0
- package/dist/abi/erc721.d.cts +247 -0
- package/dist/abi/erc721.d.ts +247 -0
- package/dist/abi/erc721.js +1 -0
- package/dist/apiService-D4DIxjMr.d.ts +136 -0
- package/dist/apiService-Dum8A8_6.d.cts +136 -0
- package/dist/apiService.cjs +1 -0
- package/dist/apiService.d.cts +9 -0
- package/dist/apiService.d.ts +9 -0
- package/dist/apiService.js +1 -0
- package/dist/{chunk-IUIBQFWY.cjs → chunk-23IWY6XV.cjs} +1 -1
- package/dist/chunk-2MQHIAJE.js +1 -0
- package/dist/chunk-4PMBBA3O.cjs +1 -0
- package/dist/chunk-5T3HB4Y6.js +1 -0
- package/dist/chunk-73LUJQGU.cjs +1 -0
- package/dist/chunk-75JNTS3U.js +1 -0
- package/dist/chunk-AS5VIM5V.cjs +1 -0
- package/dist/chunk-BCWZIVSQ.js +1 -0
- package/dist/{chunk-2TPNP5FL.cjs → chunk-D33JIUOQ.cjs} +1 -1
- package/dist/chunk-DB2QM3HB.js +1 -0
- package/dist/chunk-EMZ5NAG2.cjs +1 -0
- package/dist/chunk-GGKMZPIA.js +1 -0
- package/dist/chunk-I5RZI2HB.js +1 -0
- package/dist/chunk-J5SRLI35.cjs +1 -0
- package/dist/chunk-KXYDJTZS.cjs +1 -0
- package/dist/{chunk-2RB6U5DY.js → chunk-LJ43A5BN.js} +1 -1
- package/dist/chunk-LPLLPZFU.cjs +1 -0
- package/dist/chunk-MLTT5BGD.cjs +1 -0
- package/dist/chunk-NXTHA2ZL.js +1 -0
- package/dist/chunk-OWZ3LXVG.js +1 -0
- package/dist/chunk-Q23CHZRT.cjs +1 -0
- package/dist/chunk-Q6YGAHDR.cjs +1 -0
- package/dist/chunk-SVGKSKZD.cjs +1 -0
- package/dist/chunk-T5PL4ATW.js +1 -0
- package/dist/chunk-U2JMKBCC.cjs +1 -0
- package/dist/chunk-UBRUUSMF.js +1 -0
- package/dist/chunk-VEZ3PQGX.js +1 -0
- package/dist/chunk-Z3KARJF5.js +1 -0
- package/dist/error/index.cjs +1 -1
- package/dist/error/index.d.cts +25 -43
- package/dist/error/index.d.ts +25 -43
- package/dist/error/index.js +1 -1
- package/dist/error/processor.cjs +1 -1
- package/dist/error/processor.d.cts +0 -13
- package/dist/error/processor.d.ts +0 -13
- package/dist/error/processor.js +1 -1
- package/dist/evm/chains/definitions/story-testnet.cjs +1 -0
- package/dist/evm/chains/definitions/story-testnet.js +1 -0
- package/dist/evm/chains/definitions/story.cjs +1 -0
- package/dist/evm/chains/definitions/story.js +1 -0
- package/dist/evm/chains/index.cjs +1 -0
- package/dist/{blockchain/chains.d.cts → evm/chains/index.d.cts} +4 -7
- package/dist/{blockchain/chains.d.ts → evm/chains/index.d.ts} +4 -7
- package/dist/evm/chains/index.js +1 -0
- package/dist/evm/rpc.cjs +1 -0
- package/dist/{blockchain → evm}/rpc.d.cts +4 -3
- package/dist/{blockchain → evm}/rpc.d.ts +4 -3
- package/dist/evm/rpc.js +1 -0
- package/dist/evm/smartWalletClient.d.cts +59 -0
- package/dist/evm/smartWalletClient.d.ts +59 -0
- package/dist/evm/transfer.cjs +1 -0
- package/dist/evm/transfer.d.cts +8 -0
- package/dist/evm/transfer.d.ts +8 -0
- package/dist/evm/transfer.js +1 -0
- package/dist/evm/wallet.cjs +1 -0
- package/dist/evm/wallet.d.cts +9 -0
- package/dist/evm/wallet.d.ts +9 -0
- package/dist/evm/wallet.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -20
- package/dist/index.d.ts +9 -20
- package/dist/index.js +1 -1
- package/dist/sdk.cjs +1 -0
- package/dist/{SmartWalletSDK.d.ts → sdk.d.cts} +18 -21
- package/dist/{SmartWalletSDK.d.cts → sdk.d.ts} +18 -21
- package/dist/sdk.js +1 -0
- package/dist/services/index.cjs +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/logger.cjs +1 -1
- package/dist/services/logger.js +1 -1
- package/dist/smartWalletService.cjs +1 -0
- package/dist/smartWalletService.d.cts +9 -0
- package/dist/smartWalletService.d.ts +9 -0
- package/dist/smartWalletService.js +1 -0
- package/dist/types/api.d.cts +195 -0
- package/dist/types/api.d.ts +195 -0
- package/dist/types/transfer.d.cts +46 -0
- package/dist/types/transfer.d.ts +46 -0
- package/dist/utils/constants.cjs +1 -1
- package/dist/utils/constants.d.cts +5 -6
- package/dist/utils/constants.d.ts +5 -6
- package/dist/utils/constants.js +1 -1
- package/dist/utils/index.cjs +1 -0
- package/dist/utils/index.d.cts +3 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +1 -0
- package/package.json +2 -7
- package/dist/SmartWalletSDK.cjs +0 -1
- package/dist/SmartWalletSDK.js +0 -1
- package/dist/api/CrossmintWalletService.cjs +0 -1
- package/dist/api/CrossmintWalletService.d.cts +0 -31
- package/dist/api/CrossmintWalletService.d.ts +0 -31
- package/dist/api/CrossmintWalletService.js +0 -1
- package/dist/blockchain/chains.cjs +0 -1
- package/dist/blockchain/chains.js +0 -1
- package/dist/blockchain/rpc.cjs +0 -1
- package/dist/blockchain/rpc.js +0 -1
- package/dist/blockchain/transfer.cjs +0 -1
- package/dist/blockchain/transfer.d.cts +0 -23
- package/dist/blockchain/transfer.d.ts +0 -23
- package/dist/blockchain/transfer.js +0 -1
- package/dist/blockchain/wallets/EVMSmartWallet.cjs +0 -1
- package/dist/blockchain/wallets/EVMSmartWallet.d.cts +0 -102
- package/dist/blockchain/wallets/EVMSmartWallet.d.ts +0 -102
- package/dist/blockchain/wallets/EVMSmartWallet.js +0 -1
- package/dist/blockchain/wallets/SendTransactionService.cjs +0 -1
- package/dist/blockchain/wallets/SendTransactionService.d.cts +0 -84
- package/dist/blockchain/wallets/SendTransactionService.d.ts +0 -84
- package/dist/blockchain/wallets/SendTransactionService.js +0 -1
- package/dist/blockchain/wallets/account/cache.cjs +0 -1
- package/dist/blockchain/wallets/account/cache.d.cts +0 -25
- package/dist/blockchain/wallets/account/cache.d.ts +0 -25
- package/dist/blockchain/wallets/account/cache.js +0 -1
- package/dist/blockchain/wallets/account/config.cjs +0 -1
- package/dist/blockchain/wallets/account/config.d.cts +0 -47
- package/dist/blockchain/wallets/account/config.d.ts +0 -47
- package/dist/blockchain/wallets/account/config.js +0 -1
- package/dist/blockchain/wallets/account/creator.cjs +0 -1
- package/dist/blockchain/wallets/account/creator.d.cts +0 -26
- package/dist/blockchain/wallets/account/creator.d.ts +0 -26
- package/dist/blockchain/wallets/account/creator.js +0 -1
- package/dist/blockchain/wallets/account/eoa.cjs +0 -1
- package/dist/blockchain/wallets/account/eoa.d.cts +0 -21
- package/dist/blockchain/wallets/account/eoa.d.ts +0 -21
- package/dist/blockchain/wallets/account/eoa.js +0 -1
- package/dist/blockchain/wallets/account/passkey.cjs +0 -1
- package/dist/blockchain/wallets/account/passkey.d.cts +0 -29
- package/dist/blockchain/wallets/account/passkey.d.ts +0 -29
- package/dist/blockchain/wallets/account/passkey.js +0 -1
- package/dist/blockchain/wallets/account/signer.cjs +0 -1
- package/dist/blockchain/wallets/account/signer.d.cts +0 -14
- package/dist/blockchain/wallets/account/signer.d.ts +0 -14
- package/dist/blockchain/wallets/account/signer.js +0 -1
- package/dist/blockchain/wallets/account/strategy.d.cts +0 -20
- package/dist/blockchain/wallets/account/strategy.d.ts +0 -20
- package/dist/blockchain/wallets/clientDecorator.cjs +0 -1
- package/dist/blockchain/wallets/clientDecorator.d.cts +0 -38
- package/dist/blockchain/wallets/clientDecorator.d.ts +0 -38
- package/dist/blockchain/wallets/clientDecorator.js +0 -1
- package/dist/blockchain/wallets/definitions/story-testnet.cjs +0 -1
- package/dist/blockchain/wallets/definitions/story-testnet.js +0 -1
- package/dist/blockchain/wallets/definitions/story.cjs +0 -1
- package/dist/blockchain/wallets/definitions/story.js +0 -1
- package/dist/blockchain/wallets/index.cjs +0 -1
- package/dist/blockchain/wallets/index.d.cts +0 -20
- package/dist/blockchain/wallets/index.d.ts +0 -20
- package/dist/blockchain/wallets/index.js +0 -1
- package/dist/blockchain/wallets/paymaster.cjs +0 -1
- package/dist/blockchain/wallets/paymaster.d.cts +0 -29
- package/dist/blockchain/wallets/paymaster.d.ts +0 -29
- package/dist/blockchain/wallets/paymaster.js +0 -1
- package/dist/blockchain/wallets/service.cjs +0 -1
- package/dist/blockchain/wallets/service.d.cts +0 -41
- package/dist/blockchain/wallets/service.d.ts +0 -41
- package/dist/blockchain/wallets/service.js +0 -1
- package/dist/chunk-2R6HK64N.cjs +0 -1
- package/dist/chunk-2ZFSHKM6.js +0 -1
- package/dist/chunk-3F6P4HUZ.js +0 -1
- package/dist/chunk-4YV6KMFQ.js +0 -1
- package/dist/chunk-6ODPWORJ.cjs +0 -1
- package/dist/chunk-7AVDZZGD.cjs +0 -1
- package/dist/chunk-7G7GOR7X.cjs +0 -1
- package/dist/chunk-ATQ4WGCW.js +0 -1
- package/dist/chunk-BII7Y2A3.cjs +0 -1
- package/dist/chunk-BJZQA5VC.js +0 -1
- package/dist/chunk-C3VZY7VJ.js +0 -1
- package/dist/chunk-CJBR5TGN.js +0 -3
- package/dist/chunk-CUTQYF3F.js +0 -1
- package/dist/chunk-D4NDUT36.js +0 -1
- package/dist/chunk-DIDKPOO2.cjs +0 -1
- package/dist/chunk-EBIEPPSD.js +0 -1
- package/dist/chunk-ETVJGLNY.js +0 -1
- package/dist/chunk-EVNFELF3.cjs +0 -3
- package/dist/chunk-FHNNZVNU.js +0 -1
- package/dist/chunk-FWARYLZ3.js +0 -1
- package/dist/chunk-GB35YMN4.cjs +0 -1
- package/dist/chunk-GGIAHBMC.js +0 -2
- package/dist/chunk-H4CMXNVK.js +0 -1
- package/dist/chunk-IQTGPM2U.cjs +0 -1
- package/dist/chunk-JYW5DCVU.js +0 -1
- package/dist/chunk-KCVR32TQ.cjs +0 -1
- package/dist/chunk-KREX6Z32.js +0 -1
- package/dist/chunk-KROX2DDP.cjs +0 -1
- package/dist/chunk-KYPTGHC6.cjs +0 -1
- package/dist/chunk-M4K3IZTT.cjs +0 -1
- package/dist/chunk-NLGILHJS.js +0 -1
- package/dist/chunk-NOTF3PP3.cjs +0 -1
- package/dist/chunk-NQUKI27M.cjs +0 -1
- package/dist/chunk-O2ACORII.cjs +0 -1
- package/dist/chunk-OXRLBURF.js +0 -1
- package/dist/chunk-PZ6Q22YJ.js +0 -1
- package/dist/chunk-S2XBSAGM.js +0 -1
- package/dist/chunk-S4V7TF5V.cjs +0 -2
- package/dist/chunk-SCXFZMLR.cjs +0 -1
- package/dist/chunk-STH2LE35.cjs +0 -1
- package/dist/chunk-SWWOVT47.cjs +0 -1
- package/dist/chunk-UG47CBKR.js +0 -1
- package/dist/chunk-UPURFW46.js +0 -1
- package/dist/chunk-WDKJ6P7K.js +0 -1
- package/dist/chunk-WJ6XJMRD.cjs +0 -1
- package/dist/chunk-XJGFG3RT.cjs +0 -1
- package/dist/chunk-XQ2K2K23.cjs +0 -1
- package/dist/chunk-XRZ2XPQM.js +0 -1
- package/dist/chunk-YVFO5W3R.cjs +0 -1
- package/dist/chunk-Z7AZOEVX.cjs +0 -1
- package/dist/chunk-ZQM4FEXV.js +0 -1
- package/dist/service-DqYCir8s.d.ts +0 -103
- package/dist/service-Ir-Qho-9.d.cts +0 -103
- package/dist/types/internal.cjs +0 -1
- package/dist/types/internal.d.cts +0 -14
- package/dist/types/internal.d.ts +0 -14
- package/dist/types/internal.js +0 -1
- package/dist/types/params.d.cts +0 -33
- package/dist/types/params.d.ts +0 -33
- package/dist/types/schema.cjs +0 -1
- package/dist/types/schema.d.cts +0 -241
- package/dist/types/schema.d.ts +0 -241
- package/dist/types/schema.js +0 -1
- package/dist/types/service.d.cts +0 -14
- package/dist/types/service.d.ts +0 -14
- package/dist/types/token.cjs +0 -1
- package/dist/types/token.d.cts +0 -35
- package/dist/types/token.d.ts +0 -35
- package/dist/types/token.js +0 -0
- package/dist/utils/api.cjs +0 -1
- package/dist/utils/api.d.cts +0 -4
- package/dist/utils/api.d.ts +0 -4
- package/dist/utils/api.js +0 -1
- package/dist/utils/blockchain.cjs +0 -1
- package/dist/utils/blockchain.d.cts +0 -7
- package/dist/utils/blockchain.d.ts +0 -7
- package/dist/utils/blockchain.js +0 -1
- package/dist/utils/environment.cjs +0 -1
- package/dist/utils/environment.d.cts +0 -3
- package/dist/utils/environment.d.ts +0 -3
- package/dist/utils/environment.js +0 -1
- package/dist/utils/helpers.cjs +0 -1
- package/dist/utils/helpers.d.cts +0 -4
- package/dist/utils/helpers.d.ts +0 -4
- package/dist/utils/helpers.js +0 -1
- package/dist/utils/signer.cjs +0 -1
- package/dist/utils/signer.d.cts +0 -15
- package/dist/utils/signer.d.ts +0 -15
- package/dist/utils/signer.js +0 -1
- package/dist/utils/test.cjs +0 -1
- package/dist/utils/test.d.cts +0 -18
- package/dist/utils/test.d.ts +0 -18
- package/dist/utils/test.js +0 -1
- /package/dist/{chunk-HQXF6VHP.cjs → chunk-5URY3C2T.cjs} +0 -0
- /package/dist/{chunk-DYVHPARQ.js → chunk-KVFFSUF4.js} +0 -0
- /package/dist/{chunk-GPZ7PHS6.cjs → chunk-MFUN74KH.cjs} +0 -0
- /package/dist/{chunk-NT7LBRZQ.js → chunk-XLACPZJJ.js} +0 -0
- /package/dist/{blockchain/wallets → evm/chains}/definitions/story-testnet.d.cts +0 -0
- /package/dist/{blockchain/wallets → evm/chains}/definitions/story-testnet.d.ts +0 -0
- /package/dist/{blockchain/wallets → evm/chains}/definitions/story.d.cts +0 -0
- /package/dist/{blockchain/wallets → evm/chains}/definitions/story.d.ts +0 -0
- /package/dist/{blockchain/wallets/account/strategy.cjs → evm/smartWalletClient.cjs} +0 -0
- /package/dist/{blockchain/wallets/account/strategy.js → evm/smartWalletClient.js} +0 -0
- /package/dist/types/{params.cjs → api.cjs} +0 -0
- /package/dist/types/{params.js → api.js} +0 -0
- /package/dist/types/{service.cjs → transfer.cjs} +0 -0
- /package/dist/types/{service.js → transfer.js} +0 -0
|
@@ -1,25 +0,0 @@
|
|
|
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 };
|
|
@@ -1,25 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-2ZFSHKM6.js";import"../../../chunk-EBIEPPSD.js";import"../../../chunk-4YV6KMFQ.js";export{a as AccountConfigCache};
|
|
@@ -1 +0,0 @@
|
|
|
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;
|
|
@@ -1,47 +0,0 @@
|
|
|
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 };
|
|
@@ -1,47 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-ATQ4WGCW.js";import"../../../chunk-BJZQA5VC.js";import"../../../chunk-UPURFW46.js";export{a as AccountConfigService};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEVNFELF3cjs = require('../../../chunk-EVNFELF3.cjs');require('../../../chunk-6ODPWORJ.cjs');require('../../../chunk-BII7Y2A3.cjs');require('../../../chunk-M4K3IZTT.cjs');exports.AccountCreator = _chunkEVNFELF3cjs.a;
|
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-CJBR5TGN.js";import"../../../chunk-WDKJ6P7K.js";import"../../../chunk-4YV6KMFQ.js";import"../../../chunk-UPURFW46.js";export{a as AccountCreator};
|
|
@@ -1 +0,0 @@
|
|
|
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;
|
|
@@ -1,21 +0,0 @@
|
|
|
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 };
|
|
@@ -1,21 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
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};
|
|
@@ -1 +0,0 @@
|
|
|
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;
|
|
@@ -1,29 +0,0 @@
|
|
|
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 };
|
|
@@ -1,29 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-H4CMXNVK.js";import"../../../chunk-BJZQA5VC.js";import"../../../chunk-UPURFW46.js";export{a as PasskeyCreationStrategy};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGB35YMN4cjs = require('../../../chunk-GB35YMN4.cjs');exports.EOASignerConfig = _chunkGB35YMN4cjs.b; exports.PasskeySignerConfig = _chunkGB35YMN4cjs.a;
|
|
@@ -1,14 +0,0 @@
|
|
|
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';
|
|
@@ -1,14 +0,0 @@
|
|
|
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';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../../../chunk-BJZQA5VC.js";export{b as EOASignerConfig,a as PasskeySignerConfig};
|
|
@@ -1,20 +0,0 @@
|
|
|
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 };
|
|
@@ -1,20 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKROX2DDPcjs = require('../../chunk-KROX2DDP.cjs');require('../../chunk-WJ6XJMRD.cjs');require('../../chunk-ODAUWGUU.cjs');require('../../chunk-7G7GOR7X.cjs');require('../../chunk-BII7Y2A3.cjs');require('../../chunk-M4K3IZTT.cjs');exports.ClientDecorator = _chunkKROX2DDPcjs.a;
|
|
@@ -1,38 +0,0 @@
|
|
|
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 };
|
|
@@ -1,38 +0,0 @@
|
|
|
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 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-XRZ2XPQM.js";import"../../chunk-C3VZY7VJ.js";import"../../chunk-4SPA557P.js";import"../../chunk-2RB6U5DY.js";import"../../chunk-4YV6KMFQ.js";import"../../chunk-UPURFW46.js";export{a as ClientDecorator};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHQXF6VHPcjs = require('../../../chunk-HQXF6VHP.cjs');exports.storyTestnet = _chunkHQXF6VHPcjs.a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-NT7LBRZQ.js";export{a as storyTestnet};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGPZ7PHS6cjs = require('../../../chunk-GPZ7PHS6.cjs');exports.story = _chunkGPZ7PHS6cjs.a;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../../chunk-DYVHPARQ.js";export{a as story};
|
|
@@ -1 +0,0 @@
|
|
|
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;
|
|
@@ -1,20 +0,0 @@
|
|
|
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';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export { EVMSmartWallet } from './EVMSmartWallet.js';
|
|
2
|
-
import 'viem';
|
|
3
|
-
import '../../api/CrossmintWalletService.js';
|
|
4
|
-
import '@crossmint/client-sdk-base';
|
|
5
|
-
import 'permissionless';
|
|
6
|
-
import 'permissionless/types/entrypoint';
|
|
7
|
-
import '../chains.js';
|
|
8
|
-
import 'viem/chains';
|
|
9
|
-
import '@crossmint/common-sdk-base';
|
|
10
|
-
import '../../types/params.js';
|
|
11
|
-
import '../../service-DqYCir8s.js';
|
|
12
|
-
import 'zod';
|
|
13
|
-
import '@zerodev/sdk';
|
|
14
|
-
import 'permissionless/accounts';
|
|
15
|
-
import '../../types/schema.js';
|
|
16
|
-
import '@zerodev/passkey-validator';
|
|
17
|
-
import '../../utils/constants.js';
|
|
18
|
-
import '../../types/token.js';
|
|
19
|
-
import './SendTransactionService.js';
|
|
20
|
-
import 'permissionless/_types/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as o}from"../../chunk-ETVJGLNY.js";import"../../chunk-S2XBSAGM.js";import"../../chunk-3F6P4HUZ.js";import"../../chunk-UPURFW46.js";export{o as EVMSmartWallet};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIQTGPM2Ucjs = require('../../chunk-IQTGPM2U.cjs');require('../../chunk-WJ6XJMRD.cjs');exports.paymasterMiddleware = _chunkIQTGPM2Ucjs.b; exports.usePaymaster = _chunkIQTGPM2Ucjs.a;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CrossmintWalletService } from '../../api/CrossmintWalletService.cjs';
|
|
2
|
-
import { Middleware } from 'permissionless/actions/smartAccount';
|
|
3
|
-
import { PimlicoBundlerClient } from 'permissionless/clients/pimlico';
|
|
4
|
-
import { EntryPoint } from 'permissionless/types/entrypoint';
|
|
5
|
-
import { UserParams } from '../../types/params.cjs';
|
|
6
|
-
import { SmartWalletChain } from '../chains.cjs';
|
|
7
|
-
import '@crossmint/client-sdk-base';
|
|
8
|
-
import 'permissionless';
|
|
9
|
-
import '../../service-Ir-Qho-9.cjs';
|
|
10
|
-
import 'zod';
|
|
11
|
-
import '@zerodev/sdk';
|
|
12
|
-
import 'permissionless/accounts';
|
|
13
|
-
import 'viem';
|
|
14
|
-
import '../../types/schema.cjs';
|
|
15
|
-
import '@zerodev/passkey-validator';
|
|
16
|
-
import '../../utils/constants.cjs';
|
|
17
|
-
import 'viem/chains';
|
|
18
|
-
import '@crossmint/common-sdk-base';
|
|
19
|
-
|
|
20
|
-
declare function usePaymaster(chain: SmartWalletChain): boolean;
|
|
21
|
-
declare function paymasterMiddleware({ bundlerClient, entryPoint, chain, walletService, user, }: {
|
|
22
|
-
bundlerClient: PimlicoBundlerClient<EntryPoint>;
|
|
23
|
-
entryPoint: EntryPoint;
|
|
24
|
-
chain: SmartWalletChain;
|
|
25
|
-
walletService: CrossmintWalletService;
|
|
26
|
-
user: UserParams;
|
|
27
|
-
}): Middleware<EntryPoint>;
|
|
28
|
-
|
|
29
|
-
export { paymasterMiddleware, usePaymaster };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { CrossmintWalletService } from '../../api/CrossmintWalletService.js';
|
|
2
|
-
import { Middleware } from 'permissionless/actions/smartAccount';
|
|
3
|
-
import { PimlicoBundlerClient } from 'permissionless/clients/pimlico';
|
|
4
|
-
import { EntryPoint } from 'permissionless/types/entrypoint';
|
|
5
|
-
import { UserParams } from '../../types/params.js';
|
|
6
|
-
import { SmartWalletChain } from '../chains.js';
|
|
7
|
-
import '@crossmint/client-sdk-base';
|
|
8
|
-
import 'permissionless';
|
|
9
|
-
import '../../service-DqYCir8s.js';
|
|
10
|
-
import 'zod';
|
|
11
|
-
import '@zerodev/sdk';
|
|
12
|
-
import 'permissionless/accounts';
|
|
13
|
-
import 'viem';
|
|
14
|
-
import '../../types/schema.js';
|
|
15
|
-
import '@zerodev/passkey-validator';
|
|
16
|
-
import '../../utils/constants.js';
|
|
17
|
-
import 'viem/chains';
|
|
18
|
-
import '@crossmint/common-sdk-base';
|
|
19
|
-
|
|
20
|
-
declare function usePaymaster(chain: SmartWalletChain): boolean;
|
|
21
|
-
declare function paymasterMiddleware({ bundlerClient, entryPoint, chain, walletService, user, }: {
|
|
22
|
-
bundlerClient: PimlicoBundlerClient<EntryPoint>;
|
|
23
|
-
entryPoint: EntryPoint;
|
|
24
|
-
chain: SmartWalletChain;
|
|
25
|
-
walletService: CrossmintWalletService;
|
|
26
|
-
user: UserParams;
|
|
27
|
-
}): Middleware<EntryPoint>;
|
|
28
|
-
|
|
29
|
-
export { paymasterMiddleware, usePaymaster };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../../chunk-NLGILHJS.js";import"../../chunk-C3VZY7VJ.js";export{b as paymasterMiddleware,a as usePaymaster};
|