@crossmint/wallets-sdk 1.0.14 → 1.1.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/dist/api/__tests__/constants.d.cts +1 -1
- package/dist/api/__tests__/constants.d.ts +1 -1
- package/dist/api/__tests__/test-utils.cjs +1 -1
- package/dist/api/__tests__/test-utils.d.cts +1 -1
- package/dist/api/__tests__/test-utils.d.ts +1 -1
- package/dist/api/__tests__/test-utils.js +1 -1
- package/dist/api/client.cjs +1 -1
- package/dist/api/client.d.cts +1 -1
- package/dist/api/client.d.ts +1 -1
- package/dist/api/client.js +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/types.gen.d.cts +295 -5
- package/dist/api/gen/types.gen.d.ts +295 -5
- 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 +1 -1
- package/dist/api/types.d.ts +1 -1
- package/dist/chains/chains.cjs +1 -1
- package/dist/chains/chains.js +1 -1
- package/dist/{chunk-EFK26RL5.cjs → chunk-2U7WGZKO.cjs} +1 -1
- package/dist/{chunk-SWXDKYWM.js → chunk-5FTEELGX.js} +1 -1
- package/dist/chunk-7GRHCD3D.js +1 -0
- package/dist/chunk-7N2UI3ZF.js +3 -0
- package/dist/{chunk-BS55OS3S.js → chunk-7PJMUI5M.js} +1 -1
- package/dist/{chunk-GSGBIM5E.cjs → chunk-AZQCD6KG.cjs} +1 -1
- package/dist/chunk-CW6D6JCN.js +1 -0
- package/dist/chunk-DXCJLVQZ.js +1 -0
- package/dist/chunk-DYJIQP7I.cjs +1 -0
- package/dist/{chunk-K5FNXQIQ.js → chunk-EGFMYX2J.js} +1 -1
- package/dist/{chunk-7EZQOS37.cjs → chunk-EPG5PWL4.cjs} +1 -1
- package/dist/{chunk-QWHQ5NAY.js → chunk-EUE4ZUZX.js} +1 -1
- package/dist/chunk-FBPSY3QL.cjs +1 -0
- package/dist/{chunk-CF5YIHZX.cjs → chunk-FPFNBH6I.cjs} +1 -1
- package/dist/chunk-HILLNWYM.js +1 -0
- package/dist/{chunk-LEIODNM5.js → chunk-HZVB2TS2.js} +1 -1
- package/dist/{chunk-HFQTOJEG.cjs → chunk-IR6H3POT.cjs} +1 -1
- package/dist/chunk-J7D3WVQK.cjs +1 -0
- package/dist/{chunk-TP7RAANC.js → chunk-J7WM724X.js} +1 -1
- package/dist/{chunk-4NYZ24DW.js → chunk-KTKQ6OL5.js} +1 -1
- package/dist/{chunk-CU332MNQ.js → chunk-M5Y7T2U7.js} +1 -1
- package/dist/chunk-PGAG6P4Q.cjs +1 -0
- package/dist/{chunk-KEEHHSIZ.cjs → chunk-R6HDN7FK.cjs} +1 -1
- package/dist/chunk-RFGFHHWP.cjs +1 -0
- package/dist/chunk-SL3R26GU.js +1 -0
- package/dist/chunk-TLCNLI7Z.cjs +3 -0
- package/dist/{chunk-VVLFMWTS.js → chunk-U6Y7VUDY.js} +1 -1
- package/dist/{chunk-RUD4GDRD.cjs → chunk-URCSUROA.cjs} +1 -1
- package/dist/{chunk-QLHOHXVZ.cjs → chunk-VXCCA7AL.cjs} +1 -1
- package/dist/{chunk-5QHWUYYN.js → chunk-W2RVTMBI.js} +1 -1
- package/dist/{chunk-PGHXTBM2.cjs → chunk-XQ4IOAFY.cjs} +1 -1
- package/dist/{chunk-XKKIMGTA.cjs → chunk-XRZ5RNIN.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/logger/index.cjs +1 -1
- package/dist/logger/index.js +1 -1
- package/dist/logger/init.cjs +1 -1
- package/dist/logger/init.js +1 -1
- package/dist/sdk.cjs +1 -1
- package/dist/sdk.d.cts +1 -1
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.js +1 -1
- package/dist/signers/device.d.cts +1 -1
- package/dist/signers/device.d.ts +1 -1
- package/dist/signers/evm-api-key.d.cts +1 -1
- package/dist/signers/evm-api-key.d.ts +1 -1
- package/dist/signers/evm-external-wallet.d.cts +1 -1
- package/dist/signers/evm-external-wallet.d.ts +1 -1
- package/dist/signers/external-wallet-signer.d.cts +1 -1
- package/dist/signers/external-wallet-signer.d.ts +1 -1
- package/dist/signers/index.cjs +1 -1
- package/dist/signers/index.d.cts +1 -1
- package/dist/signers/index.d.ts +1 -1
- package/dist/signers/index.js +1 -1
- package/dist/signers/non-custodial/index.cjs +1 -1
- package/dist/signers/non-custodial/index.d.cts +1 -1
- package/dist/signers/non-custodial/index.d.ts +1 -1
- package/dist/signers/non-custodial/index.js +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.d.cts +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.d.ts +1 -1
- package/dist/signers/non-custodial/ncs-evm-signer.js +1 -1
- package/dist/signers/non-custodial/ncs-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-signer.d.cts +2 -2
- package/dist/signers/non-custodial/ncs-signer.d.ts +2 -2
- package/dist/signers/non-custodial/ncs-signer.js +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.d.cts +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.d.ts +1 -1
- package/dist/signers/non-custodial/ncs-solana-signer.js +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.cjs +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.d.cts +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.d.ts +1 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.js +1 -1
- package/dist/signers/passkey.d.cts +1 -1
- package/dist/signers/passkey.d.ts +1 -1
- package/dist/signers/server/assemble-server-signer.d.cts +1 -1
- package/dist/signers/server/assemble-server-signer.d.ts +1 -1
- package/dist/signers/server/evm-server-signer.d.cts +1 -1
- package/dist/signers/server/evm-server-signer.d.ts +1 -1
- package/dist/signers/server/helpers/derive-server-signer.d.cts +1 -1
- package/dist/signers/server/helpers/derive-server-signer.d.ts +1 -1
- package/dist/signers/server/helpers/index.d.cts +1 -1
- package/dist/signers/server/helpers/index.d.ts +1 -1
- package/dist/signers/server/index.d.cts +1 -1
- package/dist/signers/server/index.d.ts +1 -1
- package/dist/signers/server/solana-server-signer.d.cts +1 -1
- package/dist/signers/server/solana-server-signer.d.ts +1 -1
- package/dist/signers/server/stellar-server-signer.d.cts +1 -1
- package/dist/signers/server/stellar-server-signer.d.ts +1 -1
- package/dist/signers/solana-api-key.d.cts +1 -1
- package/dist/signers/solana-api-key.d.ts +1 -1
- package/dist/signers/solana-external-wallet.d.cts +1 -1
- package/dist/signers/solana-external-wallet.d.ts +1 -1
- package/dist/signers/stellar-external-wallet.d.cts +1 -1
- package/dist/signers/stellar-external-wallet.d.ts +1 -1
- package/dist/signers/types.d.cts +1 -1
- package/dist/signers/types.d.ts +1 -1
- package/dist/{types-BZ83dAVx.d.ts → types-CtOIG5sn.d.ts} +8 -2
- package/dist/{types-fUCYdXAl.d.cts → types-DZWn68Po.d.cts} +8 -2
- package/dist/utils/constants.cjs +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.cjs +1 -1
- package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.js +1 -1
- package/dist/utils/device-signers/createDeviceSigner.d.cts +1 -1
- package/dist/utils/device-signers/createDeviceSigner.d.ts +1 -1
- package/dist/utils/device-signers/index.cjs +1 -1
- package/dist/utils/device-signers/index.d.cts +1 -1
- package/dist/utils/device-signers/index.d.ts +1 -1
- package/dist/utils/device-signers/index.js +1 -1
- package/dist/utils/signer-locator.d.cts +1 -1
- package/dist/utils/signer-locator.d.ts +1 -1
- package/dist/utils/signer-mapping.d.cts +1 -1
- package/dist/utils/signer-mapping.d.ts +1 -1
- package/dist/wallets/__tests__/test-helpers.cjs +1 -1
- package/dist/wallets/__tests__/test-helpers.d.cts +1 -1
- package/dist/wallets/__tests__/test-helpers.d.ts +1 -1
- package/dist/wallets/__tests__/test-helpers.js +1 -1
- package/dist/wallets/evm.cjs +1 -1
- package/dist/wallets/evm.d.cts +1 -1
- package/dist/wallets/evm.d.ts +1 -1
- package/dist/wallets/evm.js +1 -1
- package/dist/wallets/solana.cjs +1 -1
- package/dist/wallets/solana.d.cts +1 -1
- package/dist/wallets/solana.d.ts +1 -1
- package/dist/wallets/solana.js +1 -1
- package/dist/wallets/stellar.cjs +1 -1
- package/dist/wallets/stellar.d.cts +40 -1
- package/dist/wallets/stellar.d.ts +40 -1
- package/dist/wallets/stellar.js +1 -1
- package/dist/wallets/types.d.cts +1 -1
- package/dist/wallets/types.d.ts +1 -1
- package/dist/wallets/wallet-factory.cjs +1 -1
- package/dist/wallets/wallet-factory.d.cts +2 -2
- package/dist/wallets/wallet-factory.d.ts +2 -2
- package/dist/wallets/wallet-factory.js +1 -1
- package/dist/wallets/wallet.cjs +1 -1
- package/dist/wallets/wallet.d.cts +2 -2
- package/dist/wallets/wallet.d.ts +2 -2
- package/dist/wallets/wallet.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-6OELZRMT.cjs +0 -1
- package/dist/chunk-6XGP4HMG.cjs +0 -1
- package/dist/chunk-6Z4EZBIA.js +0 -1
- package/dist/chunk-C7ZRKJGY.cjs +0 -1
- package/dist/chunk-LTA4BVJ2.js +0 -1
- package/dist/chunk-LTTG4ATS.js +0 -1
- package/dist/chunk-OH2QJLHX.cjs +0 -1
- package/dist/chunk-PTCXLH65.cjs +0 -3
- package/dist/chunk-QMSW23Z6.js +0 -1
- package/dist/chunk-XFPV6OUZ.js +0 -3
- package/dist/chunk-XWG5HSVL.cjs +0 -1
- package/dist/chunk-ZPVXC2SA.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as SignerAdapter, J as ApiKeyInternalSignerConfig, a as ApiKeySignerLocator } from '../types-DZWn68Po.cjs';
|
|
2
2
|
import 'viem';
|
|
3
3
|
import '../api/gen/types.gen.cjs';
|
|
4
4
|
import 'ox';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { s as SignerAdapter, J as ApiKeyInternalSignerConfig, a as ApiKeySignerLocator } from '../types-CtOIG5sn.js';
|
|
2
2
|
import 'viem';
|
|
3
3
|
import '../api/gen/types.gen.js';
|
|
4
4
|
import 'ox';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as ExternalWalletInternalSignerConfig } from '../types-
|
|
1
|
+
import { K as ExternalWalletInternalSignerConfig } from '../types-DZWn68Po.cjs';
|
|
2
2
|
import { SolanaChain } from '../chains/chains.cjs';
|
|
3
3
|
import { ExternalWalletSigner } from './external-wallet-signer.cjs';
|
|
4
4
|
import 'viem';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as ExternalWalletInternalSignerConfig } from '../types-
|
|
1
|
+
import { K as ExternalWalletInternalSignerConfig } from '../types-CtOIG5sn.js';
|
|
2
2
|
import { SolanaChain } from '../chains/chains.js';
|
|
3
3
|
import { ExternalWalletSigner } from './external-wallet-signer.js';
|
|
4
4
|
import 'viem';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as ExternalWalletInternalSignerConfig } from '../types-
|
|
1
|
+
import { K as ExternalWalletInternalSignerConfig } from '../types-DZWn68Po.cjs';
|
|
2
2
|
import { StellarChain } from '../chains/chains.cjs';
|
|
3
3
|
import { ExternalWalletSigner } from './external-wallet-signer.cjs';
|
|
4
4
|
import 'viem';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as ExternalWalletInternalSignerConfig } from '../types-
|
|
1
|
+
import { K as ExternalWalletInternalSignerConfig } from '../types-CtOIG5sn.js';
|
|
2
2
|
import { StellarChain } from '../chains/chains.js';
|
|
3
3
|
import { ExternalWalletSigner } from './external-wallet-signer.js';
|
|
4
4
|
import 'viem';
|
package/dist/signers/types.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import '@crossmint/client-sdk-window';
|
|
|
3
3
|
import '@crossmint/client-signers';
|
|
4
4
|
export { EvmExternalWalletSignerConfig, ExternalWalletSignerConfig, SolanaExternalWalletSignerConfig, StellarExternalWalletSignerConfig } from '@crossmint/common-sdk-base';
|
|
5
5
|
import '../chains/chains.cjs';
|
|
6
|
-
export { J as ApiKeyInternalSignerConfig, aP as ApiKeySignerConfig,
|
|
6
|
+
export { J as ApiKeyInternalSignerConfig, aP as ApiKeySignerConfig, a as ApiKeySignerLocator, aQ as ApiSourcedServerSignerConfig, aR as AuthRejectedError, ag as BaseSignResult, aS as BaseSignerConfig, H as DeviceInternalSignerConfig, I as DeviceSignResult, D as DeviceSignerConfig, f as DeviceSignerLocator, ae as EmailInternalSignerConfig, g as EmailSignerConfig, h as EmailSignerLocator, i as ExportSignerTEEConnection, j as ExportableSignerAdapter, K as ExternalWalletInternalSignerConfig, k as ExternalWalletRegistrationConfig, l as ExternalWalletSignerConfigForChain, m as ExternalWalletSignerLocator, L as InternalSignerConfig, aT as NonCustodialSignerType, M as PasskeyInternalSignerConfig, N as PasskeySignResult, aU as PasskeySignerConfig, P as PasskeySignerLocator, af as PhoneInternalSignerConfig, n as PhoneSignerConfig, o as PhoneSignerLocator, $ as RecoverySignerConfigForChain, ah as ServerInternalSignerConfig, S as ServerSignerConfig, aV as ServerSignerLocator, s as SignerAdapter, t as SignerConfigForChain, u as SignerLocator, aW as isApiSourcedServerSignerConfig, G as isExportableSignerAdapter } from '../types-DZWn68Po.cjs';
|
|
7
7
|
import 'viem';
|
|
8
8
|
import '../api/gen/types.gen.cjs';
|
|
9
9
|
import '@solana/web3.js';
|
package/dist/signers/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import '@crossmint/client-sdk-window';
|
|
|
3
3
|
import '@crossmint/client-signers';
|
|
4
4
|
export { EvmExternalWalletSignerConfig, ExternalWalletSignerConfig, SolanaExternalWalletSignerConfig, StellarExternalWalletSignerConfig } from '@crossmint/common-sdk-base';
|
|
5
5
|
import '../chains/chains.js';
|
|
6
|
-
export { J as ApiKeyInternalSignerConfig, aP as ApiKeySignerConfig,
|
|
6
|
+
export { J as ApiKeyInternalSignerConfig, aP as ApiKeySignerConfig, a as ApiKeySignerLocator, aQ as ApiSourcedServerSignerConfig, aR as AuthRejectedError, ag as BaseSignResult, aS as BaseSignerConfig, H as DeviceInternalSignerConfig, I as DeviceSignResult, D as DeviceSignerConfig, f as DeviceSignerLocator, ae as EmailInternalSignerConfig, g as EmailSignerConfig, h as EmailSignerLocator, i as ExportSignerTEEConnection, j as ExportableSignerAdapter, K as ExternalWalletInternalSignerConfig, k as ExternalWalletRegistrationConfig, l as ExternalWalletSignerConfigForChain, m as ExternalWalletSignerLocator, L as InternalSignerConfig, aT as NonCustodialSignerType, M as PasskeyInternalSignerConfig, N as PasskeySignResult, aU as PasskeySignerConfig, P as PasskeySignerLocator, af as PhoneInternalSignerConfig, n as PhoneSignerConfig, o as PhoneSignerLocator, $ as RecoverySignerConfigForChain, ah as ServerInternalSignerConfig, S as ServerSignerConfig, aV as ServerSignerLocator, s as SignerAdapter, t as SignerConfigForChain, u as SignerLocator, aW as isApiSourcedServerSignerConfig, G as isExportableSignerAdapter } from '../types-CtOIG5sn.js';
|
|
7
7
|
import 'viem';
|
|
8
8
|
import '../api/gen/types.gen.js';
|
|
9
9
|
import '@solana/web3.js';
|
|
@@ -22,6 +22,12 @@ type SendTokenTransactionOptions = TransactionInputOptions & {
|
|
|
22
22
|
type SignatureInputOptions = PrepareOnly;
|
|
23
23
|
type AddSignerOptions = PrepareOnly;
|
|
24
24
|
type RemoveSignerOptions = PrepareOnly;
|
|
25
|
+
type UpgradeOptions = Partial<PrepareOnly> & {
|
|
26
|
+
signer?: string | ServerSignerConfig;
|
|
27
|
+
};
|
|
28
|
+
type MigrateOptions = Partial<PrepareOnly> & {
|
|
29
|
+
signer?: string | ServerSignerConfig;
|
|
30
|
+
};
|
|
25
31
|
type AddSignerReturnType<C extends Chain> = C extends "solana" | "stellar" ? Signer$1 & {
|
|
26
32
|
transactionId: string;
|
|
27
33
|
} : Signer$1 & {
|
|
@@ -383,7 +389,7 @@ interface SignerAdapter<T extends keyof SignResultMap = keyof SignResultMap> {
|
|
|
383
389
|
signTransaction(transaction: string): Promise<SignResultMap[T]>;
|
|
384
390
|
}
|
|
385
391
|
interface ExportableSignerAdapter extends SignerAdapter {
|
|
386
|
-
_exportPrivateKey: (exportTEEConnection: ExportSignerTEEConnection) => Promise<void>;
|
|
392
|
+
_exportPrivateKey: (exportTEEConnection: ExportSignerTEEConnection, onExport?: () => void | Promise<void>) => Promise<void>;
|
|
387
393
|
}
|
|
388
394
|
declare function isExportableSignerAdapter(signer: SignerAdapter): signer is ExportableSignerAdapter;
|
|
389
395
|
type ExportSignerTEEConnection = HandshakeParent<typeof exportSignerOutboundEvents, typeof exportSignerInboundEvents>;
|
|
@@ -442,4 +448,4 @@ type EvmWalletLocator = `me:evm:${WalletType}` | Address;
|
|
|
442
448
|
type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
|
|
443
449
|
type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
|
|
444
450
|
|
|
445
|
-
export { type
|
|
451
|
+
export { type RecoverySignerConfigForChain as $, type AddSignerOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, type WalletPlugin as F, isExportableSignerAdapter as G, type DeviceInternalSignerConfig as H, type DeviceSignResult as I, type ApiKeyInternalSignerConfig as J, type ExternalWalletInternalSignerConfig as K, type InternalSignerConfig as L, type PasskeyInternalSignerConfig as M, type PasskeySignResult as N, type Signer as O, type PasskeySignerLocator as P, type PrepareOnly as Q, type RegisterSignerPasskeyParams as R, type ServerSignerConfig as S, type Transaction as T, type SignMessageInput as U, type SignTypedDataInput as V, type WalletArgsFor as W, type TransactionInputOptions as X, type StellarTransactionInput as Y, type UpgradeOptions as Z, type MigrateOptions as _, type ApiKeySignerLocator as a, type FundWalletResponse as a0, type GetTransactionsResponse as a1, type GetTransactionSuccessResponse as a2, type SendTokenTransactionOptions as a3, type UserLocator as a4, type ApproveResult as a5, type AddSignerReturnType as a6, type RemoveSignerReturnType as a7, type WalletLocator as a8, type ApproveSignatureResponse as a9, type CreateTransactionSuccessResponse as aA, type GetBalanceSuccessResponse as aB, type GetSignersResponse as aC, type GetWalletSuccessResponse as aD, type RecoverySignerConfig as aE, type RegisterSignerChain as aF, type Approval as aG, type DeviceSignerDescriptor as aH, type FormattedEVMTransaction as aI, type PendingApproval as aJ, type SendTokenTransactionType as aK, type SignatureInputOptions as aL, type SignerInput as aM, type StellarWalletPlugin as aN, type TokenBalance as aO, type ApiKeySignerConfig as aP, type ApiSourcedServerSignerConfig as aQ, AuthRejectedError as aR, type BaseSignerConfig as aS, type NonCustodialSignerType as aT, type PasskeySignerConfig as aU, type ServerSignerLocator as aV, isApiSourcedServerSignerConfig as aW, type GetTransactionResponse as aa, type SendResponse as ab, type CreateWalletResponse as ac, type CreateWalletParams as ad, type EmailInternalSignerConfig as ae, type PhoneInternalSignerConfig as af, type BaseSignResult as ag, type ServerInternalSignerConfig as ah, type GetWalletResponse as ai, type CreateTransactionParams as aj, type CreateTransactionResponse as ak, type ApproveTransactionParams as al, type ApproveTransactionResponse as am, type CreateSignatureParams as an, type CreateSignatureResponse as ao, type ApproveSignatureParams as ap, type GetSignatureResponse as aq, type GetTransfersResponse as ar, type GetBalanceResponse as as, type FundWalletParams as at, type RegisterSignerParams as au, type RegisterSignerResponse as av, type RemoveSignerParams as aw, type RemoveSignerResponse as ax, type GetSignerResponse as ay, type SendParams as az, type ApproveOptions as b, type ApproveParams as c, type ClientSideWalletArgsFor as d, type ClientSideWalletCreateArgs as e, type DeviceSignerLocator as f, type EmailSignerConfig as g, type EmailSignerLocator as h, type ExportSignerTEEConnection as i, type ExportableSignerAdapter as j, type ExternalWalletRegistrationConfig as k, type ExternalWalletSignerConfigForChain as l, type ExternalWalletSignerLocator as m, type PhoneSignerConfig as n, type PhoneSignerLocator as o, type RemoveSignerOptions as p, type Signature as q, type Signer$1 as r, type SignerAdapter as s, type SignerConfigForChain as t, type SignerLocator as u, type SignerStatus as v, type SolanaTransactionInput as w, type Transfers as x, type WalletCreateArgs as y, type WalletOptions as z };
|
|
@@ -22,6 +22,12 @@ type SendTokenTransactionOptions = TransactionInputOptions & {
|
|
|
22
22
|
type SignatureInputOptions = PrepareOnly;
|
|
23
23
|
type AddSignerOptions = PrepareOnly;
|
|
24
24
|
type RemoveSignerOptions = PrepareOnly;
|
|
25
|
+
type UpgradeOptions = Partial<PrepareOnly> & {
|
|
26
|
+
signer?: string | ServerSignerConfig;
|
|
27
|
+
};
|
|
28
|
+
type MigrateOptions = Partial<PrepareOnly> & {
|
|
29
|
+
signer?: string | ServerSignerConfig;
|
|
30
|
+
};
|
|
25
31
|
type AddSignerReturnType<C extends Chain> = C extends "solana" | "stellar" ? Signer$1 & {
|
|
26
32
|
transactionId: string;
|
|
27
33
|
} : Signer$1 & {
|
|
@@ -383,7 +389,7 @@ interface SignerAdapter<T extends keyof SignResultMap = keyof SignResultMap> {
|
|
|
383
389
|
signTransaction(transaction: string): Promise<SignResultMap[T]>;
|
|
384
390
|
}
|
|
385
391
|
interface ExportableSignerAdapter extends SignerAdapter {
|
|
386
|
-
_exportPrivateKey: (exportTEEConnection: ExportSignerTEEConnection) => Promise<void>;
|
|
392
|
+
_exportPrivateKey: (exportTEEConnection: ExportSignerTEEConnection, onExport?: () => void | Promise<void>) => Promise<void>;
|
|
387
393
|
}
|
|
388
394
|
declare function isExportableSignerAdapter(signer: SignerAdapter): signer is ExportableSignerAdapter;
|
|
389
395
|
type ExportSignerTEEConnection = HandshakeParent<typeof exportSignerOutboundEvents, typeof exportSignerInboundEvents>;
|
|
@@ -442,4 +448,4 @@ type EvmWalletLocator = `me:evm:${WalletType}` | Address;
|
|
|
442
448
|
type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
|
|
443
449
|
type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
|
|
444
450
|
|
|
445
|
-
export { type
|
|
451
|
+
export { type RecoverySignerConfigForChain as $, type AddSignerOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, type WalletPlugin as F, isExportableSignerAdapter as G, type DeviceInternalSignerConfig as H, type DeviceSignResult as I, type ApiKeyInternalSignerConfig as J, type ExternalWalletInternalSignerConfig as K, type InternalSignerConfig as L, type PasskeyInternalSignerConfig as M, type PasskeySignResult as N, type Signer as O, type PasskeySignerLocator as P, type PrepareOnly as Q, type RegisterSignerPasskeyParams as R, type ServerSignerConfig as S, type Transaction as T, type SignMessageInput as U, type SignTypedDataInput as V, type WalletArgsFor as W, type TransactionInputOptions as X, type StellarTransactionInput as Y, type UpgradeOptions as Z, type MigrateOptions as _, type ApiKeySignerLocator as a, type FundWalletResponse as a0, type GetTransactionsResponse as a1, type GetTransactionSuccessResponse as a2, type SendTokenTransactionOptions as a3, type UserLocator as a4, type ApproveResult as a5, type AddSignerReturnType as a6, type RemoveSignerReturnType as a7, type WalletLocator as a8, type ApproveSignatureResponse as a9, type CreateTransactionSuccessResponse as aA, type GetBalanceSuccessResponse as aB, type GetSignersResponse as aC, type GetWalletSuccessResponse as aD, type RecoverySignerConfig as aE, type RegisterSignerChain as aF, type Approval as aG, type DeviceSignerDescriptor as aH, type FormattedEVMTransaction as aI, type PendingApproval as aJ, type SendTokenTransactionType as aK, type SignatureInputOptions as aL, type SignerInput as aM, type StellarWalletPlugin as aN, type TokenBalance as aO, type ApiKeySignerConfig as aP, type ApiSourcedServerSignerConfig as aQ, AuthRejectedError as aR, type BaseSignerConfig as aS, type NonCustodialSignerType as aT, type PasskeySignerConfig as aU, type ServerSignerLocator as aV, isApiSourcedServerSignerConfig as aW, type GetTransactionResponse as aa, type SendResponse as ab, type CreateWalletResponse as ac, type CreateWalletParams as ad, type EmailInternalSignerConfig as ae, type PhoneInternalSignerConfig as af, type BaseSignResult as ag, type ServerInternalSignerConfig as ah, type GetWalletResponse as ai, type CreateTransactionParams as aj, type CreateTransactionResponse as ak, type ApproveTransactionParams as al, type ApproveTransactionResponse as am, type CreateSignatureParams as an, type CreateSignatureResponse as ao, type ApproveSignatureParams as ap, type GetSignatureResponse as aq, type GetTransfersResponse as ar, type GetBalanceResponse as as, type FundWalletParams as at, type RegisterSignerParams as au, type RegisterSignerResponse as av, type RemoveSignerParams as aw, type RemoveSignerResponse as ax, type GetSignerResponse as ay, type SendParams as az, type ApproveOptions as b, type ApproveParams as c, type ClientSideWalletArgsFor as d, type ClientSideWalletCreateArgs as e, type DeviceSignerLocator as f, type EmailSignerConfig as g, type EmailSignerLocator as h, type ExportSignerTEEConnection as i, type ExportableSignerAdapter as j, type ExternalWalletRegistrationConfig as k, type ExternalWalletSignerConfigForChain as l, type ExternalWalletSignerLocator as m, type PhoneSignerConfig as n, type PhoneSignerLocator as o, type RemoveSignerOptions as p, type Signature as q, type Signer$1 as r, type SignerAdapter as s, type SignerConfigForChain as t, type SignerLocator as u, type SignerStatus as v, type SolanaTransactionInput as w, type Transfers as x, type WalletCreateArgs as y, type WalletOptions as z };
|
package/dist/utils/constants.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkJ7D3WVQKcjs = require('../chunk-J7D3WVQK.cjs');require('../chunk-2GKPWQBQ.cjs');exports.SDK_NAME = _chunkJ7D3WVQKcjs.c; exports.SDK_VERSION = _chunkJ7D3WVQKcjs.b; exports.STATUS_POLLING_INTERVAL_MS = _chunkJ7D3WVQKcjs.d; exports.WALLETS_SERVICE = _chunkJ7D3WVQKcjs.a;
|
package/dist/utils/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-7GRHCD3D.js";import"../chunk-J3R36SGJ.js";export{c as SDK_NAME,b as SDK_VERSION,d as STATUS_POLLING_INTERVAL_MS,a as WALLETS_SERVICE};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXRZ5RNINcjs = require('../../chunk-XRZ5RNIN.cjs');require('../../chunk-3VYGTPRF.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-IR6H3POT.cjs');require('../../chunk-J7D3WVQK.cjs');require('../../chunk-2GKPWQBQ.cjs');exports.IframeDeviceSignerKeyStorage = _chunkXRZ5RNINcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-W2RVTMBI.js";import"../../chunk-IOSADDL5.js";import"../../chunk-455NK5LB.js";import"../../chunk-HZVB2TS2.js";import"../../chunk-7GRHCD3D.js";import"../../chunk-J3R36SGJ.js";export{a as IframeDeviceSignerKeyStorage};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { D as DeviceSignerConfig } from '../../types-DZWn68Po.cjs';
|
|
3
3
|
import 'viem';
|
|
4
4
|
import '../../api/gen/types.gen.cjs';
|
|
5
5
|
import 'ox';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.js';
|
|
2
|
-
import {
|
|
2
|
+
import { D as DeviceSignerConfig } from '../../types-CtOIG5sn.js';
|
|
3
3
|
import 'viem';
|
|
4
4
|
import '../../api/gen/types.gen.js';
|
|
5
5
|
import 'ox';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CUHDOBKN.cjs');var _chunkYHV3672Rcjs = require('../../chunk-YHV3672R.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CUHDOBKN.cjs');var _chunkYHV3672Rcjs = require('../../chunk-YHV3672R.cjs');var _chunkXRZ5RNINcjs = require('../../chunk-XRZ5RNIN.cjs');var _chunk3VYGTPRFcjs = require('../../chunk-3VYGTPRF.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-IR6H3POT.cjs');require('../../chunk-J7D3WVQK.cjs');require('../../chunk-2GKPWQBQ.cjs');exports.DeviceSignerKeyStorage = _chunk3VYGTPRFcjs.a; exports.IframeDeviceSignerKeyStorage = _chunkXRZ5RNINcjs.a; exports.createDeviceSigner = _chunkYHV3672Rcjs.a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { BiometricPolicy, DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.cjs';
|
|
2
2
|
export { BiometricRequestHandler, IframeDeviceSignerKeyStorage } from './IframeDeviceSignerKeyStorage.cjs';
|
|
3
3
|
export { createDeviceSigner } from './createDeviceSigner.cjs';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-DZWn68Po.cjs';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import '../../api/gen/types.gen.cjs';
|
|
7
7
|
import 'ox';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { BiometricPolicy, DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.js';
|
|
2
2
|
export { BiometricRequestHandler, IframeDeviceSignerKeyStorage } from './IframeDeviceSignerKeyStorage.js';
|
|
3
3
|
export { createDeviceSigner } from './createDeviceSigner.js';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-CtOIG5sn.js';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import '../../api/gen/types.gen.js';
|
|
7
7
|
import 'ox';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-TOAFCAVT.js";import{a as c}from"../../chunk-N4IWDL6M.js";import{a as b}from"../../chunk-
|
|
1
|
+
import"../../chunk-TOAFCAVT.js";import{a as c}from"../../chunk-N4IWDL6M.js";import{a as b}from"../../chunk-W2RVTMBI.js";import{a}from"../../chunk-IOSADDL5.js";import"../../chunk-455NK5LB.js";import"../../chunk-HZVB2TS2.js";import"../../chunk-7GRHCD3D.js";import"../../chunk-J3R36SGJ.js";export{a as DeviceSignerKeyStorage,b as IframeDeviceSignerKeyStorage,c as createDeviceSigner};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chain } from '../chains/chains.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { t as SignerConfigForChain, R as RegisterSignerPasskeyParams, k as ExternalWalletRegistrationConfig, u as SignerLocator } from '../types-DZWn68Po.cjs';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import '../api/gen/types.gen.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chain } from '../chains/chains.js';
|
|
2
|
-
import {
|
|
2
|
+
import { t as SignerConfigForChain, R as RegisterSignerPasskeyParams, k as ExternalWalletRegistrationConfig, u as SignerLocator } from '../types-CtOIG5sn.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import '../api/gen/types.gen.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as Signer,
|
|
1
|
+
import { O as Signer, r as Signer$1, v as SignerStatus } from '../types-DZWn68Po.cjs';
|
|
2
2
|
import { Chain } from '../chains/chains.cjs';
|
|
3
3
|
import 'viem';
|
|
4
4
|
import '../api/gen/types.gen.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as Signer,
|
|
1
|
+
import { O as Signer, r as Signer$1, v as SignerStatus } from '../types-CtOIG5sn.js';
|
|
2
2
|
import { Chain } from '../chains/chains.js';
|
|
3
3
|
import 'viem';
|
|
4
4
|
import '../api/gen/types.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkTLCNLI7Zcjs = require('../../chunk-TLCNLI7Z.cjs');require('../../chunk-CUHDOBKN.cjs');require('../../chunk-YHV3672R.cjs');require('../../chunk-XRZ5RNIN.cjs');require('../../chunk-3VYGTPRF.cjs');require('../../chunk-NX256LAH.cjs');require('../../chunk-D6SLJ5C2.cjs');require('../../chunk-2U7WGZKO.cjs');require('../../chunk-5IC7UWND.cjs');require('../../chunk-GZP2JQ6P.cjs');require('../../chunk-IGRPHTXZ.cjs');require('../../chunk-3VSFHDFH.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-3SVXPFSP.cjs');require('../../chunk-4DJWSV7I.cjs');require('../../chunk-YF5G4U6L.cjs');require('../../chunk-PO6S7UR3.cjs');require('../../chunk-AZQCD6KG.cjs');require('../../chunk-FPFNBH6I.cjs');require('../../chunk-XQ4IOAFY.cjs');require('../../chunk-PGAG6P4Q.cjs');require('../../chunk-JBP52JOH.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-SPTXAOFR.cjs');require('../../chunk-AS2YN2YC.cjs');require('../../chunk-YGL4ITFK.cjs');require('../../chunk-GEY3BU62.cjs');require('../../chunk-PHPBBEXU.cjs');require('../../chunk-A33BEWR7.cjs');require('../../chunk-OGP7B5O3.cjs');require('../../chunk-IJ632UXD.cjs');require('../../chunk-6EZCCLTK.cjs');require('../../chunk-SCEPJO4Q.cjs');require('../../chunk-R6HDN7FK.cjs');require('../../chunk-GEY574TH.cjs');require('../../chunk-UE3WVHTM.cjs');require('../../chunk-5X4EOJFG.cjs');require('../../chunk-HRUMWG2F.cjs');require('../../chunk-IR5WN6FQ.cjs');require('../../chunk-T3U46LK3.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-IR6H3POT.cjs');require('../../chunk-J7D3WVQK.cjs');var _chunk2GKPWQBQcjs = require('../../chunk-2GKPWQBQ.cjs');var _vitest = require('vitest');var _commonsdkbase = require('@crossmint/common-sdk-base');var s=e=>{switch(e){case"solana":return"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM";case"stellar":return"GCKFBEIYTKP6RCZX6LRQW2JVAVLMGGVSNESWKN7L2YGQNI2DCOHVHJVY";default:return"0x1234567890123456789012345678901234567890"}},c=(e,t)=>{if(e==="api-key")return"api-key";switch(t){case"solana":return"external-wallet:ABC123";case"stellar":return"external-wallet:GABC123";default:return"external-wallet:0x123"}},g= exports.createMockSigner =(e="api-key",t="base-sepolia")=>e==="api-key"?{type:e}:{type:e,address:c(e,t).split(":")[1],onSign:_vitest.vi.fn().mockResolvedValue("0xsigned")},k= exports.createMockWallet =(e,t,i="api-key")=>_chunk2GKPWQBQcjs.g.call(void 0, void 0,null,function*(){let l=g(i,e),r=new (0, _chunkTLCNLI7Zcjs.a)({chain:e,address:s(e),recovery:{type:"api-key"}},t);return _vitest.vi.spyOn(r,"signers").mockImplementation(()=>Promise.resolve([{type:i==="api-key"?"api-key":"external-wallet",address:s(e),locator:c(i,e),status:"success"}])),yield r.useSigner(l),r}),f= exports.createMockApiClient =(e={})=>_chunk2GKPWQBQcjs.a.call(void 0, {isServerSide:!1,environment:_commonsdkbase.APIKeyEnvironmentPrefix.STAGING,createTransaction:_vitest.vi.fn(),createSignature:_vitest.vi.fn(),getTransaction:_vitest.vi.fn(),getSignature:_vitest.vi.fn(),approveTransaction:_vitest.vi.fn(),approveSignature:_vitest.vi.fn(),getBalance:_vitest.vi.fn(),send:_vitest.vi.fn(),getWallet:_vitest.vi.fn(),registerSigner:_vitest.vi.fn(),removeSigner:_vitest.vi.fn(),getSigner:_vitest.vi.fn()},e),m= exports.createMockSolanaSerializedTransaction =()=>"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAgEDBQrKxEIIPWsDwcGCzLQ7FGIHQ38p0dZq6bG2v2wUAUqMx3jV1jZ0";exports.createMockApiClient = f; exports.createMockSigner = g; exports.createMockSolanaSerializedTransaction = m; exports.createMockWallet = k;
|
|
@@ -2,7 +2,7 @@ import { MockedFunction } from 'vitest';
|
|
|
2
2
|
import { APIKeyEnvironmentPrefix } from '@crossmint/common-sdk-base';
|
|
3
3
|
import { Wallet } from '../wallet.cjs';
|
|
4
4
|
import { ApiClient } from '../../api/client.cjs';
|
|
5
|
-
import {
|
|
5
|
+
import { t as SignerConfigForChain } from '../../types-DZWn68Po.cjs';
|
|
6
6
|
import { Chain } from '../../chains/chains.cjs';
|
|
7
7
|
import '../../api/gen/types.gen.cjs';
|
|
8
8
|
import 'viem';
|
|
@@ -2,7 +2,7 @@ import { MockedFunction } from 'vitest';
|
|
|
2
2
|
import { APIKeyEnvironmentPrefix } from '@crossmint/common-sdk-base';
|
|
3
3
|
import { Wallet } from '../wallet.js';
|
|
4
4
|
import { ApiClient } from '../../api/client.js';
|
|
5
|
-
import {
|
|
5
|
+
import { t as SignerConfigForChain } from '../../types-CtOIG5sn.js';
|
|
6
6
|
import { Chain } from '../../chains/chains.js';
|
|
7
7
|
import '../../api/gen/types.gen.js';
|
|
8
8
|
import 'viem';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as A}from"../../chunk-
|
|
1
|
+
import{a as A}from"../../chunk-7N2UI3ZF.js";import"../../chunk-TOAFCAVT.js";import"../../chunk-N4IWDL6M.js";import"../../chunk-W2RVTMBI.js";import"../../chunk-IOSADDL5.js";import"../../chunk-GOXB2RBF.js";import"../../chunk-VADIEIDS.js";import"../../chunk-J7WM724X.js";import"../../chunk-L52GDMSH.js";import"../../chunk-6X5JEJD7.js";import"../../chunk-QM3BB4E2.js";import"../../chunk-RBSMBO4T.js";import"../../chunk-OQZTL6ZG.js";import"../../chunk-N355UETO.js";import"../../chunk-3VRN3GKQ.js";import"../../chunk-BITOMWYZ.js";import"../../chunk-YDZRBHS3.js";import"../../chunk-5FTEELGX.js";import"../../chunk-M5Y7T2U7.js";import"../../chunk-EGFMYX2J.js";import"../../chunk-DXCJLVQZ.js";import"../../chunk-O6VBO7KG.js";import"../../chunk-EM3D5Q3A.js";import"../../chunk-EE4ITUGS.js";import"../../chunk-6RX65NOA.js";import"../../chunk-XNZLCUTY.js";import"../../chunk-CKZYSQOK.js";import"../../chunk-QVTKTDED.js";import"../../chunk-XS5B3TUE.js";import"../../chunk-M335XCYO.js";import"../../chunk-YH7G2U6V.js";import"../../chunk-W7LJS32A.js";import"../../chunk-2YLRFJ66.js";import"../../chunk-KTKQ6OL5.js";import"../../chunk-S3DYQVRD.js";import"../../chunk-KUP7H7X2.js";import"../../chunk-FT5EVMLB.js";import"../../chunk-SVIKBM3S.js";import"../../chunk-KKQBZXFE.js";import"../../chunk-EXC7TCGL.js";import"../../chunk-455NK5LB.js";import"../../chunk-HZVB2TS2.js";import"../../chunk-7GRHCD3D.js";import{a,g as o}from"../../chunk-J3R36SGJ.js";import{vi as n}from"vitest";import{APIKeyEnvironmentPrefix as p}from"@crossmint/common-sdk-base";var s=e=>{switch(e){case"solana":return"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM";case"stellar":return"GCKFBEIYTKP6RCZX6LRQW2JVAVLMGGVSNESWKN7L2YGQNI2DCOHVHJVY";default:return"0x1234567890123456789012345678901234567890"}},c=(e,t)=>{if(e==="api-key")return"api-key";switch(t){case"solana":return"external-wallet:ABC123";case"stellar":return"external-wallet:GABC123";default:return"external-wallet:0x123"}},g=(e="api-key",t="base-sepolia")=>e==="api-key"?{type:e}:{type:e,address:c(e,t).split(":")[1],onSign:n.fn().mockResolvedValue("0xsigned")},f=(e,t,i="api-key")=>o(void 0,null,function*(){let l=g(i,e),r=new A({chain:e,address:s(e),recovery:{type:"api-key"}},t);return n.spyOn(r,"signers").mockImplementation(()=>Promise.resolve([{type:i==="api-key"?"api-key":"external-wallet",address:s(e),locator:c(i,e),status:"success"}])),yield r.useSigner(l),r}),m=(e={})=>a({isServerSide:!1,environment:p.STAGING,createTransaction:n.fn(),createSignature:n.fn(),getTransaction:n.fn(),getSignature:n.fn(),approveTransaction:n.fn(),approveSignature:n.fn(),getBalance:n.fn(),send:n.fn(),getWallet:n.fn(),registerSigner:n.fn(),removeSigner:n.fn(),getSigner:n.fn()},e),M=()=>"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAgEDBQrKxEIIPWsDwcGCzLQ7FGIHQ38p0dZq6bG2v2wUAUqMx3jV1jZ0";export{m as createMockApiClient,g as createMockSigner,M as createMockSolanaSerializedTransaction,f as createMockWallet};
|
package/dist/wallets/evm.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkFBPSY3QLcjs = require('../chunk-FBPSY3QL.cjs');require('../chunk-TLCNLI7Z.cjs');require('../chunk-CUHDOBKN.cjs');require('../chunk-YHV3672R.cjs');require('../chunk-XRZ5RNIN.cjs');require('../chunk-3VYGTPRF.cjs');require('../chunk-NX256LAH.cjs');require('../chunk-D6SLJ5C2.cjs');require('../chunk-2U7WGZKO.cjs');require('../chunk-5IC7UWND.cjs');require('../chunk-GZP2JQ6P.cjs');require('../chunk-IGRPHTXZ.cjs');require('../chunk-3VSFHDFH.cjs');require('../chunk-ENU3EKBG.cjs');require('../chunk-3SVXPFSP.cjs');require('../chunk-4DJWSV7I.cjs');require('../chunk-YF5G4U6L.cjs');require('../chunk-PO6S7UR3.cjs');require('../chunk-AZQCD6KG.cjs');require('../chunk-FPFNBH6I.cjs');require('../chunk-XQ4IOAFY.cjs');require('../chunk-PGAG6P4Q.cjs');require('../chunk-JBP52JOH.cjs');require('../chunk-5FH7WFWL.cjs');require('../chunk-SPTXAOFR.cjs');require('../chunk-AS2YN2YC.cjs');require('../chunk-YGL4ITFK.cjs');require('../chunk-GEY3BU62.cjs');require('../chunk-PHPBBEXU.cjs');require('../chunk-A33BEWR7.cjs');require('../chunk-OGP7B5O3.cjs');require('../chunk-IJ632UXD.cjs');require('../chunk-6EZCCLTK.cjs');require('../chunk-SCEPJO4Q.cjs');require('../chunk-R6HDN7FK.cjs');require('../chunk-GEY574TH.cjs');require('../chunk-UE3WVHTM.cjs');require('../chunk-5X4EOJFG.cjs');require('../chunk-HRUMWG2F.cjs');require('../chunk-IR5WN6FQ.cjs');require('../chunk-T3U46LK3.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-IR6H3POT.cjs');require('../chunk-J7D3WVQK.cjs');require('../chunk-2GKPWQBQ.cjs');exports.EVMWallet = _chunkFBPSY3QLcjs.a;
|
package/dist/wallets/evm.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as viem__types_actions_siwe_verifySiweMessage from 'viem/_types/actions/siwe/verifySiweMessage';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { HttpTransport } from 'viem';
|
|
4
|
-
import { E as EVMTransactionInput,
|
|
4
|
+
import { E as EVMTransactionInput, T as Transaction, Q as PrepareOnly, U as SignMessageInput, q as Signature, V as SignTypedDataInput } from '../types-DZWn68Po.cjs';
|
|
5
5
|
import { Wallet } from './wallet.cjs';
|
|
6
6
|
import { EVMChain, Chain } from '../chains/chains.cjs';
|
|
7
7
|
import '../api/gen/types.gen.cjs';
|
package/dist/wallets/evm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as viem__types_actions_siwe_verifySiweMessage from 'viem/_types/actions/siwe/verifySiweMessage';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { HttpTransport } from 'viem';
|
|
4
|
-
import { E as EVMTransactionInput,
|
|
4
|
+
import { E as EVMTransactionInput, T as Transaction, Q as PrepareOnly, U as SignMessageInput, q as Signature, V as SignTypedDataInput } from '../types-CtOIG5sn.js';
|
|
5
5
|
import { Wallet } from './wallet.js';
|
|
6
6
|
import { EVMChain, Chain } from '../chains/chains.js';
|
|
7
7
|
import '../api/gen/types.gen.js';
|
package/dist/wallets/evm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-SL3R26GU.js";import"../chunk-7N2UI3ZF.js";import"../chunk-TOAFCAVT.js";import"../chunk-N4IWDL6M.js";import"../chunk-W2RVTMBI.js";import"../chunk-IOSADDL5.js";import"../chunk-GOXB2RBF.js";import"../chunk-VADIEIDS.js";import"../chunk-J7WM724X.js";import"../chunk-L52GDMSH.js";import"../chunk-6X5JEJD7.js";import"../chunk-QM3BB4E2.js";import"../chunk-RBSMBO4T.js";import"../chunk-OQZTL6ZG.js";import"../chunk-N355UETO.js";import"../chunk-3VRN3GKQ.js";import"../chunk-BITOMWYZ.js";import"../chunk-YDZRBHS3.js";import"../chunk-5FTEELGX.js";import"../chunk-M5Y7T2U7.js";import"../chunk-EGFMYX2J.js";import"../chunk-DXCJLVQZ.js";import"../chunk-O6VBO7KG.js";import"../chunk-EM3D5Q3A.js";import"../chunk-EE4ITUGS.js";import"../chunk-6RX65NOA.js";import"../chunk-XNZLCUTY.js";import"../chunk-CKZYSQOK.js";import"../chunk-QVTKTDED.js";import"../chunk-XS5B3TUE.js";import"../chunk-M335XCYO.js";import"../chunk-YH7G2U6V.js";import"../chunk-W7LJS32A.js";import"../chunk-2YLRFJ66.js";import"../chunk-KTKQ6OL5.js";import"../chunk-S3DYQVRD.js";import"../chunk-KUP7H7X2.js";import"../chunk-FT5EVMLB.js";import"../chunk-SVIKBM3S.js";import"../chunk-KKQBZXFE.js";import"../chunk-EXC7TCGL.js";import"../chunk-455NK5LB.js";import"../chunk-HZVB2TS2.js";import"../chunk-7GRHCD3D.js";import"../chunk-J3R36SGJ.js";export{a as EVMWallet};
|
package/dist/wallets/solana.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEPG5PWL4cjs = require('../chunk-EPG5PWL4.cjs');require('../chunk-TLCNLI7Z.cjs');require('../chunk-CUHDOBKN.cjs');require('../chunk-YHV3672R.cjs');require('../chunk-XRZ5RNIN.cjs');require('../chunk-3VYGTPRF.cjs');require('../chunk-NX256LAH.cjs');require('../chunk-D6SLJ5C2.cjs');require('../chunk-2U7WGZKO.cjs');require('../chunk-5IC7UWND.cjs');require('../chunk-GZP2JQ6P.cjs');require('../chunk-IGRPHTXZ.cjs');require('../chunk-3VSFHDFH.cjs');require('../chunk-ENU3EKBG.cjs');require('../chunk-3SVXPFSP.cjs');require('../chunk-4DJWSV7I.cjs');require('../chunk-YF5G4U6L.cjs');require('../chunk-PO6S7UR3.cjs');require('../chunk-AZQCD6KG.cjs');require('../chunk-FPFNBH6I.cjs');require('../chunk-XQ4IOAFY.cjs');require('../chunk-PGAG6P4Q.cjs');require('../chunk-JBP52JOH.cjs');require('../chunk-5FH7WFWL.cjs');require('../chunk-SPTXAOFR.cjs');require('../chunk-AS2YN2YC.cjs');require('../chunk-YGL4ITFK.cjs');require('../chunk-GEY3BU62.cjs');require('../chunk-PHPBBEXU.cjs');require('../chunk-A33BEWR7.cjs');require('../chunk-OGP7B5O3.cjs');require('../chunk-IJ632UXD.cjs');require('../chunk-6EZCCLTK.cjs');require('../chunk-SCEPJO4Q.cjs');require('../chunk-R6HDN7FK.cjs');require('../chunk-GEY574TH.cjs');require('../chunk-UE3WVHTM.cjs');require('../chunk-5X4EOJFG.cjs');require('../chunk-HRUMWG2F.cjs');require('../chunk-IR5WN6FQ.cjs');require('../chunk-T3U46LK3.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-IR6H3POT.cjs');require('../chunk-J7D3WVQK.cjs');require('../chunk-2GKPWQBQ.cjs');exports.SolanaWallet = _chunkEPG5PWL4cjs.a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SolanaChain, Chain } from '../chains/chains.cjs';
|
|
2
|
-
import { X as TransactionInputOptions,
|
|
2
|
+
import { X as TransactionInputOptions, w as SolanaTransactionInput, T as Transaction, Q as PrepareOnly } from '../types-DZWn68Po.cjs';
|
|
3
3
|
import { Wallet } from './wallet.cjs';
|
|
4
4
|
import '@crossmint/common-sdk-base';
|
|
5
5
|
import 'viem';
|
package/dist/wallets/solana.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SolanaChain, Chain } from '../chains/chains.js';
|
|
2
|
-
import { X as TransactionInputOptions,
|
|
2
|
+
import { X as TransactionInputOptions, w as SolanaTransactionInput, T as Transaction, Q as PrepareOnly } from '../types-CtOIG5sn.js';
|
|
3
3
|
import { Wallet } from './wallet.js';
|
|
4
4
|
import '@crossmint/common-sdk-base';
|
|
5
5
|
import 'viem';
|
package/dist/wallets/solana.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-7PJMUI5M.js";import"../chunk-7N2UI3ZF.js";import"../chunk-TOAFCAVT.js";import"../chunk-N4IWDL6M.js";import"../chunk-W2RVTMBI.js";import"../chunk-IOSADDL5.js";import"../chunk-GOXB2RBF.js";import"../chunk-VADIEIDS.js";import"../chunk-J7WM724X.js";import"../chunk-L52GDMSH.js";import"../chunk-6X5JEJD7.js";import"../chunk-QM3BB4E2.js";import"../chunk-RBSMBO4T.js";import"../chunk-OQZTL6ZG.js";import"../chunk-N355UETO.js";import"../chunk-3VRN3GKQ.js";import"../chunk-BITOMWYZ.js";import"../chunk-YDZRBHS3.js";import"../chunk-5FTEELGX.js";import"../chunk-M5Y7T2U7.js";import"../chunk-EGFMYX2J.js";import"../chunk-DXCJLVQZ.js";import"../chunk-O6VBO7KG.js";import"../chunk-EM3D5Q3A.js";import"../chunk-EE4ITUGS.js";import"../chunk-6RX65NOA.js";import"../chunk-XNZLCUTY.js";import"../chunk-CKZYSQOK.js";import"../chunk-QVTKTDED.js";import"../chunk-XS5B3TUE.js";import"../chunk-M335XCYO.js";import"../chunk-YH7G2U6V.js";import"../chunk-W7LJS32A.js";import"../chunk-2YLRFJ66.js";import"../chunk-KTKQ6OL5.js";import"../chunk-S3DYQVRD.js";import"../chunk-KUP7H7X2.js";import"../chunk-FT5EVMLB.js";import"../chunk-SVIKBM3S.js";import"../chunk-KKQBZXFE.js";import"../chunk-EXC7TCGL.js";import"../chunk-455NK5LB.js";import"../chunk-HZVB2TS2.js";import"../chunk-7GRHCD3D.js";import"../chunk-J3R36SGJ.js";export{a as SolanaWallet};
|
package/dist/wallets/stellar.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRFGFHHWPcjs = require('../chunk-RFGFHHWP.cjs');require('../chunk-TLCNLI7Z.cjs');require('../chunk-CUHDOBKN.cjs');require('../chunk-YHV3672R.cjs');require('../chunk-XRZ5RNIN.cjs');require('../chunk-3VYGTPRF.cjs');require('../chunk-NX256LAH.cjs');require('../chunk-D6SLJ5C2.cjs');require('../chunk-2U7WGZKO.cjs');require('../chunk-5IC7UWND.cjs');require('../chunk-GZP2JQ6P.cjs');require('../chunk-IGRPHTXZ.cjs');require('../chunk-3VSFHDFH.cjs');require('../chunk-ENU3EKBG.cjs');require('../chunk-3SVXPFSP.cjs');require('../chunk-4DJWSV7I.cjs');require('../chunk-YF5G4U6L.cjs');require('../chunk-PO6S7UR3.cjs');require('../chunk-AZQCD6KG.cjs');require('../chunk-FPFNBH6I.cjs');require('../chunk-XQ4IOAFY.cjs');require('../chunk-PGAG6P4Q.cjs');require('../chunk-JBP52JOH.cjs');require('../chunk-5FH7WFWL.cjs');require('../chunk-SPTXAOFR.cjs');require('../chunk-AS2YN2YC.cjs');require('../chunk-YGL4ITFK.cjs');require('../chunk-GEY3BU62.cjs');require('../chunk-PHPBBEXU.cjs');require('../chunk-A33BEWR7.cjs');require('../chunk-OGP7B5O3.cjs');require('../chunk-IJ632UXD.cjs');require('../chunk-6EZCCLTK.cjs');require('../chunk-SCEPJO4Q.cjs');require('../chunk-R6HDN7FK.cjs');require('../chunk-GEY574TH.cjs');require('../chunk-UE3WVHTM.cjs');require('../chunk-5X4EOJFG.cjs');require('../chunk-HRUMWG2F.cjs');require('../chunk-IR5WN6FQ.cjs');require('../chunk-T3U46LK3.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-IR6H3POT.cjs');require('../chunk-J7D3WVQK.cjs');require('../chunk-2GKPWQBQ.cjs');exports.StellarWallet = _chunkRFGFHHWPcjs.a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StellarChain, Chain } from '../chains/chains.cjs';
|
|
2
|
-
import { X as TransactionInputOptions, Y as StellarTransactionInput,
|
|
2
|
+
import { X as TransactionInputOptions, Y as StellarTransactionInput, T as Transaction, Q as PrepareOnly, Z as UpgradeOptions, _ as MigrateOptions } from '../types-DZWn68Po.cjs';
|
|
3
3
|
import { Wallet } from './wallet.cjs';
|
|
4
4
|
import '@crossmint/common-sdk-base';
|
|
5
5
|
import 'viem';
|
|
@@ -23,7 +23,46 @@ declare class StellarWallet extends Wallet<StellarChain> {
|
|
|
23
23
|
sendTransaction<T extends TransactionInputOptions | undefined = undefined>(params: StellarTransactionInput & {
|
|
24
24
|
options?: T;
|
|
25
25
|
}): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>;
|
|
26
|
+
/**
|
|
27
|
+
* Upgrade this Stellar smart wallet to the latest contract version.
|
|
28
|
+
*
|
|
29
|
+
* Stellar wallet upgrades are a two-phase on-chain process: first an `upgrade-wallet`
|
|
30
|
+
* transaction swaps the contract bytecode (leaving the wallet temporarily locked),
|
|
31
|
+
* then a `migrate-wallet` transaction transforms the signer storage layout and
|
|
32
|
+
* unlocks the wallet. This method orchestrates both phases.
|
|
33
|
+
*
|
|
34
|
+
* Idempotent: if the wallet is already locked from a previous upgrade attempt,
|
|
35
|
+
* the phase-1 call is skipped and only the migration is executed.
|
|
36
|
+
*
|
|
37
|
+
* @param options - Optional prepareOnly / signer override. When `prepareOnly` is
|
|
38
|
+
* true, returns a prepared transaction without approving it; the developer must
|
|
39
|
+
* then approve it and (if it was the phase-1 tx) call `migrate()` for phase 2.
|
|
40
|
+
* @returns
|
|
41
|
+
* - When `prepareOnly` is true and the wallet is not already locked: the prepared
|
|
42
|
+
* phase-1 `upgrade-wallet` transaction.
|
|
43
|
+
* - When `prepareOnly` is true and the wallet is already locked (idempotent path):
|
|
44
|
+
* the prepared phase-2 `migrate-wallet` transaction.
|
|
45
|
+
* - Otherwise: the confirmed migrate transaction result.
|
|
46
|
+
*/
|
|
47
|
+
upgrade<T extends UpgradeOptions | undefined = undefined>(options?: T): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>;
|
|
48
|
+
/**
|
|
49
|
+
* Run only the migration phase of a Stellar wallet upgrade. Use this when the
|
|
50
|
+
* upgrade transaction has already confirmed on-chain (e.g. from a previous
|
|
51
|
+
* `upgrade({ prepareOnly: true })` flow) and the wallet is in the locked state.
|
|
52
|
+
*
|
|
53
|
+
* @param options - Optional prepareOnly / signer override.
|
|
54
|
+
*/
|
|
55
|
+
migrate<T extends MigrateOptions | undefined = undefined>(options?: T): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>;
|
|
56
|
+
private migrateInternal;
|
|
26
57
|
private createTransaction;
|
|
58
|
+
/**
|
|
59
|
+
* Creates an `upgrade-wallet` or `migrate-wallet` transaction. Returns the
|
|
60
|
+
* transaction id on success, or `null` if the server returned a 409 indicating
|
|
61
|
+
* the wallet is already in the locked state — callers should treat this as a
|
|
62
|
+
* signal to skip the phase and proceed to the next one.
|
|
63
|
+
*/
|
|
64
|
+
private createWalletLifecycleTransaction;
|
|
65
|
+
private resolveStellarSigner;
|
|
27
66
|
}
|
|
28
67
|
|
|
29
68
|
export { StellarWallet };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StellarChain, Chain } from '../chains/chains.js';
|
|
2
|
-
import { X as TransactionInputOptions, Y as StellarTransactionInput,
|
|
2
|
+
import { X as TransactionInputOptions, Y as StellarTransactionInput, T as Transaction, Q as PrepareOnly, Z as UpgradeOptions, _ as MigrateOptions } from '../types-CtOIG5sn.js';
|
|
3
3
|
import { Wallet } from './wallet.js';
|
|
4
4
|
import '@crossmint/common-sdk-base';
|
|
5
5
|
import 'viem';
|
|
@@ -23,7 +23,46 @@ declare class StellarWallet extends Wallet<StellarChain> {
|
|
|
23
23
|
sendTransaction<T extends TransactionInputOptions | undefined = undefined>(params: StellarTransactionInput & {
|
|
24
24
|
options?: T;
|
|
25
25
|
}): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>;
|
|
26
|
+
/**
|
|
27
|
+
* Upgrade this Stellar smart wallet to the latest contract version.
|
|
28
|
+
*
|
|
29
|
+
* Stellar wallet upgrades are a two-phase on-chain process: first an `upgrade-wallet`
|
|
30
|
+
* transaction swaps the contract bytecode (leaving the wallet temporarily locked),
|
|
31
|
+
* then a `migrate-wallet` transaction transforms the signer storage layout and
|
|
32
|
+
* unlocks the wallet. This method orchestrates both phases.
|
|
33
|
+
*
|
|
34
|
+
* Idempotent: if the wallet is already locked from a previous upgrade attempt,
|
|
35
|
+
* the phase-1 call is skipped and only the migration is executed.
|
|
36
|
+
*
|
|
37
|
+
* @param options - Optional prepareOnly / signer override. When `prepareOnly` is
|
|
38
|
+
* true, returns a prepared transaction without approving it; the developer must
|
|
39
|
+
* then approve it and (if it was the phase-1 tx) call `migrate()` for phase 2.
|
|
40
|
+
* @returns
|
|
41
|
+
* - When `prepareOnly` is true and the wallet is not already locked: the prepared
|
|
42
|
+
* phase-1 `upgrade-wallet` transaction.
|
|
43
|
+
* - When `prepareOnly` is true and the wallet is already locked (idempotent path):
|
|
44
|
+
* the prepared phase-2 `migrate-wallet` transaction.
|
|
45
|
+
* - Otherwise: the confirmed migrate transaction result.
|
|
46
|
+
*/
|
|
47
|
+
upgrade<T extends UpgradeOptions | undefined = undefined>(options?: T): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>;
|
|
48
|
+
/**
|
|
49
|
+
* Run only the migration phase of a Stellar wallet upgrade. Use this when the
|
|
50
|
+
* upgrade transaction has already confirmed on-chain (e.g. from a previous
|
|
51
|
+
* `upgrade({ prepareOnly: true })` flow) and the wallet is in the locked state.
|
|
52
|
+
*
|
|
53
|
+
* @param options - Optional prepareOnly / signer override.
|
|
54
|
+
*/
|
|
55
|
+
migrate<T extends MigrateOptions | undefined = undefined>(options?: T): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>;
|
|
56
|
+
private migrateInternal;
|
|
26
57
|
private createTransaction;
|
|
58
|
+
/**
|
|
59
|
+
* Creates an `upgrade-wallet` or `migrate-wallet` transaction. Returns the
|
|
60
|
+
* transaction id on success, or `null` if the server returned a 409 indicating
|
|
61
|
+
* the wallet is already in the locked state — callers should treat this as a
|
|
62
|
+
* signal to skip the phase and proceed to the next one.
|
|
63
|
+
*/
|
|
64
|
+
private createWalletLifecycleTransaction;
|
|
65
|
+
private resolveStellarSigner;
|
|
27
66
|
}
|
|
28
67
|
|
|
29
68
|
export { StellarWallet };
|
package/dist/wallets/stellar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-CW6D6JCN.js";import"../chunk-7N2UI3ZF.js";import"../chunk-TOAFCAVT.js";import"../chunk-N4IWDL6M.js";import"../chunk-W2RVTMBI.js";import"../chunk-IOSADDL5.js";import"../chunk-GOXB2RBF.js";import"../chunk-VADIEIDS.js";import"../chunk-J7WM724X.js";import"../chunk-L52GDMSH.js";import"../chunk-6X5JEJD7.js";import"../chunk-QM3BB4E2.js";import"../chunk-RBSMBO4T.js";import"../chunk-OQZTL6ZG.js";import"../chunk-N355UETO.js";import"../chunk-3VRN3GKQ.js";import"../chunk-BITOMWYZ.js";import"../chunk-YDZRBHS3.js";import"../chunk-5FTEELGX.js";import"../chunk-M5Y7T2U7.js";import"../chunk-EGFMYX2J.js";import"../chunk-DXCJLVQZ.js";import"../chunk-O6VBO7KG.js";import"../chunk-EM3D5Q3A.js";import"../chunk-EE4ITUGS.js";import"../chunk-6RX65NOA.js";import"../chunk-XNZLCUTY.js";import"../chunk-CKZYSQOK.js";import"../chunk-QVTKTDED.js";import"../chunk-XS5B3TUE.js";import"../chunk-M335XCYO.js";import"../chunk-YH7G2U6V.js";import"../chunk-W7LJS32A.js";import"../chunk-2YLRFJ66.js";import"../chunk-KTKQ6OL5.js";import"../chunk-S3DYQVRD.js";import"../chunk-KUP7H7X2.js";import"../chunk-FT5EVMLB.js";import"../chunk-SVIKBM3S.js";import"../chunk-KKQBZXFE.js";import"../chunk-EXC7TCGL.js";import"../chunk-455NK5LB.js";import"../chunk-HZVB2TS2.js";import"../chunk-7GRHCD3D.js";import"../chunk-J3R36SGJ.js";export{a as StellarWallet};
|
package/dist/wallets/types.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import '@crossmint/client-sdk-window';
|
|
|
3
3
|
import '@crossmint/client-signers';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import 'abitype';
|
|
6
|
-
export {
|
|
6
|
+
export { A as AddSignerOptions, a6 as AddSignerReturnType, aG as Approval, b as ApproveOptions, c as ApproveParams, a5 as ApproveResult, B as Balances, C as Callbacks, d as ClientSideWalletArgsFor, e as ClientSideWalletCreateArgs, aH as DeviceSignerDescriptor, E as EVMTransactionInput, aI as FormattedEVMTransaction, _ as MigrateOptions, aJ as PendingApproval, Q as PrepareOnly, p as RemoveSignerOptions, a7 as RemoveSignerReturnType, a3 as SendTokenTransactionOptions, aK as SendTokenTransactionType, U as SignMessageInput, V as SignTypedDataInput, q as Signature, aL as SignatureInputOptions, r as Signer, aM as SignerInput, v as SignerStatus, w as SolanaTransactionInput, Y as StellarTransactionInput, aN as StellarWalletPlugin, aO as TokenBalance, T as Transaction, X as TransactionInputOptions, x as Transfers, Z as UpgradeOptions, a4 as UserLocator, W as WalletArgsFor, y as WalletCreateArgs, z as WalletOptions, F as WalletPlugin } from '../types-DZWn68Po.cjs';
|
|
7
7
|
import '../chains/chains.cjs';
|
|
8
8
|
import '../utils/device-signers/DeviceSignerKeyStorage.cjs';
|
|
9
9
|
import '../api/gen/types.gen.cjs';
|