@crossmint/wallets-sdk 0.8.0 → 0.9.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 +18 -18
- package/dist/api/client.cjs +1 -1
- package/dist/api/client.d.cts +3 -3
- package/dist/api/client.d.ts +3 -3
- package/dist/api/client.js +1 -1
- package/dist/api/gen/index.cjs +1 -1
- package/dist/api/gen/index.js +1 -1
- package/dist/api/gen/sdk.gen.cjs +1 -1
- package/dist/api/gen/sdk.gen.d.cts +1 -1
- package/dist/api/gen/sdk.gen.d.ts +1 -1
- package/dist/api/gen/sdk.gen.js +1 -1
- package/dist/api/gen/types.gen.d.cts +84 -37
- package/dist/api/gen/types.gen.d.ts +84 -37
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/types.d.cts +5 -3
- package/dist/api/types.d.ts +5 -3
- package/dist/chains/chains.cjs +1 -0
- package/dist/{evm/chains/index.d.cts → chains/chains.d.cts} +6 -6
- package/dist/{evm/chains/index.d.ts → chains/chains.d.ts} +6 -6
- package/dist/chains/chains.js +1 -0
- package/dist/chains/definitions/story.cjs +1 -0
- package/dist/chains/definitions/story.js +1 -0
- package/dist/chains/definitions/storyTestnet.cjs +1 -0
- package/dist/chains/definitions/storyTestnet.js +1 -0
- package/dist/chunk-2WI3SDNA.cjs +1 -0
- package/dist/chunk-3J7G6OXZ.cjs +1 -0
- package/dist/chunk-3V3TVDQL.cjs +1 -0
- package/dist/chunk-5HYE5LK5.cjs +1 -0
- package/dist/chunk-6BN4ICHP.cjs +1 -0
- package/dist/chunk-6EFZZZFC.js +1 -0
- package/dist/chunk-6VJEBYPN.cjs +1 -0
- package/dist/chunk-7DPGK746.cjs +1 -0
- package/dist/chunk-AN25LSQB.js +1 -0
- package/dist/chunk-BJDS5BJG.js +1 -0
- package/dist/chunk-BQJLKREV.cjs +1 -0
- package/dist/chunk-E5GSFWJV.js +1 -0
- package/dist/chunk-EBPF52SZ.cjs +1 -0
- package/dist/{chunk-MV7LJCAB.cjs → chunk-EHGCJCNZ.cjs} +1 -1
- package/dist/chunk-EOCGMBYW.js +1 -0
- package/dist/chunk-FHE35PRI.js +1 -0
- package/dist/chunk-FI42UB34.js +1 -0
- package/dist/chunk-FO5JCAOP.js +1 -0
- package/dist/chunk-ICJBF526.cjs +1 -0
- package/dist/chunk-ICWGBL27.js +1 -0
- package/dist/chunk-IVDTXN3O.js +1 -0
- package/dist/chunk-LBJIX2VH.cjs +1 -0
- package/dist/chunk-LG7WZW3Q.js +1 -0
- package/dist/chunk-M4ELAV7U.js +1 -0
- package/dist/chunk-N3Q3MSAS.cjs +1 -0
- package/dist/chunk-NFQHDB4C.cjs +1 -0
- package/dist/chunk-NSZEPQXP.cjs +1 -0
- package/dist/chunk-O4X74PTP.cjs +1 -0
- package/dist/chunk-Q3ZJOXAP.js +1 -0
- package/dist/chunk-Q4WJ7QNP.js +1 -0
- package/dist/chunk-QIHAACUW.js +1 -0
- package/dist/chunk-QPG5RPLB.js +1 -0
- package/dist/chunk-RCGA5LLF.cjs +1 -0
- package/dist/{chunk-3J4NDFR5.js → chunk-SCSTKTGR.js} +1 -1
- package/dist/chunk-VNNOPP7M.cjs +1 -0
- package/dist/chunk-WO3S2YII.js +1 -0
- package/dist/chunk-YE5N5ADW.js +1 -0
- package/dist/chunk-ZSWIQU3U.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +16 -12
- package/dist/index.d.ts +16 -12
- package/dist/index.js +1 -1
- package/dist/sdk.cjs +1 -1
- package/dist/sdk.d.cts +21 -21
- package/dist/sdk.d.ts +21 -21
- package/dist/sdk.js +1 -1
- package/dist/signers/email-iframe-manager.cjs +1 -0
- package/dist/signers/email-iframe-manager.d.cts +15 -0
- package/dist/signers/email-iframe-manager.d.ts +15 -0
- package/dist/signers/email-iframe-manager.js +1 -0
- package/dist/signers/email-signer-api-client.cjs +1 -0
- package/dist/signers/email-signer-api-client.d.cts +13 -0
- package/dist/signers/email-signer-api-client.d.ts +13 -0
- package/dist/signers/email-signer-api-client.js +1 -0
- package/dist/signers/email.cjs +1 -0
- package/dist/signers/email.d.cts +29 -0
- package/dist/signers/email.d.ts +29 -0
- package/dist/signers/email.js +1 -0
- package/dist/signers/evm-api-key.cjs +1 -0
- package/dist/signers/evm-api-key.d.cts +19 -0
- package/dist/signers/evm-api-key.d.ts +19 -0
- package/dist/signers/evm-api-key.js +1 -0
- package/dist/signers/evm-external-wallet.cjs +1 -0
- package/dist/signers/evm-external-wallet.d.cts +25 -0
- package/dist/signers/evm-external-wallet.d.ts +25 -0
- package/dist/signers/evm-external-wallet.js +1 -0
- package/dist/signers/index.cjs +1 -0
- package/dist/signers/index.d.cts +12 -0
- package/dist/signers/index.d.ts +12 -0
- package/dist/signers/index.js +1 -0
- package/dist/signers/passkey.cjs +1 -0
- package/dist/signers/passkey.d.cts +20 -0
- package/dist/signers/passkey.d.ts +20 -0
- package/dist/signers/passkey.js +1 -0
- package/dist/signers/solana-api-key.cjs +1 -0
- package/dist/signers/solana-api-key.d.cts +19 -0
- package/dist/signers/solana-api-key.d.ts +19 -0
- package/dist/signers/solana-api-key.js +1 -0
- package/dist/{solana/utils.cjs → signers/solana-external-wallet.cjs} +1 -1
- package/dist/signers/solana-external-wallet.d.cts +22 -0
- package/dist/signers/solana-external-wallet.d.ts +22 -0
- package/dist/signers/solana-external-wallet.js +1 -0
- package/dist/signers/types.cjs +1 -0
- package/dist/signers/types.d.cts +91 -0
- package/dist/signers/types.d.ts +91 -0
- package/dist/signers/types.js +1 -0
- package/dist/utils/constants.cjs +1 -1
- package/dist/utils/constants.d.cts +2 -3
- package/dist/utils/constants.d.ts +2 -3
- package/dist/utils/constants.js +1 -1
- package/dist/wallets/evm.cjs +1 -0
- package/dist/wallets/evm.d.cts +134 -0
- package/dist/wallets/evm.d.ts +134 -0
- package/dist/wallets/evm.js +1 -0
- package/dist/wallets/solana.cjs +1 -0
- package/dist/wallets/solana.d.cts +21 -0
- package/dist/wallets/solana.d.ts +21 -0
- package/dist/wallets/solana.js +1 -0
- package/dist/wallets/types.cjs +1 -0
- package/dist/wallets/types.d.cts +30 -0
- package/dist/wallets/types.d.ts +30 -0
- package/dist/wallets/types.js +1 -0
- package/dist/wallets/wallet-factory.cjs +1 -0
- package/dist/wallets/wallet-factory.d.cts +32 -0
- package/dist/wallets/wallet-factory.d.ts +32 -0
- package/dist/wallets/wallet-factory.js +1 -0
- package/dist/wallets/wallet.cjs +1 -0
- package/dist/wallets/wallet.d.cts +98 -0
- package/dist/wallets/wallet.d.ts +98 -0
- package/dist/wallets/wallet.js +1 -0
- package/package.json +6 -4
- package/dist/chunk-3YDBLQ73.cjs +0 -1
- package/dist/chunk-53ZDAWYY.js +0 -1
- package/dist/chunk-5CX3CGJS.cjs +0 -1
- package/dist/chunk-6ARPMYUZ.js +0 -1
- package/dist/chunk-6DTBGTSS.cjs +0 -1
- package/dist/chunk-6W35AARC.js +0 -1
- package/dist/chunk-6XOH62PV.cjs +0 -1
- package/dist/chunk-7WRWCJJ6.js +0 -1
- package/dist/chunk-DANM4IBF.cjs +0 -1
- package/dist/chunk-DLYUSTHS.js +0 -1
- package/dist/chunk-DNWDTJR6.cjs +0 -1
- package/dist/chunk-EFRCLQXM.js +0 -1
- package/dist/chunk-ER6A2LAJ.cjs +0 -1
- package/dist/chunk-EZ7PEO5P.cjs +0 -1
- package/dist/chunk-F7GTDFYC.cjs +0 -1
- package/dist/chunk-HKY6CBZC.js +0 -1
- package/dist/chunk-LWGUOI5G.js +0 -1
- package/dist/chunk-LX6WD7J6.js +0 -1
- package/dist/chunk-MCMCLRNB.js +0 -1
- package/dist/chunk-MTWDHWDY.js +0 -1
- package/dist/chunk-OKXV3IAA.js +0 -1
- package/dist/chunk-PBD5HUCH.cjs +0 -1
- package/dist/chunk-PQH5C2OM.cjs +0 -1
- package/dist/chunk-QYX3J3RZ.js +0 -1
- package/dist/chunk-SDH5CVH7.js +0 -0
- package/dist/chunk-TCIZIST7.js +0 -1
- package/dist/chunk-UWWXOC7Y.cjs +0 -1
- package/dist/chunk-V445PZHL.cjs +0 -1
- package/dist/chunk-VDYYOSPR.cjs +0 -1
- package/dist/chunk-VEJMHFK7.cjs +0 -1
- package/dist/chunk-WNXCWDJQ.cjs +0 -1
- package/dist/chunk-WZAT3LML.js +0 -0
- package/dist/chunk-XKXW2FNY.cjs +0 -1
- package/dist/chunk-XP4DDN2K.cjs +0 -1
- package/dist/chunk-YLMKJ56K.js +0 -1
- package/dist/chunk-ZXV5SOXM.js +0 -1
- package/dist/evm/abi/entryPoint.cjs +0 -1
- package/dist/evm/abi/entryPoint.d.cts +0 -777
- package/dist/evm/abi/entryPoint.d.ts +0 -777
- package/dist/evm/abi/entryPoint.js +0 -1
- package/dist/evm/chains/definitions/story.cjs +0 -1
- package/dist/evm/chains/definitions/story.js +0 -1
- package/dist/evm/chains/definitions/storyTestnet.cjs +0 -1
- package/dist/evm/chains/definitions/storyTestnet.js +0 -1
- package/dist/evm/chains/index.cjs +0 -1
- package/dist/evm/chains/index.js +0 -1
- package/dist/evm/index.cjs +0 -1
- package/dist/evm/index.d.cts +0 -16
- package/dist/evm/index.d.ts +0 -16
- package/dist/evm/index.js +0 -1
- package/dist/evm/services/delegated-signers-service.cjs +0 -1
- package/dist/evm/services/delegated-signers-service.d.cts +0 -154
- package/dist/evm/services/delegated-signers-service.d.ts +0 -154
- package/dist/evm/services/delegated-signers-service.js +0 -1
- package/dist/evm/types/signers.cjs +0 -1
- package/dist/evm/types/signers.d.cts +0 -40
- package/dist/evm/types/signers.d.ts +0 -40
- package/dist/evm/types/signers.js +0 -0
- package/dist/evm/types/wallet.cjs +0 -1
- package/dist/evm/types/wallet.d.cts +0 -48
- package/dist/evm/types/wallet.d.ts +0 -48
- package/dist/evm/types/wallet.js +0 -0
- package/dist/evm/utils.cjs +0 -1
- package/dist/evm/utils.d.cts +0 -20
- package/dist/evm/utils.d.ts +0 -20
- package/dist/evm/utils.js +0 -1
- package/dist/evm/wallet.cjs +0 -1
- package/dist/evm/wallet.d.cts +0 -16
- package/dist/evm/wallet.d.ts +0 -16
- package/dist/evm/wallet.js +0 -1
- package/dist/options-DQUNKXxn.d.ts +0 -109
- package/dist/options-IchphkHW.d.cts +0 -109
- package/dist/services/types.cjs +0 -1
- package/dist/services/types.d.cts +0 -35
- package/dist/services/types.d.ts +0 -35
- package/dist/services/types.js +0 -0
- package/dist/services/wallet-factory.cjs +0 -1
- package/dist/services/wallet-factory.d.cts +0 -37
- package/dist/services/wallet-factory.d.ts +0 -37
- package/dist/services/wallet-factory.js +0 -1
- package/dist/solana/index.cjs +0 -1
- package/dist/solana/index.d.cts +0 -13
- package/dist/solana/index.d.ts +0 -13
- package/dist/solana/index.js +0 -1
- package/dist/solana/services/approvals-service.cjs +0 -1
- package/dist/solana/services/approvals-service.d.cts +0 -18
- package/dist/solana/services/approvals-service.d.ts +0 -18
- package/dist/solana/services/approvals-service.js +0 -1
- package/dist/solana/services/delegated-signers-service.cjs +0 -1
- package/dist/solana/services/delegated-signers-service.d.cts +0 -13
- package/dist/solana/services/delegated-signers-service.d.ts +0 -13
- package/dist/solana/services/delegated-signers-service.js +0 -1
- package/dist/solana/services/transactions-service.cjs +0 -1
- package/dist/solana/services/transactions-service.d.cts +0 -13
- package/dist/solana/services/transactions-service.d.ts +0 -13
- package/dist/solana/services/transactions-service.js +0 -1
- package/dist/solana/tokens.cjs +0 -1
- package/dist/solana/tokens.d.cts +0 -3
- package/dist/solana/tokens.d.ts +0 -3
- package/dist/solana/tokens.js +0 -1
- package/dist/solana/types/signers.cjs +0 -1
- package/dist/solana/types/signers.d.cts +0 -38
- package/dist/solana/types/signers.d.ts +0 -38
- package/dist/solana/types/signers.js +0 -1
- package/dist/solana/types/wallet.cjs +0 -1
- package/dist/solana/types/wallet.d.cts +0 -62
- package/dist/solana/types/wallet.d.ts +0 -62
- package/dist/solana/types/wallet.js +0 -0
- package/dist/solana/utils.d.cts +0 -6
- package/dist/solana/utils.d.ts +0 -6
- package/dist/solana/utils.js +0 -1
- package/dist/solana/wallet.cjs +0 -1
- package/dist/solana/wallet.d.cts +0 -13
- package/dist/solana/wallet.d.ts +0 -13
- package/dist/solana/wallet.js +0 -1
- package/dist/utils/index.cjs +0 -1
- package/dist/utils/index.d.cts +0 -3
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.js +0 -1
- package/dist/utils/options.cjs +0 -1
- package/dist/utils/options.d.cts +0 -13
- package/dist/utils/options.d.ts +0 -13
- package/dist/utils/options.js +0 -0
- /package/dist/{evm/chains → chains}/definitions/story.d.cts +0 -0
- /package/dist/{evm/chains → chains}/definitions/story.d.ts +0 -0
- /package/dist/{evm/chains → chains}/definitions/storyTestnet.d.cts +0 -0
- /package/dist/{evm/chains → chains}/definitions/storyTestnet.d.ts +0 -0
- /package/dist/{chunk-F2XDGZCB.cjs → chunk-GEY574TH.cjs} +0 -0
- /package/dist/{chunk-MFUN74KH.cjs → chunk-IR5WN6FQ.cjs} +0 -0
- /package/dist/{chunk-KVFFSUF4.js → chunk-KKQBZXFE.js} +0 -0
- /package/dist/{chunk-3TTYXSH3.cjs → chunk-MHKWLGN5.cjs} +0 -0
- /package/dist/{chunk-ITCP6W2T.js → chunk-PJUVPRKB.js} +0 -0
- /package/dist/{chunk-SILEK5O4.js → chunk-S3DYQVRD.js} +0 -0
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { VersionedTransaction, Keypair } from '@solana/web3.js';
|
|
2
|
-
|
|
3
|
-
type SolanaAddress = string;
|
|
4
|
-
type SolanaKeypairSignerInput = {
|
|
5
|
-
type: "solana-keypair";
|
|
6
|
-
address: SolanaAddress;
|
|
7
|
-
signer: Keypair;
|
|
8
|
-
};
|
|
9
|
-
type SolanaExternalSignerInput = {
|
|
10
|
-
type: "solana-keypair";
|
|
11
|
-
address: SolanaAddress;
|
|
12
|
-
signer: {
|
|
13
|
-
signMessage: (message: Uint8Array) => Promise<Uint8Array>;
|
|
14
|
-
signTransaction: (transaction: VersionedTransaction) => Promise<VersionedTransaction>;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
type SolanaNonCustodialSignerInput = SolanaKeypairSignerInput | SolanaExternalSignerInput;
|
|
18
|
-
type SolanaCustodialSignerInput = {
|
|
19
|
-
type: "solana-fireblocks-custodial";
|
|
20
|
-
};
|
|
21
|
-
type SolanaSignerInput = SolanaNonCustodialSignerInput | SolanaCustodialSignerInput;
|
|
22
|
-
type SolanaNonCustodialSigner = {
|
|
23
|
-
type: "solana-keypair";
|
|
24
|
-
address: SolanaAddress;
|
|
25
|
-
signTransaction: (transaction: VersionedTransaction) => Promise<VersionedTransaction>;
|
|
26
|
-
signMessage: (message: Uint8Array) => Promise<Uint8Array>;
|
|
27
|
-
};
|
|
28
|
-
type SolanaCustodialSigner = {
|
|
29
|
-
type: "solana-fireblocks-custodial";
|
|
30
|
-
address?: SolanaAddress;
|
|
31
|
-
};
|
|
32
|
-
type SolanaSigner = SolanaNonCustodialSigner | SolanaCustodialSigner;
|
|
33
|
-
declare const parseSolanaNonCustodialSignerInput: (signerInput: SolanaNonCustodialSignerInput) => SolanaNonCustodialSigner;
|
|
34
|
-
declare const isCustodialSigner: (signer: SolanaSigner) => signer is SolanaCustodialSigner;
|
|
35
|
-
declare const isNonCustodialSigner: (signer: SolanaSigner) => signer is SolanaNonCustodialSigner;
|
|
36
|
-
declare const parseSolanaSignerInput: (signerInput: SolanaSignerInput) => SolanaSigner;
|
|
37
|
-
|
|
38
|
-
export { type SolanaAddress, type SolanaCustodialSigner, type SolanaCustodialSignerInput, type SolanaExternalSignerInput, type SolanaKeypairSignerInput, type SolanaNonCustodialSigner, type SolanaNonCustodialSignerInput, type SolanaSigner, type SolanaSignerInput, isCustodialSigner, isNonCustodialSigner, parseSolanaNonCustodialSignerInput, parseSolanaSignerInput };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunk-6W35AARC.js";import"../../chunk-22GIA4MK.js";export{b as isCustodialSigner,c as isNonCustodialSigner,a as parseSolanaNonCustodialSignerInput,d as parseSolanaSignerInput};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { WalletBalance, GetTransactionsResponse, GetNftsResponse, GetSignerResponse, DelegatedSigner } from '../../api/types.cjs';
|
|
2
|
-
import { SolanaSigner, SolanaNonCustodialSignerInput } from './signers.cjs';
|
|
3
|
-
import { PublicKey, VersionedTransaction } from '@solana/web3.js';
|
|
4
|
-
import { SolanaSupportedToken } from '../tokens.cjs';
|
|
5
|
-
import 'viem';
|
|
6
|
-
import '../../api/gen/types.gen.cjs';
|
|
7
|
-
|
|
8
|
-
interface BaseSolanaWallet {
|
|
9
|
-
/**
|
|
10
|
-
* The wallet public key
|
|
11
|
-
*/
|
|
12
|
-
publicKey: PublicKey;
|
|
13
|
-
/**
|
|
14
|
-
* The wallet address
|
|
15
|
-
*/
|
|
16
|
-
address: string;
|
|
17
|
-
/**
|
|
18
|
-
* Get the wallet balances
|
|
19
|
-
* @param {Object} params - The parameters
|
|
20
|
-
* @param {SolanaSupportedToken[]} params.tokens - The tokens
|
|
21
|
-
* @returns {Promise<WalletBalance>} The balances
|
|
22
|
-
*/
|
|
23
|
-
getBalances(params: {
|
|
24
|
-
tokens: SolanaSupportedToken[];
|
|
25
|
-
}): Promise<WalletBalance>;
|
|
26
|
-
/**
|
|
27
|
-
* Get the wallet transactions
|
|
28
|
-
* @returns The transactions
|
|
29
|
-
*/
|
|
30
|
-
getTransactions(): Promise<GetTransactionsResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Get the wallet NFTs
|
|
33
|
-
* @param {Object} params - The parameters
|
|
34
|
-
* @param {number} params.perPage - The number of NFTs per page
|
|
35
|
-
* @param {number} params.page - The page number
|
|
36
|
-
* @param {SolanaWalletLocator} [params.locator] - The wallet locator
|
|
37
|
-
* @returns {Promise<GetNftsResponse>} The NFTs
|
|
38
|
-
*/
|
|
39
|
-
unstable_getNfts(params: {
|
|
40
|
-
perPage: number;
|
|
41
|
-
page: number;
|
|
42
|
-
}): Promise<GetNftsResponse>;
|
|
43
|
-
}
|
|
44
|
-
interface SolanaSmartWallet extends BaseSolanaWallet {
|
|
45
|
-
addDelegatedSigner(signer: string): Promise<GetSignerResponse>;
|
|
46
|
-
getDelegatedSigners(): Promise<DelegatedSigner[]>;
|
|
47
|
-
adminSigner: SolanaSigner;
|
|
48
|
-
sendTransaction(parameters: SmartWalletTransactionParams): Promise<string>;
|
|
49
|
-
}
|
|
50
|
-
interface SolanaMPCWallet extends BaseSolanaWallet {
|
|
51
|
-
sendTransaction(parameters: {
|
|
52
|
-
transaction: VersionedTransaction;
|
|
53
|
-
additionalSigners?: SolanaNonCustodialSignerInput[];
|
|
54
|
-
}): Promise<string>;
|
|
55
|
-
}
|
|
56
|
-
interface SmartWalletTransactionParams {
|
|
57
|
-
transaction: VersionedTransaction;
|
|
58
|
-
additionalSigners?: SolanaNonCustodialSignerInput[];
|
|
59
|
-
delegatedSigner?: SolanaNonCustodialSignerInput;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type { BaseSolanaWallet, SmartWalletTransactionParams, SolanaMPCWallet, SolanaSmartWallet };
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { WalletBalance, GetTransactionsResponse, GetNftsResponse, GetSignerResponse, DelegatedSigner } from '../../api/types.js';
|
|
2
|
-
import { SolanaSigner, SolanaNonCustodialSignerInput } from './signers.js';
|
|
3
|
-
import { PublicKey, VersionedTransaction } from '@solana/web3.js';
|
|
4
|
-
import { SolanaSupportedToken } from '../tokens.js';
|
|
5
|
-
import 'viem';
|
|
6
|
-
import '../../api/gen/types.gen.js';
|
|
7
|
-
|
|
8
|
-
interface BaseSolanaWallet {
|
|
9
|
-
/**
|
|
10
|
-
* The wallet public key
|
|
11
|
-
*/
|
|
12
|
-
publicKey: PublicKey;
|
|
13
|
-
/**
|
|
14
|
-
* The wallet address
|
|
15
|
-
*/
|
|
16
|
-
address: string;
|
|
17
|
-
/**
|
|
18
|
-
* Get the wallet balances
|
|
19
|
-
* @param {Object} params - The parameters
|
|
20
|
-
* @param {SolanaSupportedToken[]} params.tokens - The tokens
|
|
21
|
-
* @returns {Promise<WalletBalance>} The balances
|
|
22
|
-
*/
|
|
23
|
-
getBalances(params: {
|
|
24
|
-
tokens: SolanaSupportedToken[];
|
|
25
|
-
}): Promise<WalletBalance>;
|
|
26
|
-
/**
|
|
27
|
-
* Get the wallet transactions
|
|
28
|
-
* @returns The transactions
|
|
29
|
-
*/
|
|
30
|
-
getTransactions(): Promise<GetTransactionsResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Get the wallet NFTs
|
|
33
|
-
* @param {Object} params - The parameters
|
|
34
|
-
* @param {number} params.perPage - The number of NFTs per page
|
|
35
|
-
* @param {number} params.page - The page number
|
|
36
|
-
* @param {SolanaWalletLocator} [params.locator] - The wallet locator
|
|
37
|
-
* @returns {Promise<GetNftsResponse>} The NFTs
|
|
38
|
-
*/
|
|
39
|
-
unstable_getNfts(params: {
|
|
40
|
-
perPage: number;
|
|
41
|
-
page: number;
|
|
42
|
-
}): Promise<GetNftsResponse>;
|
|
43
|
-
}
|
|
44
|
-
interface SolanaSmartWallet extends BaseSolanaWallet {
|
|
45
|
-
addDelegatedSigner(signer: string): Promise<GetSignerResponse>;
|
|
46
|
-
getDelegatedSigners(): Promise<DelegatedSigner[]>;
|
|
47
|
-
adminSigner: SolanaSigner;
|
|
48
|
-
sendTransaction(parameters: SmartWalletTransactionParams): Promise<string>;
|
|
49
|
-
}
|
|
50
|
-
interface SolanaMPCWallet extends BaseSolanaWallet {
|
|
51
|
-
sendTransaction(parameters: {
|
|
52
|
-
transaction: VersionedTransaction;
|
|
53
|
-
additionalSigners?: SolanaNonCustodialSignerInput[];
|
|
54
|
-
}): Promise<string>;
|
|
55
|
-
}
|
|
56
|
-
interface SmartWalletTransactionParams {
|
|
57
|
-
transaction: VersionedTransaction;
|
|
58
|
-
additionalSigners?: SolanaNonCustodialSignerInput[];
|
|
59
|
-
delegatedSigner?: SolanaNonCustodialSignerInput;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type { BaseSolanaWallet, SmartWalletTransactionParams, SolanaMPCWallet, SolanaSmartWallet };
|
|
File without changes
|
package/dist/solana/utils.d.cts
DELETED
package/dist/solana/utils.d.ts
DELETED
package/dist/solana/utils.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-OKXV3IAA.js";import"../chunk-7ENJXL4H.js";import"../chunk-22GIA4MK.js";export{a as getConnectionFromEnvironment};
|
package/dist/solana/wallet.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkPBD5HUCHcjs = require('../chunk-PBD5HUCH.cjs');require('../chunk-DNWDTJR6.cjs');require('../chunk-UWWXOC7Y.cjs');require('../chunk-PQH5C2OM.cjs');require('../chunk-6XOH62PV.cjs');require('../chunk-DANM4IBF.cjs');require('../chunk-ER6A2LAJ.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-CK4JCQY6.cjs');exports.SolanaMPCWalletImpl = _chunkPBD5HUCHcjs.c; exports.SolanaSmartWalletImpl = _chunkPBD5HUCHcjs.b; exports.SolanaWallet = _chunkPBD5HUCHcjs.a;
|
package/dist/solana/wallet.d.cts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import '../api/client.cjs';
|
|
2
|
-
import '../api/types.cjs';
|
|
3
|
-
import '@solana/web3.js';
|
|
4
|
-
export { d as SolanaMPCWalletImpl, c as SolanaSmartWalletImpl, b as SolanaWallet, T as Transaction } from '../options-IchphkHW.cjs';
|
|
5
|
-
import './tokens.cjs';
|
|
6
|
-
import './types/signers.cjs';
|
|
7
|
-
import './types/wallet.cjs';
|
|
8
|
-
import '@crossmint/common-sdk-base';
|
|
9
|
-
import 'viem';
|
|
10
|
-
import '../api/gen/types.gen.cjs';
|
|
11
|
-
import '../evm/types/wallet.cjs';
|
|
12
|
-
import '../evm/chains/index.cjs';
|
|
13
|
-
import './services/approvals-service.cjs';
|
package/dist/solana/wallet.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import '../api/client.js';
|
|
2
|
-
import '../api/types.js';
|
|
3
|
-
import '@solana/web3.js';
|
|
4
|
-
export { d as SolanaMPCWalletImpl, c as SolanaSmartWalletImpl, b as SolanaWallet, T as Transaction } from '../options-DQUNKXxn.js';
|
|
5
|
-
import './tokens.js';
|
|
6
|
-
import './types/signers.js';
|
|
7
|
-
import './types/wallet.js';
|
|
8
|
-
import '@crossmint/common-sdk-base';
|
|
9
|
-
import 'viem';
|
|
10
|
-
import '../api/gen/types.gen.js';
|
|
11
|
-
import '../evm/types/wallet.js';
|
|
12
|
-
import '../evm/chains/index.js';
|
|
13
|
-
import './services/approvals-service.js';
|
package/dist/solana/wallet.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-MTWDHWDY.js";import"../chunk-YLMKJ56K.js";import"../chunk-LWGUOI5G.js";import"../chunk-EFRCLQXM.js";import"../chunk-6W35AARC.js";import"../chunk-LX6WD7J6.js";import"../chunk-TCIZIST7.js";import"../chunk-7ENJXL4H.js";import"../chunk-22GIA4MK.js";export{c as SolanaMPCWalletImpl,b as SolanaSmartWalletImpl,a as SolanaWallet};
|
package/dist/utils/index.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkDANM4IBFcjs = require('../chunk-DANM4IBF.cjs');require('../chunk-CK4JCQY6.cjs');exports.sleep = _chunkDANM4IBFcjs.a;
|
package/dist/utils/index.d.cts
DELETED
package/dist/utils/index.d.ts
DELETED
package/dist/utils/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-LX6WD7J6.js";import"../chunk-22GIA4MK.js";export{a as sleep};
|
package/dist/utils/options.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/utils/options.d.cts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { C as Callbacks, f as Transaction, e as Wallet, W as WalletOptions } from '../options-IchphkHW.cjs';
|
|
2
|
-
import '../evm/types/wallet.cjs';
|
|
3
|
-
import '../solana/types/wallet.cjs';
|
|
4
|
-
import '../solana/tokens.cjs';
|
|
5
|
-
import '../solana/types/signers.cjs';
|
|
6
|
-
import '@solana/web3.js';
|
|
7
|
-
import '../api/client.cjs';
|
|
8
|
-
import '@crossmint/common-sdk-base';
|
|
9
|
-
import '../api/types.cjs';
|
|
10
|
-
import 'viem';
|
|
11
|
-
import '../api/gen/types.gen.cjs';
|
|
12
|
-
import '../solana/services/approvals-service.cjs';
|
|
13
|
-
import '../evm/chains/index.cjs';
|
package/dist/utils/options.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { C as Callbacks, f as Transaction, e as Wallet, W as WalletOptions } from '../options-DQUNKXxn.js';
|
|
2
|
-
import '../evm/types/wallet.js';
|
|
3
|
-
import '../solana/types/wallet.js';
|
|
4
|
-
import '../solana/tokens.js';
|
|
5
|
-
import '../solana/types/signers.js';
|
|
6
|
-
import '@solana/web3.js';
|
|
7
|
-
import '../api/client.js';
|
|
8
|
-
import '@crossmint/common-sdk-base';
|
|
9
|
-
import '../api/types.js';
|
|
10
|
-
import 'viem';
|
|
11
|
-
import '../api/gen/types.gen.js';
|
|
12
|
-
import '../solana/services/approvals-service.js';
|
|
13
|
-
import '../evm/chains/index.js';
|
package/dist/utils/options.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|