@crossmint/wallets-sdk 1.13.0 → 1.14.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/index.cjs +1 -1
- package/dist/api/gen/index.js +1 -1
- package/dist/api/gen/types.gen.d.cts +302 -6
- package/dist/api/gen/types.gen.d.ts +302 -6
- 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/adapters/evm.cjs +1 -1
- package/dist/chains/adapters/evm.d.cts +1 -1
- package/dist/chains/adapters/evm.d.ts +1 -1
- package/dist/chains/adapters/evm.js +1 -1
- package/dist/chains/adapters/solana.cjs +1 -1
- package/dist/chains/adapters/solana.d.cts +1 -1
- package/dist/chains/adapters/solana.d.ts +1 -1
- package/dist/chains/adapters/solana.js +1 -1
- package/dist/chains/adapters/stellar.cjs +1 -1
- package/dist/chains/adapters/stellar.d.cts +1 -1
- package/dist/chains/adapters/stellar.d.ts +1 -1
- package/dist/chains/adapters/stellar.js +1 -1
- package/dist/chains/chain-adapter.cjs +1 -1
- package/dist/chains/chain-adapter.d.cts +1 -1
- package/dist/chains/chain-adapter.d.ts +1 -1
- package/dist/chains/chain-adapter.js +1 -1
- package/dist/chains/chains.cjs +1 -1
- package/dist/chains/chains.js +1 -1
- package/dist/chunk-2353RT2G.js +1 -0
- package/dist/{chunk-REFPDFQ6.js → chunk-25QMJP4S.js} +1 -1
- package/dist/{chunk-AK3REMFI.cjs → chunk-2D6B7AZ6.cjs} +1 -1
- package/dist/{chunk-RCQMAOU6.cjs → chunk-3A5RIBRK.cjs} +1 -1
- package/dist/chunk-3DK46BDI.cjs +1 -0
- package/dist/chunk-3HMPVPJK.cjs +1 -0
- package/dist/chunk-3KAXLLXJ.js +1 -0
- package/dist/{chunk-ST63L4FD.js → chunk-3O64K76B.js} +1 -1
- package/dist/{chunk-36ZZPH5C.js → chunk-3WLIEZQC.js} +1 -1
- package/dist/{chunk-X24IHG7P.cjs → chunk-3XOTSFIM.cjs} +1 -1
- package/dist/{chunk-CXR3NH2D.js → chunk-44HFPLYO.js} +1 -1
- package/dist/{chunk-EBQT52SL.cjs → chunk-4NGMVSZJ.cjs} +1 -1
- package/dist/{chunk-2Q4WYCJK.js → chunk-5GOBTJ5R.js} +1 -1
- package/dist/{chunk-W72CDNMU.cjs → chunk-6KISAN2W.cjs} +1 -1
- package/dist/{chunk-DHY24KCS.cjs → chunk-7ARRJO6U.cjs} +1 -1
- package/dist/{chunk-HIZL7OME.js → chunk-7IGZIKN7.js} +1 -1
- package/dist/{chunk-CUP4XXMT.cjs → chunk-A7RMCREW.cjs} +1 -1
- package/dist/{chunk-3QKB6K3J.js → chunk-AHVQSWYE.js} +1 -1
- package/dist/{chunk-QTWUABUJ.js → chunk-B65XQBHF.js} +1 -1
- package/dist/chunk-BNK3HUH3.cjs +1 -0
- package/dist/{chunk-VYX2NH35.cjs → chunk-BP5DRG7E.cjs} +1 -1
- package/dist/{chunk-JEST5DJZ.cjs → chunk-C4DVSLXL.cjs} +1 -1
- package/dist/{chunk-6ZMBFE4T.js → chunk-C4RBNOH4.js} +1 -1
- package/dist/{chunk-ZA6CCBFR.js → chunk-CYAUQF2V.js} +1 -1
- package/dist/{chunk-5HMRFOCH.js → chunk-DBEVULTB.js} +1 -1
- package/dist/chunk-DKFVM2DI.js +1 -0
- package/dist/{chunk-ARQVCU6M.js → chunk-DOSWSGKB.js} +1 -1
- package/dist/{chunk-S26A5F6S.cjs → chunk-ENIWDTYY.cjs} +1 -1
- package/dist/{chunk-7BW7B47N.js → chunk-EPB4F3KD.js} +1 -1
- package/dist/{chunk-5RXSFMFU.js → chunk-FABA5SLO.js} +1 -1
- package/dist/{chunk-7SOKSLRQ.cjs → chunk-FCEXGWKA.cjs} +1 -1
- package/dist/chunk-GOAGKFGN.cjs +1 -0
- package/dist/{chunk-UCAOZD7R.js → chunk-GXSZQUII.js} +1 -1
- package/dist/{chunk-GA7EPR4Z.js → chunk-GXUPHO44.js} +1 -1
- package/dist/{chunk-JEJYT3WD.cjs → chunk-HBJDNGC5.cjs} +1 -1
- package/dist/{chunk-RSEM7IWN.js → chunk-HMMK6LYH.js} +1 -1
- package/dist/chunk-HN2VCKKJ.js +1 -0
- package/dist/chunk-HR53AARS.cjs +1 -0
- package/dist/{chunk-SEOBV6KR.js → chunk-I76IKSS4.js} +1 -1
- package/dist/{chunk-NVKEVEOY.cjs → chunk-IJPCXBIY.cjs} +1 -1
- package/dist/{chunk-OMTJMVSG.js → chunk-ITYURRZC.js} +1 -1
- package/dist/{chunk-LKQX44ZD.cjs → chunk-JLZUPEFS.cjs} +1 -1
- package/dist/{chunk-UGGVGFV2.cjs → chunk-K2FBJAUJ.cjs} +1 -1
- package/dist/chunk-K4VMQHRR.js +1 -0
- package/dist/{chunk-DXBNYAF3.js → chunk-KJMRLUK5.js} +1 -1
- package/dist/{chunk-R2GZ5L4Q.cjs → chunk-KYQMIHMF.cjs} +1 -1
- package/dist/chunk-L4OZWDFZ.cjs +1 -0
- package/dist/{chunk-RDXPOGIO.js → chunk-L7KSZSXA.js} +1 -1
- package/dist/{chunk-VILSUI3M.cjs → chunk-LQTU43TT.cjs} +1 -1
- package/dist/{chunk-WOQNCBUX.cjs → chunk-M6TKD2QY.cjs} +1 -1
- package/dist/chunk-MEDVUUYK.js +1 -0
- package/dist/{chunk-S73R7VRQ.cjs → chunk-NZO3JW3W.cjs} +1 -1
- package/dist/{chunk-KULR5B4O.cjs → chunk-O2BU2KJD.cjs} +1 -1
- package/dist/{chunk-STRSYJNY.js → chunk-O6DY4JCK.js} +1 -1
- package/dist/{chunk-GUFTPTSI.cjs → chunk-OKD3F4SY.cjs} +1 -1
- package/dist/{chunk-BHMBFV5Z.cjs → chunk-ONFGLJXO.cjs} +1 -1
- package/dist/{chunk-HO7VI37F.js → chunk-OYRRSNQL.js} +1 -1
- package/dist/{chunk-4NQ7C2F3.js → chunk-PA5HV45F.js} +1 -1
- package/dist/{chunk-MIPKK2GZ.cjs → chunk-QFZJHVBS.cjs} +2 -2
- package/dist/{chunk-OE6CWWFM.js → chunk-QR5XE2GS.js} +1 -1
- package/dist/{chunk-I3H3U7XW.cjs → chunk-ROCANMZW.cjs} +1 -1
- package/dist/{chunk-WL3H2D3J.js → chunk-SHTNFUX5.js} +1 -1
- package/dist/{chunk-VCOKK7C2.js → chunk-SPPBXVSX.js} +1 -1
- package/dist/{chunk-QCJA5FJL.cjs → chunk-SYGSYGLJ.cjs} +1 -1
- package/dist/{chunk-5NHL2AW6.cjs → chunk-TDIOBXZ3.cjs} +1 -1
- package/dist/{chunk-HGQTXQ5K.cjs → chunk-TJ5TFZ2D.cjs} +1 -1
- package/dist/{chunk-6EWYCV4P.cjs → chunk-U6VTYWAK.cjs} +1 -1
- package/dist/{chunk-W6L7J3KL.cjs → chunk-UUHUFB3W.cjs} +1 -1
- package/dist/{chunk-BZA3LQT4.cjs → chunk-UUSMKX2G.cjs} +1 -1
- package/dist/{chunk-W36RYDND.js → chunk-VAM47V5T.js} +1 -1
- package/dist/{chunk-FQZXBS7L.cjs → chunk-VGE4ZHHD.cjs} +1 -1
- package/dist/{chunk-TMHT7BAX.js → chunk-WD2WP2BP.js} +1 -1
- package/dist/chunk-WGJP5MZ7.cjs +1 -0
- package/dist/{chunk-UP5EGWNN.cjs → chunk-WIW66KYR.cjs} +1 -1
- package/dist/{chunk-52DSGFRG.cjs → chunk-WWXCXFMH.cjs} +1 -1
- package/dist/{chunk-LMCLD76H.js → chunk-XTLNNY3T.js} +1 -1
- package/dist/{chunk-VTTD4HPY.js → chunk-YITL3ZIZ.js} +1 -1
- package/dist/{chunk-DDSCINJX.js → chunk-ZAMIMEI6.js} +1 -1
- package/dist/{chunk-GKQXMDRT.js → chunk-ZWPYU5GI.js} +1 -1
- package/dist/{chunk-PJQCOLKL.js → chunk-ZXUBE7OW.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- 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 +2 -2
- package/dist/sdk.d.ts +2 -2
- package/dist/sdk.js +1 -1
- package/dist/signers/descriptors/api-key.cjs +1 -1
- package/dist/signers/descriptors/api-key.d.cts +1 -1
- package/dist/signers/descriptors/api-key.d.ts +1 -1
- package/dist/signers/descriptors/api-key.js +1 -1
- package/dist/signers/descriptors/device.cjs +1 -1
- package/dist/signers/descriptors/device.d.cts +1 -1
- package/dist/signers/descriptors/device.d.ts +1 -1
- package/dist/signers/descriptors/device.js +1 -1
- package/dist/signers/descriptors/email.cjs +1 -1
- package/dist/signers/descriptors/email.d.cts +1 -1
- package/dist/signers/descriptors/email.d.ts +1 -1
- package/dist/signers/descriptors/email.js +1 -1
- package/dist/signers/descriptors/external-wallet.cjs +1 -1
- package/dist/signers/descriptors/external-wallet.d.cts +1 -1
- package/dist/signers/descriptors/external-wallet.d.ts +1 -1
- package/dist/signers/descriptors/external-wallet.js +1 -1
- package/dist/signers/descriptors/index.cjs +1 -1
- package/dist/signers/descriptors/index.d.cts +1 -1
- package/dist/signers/descriptors/index.d.ts +1 -1
- package/dist/signers/descriptors/index.js +1 -1
- package/dist/signers/descriptors/passkey.d.cts +1 -1
- package/dist/signers/descriptors/passkey.d.ts +1 -1
- package/dist/signers/descriptors/phone.cjs +1 -1
- package/dist/signers/descriptors/phone.d.cts +1 -1
- package/dist/signers/descriptors/phone.d.ts +1 -1
- package/dist/signers/descriptors/phone.js +1 -1
- package/dist/signers/descriptors/server.d.cts +1 -1
- package/dist/signers/descriptors/server.d.ts +1 -1
- package/dist/signers/descriptors/types.d.cts +1 -1
- package/dist/signers/descriptors/types.d.ts +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 +1 -1
- package/dist/signers/non-custodial/ncs-signer.d.ts +1 -1
- 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.cjs +1 -1
- package/dist/signers/passkey.d.cts +1 -1
- package/dist/signers/passkey.d.ts +1 -1
- package/dist/signers/passkey.js +1 -1
- package/dist/signers/server/assemble-server-signer.cjs +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/assemble-server-signer.js +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.cjs +1 -1
- package/dist/signers/server/index.d.cts +1 -1
- package/dist/signers/server/index.d.ts +1 -1
- package/dist/signers/server/index.js +1 -1
- package/dist/signers/server/resolver.cjs +1 -1
- package/dist/signers/server/resolver.d.cts +1 -1
- package/dist/signers/server/resolver.d.ts +1 -1
- package/dist/signers/server/resolver.js +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.cjs +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/server/stellar-server-signer.js +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.cjs +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/solana-external-wallet.js +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-86FbKjRz.d.cts → types-Bu9ogwHh.d.cts} +11 -4
- package/dist/{types-BcjKqQz3.d.ts → types-CnvI-xes.d.ts} +11 -4
- 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/errors.cjs +1 -1
- package/dist/utils/errors.d.cts +38 -2
- package/dist/utils/errors.d.ts +38 -2
- package/dist/utils/errors.js +1 -1
- package/dist/utils/locators.cjs +1 -1
- package/dist/utils/locators.d.cts +1 -1
- package/dist/utils/locators.d.ts +1 -1
- package/dist/utils/locators.js +1 -1
- package/dist/utils/recovery.cjs +1 -0
- package/dist/utils/recovery.d.cts +16 -0
- package/dist/utils/recovery.d.ts +16 -0
- package/dist/utils/recovery.js +1 -0
- package/dist/utils/signer-locator.cjs +1 -1
- package/dist/utils/signer-locator.d.cts +1 -1
- package/dist/utils/signer-locator.d.ts +1 -1
- package/dist/utils/signer-locator.js +1 -1
- package/dist/utils/signer-mapping.d.cts +1 -1
- package/dist/utils/signer-mapping.d.ts +1 -1
- package/dist/utils/signer-validation.cjs +1 -1
- package/dist/utils/signer-validation.js +1 -1
- package/dist/wallets/__tests__/test-helpers.cjs +1 -1
- package/dist/wallets/__tests__/test-helpers.d.cts +2 -2
- package/dist/wallets/__tests__/test-helpers.d.ts +2 -2
- 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/services/balance-formatter.cjs +1 -1
- package/dist/wallets/services/balance-formatter.d.cts +1 -1
- package/dist/wallets/services/balance-formatter.d.ts +1 -1
- package/dist/wallets/services/balance-formatter.js +1 -1
- package/dist/wallets/services/device-recovery-service.cjs +1 -1
- package/dist/wallets/services/device-recovery-service.d.cts +1 -1
- package/dist/wallets/services/device-recovery-service.d.ts +1 -1
- package/dist/wallets/services/device-recovery-service.js +1 -1
- package/dist/wallets/services/operation-poller.cjs +1 -1
- package/dist/wallets/services/operation-poller.d.cts +1 -1
- package/dist/wallets/services/operation-poller.d.ts +1 -1
- package/dist/wallets/services/operation-poller.js +1 -1
- package/dist/wallets/services/signer-manager.cjs +1 -1
- package/dist/wallets/services/signer-manager.d.cts +1 -1
- package/dist/wallets/services/signer-manager.d.ts +1 -1
- package/dist/wallets/services/signer-manager.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 +1 -1
- package/dist/wallets/stellar.d.ts +1 -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 +20 -1
- package/dist/wallets/wallet-factory.d.ts +20 -1
- package/dist/wallets/wallet-factory.js +1 -1
- package/dist/wallets/wallet.cjs +1 -1
- package/dist/wallets/wallet.d.cts +8 -6
- package/dist/wallets/wallet.d.ts +8 -6
- package/dist/wallets/wallet.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-44ICOOCJ.cjs +0 -1
- package/dist/chunk-5W37U67F.js +0 -1
- package/dist/chunk-7FEY62ID.js +0 -1
- package/dist/chunk-7GJLRYUQ.cjs +0 -1
- package/dist/chunk-AVX5ICB6.cjs +0 -1
- package/dist/chunk-FL5XTA2Z.js +0 -1
- package/dist/chunk-JCNQFYND.js +0 -1
- package/dist/chunk-JEKHYLBB.js +0 -1
- package/dist/chunk-KCR63V4C.cjs +0 -1
- package/dist/chunk-T5OX7TEH.cjs +0 -1
- package/dist/chunk-XZ4NKVEB.cjs +0 -1
|
@@ -10715,9 +10715,9 @@ type CreateWalletV2025DtoClass = {
|
|
|
10715
10715
|
}>;
|
|
10716
10716
|
};
|
|
10717
10717
|
/**
|
|
10718
|
-
* The recovery
|
|
10718
|
+
* The recovery signers of the wallet: a list of up to 10 recovery signers that can each authorize on their own. Mutually exclusive with `adminSigner`.
|
|
10719
10719
|
*/
|
|
10720
|
-
recovery?: {
|
|
10720
|
+
recovery?: Array<{
|
|
10721
10721
|
/**
|
|
10722
10722
|
* Identifier for external wallet signer type
|
|
10723
10723
|
*/
|
|
@@ -10833,7 +10833,7 @@ type CreateWalletV2025DtoClass = {
|
|
|
10833
10833
|
*/
|
|
10834
10834
|
phone: string;
|
|
10835
10835
|
}>;
|
|
10836
|
-
}
|
|
10836
|
+
}>;
|
|
10837
10837
|
/**
|
|
10838
10838
|
* Optional array of delegated signers to be created for the wallet
|
|
10839
10839
|
*/
|
|
@@ -11115,9 +11115,9 @@ type CreateWalletV2025DtoClass = {
|
|
|
11115
11115
|
}>;
|
|
11116
11116
|
};
|
|
11117
11117
|
/**
|
|
11118
|
-
* The recovery
|
|
11118
|
+
* The recovery signers of the wallet: a list of up to 10 recovery signers that can each authorize on their own. Mutually exclusive with `adminSigner`.
|
|
11119
11119
|
*/
|
|
11120
|
-
recovery?: {
|
|
11120
|
+
recovery?: Array<{
|
|
11121
11121
|
/**
|
|
11122
11122
|
* Identifier for external wallet signer type
|
|
11123
11123
|
*/
|
|
@@ -11233,7 +11233,7 @@ type CreateWalletV2025DtoClass = {
|
|
|
11233
11233
|
*/
|
|
11234
11234
|
phone: string;
|
|
11235
11235
|
}>;
|
|
11236
|
-
}
|
|
11236
|
+
}>;
|
|
11237
11237
|
/**
|
|
11238
11238
|
* Optional array of delegated signers to be created for the wallet
|
|
11239
11239
|
*/
|
|
@@ -30868,6 +30868,9 @@ type WalletV2025ResponseDtoClass = {
|
|
|
30868
30868
|
* Solana wallet type specific configuration settings
|
|
30869
30869
|
*/
|
|
30870
30870
|
config?: {
|
|
30871
|
+
/**
|
|
30872
|
+
* @deprecated Use `recovery` instead. The wallet's first admin signer.
|
|
30873
|
+
*/
|
|
30871
30874
|
adminSigner: {
|
|
30872
30875
|
/**
|
|
30873
30876
|
* Identifier for external wallet signer type
|
|
@@ -31010,6 +31013,151 @@ type WalletV2025ResponseDtoClass = {
|
|
|
31010
31013
|
address: string;
|
|
31011
31014
|
}>;
|
|
31012
31015
|
};
|
|
31016
|
+
/**
|
|
31017
|
+
* Every admin signer of the wallet; each of them can authorize on its own.
|
|
31018
|
+
*/
|
|
31019
|
+
recovery: Array<{
|
|
31020
|
+
/**
|
|
31021
|
+
* Identifier for external wallet signer type
|
|
31022
|
+
*/
|
|
31023
|
+
type: 'external-wallet';
|
|
31024
|
+
/**
|
|
31025
|
+
* The blockchain address of the external wallet
|
|
31026
|
+
*/
|
|
31027
|
+
address: string;
|
|
31028
|
+
/**
|
|
31029
|
+
* The locator of the signer
|
|
31030
|
+
*/
|
|
31031
|
+
locator: string;
|
|
31032
|
+
} | {
|
|
31033
|
+
/**
|
|
31034
|
+
* Identifier for server signer type
|
|
31035
|
+
*/
|
|
31036
|
+
type: 'server';
|
|
31037
|
+
/**
|
|
31038
|
+
* The blockchain address of the server signer
|
|
31039
|
+
*/
|
|
31040
|
+
address: string;
|
|
31041
|
+
/**
|
|
31042
|
+
* The locator of the signer
|
|
31043
|
+
*/
|
|
31044
|
+
locator: string;
|
|
31045
|
+
} | {
|
|
31046
|
+
/**
|
|
31047
|
+
* Identifier for API key signer type
|
|
31048
|
+
*/
|
|
31049
|
+
type: 'api-key';
|
|
31050
|
+
/**
|
|
31051
|
+
* The blockchain address of the custodial signer
|
|
31052
|
+
*/
|
|
31053
|
+
address: string;
|
|
31054
|
+
/**
|
|
31055
|
+
* The locator of the signer
|
|
31056
|
+
*/
|
|
31057
|
+
locator: string;
|
|
31058
|
+
} | {
|
|
31059
|
+
/**
|
|
31060
|
+
* Identifier for email signer type
|
|
31061
|
+
*/
|
|
31062
|
+
type: 'email';
|
|
31063
|
+
/**
|
|
31064
|
+
* The email address for the signer
|
|
31065
|
+
*/
|
|
31066
|
+
email: string;
|
|
31067
|
+
/**
|
|
31068
|
+
* The locator of the signer
|
|
31069
|
+
*/
|
|
31070
|
+
locator: string;
|
|
31071
|
+
/**
|
|
31072
|
+
* The address of the signer
|
|
31073
|
+
*/
|
|
31074
|
+
address: string;
|
|
31075
|
+
} | {
|
|
31076
|
+
/**
|
|
31077
|
+
* Identifier for phone signer type
|
|
31078
|
+
*/
|
|
31079
|
+
type: 'phone';
|
|
31080
|
+
/**
|
|
31081
|
+
* The phone number for the signer in E164 format
|
|
31082
|
+
*/
|
|
31083
|
+
phone: string;
|
|
31084
|
+
/**
|
|
31085
|
+
* The locator of the signer
|
|
31086
|
+
*/
|
|
31087
|
+
locator: string;
|
|
31088
|
+
/**
|
|
31089
|
+
* The address of the signer
|
|
31090
|
+
*/
|
|
31091
|
+
address: string;
|
|
31092
|
+
} | {
|
|
31093
|
+
type: 'quorum';
|
|
31094
|
+
threshold: number;
|
|
31095
|
+
/**
|
|
31096
|
+
* The locator of the quorum signer (read-only, derived from threshold + members)
|
|
31097
|
+
*/
|
|
31098
|
+
locator: string;
|
|
31099
|
+
signers: Array<{
|
|
31100
|
+
/**
|
|
31101
|
+
* Identifier for external wallet signer type
|
|
31102
|
+
*/
|
|
31103
|
+
type: 'external-wallet';
|
|
31104
|
+
/**
|
|
31105
|
+
* The blockchain address of the external wallet
|
|
31106
|
+
*/
|
|
31107
|
+
address: string;
|
|
31108
|
+
/**
|
|
31109
|
+
* The locator of the signer
|
|
31110
|
+
*/
|
|
31111
|
+
locator: string;
|
|
31112
|
+
} | {
|
|
31113
|
+
/**
|
|
31114
|
+
* Identifier for server signer type
|
|
31115
|
+
*/
|
|
31116
|
+
type: 'server';
|
|
31117
|
+
/**
|
|
31118
|
+
* The blockchain address of the server signer
|
|
31119
|
+
*/
|
|
31120
|
+
address: string;
|
|
31121
|
+
/**
|
|
31122
|
+
* The locator of the signer
|
|
31123
|
+
*/
|
|
31124
|
+
locator: string;
|
|
31125
|
+
} | {
|
|
31126
|
+
/**
|
|
31127
|
+
* Identifier for email signer type
|
|
31128
|
+
*/
|
|
31129
|
+
type: 'email';
|
|
31130
|
+
/**
|
|
31131
|
+
* The email address for the signer
|
|
31132
|
+
*/
|
|
31133
|
+
email: string;
|
|
31134
|
+
/**
|
|
31135
|
+
* The locator of the signer
|
|
31136
|
+
*/
|
|
31137
|
+
locator: string;
|
|
31138
|
+
/**
|
|
31139
|
+
* The address of the signer
|
|
31140
|
+
*/
|
|
31141
|
+
address: string;
|
|
31142
|
+
} | {
|
|
31143
|
+
/**
|
|
31144
|
+
* Identifier for phone signer type
|
|
31145
|
+
*/
|
|
31146
|
+
type: 'phone';
|
|
31147
|
+
/**
|
|
31148
|
+
* The phone number for the signer in E164 format
|
|
31149
|
+
*/
|
|
31150
|
+
phone: string;
|
|
31151
|
+
/**
|
|
31152
|
+
* The locator of the signer
|
|
31153
|
+
*/
|
|
31154
|
+
locator: string;
|
|
31155
|
+
/**
|
|
31156
|
+
* The address of the signer
|
|
31157
|
+
*/
|
|
31158
|
+
address: string;
|
|
31159
|
+
}>;
|
|
31160
|
+
}>;
|
|
31013
31161
|
/**
|
|
31014
31162
|
* Solana Delegated Signer Response
|
|
31015
31163
|
* Complete delegated signer response including the signer and authorization transaction
|
|
@@ -31879,6 +32027,9 @@ type WalletV2025ResponseDtoClass = {
|
|
|
31879
32027
|
* Stellar wallet type specific configuration settings
|
|
31880
32028
|
*/
|
|
31881
32029
|
config?: {
|
|
32030
|
+
/**
|
|
32031
|
+
* @deprecated Use `recovery` instead. The wallet's first admin signer.
|
|
32032
|
+
*/
|
|
31882
32033
|
adminSigner: {
|
|
31883
32034
|
/**
|
|
31884
32035
|
* Identifier for external wallet signer type
|
|
@@ -32021,6 +32172,151 @@ type WalletV2025ResponseDtoClass = {
|
|
|
32021
32172
|
address: string;
|
|
32022
32173
|
}>;
|
|
32023
32174
|
};
|
|
32175
|
+
/**
|
|
32176
|
+
* Every admin signer of the wallet; each of them can authorize on its own.
|
|
32177
|
+
*/
|
|
32178
|
+
recovery: Array<{
|
|
32179
|
+
/**
|
|
32180
|
+
* Identifier for external wallet signer type
|
|
32181
|
+
*/
|
|
32182
|
+
type: 'external-wallet';
|
|
32183
|
+
/**
|
|
32184
|
+
* The blockchain address of the external wallet
|
|
32185
|
+
*/
|
|
32186
|
+
address: string;
|
|
32187
|
+
/**
|
|
32188
|
+
* The locator of the signer
|
|
32189
|
+
*/
|
|
32190
|
+
locator: string;
|
|
32191
|
+
} | {
|
|
32192
|
+
/**
|
|
32193
|
+
* Identifier for server signer type
|
|
32194
|
+
*/
|
|
32195
|
+
type: 'server';
|
|
32196
|
+
/**
|
|
32197
|
+
* The blockchain address of the server signer
|
|
32198
|
+
*/
|
|
32199
|
+
address: string;
|
|
32200
|
+
/**
|
|
32201
|
+
* The locator of the signer
|
|
32202
|
+
*/
|
|
32203
|
+
locator: string;
|
|
32204
|
+
} | {
|
|
32205
|
+
/**
|
|
32206
|
+
* Identifier for email signer type
|
|
32207
|
+
*/
|
|
32208
|
+
type: 'email';
|
|
32209
|
+
/**
|
|
32210
|
+
* The email address for the signer
|
|
32211
|
+
*/
|
|
32212
|
+
email: string;
|
|
32213
|
+
/**
|
|
32214
|
+
* The locator of the signer
|
|
32215
|
+
*/
|
|
32216
|
+
locator: string;
|
|
32217
|
+
/**
|
|
32218
|
+
* The address of the signer
|
|
32219
|
+
*/
|
|
32220
|
+
address: string;
|
|
32221
|
+
} | {
|
|
32222
|
+
/**
|
|
32223
|
+
* Identifier for phone signer type
|
|
32224
|
+
*/
|
|
32225
|
+
type: 'phone';
|
|
32226
|
+
/**
|
|
32227
|
+
* The phone number for the signer in E164 format
|
|
32228
|
+
*/
|
|
32229
|
+
phone: string;
|
|
32230
|
+
/**
|
|
32231
|
+
* The locator of the signer
|
|
32232
|
+
*/
|
|
32233
|
+
locator: string;
|
|
32234
|
+
/**
|
|
32235
|
+
* The address of the signer
|
|
32236
|
+
*/
|
|
32237
|
+
address: string;
|
|
32238
|
+
} | {
|
|
32239
|
+
/**
|
|
32240
|
+
* Identifier for API key signer type
|
|
32241
|
+
*/
|
|
32242
|
+
type: 'api-key';
|
|
32243
|
+
/**
|
|
32244
|
+
* The blockchain address of the custodial signer
|
|
32245
|
+
*/
|
|
32246
|
+
address: string;
|
|
32247
|
+
/**
|
|
32248
|
+
* The locator of the signer
|
|
32249
|
+
*/
|
|
32250
|
+
locator: string;
|
|
32251
|
+
} | {
|
|
32252
|
+
type: 'quorum';
|
|
32253
|
+
threshold: number;
|
|
32254
|
+
/**
|
|
32255
|
+
* The locator of the quorum signer (read-only, derived from threshold + members)
|
|
32256
|
+
*/
|
|
32257
|
+
locator: string;
|
|
32258
|
+
signers: Array<{
|
|
32259
|
+
/**
|
|
32260
|
+
* Identifier for external wallet signer type
|
|
32261
|
+
*/
|
|
32262
|
+
type: 'external-wallet';
|
|
32263
|
+
/**
|
|
32264
|
+
* The blockchain address of the external wallet
|
|
32265
|
+
*/
|
|
32266
|
+
address: string;
|
|
32267
|
+
/**
|
|
32268
|
+
* The locator of the signer
|
|
32269
|
+
*/
|
|
32270
|
+
locator: string;
|
|
32271
|
+
} | {
|
|
32272
|
+
/**
|
|
32273
|
+
* Identifier for server signer type
|
|
32274
|
+
*/
|
|
32275
|
+
type: 'server';
|
|
32276
|
+
/**
|
|
32277
|
+
* The blockchain address of the server signer
|
|
32278
|
+
*/
|
|
32279
|
+
address: string;
|
|
32280
|
+
/**
|
|
32281
|
+
* The locator of the signer
|
|
32282
|
+
*/
|
|
32283
|
+
locator: string;
|
|
32284
|
+
} | {
|
|
32285
|
+
/**
|
|
32286
|
+
* Identifier for email signer type
|
|
32287
|
+
*/
|
|
32288
|
+
type: 'email';
|
|
32289
|
+
/**
|
|
32290
|
+
* The email address for the signer
|
|
32291
|
+
*/
|
|
32292
|
+
email: string;
|
|
32293
|
+
/**
|
|
32294
|
+
* The locator of the signer
|
|
32295
|
+
*/
|
|
32296
|
+
locator: string;
|
|
32297
|
+
/**
|
|
32298
|
+
* The address of the signer
|
|
32299
|
+
*/
|
|
32300
|
+
address: string;
|
|
32301
|
+
} | {
|
|
32302
|
+
/**
|
|
32303
|
+
* Identifier for phone signer type
|
|
32304
|
+
*/
|
|
32305
|
+
type: 'phone';
|
|
32306
|
+
/**
|
|
32307
|
+
* The phone number for the signer in E164 format
|
|
32308
|
+
*/
|
|
32309
|
+
phone: string;
|
|
32310
|
+
/**
|
|
32311
|
+
* The locator of the signer
|
|
32312
|
+
*/
|
|
32313
|
+
locator: string;
|
|
32314
|
+
/**
|
|
32315
|
+
* The address of the signer
|
|
32316
|
+
*/
|
|
32317
|
+
address: string;
|
|
32318
|
+
}>;
|
|
32319
|
+
}>;
|
|
32024
32320
|
/**
|
|
32025
32321
|
* Stellar Delegated Signer Response
|
|
32026
32322
|
* Complete delegated signer response including the signer and authorization transaction
|
package/dist/api/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6HXIZLEQ.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6HXIZLEQ.cjs');var _chunkUUSMKX2Gcjs = require('../chunk-UUSMKX2G.cjs');require('../chunk-ECAM5KTH.cjs');require('../chunk-GOAGKFGN.cjs');require('../chunk-TDIOBXZ3.cjs');require('../chunk-JLZUPEFS.cjs');require('../chunk-DSIFRRBS.cjs');exports.ApiClient = _chunkUUSMKX2Gcjs.a;
|
package/dist/api/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ApiClient } from './client.cjs';
|
|
2
|
-
export { aG as ApproveSignatureParams,
|
|
2
|
+
export { aG as ApproveSignatureParams, af as ApproveSignatureResponse, aC as ApproveTransactionParams, aD as ApproveTransactionResponse, aE as CreateSignatureParams, aF as CreateSignatureResponse, aA as CreateTransactionParams, aB as CreateTransactionResponse, aO as CreateTransactionSuccessResponse, at as CreateWalletParams, as as CreateWalletResponse, aK as FundWalletParams, a7 as FundWalletResponse, aJ as GetBalanceResponse, ay as GetBalanceSuccessResponse, aH as GetSignatureResponse, aj as GetSignerResponse, aP as GetSignersResponse, aq as GetTransactionResponse, a9 as GetTransactionSuccessResponse, a8 as GetTransactionsResponse, aI as GetTransfersResponse, az as GetWalletResponse, aQ as GetWalletSuccessResponse, aR as RecoverySignerConfig, an as RegisterSignerChain, al as RegisterSignerParams, r as RegisterSignerPasskeyParams, ao as RegisterSignerResponse, aL as RemoveSignerParams, aM as RemoveSignerResponse, S as Scope, aN as SendParams, ar as SendResponse, a1 as Signer, H as TransferScope, I as Transfers, ae as WalletLocator } from '../types-Bu9ogwHh.cjs';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import '../chains/chains.cjs';
|
|
5
5
|
import 'viem';
|
package/dist/api/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ApiClient } from './client.js';
|
|
2
|
-
export { aG as ApproveSignatureParams,
|
|
2
|
+
export { aG as ApproveSignatureParams, af as ApproveSignatureResponse, aC as ApproveTransactionParams, aD as ApproveTransactionResponse, aE as CreateSignatureParams, aF as CreateSignatureResponse, aA as CreateTransactionParams, aB as CreateTransactionResponse, aO as CreateTransactionSuccessResponse, at as CreateWalletParams, as as CreateWalletResponse, aK as FundWalletParams, a7 as FundWalletResponse, aJ as GetBalanceResponse, ay as GetBalanceSuccessResponse, aH as GetSignatureResponse, aj as GetSignerResponse, aP as GetSignersResponse, aq as GetTransactionResponse, a9 as GetTransactionSuccessResponse, a8 as GetTransactionsResponse, aI as GetTransfersResponse, az as GetWalletResponse, aQ as GetWalletSuccessResponse, aR as RecoverySignerConfig, an as RegisterSignerChain, al as RegisterSignerParams, r as RegisterSignerPasskeyParams, ao as RegisterSignerResponse, aL as RemoveSignerParams, aM as RemoveSignerResponse, S as Scope, aN as SendParams, ar as SendResponse, a1 as Signer, H as TransferScope, I as Transfers, ae as WalletLocator } from '../types-CnvI-xes.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import '../chains/chains.js';
|
|
5
5
|
import 'viem';
|
package/dist/api/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunk-5IFDVB4Y.js";import{a}from"../chunk-
|
|
1
|
+
import"../chunk-5IFDVB4Y.js";import{a}from"../chunk-B65XQBHF.js";import"../chunk-KBJA7JDT.js";import"../chunk-DKFVM2DI.js";import"../chunk-44HFPLYO.js";import"../chunk-2353RT2G.js";import"../chunk-NU7VF7MC.js";export{a as ApiClient};
|
package/dist/api/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'viem';
|
|
2
2
|
import './gen/types.gen.cjs';
|
|
3
|
-
export { aG as ApproveSignatureParams,
|
|
3
|
+
export { aG as ApproveSignatureParams, af as ApproveSignatureResponse, aC as ApproveTransactionParams, aD as ApproveTransactionResponse, aE as CreateSignatureParams, aF as CreateSignatureResponse, aA as CreateTransactionParams, aB as CreateTransactionResponse, aO as CreateTransactionSuccessResponse, at as CreateWalletParams, as as CreateWalletResponse, aK as FundWalletParams, a7 as FundWalletResponse, aJ as GetBalanceResponse, ay as GetBalanceSuccessResponse, aH as GetSignatureResponse, aj as GetSignerResponse, aP as GetSignersResponse, aq as GetTransactionResponse, a9 as GetTransactionSuccessResponse, a8 as GetTransactionsResponse, aI as GetTransfersResponse, az as GetWalletResponse, aQ as GetWalletSuccessResponse, aR as RecoverySignerConfig, an as RegisterSignerChain, al as RegisterSignerParams, r as RegisterSignerPasskeyParams, ao as RegisterSignerResponse, aL as RemoveSignerParams, aM as RemoveSignerResponse, S as Scope, aN as SendParams, ar as SendResponse, a1 as Signer, H as TransferScope, I as Transfers, ae as WalletLocator } from '../types-Bu9ogwHh.cjs';
|
|
4
4
|
import '../chains/chains.cjs';
|
|
5
5
|
import 'ox';
|
|
6
6
|
import '@crossmint/client-sdk-window';
|
package/dist/api/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'viem';
|
|
2
2
|
import './gen/types.gen.js';
|
|
3
|
-
export { aG as ApproveSignatureParams,
|
|
3
|
+
export { aG as ApproveSignatureParams, af as ApproveSignatureResponse, aC as ApproveTransactionParams, aD as ApproveTransactionResponse, aE as CreateSignatureParams, aF as CreateSignatureResponse, aA as CreateTransactionParams, aB as CreateTransactionResponse, aO as CreateTransactionSuccessResponse, at as CreateWalletParams, as as CreateWalletResponse, aK as FundWalletParams, a7 as FundWalletResponse, aJ as GetBalanceResponse, ay as GetBalanceSuccessResponse, aH as GetSignatureResponse, aj as GetSignerResponse, aP as GetSignersResponse, aq as GetTransactionResponse, a9 as GetTransactionSuccessResponse, a8 as GetTransactionsResponse, aI as GetTransfersResponse, az as GetWalletResponse, aQ as GetWalletSuccessResponse, aR as RecoverySignerConfig, an as RegisterSignerChain, al as RegisterSignerParams, r as RegisterSignerPasskeyParams, ao as RegisterSignerResponse, aL as RemoveSignerParams, aM as RemoveSignerResponse, S as Scope, aN as SendParams, ar as SendResponse, a1 as Signer, H as TransferScope, I as Transfers, ae as WalletLocator } from '../types-CnvI-xes.js';
|
|
4
4
|
import '../chains/chains.js';
|
|
5
5
|
import 'ox';
|
|
6
6
|
import '@crossmint/client-sdk-window';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNZO3JW3Wcjs = require('../../chunk-NZO3JW3W.cjs');require('../../chunk-JNKTRQPS.cjs');require('../../chunk-GOAGKFGN.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-TDIOBXZ3.cjs');require('../../chunk-JLZUPEFS.cjs');require('../../chunk-DSIFRRBS.cjs');exports.evmChainAdapter = _chunkNZO3JW3Wcjs.a;
|
|
@@ -2,7 +2,7 @@ import { ChainAdapter } from '../chain-adapter.cjs';
|
|
|
2
2
|
import '../chains.cjs';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-Bu9ogwHh.cjs';
|
|
6
6
|
import '../../api/gen/types.gen.cjs';
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
@@ -2,7 +2,7 @@ import { ChainAdapter } from '../chain-adapter.js';
|
|
|
2
2
|
import '../chains.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-CnvI-xes.js';
|
|
6
6
|
import '../../api/gen/types.gen.js';
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-5GOBTJ5R.js";import"../../chunk-B4GYB3XY.js";import"../../chunk-DKFVM2DI.js";import"../../chunk-455NK5LB.js";import"../../chunk-44HFPLYO.js";import"../../chunk-2353RT2G.js";import"../../chunk-NU7VF7MC.js";export{a as evmChainAdapter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIJPCXBIYcjs = require('../../chunk-IJPCXBIY.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-TDIOBXZ3.cjs');require('../../chunk-JLZUPEFS.cjs');require('../../chunk-DSIFRRBS.cjs');exports.solanaChainAdapter = _chunkIJPCXBIYcjs.a;
|
|
@@ -2,7 +2,7 @@ import { ChainAdapter } from '../chain-adapter.cjs';
|
|
|
2
2
|
import '../chains.cjs';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-Bu9ogwHh.cjs';
|
|
6
6
|
import '../../api/gen/types.gen.cjs';
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
@@ -2,7 +2,7 @@ import { ChainAdapter } from '../chain-adapter.js';
|
|
|
2
2
|
import '../chains.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-CnvI-xes.js';
|
|
6
6
|
import '../../api/gen/types.gen.js';
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-3WLIEZQC.js";import"../../chunk-455NK5LB.js";import"../../chunk-44HFPLYO.js";import"../../chunk-2353RT2G.js";import"../../chunk-NU7VF7MC.js";export{a as solanaChainAdapter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkONFGLJXOcjs = require('../../chunk-ONFGLJXO.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-TDIOBXZ3.cjs');require('../../chunk-JLZUPEFS.cjs');require('../../chunk-DSIFRRBS.cjs');exports.stellarChainAdapter = _chunkONFGLJXOcjs.a;
|
|
@@ -2,7 +2,7 @@ import { ChainAdapter } from '../chain-adapter.cjs';
|
|
|
2
2
|
import '../chains.cjs';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-Bu9ogwHh.cjs';
|
|
6
6
|
import '../../api/gen/types.gen.cjs';
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
@@ -2,7 +2,7 @@ import { ChainAdapter } from '../chain-adapter.js';
|
|
|
2
2
|
import '../chains.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-CnvI-xes.js';
|
|
6
6
|
import '../../api/gen/types.gen.js';
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-FABA5SLO.js";import"../../chunk-455NK5LB.js";import"../../chunk-44HFPLYO.js";import"../../chunk-2353RT2G.js";import"../../chunk-NU7VF7MC.js";export{a as stellarChainAdapter};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBNK3HUH3cjs = require('../chunk-BNK3HUH3.cjs');require('../chunk-NZO3JW3W.cjs');require('../chunk-IJPCXBIY.cjs');require('../chunk-ONFGLJXO.cjs');require('../chunk-JNKTRQPS.cjs');require('../chunk-ENU3EKBG.cjs');require('../chunk-GOAGKFGN.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-TDIOBXZ3.cjs');require('../chunk-JLZUPEFS.cjs');require('../chunk-DSIFRRBS.cjs');exports.getChainAdapter = _chunkBNK3HUH3cjs.a; exports.isSupportedChainType = _chunkBNK3HUH3cjs.b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Chain } from './chains.cjs';
|
|
2
|
-
import { an as RegisterSignerChain, ao as RegisterSignerResponse,
|
|
2
|
+
import { an as RegisterSignerChain, ao as RegisterSignerResponse, a2 as PendingSignerOperation, ap as TokenBalance } from '../types-Bu9ogwHh.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.js';
|
|
2
|
-
import { an as RegisterSignerChain, ao as RegisterSignerResponse,
|
|
2
|
+
import { an as RegisterSignerChain, ao as RegisterSignerResponse, a2 as PendingSignerOperation, ap as TokenBalance } from '../types-CnvI-xes.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
5
|
import '../api/gen/types.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-OYRRSNQL.js";import"../chunk-5GOBTJ5R.js";import"../chunk-3WLIEZQC.js";import"../chunk-FABA5SLO.js";import"../chunk-B4GYB3XY.js";import"../chunk-OQZTL6ZG.js";import"../chunk-DKFVM2DI.js";import"../chunk-455NK5LB.js";import"../chunk-44HFPLYO.js";import"../chunk-2353RT2G.js";import"../chunk-NU7VF7MC.js";export{a as getChainAdapter,b as isSupportedChainType};
|
package/dist/chains/chains.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkK2FBJAUJcjs = require('../chunk-K2FBJAUJ.cjs');require('../chunk-UE3WVHTM.cjs');require('../chunk-5X4EOJFG.cjs');require('../chunk-HRUMWG2F.cjs');require('../chunk-IR5WN6FQ.cjs');require('../chunk-GEY574TH.cjs');require('../chunk-GOAGKFGN.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-TDIOBXZ3.cjs');require('../chunk-JLZUPEFS.cjs');require('../chunk-DSIFRRBS.cjs');exports.isMainnetChain = _chunkK2FBJAUJcjs.c; exports.isTestnetChain = _chunkK2FBJAUJcjs.b; exports.isValidChain = _chunkK2FBJAUJcjs.e; exports.mainnetToTestnet = _chunkK2FBJAUJcjs.d; exports.toViemChain = _chunkK2FBJAUJcjs.a; exports.validateChainForEnvironment = _chunkK2FBJAUJcjs.f;
|
package/dist/chains/chains.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f}from"../chunk-PA5HV45F.js";import"../chunk-KUP7H7X2.js";import"../chunk-FT5EVMLB.js";import"../chunk-SVIKBM3S.js";import"../chunk-KKQBZXFE.js";import"../chunk-S3DYQVRD.js";import"../chunk-DKFVM2DI.js";import"../chunk-455NK5LB.js";import"../chunk-44HFPLYO.js";import"../chunk-2353RT2G.js";import"../chunk-NU7VF7MC.js";export{c as isMainnetChain,b as isTestnetChain,e as isValidChain,d as mainnetToTestnet,a as toViemChain,f as validateChainForEnvironment};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s="@crossmint/wallets-sdk",t="1.14.0";var c="WALLETS_SDK",r=t,a=s,d=200;export{c as a,r as b,a as c,d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b as g}from"./chunk-
|
|
1
|
+
import{a,b as g}from"./chunk-3O64K76B.js";import{a as s}from"./chunk-44HFPLYO.js";import{h as t}from"./chunk-NU7VF7MC.js";import{PersonalMessage as u}from"ox";import{isHex as h,toHex as l}from"viem";var c=class p extends a{constructor(e){super(e)}signMessage(e){return t(this,null,function*(){let i=h(e)?e:l(e),r=u.getSignPayload(i);return yield this.sign(r)})}signTransaction(e){return t(this,null,function*(){return yield this.sign(e)})}sign(e){return t(this,null,function*(){var o;yield this.handleAuthRequired();let i=this.getJwtOrThrow(),r=e.replace("0x","");s.info("sign: sending request",{keyType:"secp256k1"});let y=Date.now(),n=yield(o=this.config.clientTEEConnection)==null?void 0:o.sendAction({event:"request:sign",responseEvent:"response:sign",data:{authData:{jwt:i,apiKey:this.config.crossmint.apiKey},data:{keyType:"secp256k1",bytes:r,encoding:"hex"}},options:g});if(s.info("sign: response received",{status:n==null?void 0:n.status,durationMs:Date.now()-y}),(n==null?void 0:n.status)==="error")throw new Error(n.error);if((n==null?void 0:n.signature)==null)throw new Error("Failed to sign transaction");return p.verifyPublicKeyFormat(n.publicKey),{signature:n.signature.bytes}})}static verifyPublicKeyFormat(e){if(e==null)throw new Error("No public key found");if(e.encoding!=="hex"||e.keyType!=="secp256k1"||e.bytes==null)throw new Error("Not supported. Expected public key to be in hex encoding and secp256k1 key type. Got: "+JSON.stringify(e))}getChainKeyParams(){return{scheme:"secp256k1",encoding:"hex"}}};export{c as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLWA3SX6Zcjs = require('./chunk-LWA3SX6Z.cjs');var _chunk5FH7WFWLcjs = require('./chunk-5FH7WFWL.cjs');var _chunkDSIFRRBScjs = require('./chunk-DSIFRRBS.cjs');var o=class{constructor(e){this.type="server";let r=_chunk5FH7WFWLcjs.b.call(void 0, e.derivedKeyBytes);this._address=_chunk5FH7WFWLcjs.a.call(void 0, r.publicKey),this._locator=e.locator,this.secretKey=r.secretKey,_chunkLWA3SX6Zcjs.a.call(void 0, e.derivedKeyBytes)}address(){return this._address}locator(){return this._locator}signMessage(e){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){if(!/^[A-Za-z0-9+/]*={0,2}$/.test(e))throw new Error("StellarServerSigner.signMessage: expected a base64-encoded string");let r=Buffer.from(e,"base64"),c=_chunk5FH7WFWLcjs.c.call(void 0, r,this.secretKey);return{signature:Buffer.from(c).toString("base64")}})}signTransaction(e){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){return yield this.signMessage(e)})}};exports.a = o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkL4OZWDFZcjs = require('./chunk-L4OZWDFZ.cjs');var _chunkGOAGKFGNcjs = require('./chunk-GOAGKFGN.cjs');var _chunkTDIOBXZ3cjs = require('./chunk-TDIOBXZ3.cjs');var _chunkDSIFRRBScjs = require('./chunk-DSIFRRBS.cjs');var _commonsdkbase = require('@crossmint/common-sdk-base');var m=409,l=class l extends _chunkL4OZWDFZcjs.a{constructor(e){super({chain:e.chain,address:e.address,owner:e.owner,options:_chunkL4OZWDFZcjs.a.getOptions(e),alias:e.alias,recovery:_chunkL4OZWDFZcjs.a.getRecovery(e),apiRecoveryServerSignerAddress:_chunkL4OZWDFZcjs.a.getApiRecoveryServerSignerAddress(e),apiDelegatedServerSignerAddresses:_chunkL4OZWDFZcjs.a.getApiDelegatedServerSignerAddresses(e),signer:e.signer,signers:_chunkL4OZWDFZcjs.a.getInitialSigners(e)},_chunkL4OZWDFZcjs.a.getApiClient(e))}static from(e){if(!_commonsdkbase.isValidStellarAddress.call(void 0, e.address))throw new Error("Wallet is not a Stellar wallet");return new l(e)}sendTransaction(e){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){var d;_chunkTDIOBXZ3cjs.a.info("stellarWallet.sendTransaction.start"),yield this.preAuthIfNeeded();let r=yield this.createTransaction(e);if((d=e.options)!=null&&d.prepareOnly)return _chunkTDIOBXZ3cjs.a.info("stellarWallet.sendTransaction.prepared",{transactionId:r.id}),{hash:void 0,explorerLink:void 0,transactionId:r.id};let a={},n=yield this.approveTransactionAndWait(r.id,a);return _chunkTDIOBXZ3cjs.a.info("stellarWallet.sendTransaction.success",{transactionId:r.id,hash:n.hash}),n})}upgrade(e){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){_chunkTDIOBXZ3cjs.a.info("stellarWallet.upgrade.start"),yield this.preAuthIfNeeded();let r=yield this.createWalletLifecycleTransaction("upgrade-wallet",e);if(r!=null){if(e!=null&&e.prepareOnly)return _chunkTDIOBXZ3cjs.a.info("stellarWallet.upgrade.prepared",{transactionId:r}),{hash:void 0,explorerLink:void 0,transactionId:r};yield this.approveTransactionAndWait(r),_chunkTDIOBXZ3cjs.a.info("stellarWallet.upgrade.phase1.success",{transactionId:r})}else _chunkTDIOBXZ3cjs.a.info("stellarWallet.upgrade.phase1.skipped",{reason:"wallet already locked from a prior upgrade"});let a=yield this.migrateInternal({signer:e==null?void 0:e.signer,prepareOnly:e==null?void 0:e.prepareOnly});return _chunkTDIOBXZ3cjs.a.info("stellarWallet.upgrade.success",{transactionId:a.transactionId,hash:a.hash}),a})}migrate(e){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){return yield this.preAuthIfNeeded(),yield this.migrateInternal(e)})}migrateInternal(e){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){_chunkTDIOBXZ3cjs.a.info("stellarWallet.migrate.start");let r=yield this.createWalletLifecycleTransaction("migrate-wallet",e);if(r==null)throw new (0, _chunkGOAGKFGNcjs.I)("Failed to create migrate-wallet transaction");if(e!=null&&e.prepareOnly)return _chunkTDIOBXZ3cjs.a.info("stellarWallet.migrate.prepared",{transactionId:r}),{hash:void 0,explorerLink:void 0,transactionId:r};let a=yield this.approveTransactionAndWait(r);return _chunkTDIOBXZ3cjs.a.info("stellarWallet.migrate.success",{transactionId:r,hash:a.hash}),a})}createTransaction(e){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){let{contractId:r,options:a}=e,n=this.resolveStellarSigner(a==null?void 0:a.signer),d="transaction"in e?{type:"serialized-transaction",serializedTransaction:e.transaction,contractId:r}:{type:"contract-call",contractId:r,method:e.method,memo:e.memo!=null?{type:"text",value:e.memo}:void 0,args:e.args},p=yield this.apiClient.createTransaction(this.walletLocator,{params:{transaction:d,signer:n}});if("error"in p)throw new (0, _chunkGOAGKFGNcjs.I)(JSON.stringify(p));return p})}createWalletLifecycleTransaction(e,r){return _chunkDSIFRRBScjs.h.call(void 0, this,null,function*(){let a=(r==null?void 0:r.signer)!=null?this.resolveStellarSigner(r.signer):void 0,n=yield this.apiClient.createTransaction(this.walletLocator,{params:_chunkDSIFRRBScjs.a.call(void 0, {transaction:{type:e}},a!=null?{signer:a}:{})});if("error"in n){if(e==="upgrade-wallet"&&y(n))return null;throw new (0, _chunkGOAGKFGNcjs.I)(JSON.stringify(n))}return n.id})}resolveStellarSigner(e){return e==null?this.signerManager.require().locator():typeof e=="string"?e:this.resolveServerSignerApiLocator(e)}};_chunkDSIFRRBScjs.c.call(void 0, [_commonsdkbase.WithLoggerContext.call(void 0, {logger:_chunkTDIOBXZ3cjs.a,methodName:"stellarWallet.sendTransaction",buildContext(e){return{chain:e.chain,address:e.address}}})],l.prototype,"sendTransaction",1),_chunkDSIFRRBScjs.c.call(void 0, [_commonsdkbase.WithLoggerContext.call(void 0, {logger:_chunkTDIOBXZ3cjs.a,methodName:"stellarWallet.upgrade",buildContext(e){return{chain:e.chain,address:e.address}}})],l.prototype,"upgrade",1),_chunkDSIFRRBScjs.c.call(void 0, [_commonsdkbase.WithLoggerContext.call(void 0, {logger:_chunkTDIOBXZ3cjs.a,methodName:"stellarWallet.migrate",buildContext(e){return{chain:e.chain,address:e.address}}})],l.prototype,"migrate",1);var h=l;function y(o){return typeof o=="object"&&o!==null&&"statusCode"in o&&o.statusCode===m}exports.a = h;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});function i(r){return r==null?[]:Array.isArray(r)?r:[r]}exports.a = i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkM6TKD2QYcjs = require('./chunk-M6TKD2QY.cjs');var _chunkIW4FVUP5cjs = require('./chunk-IW4FVUP5.cjs');var _chunkOKD3F4SYcjs = require('./chunk-OKD3F4SY.cjs');var _chunk4NGMVSZJcjs = require('./chunk-4NGMVSZJ.cjs');var _chunkHBJDNGC5cjs = require('./chunk-HBJDNGC5.cjs');var _chunkQFZJHVBScjs = require('./chunk-QFZJHVBS.cjs');var _chunkUWX7ID4Xcjs = require('./chunk-UWX7ID4X.cjs');var _chunkGOAGKFGNcjs = require('./chunk-GOAGKFGN.cjs');function u(r){switch(r){case"email":return _chunkHBJDNGC5cjs.a;case"phone":return _chunkM6TKD2QYcjs.a;case"passkey":return _chunkUWX7ID4Xcjs.a;case"device":return _chunk4NGMVSZJcjs.a;case"api-key":return _chunkOKD3F4SYcjs.a;case"server":return _chunkIW4FVUP5cjs.a;case"external-wallet":return _chunkQFZJHVBScjs.b;default:throw new (0, _chunkGOAGKFGNcjs.k)(`Unknown signer type: ${r}`)}}exports.a = u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(r){return r==null?[]:Array.isArray(r)?r:[r]}export{n as a};
|