@crossmint/wallets-sdk 1.18.0 → 1.20.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 +3 -3
- package/dist/api/__tests__/constants.d.ts +3 -3
- package/dist/api/__tests__/test-utils.cjs +1 -1
- package/dist/api/__tests__/test-utils.d.cts +2 -2
- package/dist/api/__tests__/test-utils.d.ts +2 -2
- package/dist/api/__tests__/test-utils.js +1 -1
- package/dist/api/client.cjs +1 -1
- package/dist/api/client.d.cts +3 -3
- package/dist/api/client.d.ts +3 -3
- package/dist/api/client.js +1 -1
- package/dist/api/index.cjs +1 -1
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.ts +2 -2
- 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 +2 -2
- package/dist/chains/adapters/evm.d.ts +2 -2
- package/dist/chains/adapters/evm.js +1 -1
- package/dist/chains/adapters/solana.cjs +1 -1
- package/dist/chains/adapters/solana.d.cts +2 -2
- package/dist/chains/adapters/solana.d.ts +2 -2
- package/dist/chains/adapters/solana.js +1 -1
- package/dist/chains/adapters/stellar.cjs +1 -1
- package/dist/chains/adapters/stellar.d.cts +2 -2
- package/dist/chains/adapters/stellar.d.ts +2 -2
- package/dist/chains/adapters/stellar.js +1 -1
- package/dist/chains/chain-adapter.cjs +1 -1
- package/dist/chains/chain-adapter.d.cts +2 -2
- package/dist/chains/chain-adapter.d.ts +2 -2
- 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-3UROOLIH.js → chunk-266RS53K.js} +1 -1
- package/dist/{chunk-SWQSW2AD.js → chunk-2KGAVQXR.js} +1 -1
- package/dist/chunk-32GROW5L.js +1 -0
- package/dist/{chunk-WY5KEIIJ.cjs → chunk-3E3JUVWL.cjs} +1 -1
- package/dist/{chunk-RE6GCFXZ.js → chunk-3I2MB7SJ.js} +1 -1
- package/dist/{chunk-T5LUBX5J.cjs → chunk-3SSOE7BV.cjs} +2 -2
- package/dist/{chunk-P3P5Q5XX.js → chunk-43LFPZII.js} +1 -1
- package/dist/chunk-4I3EXM4B.js +1 -0
- package/dist/chunk-4M6KYXG7.cjs +1 -0
- package/dist/chunk-5DVT5DB6.cjs +1 -0
- package/dist/{chunk-STB2VIIK.cjs → chunk-5GYSXH4X.cjs} +1 -1
- package/dist/{chunk-F7DCMK3I.cjs → chunk-5T2BUXCF.cjs} +1 -1
- package/dist/{chunk-X7V2C53V.js → chunk-5T7R5TZO.js} +1 -1
- package/dist/{chunk-LVSOX532.cjs → chunk-5YNL2XRE.cjs} +1 -1
- package/dist/{chunk-HCV4M7X2.cjs → chunk-664ATEWT.cjs} +1 -1
- package/dist/chunk-6CNZXJLK.js +1 -0
- package/dist/{chunk-ZDKIEL5N.cjs → chunk-75NMYYJY.cjs} +1 -1
- package/dist/chunk-7TVBGFKY.js +1 -0
- package/dist/chunk-AI5NDEKL.js +1 -0
- package/dist/chunk-AWIDML36.js +1 -0
- package/dist/{chunk-XFUCYR24.cjs → chunk-AYCMZ6UJ.cjs} +2 -2
- package/dist/{chunk-P5VJ455G.cjs → chunk-B45GSXKN.cjs} +1 -1
- package/dist/{chunk-V37HIVBA.cjs → chunk-BGQ4QX25.cjs} +1 -1
- package/dist/{chunk-R2XC4F3M.cjs → chunk-BJJXTZJB.cjs} +1 -1
- package/dist/{chunk-SH6HXAB2.js → chunk-BQZHLT2Q.js} +1 -1
- package/dist/{chunk-QQDUYSLH.cjs → chunk-BSRBEBBA.cjs} +1 -1
- package/dist/{chunk-7PRP6CYJ.cjs → chunk-CPXJHFSR.cjs} +1 -1
- package/dist/chunk-D2S37DJ5.cjs +1 -0
- package/dist/{chunk-IN5ZETZE.cjs → chunk-DNAHI43Y.cjs} +1 -1
- package/dist/{chunk-JAXFDUNN.js → chunk-ECKSTWA3.js} +1 -1
- package/dist/{chunk-ZAIKHHRP.cjs → chunk-FS72XBWN.cjs} +1 -1
- package/dist/chunk-FWONJJK4.js +1 -0
- package/dist/chunk-FWPLRK7S.cjs +1 -0
- package/dist/{chunk-PJAMNLC2.js → chunk-FXKT7O4T.js} +1 -1
- package/dist/chunk-FY4JJ3QZ.cjs +1 -0
- package/dist/chunk-GYXKGRZY.js +1 -0
- package/dist/{chunk-WX6KBOP5.js → chunk-H4RL6UJU.js} +1 -1
- package/dist/{chunk-X56YW5CL.js → chunk-HADAG3ZB.js} +1 -1
- package/dist/chunk-HDVUDIDC.js +1 -0
- package/dist/{chunk-PKFCOQOM.js → chunk-HHY65A7I.js} +1 -1
- package/dist/{chunk-PHIW7FUJ.cjs → chunk-HITDGEGW.cjs} +1 -1
- package/dist/{chunk-AEO4REZV.js → chunk-HQ2RXBAN.js} +1 -1
- package/dist/{chunk-ZV2UOOBX.js → chunk-IAPGBR2Z.js} +1 -1
- package/dist/{chunk-PU3WUUJ6.js → chunk-IMJ2V4F4.js} +1 -1
- package/dist/chunk-IX646CRE.cjs +1 -0
- package/dist/{chunk-D6UK5JAA.cjs → chunk-JI3OXPVC.cjs} +1 -1
- package/dist/{chunk-INPOGMPS.js → chunk-JVBAZHA6.js} +1 -1
- package/dist/{chunk-SIBFVGGQ.cjs → chunk-KCO6YNJR.cjs} +1 -1
- package/dist/{chunk-XUWIECBY.cjs → chunk-LH6A7CFO.cjs} +1 -1
- package/dist/{chunk-YQ4GAIPZ.js → chunk-LX55L36L.js} +1 -1
- package/dist/{chunk-T5EOJ3ZF.cjs → chunk-M2AM4CBT.cjs} +1 -1
- package/dist/{chunk-ZRIMMPXR.cjs → chunk-MPIIBOOK.cjs} +1 -1
- package/dist/{chunk-M76VM347.cjs → chunk-MQEPGBWN.cjs} +1 -1
- package/dist/chunk-MZPMVQ5J.js +1 -0
- package/dist/{chunk-HUGHRNQ3.js → chunk-N3W3FP2G.js} +1 -1
- package/dist/{chunk-MUOGCO7D.cjs → chunk-N4DNCKHY.cjs} +1 -1
- package/dist/chunk-NDTDJCCO.js +1 -0
- package/dist/{chunk-X4GV76CR.js → chunk-OQINX6EJ.js} +1 -1
- package/dist/{chunk-5V2RGAOS.js → chunk-PTGEMNUR.js} +1 -1
- package/dist/{chunk-JLWNRQ4S.js → chunk-PWYCEHYZ.js} +1 -1
- package/dist/{chunk-25TINDQ4.js → chunk-Q7EO6OOI.js} +1 -1
- package/dist/{chunk-IQ6EAHDU.cjs → chunk-QJ3BV3MW.cjs} +1 -1
- package/dist/{chunk-JQIKTIVR.js → chunk-QUOYTOHY.js} +1 -1
- package/dist/{chunk-GC55YCPK.js → chunk-QUYYIVZB.js} +1 -1
- package/dist/{chunk-PCRZWMYM.js → chunk-RFWRLJEX.js} +1 -1
- package/dist/{chunk-BV6IQIQK.js → chunk-RV3Q5EIA.js} +1 -1
- package/dist/{chunk-6PNYLGI4.js → chunk-T4FKMQ6Y.js} +1 -1
- package/dist/{chunk-OMTRYUKH.cjs → chunk-TI6QPYIE.cjs} +1 -1
- package/dist/chunk-TJXUJBM7.cjs +1 -0
- package/dist/chunk-U73R5Z3Z.cjs +1 -0
- package/dist/{chunk-AIAYUJJG.cjs → chunk-UNAH34G2.cjs} +1 -1
- package/dist/chunk-UV3NUVR3.js +1 -0
- package/dist/{chunk-FTUJ5XHD.js → chunk-VG67JHRI.js} +1 -1
- package/dist/{chunk-KQIDRPAB.cjs → chunk-VXWRNGOB.cjs} +1 -1
- package/dist/{chunk-T4RCLJ5G.js → chunk-W4GCZ4UZ.js} +1 -1
- package/dist/{chunk-CZC2MNVK.cjs → chunk-WSDMIQNG.cjs} +1 -1
- package/dist/chunk-X5PKHTFG.cjs +1 -0
- package/dist/{chunk-OIBCJAF2.cjs → chunk-XIO3CEXH.cjs} +1 -1
- package/dist/chunk-XK7Y22KI.cjs +1 -0
- package/dist/chunk-XTYSMO67.cjs +1 -0
- package/dist/{chunk-VOFCBB2P.js → chunk-YIUOOMT4.js} +1 -1
- package/dist/chunk-ZLR6K3KY.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- 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 +8 -5
- package/dist/sdk.d.ts +8 -5
- package/dist/sdk.js +1 -1
- package/dist/signers/descriptors/api-key.cjs +1 -1
- package/dist/signers/descriptors/api-key.d.cts +3 -3
- package/dist/signers/descriptors/api-key.d.ts +3 -3
- package/dist/signers/descriptors/api-key.js +1 -1
- package/dist/signers/descriptors/device.cjs +1 -1
- package/dist/signers/descriptors/device.d.cts +3 -3
- package/dist/signers/descriptors/device.d.ts +3 -3
- package/dist/signers/descriptors/device.js +1 -1
- package/dist/signers/descriptors/email.cjs +1 -1
- package/dist/signers/descriptors/email.d.cts +3 -3
- package/dist/signers/descriptors/email.d.ts +3 -3
- 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 +3 -3
- package/dist/signers/descriptors/external-wallet.d.ts +3 -3
- package/dist/signers/descriptors/external-wallet.js +1 -1
- package/dist/signers/descriptors/index.cjs +1 -1
- package/dist/signers/descriptors/index.d.cts +2 -2
- package/dist/signers/descriptors/index.d.ts +2 -2
- package/dist/signers/descriptors/index.js +1 -1
- package/dist/signers/descriptors/passkey.cjs +1 -1
- package/dist/signers/descriptors/passkey.d.cts +3 -3
- package/dist/signers/descriptors/passkey.d.ts +3 -3
- package/dist/signers/descriptors/passkey.js +1 -1
- package/dist/signers/descriptors/phone.cjs +1 -1
- package/dist/signers/descriptors/phone.d.cts +3 -3
- package/dist/signers/descriptors/phone.d.ts +3 -3
- package/dist/signers/descriptors/phone.js +1 -1
- package/dist/signers/descriptors/server.cjs +1 -1
- package/dist/signers/descriptors/server.d.cts +3 -3
- package/dist/signers/descriptors/server.d.ts +3 -3
- package/dist/signers/descriptors/server.js +1 -1
- package/dist/signers/descriptors/types.d.cts +4 -3
- package/dist/signers/descriptors/types.d.ts +4 -3
- package/dist/signers/device.d.cts +3 -3
- package/dist/signers/device.d.ts +3 -3
- package/dist/signers/evm-api-key.d.cts +3 -3
- package/dist/signers/evm-api-key.d.ts +3 -3
- package/dist/signers/evm-external-wallet.d.cts +3 -3
- package/dist/signers/evm-external-wallet.d.ts +3 -3
- package/dist/signers/external-wallet-signer.d.cts +2 -2
- package/dist/signers/external-wallet-signer.d.ts +2 -2
- package/dist/signers/index.cjs +1 -1
- package/dist/signers/index.d.cts +2 -2
- package/dist/signers/index.d.ts +2 -2
- package/dist/signers/index.js +1 -1
- package/dist/signers/non-custodial/index.cjs +1 -1
- package/dist/signers/non-custodial/index.d.cts +3 -3
- package/dist/signers/non-custodial/index.d.ts +3 -3
- 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 +3 -3
- package/dist/signers/non-custodial/ncs-evm-signer.d.ts +3 -3
- 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 +3 -3
- package/dist/signers/non-custodial/ncs-signer.d.ts +3 -3
- 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 +3 -3
- package/dist/signers/non-custodial/ncs-solana-signer.d.ts +3 -3
- 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 +3 -3
- package/dist/signers/non-custodial/ncs-stellar-signer.d.ts +3 -3
- package/dist/signers/non-custodial/ncs-stellar-signer.js +1 -1
- package/dist/signers/passkey.cjs +1 -1
- package/dist/signers/passkey.d.cts +3 -3
- package/dist/signers/passkey.d.ts +3 -3
- package/dist/signers/passkey.js +1 -1
- package/dist/signers/server/assemble-server-signer.d.cts +2 -2
- package/dist/signers/server/assemble-server-signer.d.ts +2 -2
- package/dist/signers/server/evm-server-signer.d.cts +3 -3
- package/dist/signers/server/evm-server-signer.d.ts +3 -3
- package/dist/signers/server/helpers/derive-server-signer.d.cts +2 -2
- package/dist/signers/server/helpers/derive-server-signer.d.ts +2 -2
- package/dist/signers/server/helpers/index.d.cts +3 -3
- package/dist/signers/server/helpers/index.d.ts +3 -3
- package/dist/signers/server/index.d.cts +2 -2
- package/dist/signers/server/index.d.ts +2 -2
- package/dist/signers/server/resolver.cjs +1 -1
- package/dist/signers/server/resolver.d.cts +2 -2
- package/dist/signers/server/resolver.d.ts +2 -2
- package/dist/signers/server/resolver.js +1 -1
- package/dist/signers/server/solana-server-signer.d.cts +3 -3
- package/dist/signers/server/solana-server-signer.d.ts +3 -3
- package/dist/signers/server/stellar-server-signer.d.cts +3 -3
- package/dist/signers/server/stellar-server-signer.d.ts +3 -3
- package/dist/signers/solana-api-key.d.cts +3 -3
- package/dist/signers/solana-api-key.d.ts +3 -3
- package/dist/signers/solana-external-wallet.cjs +1 -1
- package/dist/signers/solana-external-wallet.d.cts +3 -3
- package/dist/signers/solana-external-wallet.d.ts +3 -3
- package/dist/signers/solana-external-wallet.js +1 -1
- package/dist/signers/stellar-external-wallet.d.cts +3 -3
- package/dist/signers/stellar-external-wallet.d.ts +3 -3
- package/dist/signers/types.cjs +1 -1
- package/dist/signers/types.d.cts +2 -2
- package/dist/signers/types.d.ts +2 -2
- package/dist/signers/types.js +1 -1
- package/dist/{types-BzTdj2KC.d.ts → types-DOG2X_ok.d.ts} +113 -91
- package/dist/{types-PtseJnku.d.cts → types-XN1EunoG.d.cts} +113 -91
- 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 +3 -3
- package/dist/utils/device-signers/createDeviceSigner.d.ts +3 -3
- package/dist/utils/device-signers/index.cjs +1 -1
- package/dist/utils/device-signers/index.d.cts +3 -3
- package/dist/utils/device-signers/index.d.ts +3 -3
- package/dist/utils/device-signers/index.js +1 -1
- package/dist/utils/errors.cjs +1 -1
- package/dist/utils/errors.d.cts +4 -2
- package/dist/utils/errors.d.ts +4 -2
- package/dist/utils/errors.js +1 -1
- package/dist/utils/locators.cjs +1 -1
- package/dist/utils/locators.d.cts +3 -3
- package/dist/utils/locators.d.ts +3 -3
- package/dist/utils/locators.js +1 -1
- package/dist/utils/recovery.cjs +1 -1
- package/dist/utils/recovery.d.cts +2 -2
- package/dist/utils/recovery.d.ts +2 -2
- package/dist/utils/recovery.js +1 -1
- package/dist/utils/signer-locator.cjs +1 -1
- package/dist/utils/signer-locator.d.cts +2 -2
- package/dist/utils/signer-locator.d.ts +2 -2
- package/dist/utils/signer-locator.js +1 -1
- package/dist/utils/signer-mapping.d.cts +3 -3
- package/dist/utils/signer-mapping.d.ts +3 -3
- 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 +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 +2 -2
- package/dist/wallets/evm.d.ts +2 -2
- package/dist/wallets/evm.js +1 -1
- package/dist/wallets/services/balance-formatter.cjs +1 -1
- package/dist/wallets/services/balance-formatter.d.cts +3 -3
- package/dist/wallets/services/balance-formatter.d.ts +3 -3
- 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 +2 -2
- package/dist/wallets/services/device-recovery-service.d.ts +2 -2
- 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 +2 -2
- package/dist/wallets/services/operation-poller.d.ts +2 -2
- 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 +3 -3
- package/dist/wallets/services/signer-manager.d.ts +3 -3
- package/dist/wallets/services/signer-manager.js +1 -1
- package/dist/wallets/solana.cjs +1 -1
- package/dist/wallets/solana.d.cts +2 -2
- package/dist/wallets/solana.d.ts +2 -2
- package/dist/wallets/solana.js +1 -1
- package/dist/wallets/stellar.cjs +1 -1
- package/dist/wallets/stellar.d.cts +2 -2
- package/dist/wallets/stellar.d.ts +2 -2
- package/dist/wallets/stellar.js +1 -1
- package/dist/wallets/types.d.cts +2 -2
- package/dist/wallets/types.d.ts +2 -2
- package/dist/wallets/wallet-factory.cjs +1 -1
- package/dist/wallets/wallet-factory.d.cts +3 -2
- package/dist/wallets/wallet-factory.d.ts +3 -2
- package/dist/wallets/wallet-factory.js +1 -1
- package/dist/wallets/wallet.cjs +1 -1
- package/dist/wallets/wallet.d.cts +9 -3
- package/dist/wallets/wallet.d.ts +9 -3
- package/dist/wallets/wallet.js +1 -1
- package/package.json +4 -4
- package/dist/chunk-3RVLLQ4M.cjs +0 -1
- package/dist/chunk-7SDHPRH6.js +0 -1
- package/dist/chunk-AB2JJTW4.js +0 -1
- package/dist/chunk-AXFHMPWT.cjs +0 -1
- package/dist/chunk-BHLJZVGK.js +0 -1
- package/dist/chunk-BVFMFBOG.js +0 -1
- package/dist/chunk-BZYYVTXK.js +0 -1
- package/dist/chunk-DVLQXFLW.cjs +0 -1
- package/dist/chunk-FN4NQTKS.js +0 -1
- package/dist/chunk-FYWSZVID.cjs +0 -1
- package/dist/chunk-IGO2ME4H.js +0 -1
- package/dist/chunk-KOHPRJDP.js +0 -1
- package/dist/chunk-KSPUJL3Z.js +0 -1
- package/dist/chunk-O673G7YH.cjs +0 -1
- package/dist/chunk-OS5IMZ5L.cjs +0 -1
- package/dist/chunk-PWVGLO7T.cjs +0 -1
- package/dist/chunk-RFBVYUAZ.cjs +0 -1
- package/dist/chunk-TFAJDUF3.cjs +0 -1
- package/dist/chunk-VIOAYLVZ.cjs +0 -1
- package/dist/chunk-VNFATNQJ.js +0 -1
- package/dist/chunk-VPUAUWI4.js +0 -1
- package/dist/chunk-VS6I4S7X.cjs +0 -1
- package/dist/chunk-WVKODEVW.js +0 -1
- package/dist/chunk-ZHI5V3DM.cjs +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.cjs';
|
|
2
|
-
import { D as DeviceSignerConfig } from '../../types-
|
|
3
|
-
import 'viem';
|
|
4
|
-
import '../../api/gen/types.gen.cjs';
|
|
2
|
+
import { D as DeviceSignerConfig } from '../../types-XN1EunoG.cjs';
|
|
5
3
|
import 'ox';
|
|
6
4
|
import '@crossmint/client-sdk-window';
|
|
7
5
|
import '@crossmint/client-signers';
|
|
8
6
|
import '@crossmint/common-sdk-base';
|
|
9
7
|
import '../../chains/chains.cjs';
|
|
8
|
+
import 'viem';
|
|
10
9
|
import '@solana/web3.js';
|
|
11
10
|
import 'abitype';
|
|
11
|
+
import '../../api/gen/types.gen.cjs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Creates a device signer by generating a new P-256 key pair via the provided key storage.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.js';
|
|
2
|
-
import { D as DeviceSignerConfig } from '../../types-
|
|
3
|
-
import 'viem';
|
|
4
|
-
import '../../api/gen/types.gen.js';
|
|
2
|
+
import { D as DeviceSignerConfig } from '../../types-DOG2X_ok.js';
|
|
5
3
|
import 'ox';
|
|
6
4
|
import '@crossmint/client-sdk-window';
|
|
7
5
|
import '@crossmint/client-signers';
|
|
8
6
|
import '@crossmint/common-sdk-base';
|
|
9
7
|
import '../../chains/chains.js';
|
|
8
|
+
import 'viem';
|
|
10
9
|
import '@solana/web3.js';
|
|
11
10
|
import 'abitype';
|
|
11
|
+
import '../../api/gen/types.gen.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Creates a device signer by generating a new P-256 key pair via the provided key storage.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CUHDOBKN.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CUHDOBKN.cjs');var _chunkTI6QPYIEcjs = require('../../chunk-TI6QPYIE.cjs');require('../../chunk-GSNFNRH2.cjs');var _chunk3VYGTPRFcjs = require('../../chunk-3VYGTPRF.cjs');var _chunkGMU3ZYLScjs = require('../../chunk-GMU3ZYLS.cjs');require('../../chunk-D2S37DJ5.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-M2AM4CBT.cjs');require('../../chunk-UNAH34G2.cjs');require('../../chunk-DSIFRRBS.cjs');exports.DeviceSignerKeyStorage = _chunk3VYGTPRFcjs.a; exports.IframeDeviceSignerKeyStorage = _chunkTI6QPYIEcjs.a; exports.createDeviceSigner = _chunkGMU3ZYLScjs.a;
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
5
|
-
import 'viem';
|
|
6
|
-
import '../../api/gen/types.gen.cjs';
|
|
4
|
+
import '../../types-XN1EunoG.cjs';
|
|
7
5
|
import 'ox';
|
|
8
6
|
import '@crossmint/client-sdk-window';
|
|
9
7
|
import '@crossmint/client-signers';
|
|
10
8
|
import '@crossmint/common-sdk-base';
|
|
11
9
|
import '../../chains/chains.cjs';
|
|
10
|
+
import 'viem';
|
|
12
11
|
import '@solana/web3.js';
|
|
13
12
|
import 'abitype';
|
|
13
|
+
import '../../api/gen/types.gen.cjs';
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
5
|
-
import 'viem';
|
|
6
|
-
import '../../api/gen/types.gen.js';
|
|
4
|
+
import '../../types-DOG2X_ok.js';
|
|
7
5
|
import 'ox';
|
|
8
6
|
import '@crossmint/client-sdk-window';
|
|
9
7
|
import '@crossmint/client-signers';
|
|
10
8
|
import '@crossmint/common-sdk-base';
|
|
11
9
|
import '../../chains/chains.js';
|
|
10
|
+
import 'viem';
|
|
12
11
|
import '@solana/web3.js';
|
|
13
12
|
import 'abitype';
|
|
13
|
+
import '../../api/gen/types.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-TOAFCAVT.js";import{a as b}from"../../chunk-
|
|
1
|
+
import"../../chunk-TOAFCAVT.js";import{a as b}from"../../chunk-NDTDJCCO.js";import"../../chunk-NZXYWQE5.js";import{a}from"../../chunk-IOSADDL5.js";import{a as c}from"../../chunk-5LNDUSMZ.js";import"../../chunk-4I3EXM4B.js";import"../../chunk-455NK5LB.js";import"../../chunk-YIUOOMT4.js";import"../../chunk-7TVBGFKY.js";import"../../chunk-NU7VF7MC.js";export{a as DeviceSignerKeyStorage,b as IframeDeviceSignerKeyStorage,c as createDeviceSigner};
|
package/dist/utils/errors.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkD2S37DJ5cjs = require('../chunk-D2S37DJ5.cjs');require('../chunk-DSIFRRBS.cjs');exports.DEVICE_SIGNER_NOT_SUPPORTED_ERROR_CODE = _chunkD2S37DJ5cjs.l; exports.DeviceSignerNotSupportedError = _chunkD2S37DJ5cjs.m; exports.DuplicateRecoverySignerError = _chunkD2S37DJ5cjs.q; exports.InvalidAddressError = _chunkD2S37DJ5cjs.Q; exports.InvalidApiKeyError = _chunkD2S37DJ5cjs.a; exports.InvalidChainError = _chunkD2S37DJ5cjs.c; exports.InvalidEnvironmentError = _chunkD2S37DJ5cjs.b; exports.InvalidMessageFormatError = _chunkD2S37DJ5cjs.y; exports.InvalidRecoveryConfigError = _chunkD2S37DJ5cjs.o; exports.InvalidSignerError = _chunkD2S37DJ5cjs.j; exports.InvalidTransferAmountError = _chunkD2S37DJ5cjs.H; exports.InvalidTypedDataError = _chunkD2S37DJ5cjs.z; exports.InvalidWalletConfigError = _chunkD2S37DJ5cjs.f; exports.JWTDecryptionError = _chunkD2S37DJ5cjs.W; exports.JWTExpiredError = _chunkD2S37DJ5cjs.U; exports.JWTIdentifierError = _chunkD2S37DJ5cjs.X; exports.JWTInvalidError = _chunkD2S37DJ5cjs.V; exports.MessageSigningNotSupportedError = _chunkD2S37DJ5cjs.C; exports.NotAuthorizedError = _chunkD2S37DJ5cjs.T; exports.NotSupportedOnApiVersionError = _chunkD2S37DJ5cjs.v; exports.PendingApprovalsError = _chunkD2S37DJ5cjs.P; exports.QuorumSignerNotSupportedError = _chunkD2S37DJ5cjs.n; exports.RecoveryAdminSignerConflictError = _chunkD2S37DJ5cjs.w; exports.RecoveryMethodRequiredError = _chunkD2S37DJ5cjs.t; exports.RecoveryNotSupportedOnChainError = _chunkD2S37DJ5cjs.u; exports.RecoverySignerConflictError = _chunkD2S37DJ5cjs.r; exports.RecoverySignerLimitExceededError = _chunkD2S37DJ5cjs.p; exports.SignatureConfirmationTimeoutError = _chunkD2S37DJ5cjs.G; exports.SignatureFailedError = _chunkD2S37DJ5cjs.F; exports.SignatureNotAvailableError = _chunkD2S37DJ5cjs.E; exports.SignatureNotCreatedError = _chunkD2S37DJ5cjs.D; exports.SignatureNotFoundError = _chunkD2S37DJ5cjs.A; exports.SignerRequiredError = _chunkD2S37DJ5cjs.s; exports.SignerTypeMismatchError = _chunkD2S37DJ5cjs.i; exports.SigningFailedError = _chunkD2S37DJ5cjs.B; exports.TransactionAwaitingApprovalError = _chunkD2S37DJ5cjs.M; exports.TransactionConfirmationTimeoutError = _chunkD2S37DJ5cjs.K; exports.TransactionFailedError = _chunkD2S37DJ5cjs.O; exports.TransactionHashNotFoundError = _chunkD2S37DJ5cjs.N; exports.TransactionNotAvailableError = _chunkD2S37DJ5cjs.J; exports.TransactionNotCreatedError = _chunkD2S37DJ5cjs.I; exports.TransactionSendingFailedError = _chunkD2S37DJ5cjs.L; exports.UnknownSignerTypeError = _chunkD2S37DJ5cjs.k; exports.UnsupportedBrowserError = _chunkD2S37DJ5cjs.x; exports.WalletCreationError = _chunkD2S37DJ5cjs.g; exports.WalletNotAvailableError = _chunkD2S37DJ5cjs.e; exports.WalletTypeMismatchError = _chunkD2S37DJ5cjs.h; exports.WalletTypeNotSupportedError = _chunkD2S37DJ5cjs.d; exports.throwIfCrossmintApiAuthError = _chunkD2S37DJ5cjs.R; exports.throwIfRecoverySignerApiError = _chunkD2S37DJ5cjs.S;
|
package/dist/utils/errors.d.cts
CHANGED
|
@@ -64,6 +64,8 @@ declare class RecoverySignerConflictError extends CrossmintSDKError {
|
|
|
64
64
|
declare class SignerRequiredError extends CrossmintSDKError {
|
|
65
65
|
constructor(message: string, details?: string);
|
|
66
66
|
}
|
|
67
|
+
declare class RecoveryMethodRequiredError extends SignerRequiredError {
|
|
68
|
+
}
|
|
67
69
|
declare class RecoveryNotSupportedOnChainError extends CrossmintSDKError {
|
|
68
70
|
constructor(message: string, details?: string);
|
|
69
71
|
}
|
|
@@ -152,6 +154,6 @@ declare function throwIfCrossmintApiAuthError(response: unknown): void;
|
|
|
152
154
|
* response so callers can fall back to their own contextual error.
|
|
153
155
|
*/
|
|
154
156
|
declare function throwIfRecoverySignerApiError(response: unknown): void;
|
|
155
|
-
type WalletError = InvalidTransferAmountError | InvalidApiKeyError | InvalidEnvironmentError | InvalidChainError | WalletTypeNotSupportedError | WalletNotAvailableError | InvalidWalletConfigError | WalletCreationError | WalletTypeMismatchError | SignerTypeMismatchError | InvalidSignerError | UnknownSignerTypeError | DeviceSignerNotSupportedError | InvalidRecoveryConfigError | RecoverySignerLimitExceededError | DuplicateRecoverySignerError | RecoverySignerConflictError | SignerRequiredError | RecoveryNotSupportedOnChainError | NotSupportedOnApiVersionError | RecoveryAdminSignerConflictError | InvalidMessageFormatError | InvalidTypedDataError | SignatureNotFoundError | SigningFailedError | MessageSigningNotSupportedError | SignatureNotCreatedError | SignatureNotAvailableError | SignatureFailedError | TransactionNotCreatedError | TransactionNotAvailableError | TransactionConfirmationTimeoutError | TransactionSendingFailedError | TransactionAwaitingApprovalError | TransactionHashNotFoundError | TransactionFailedError | PendingApprovalsError | InvalidAddressError | UnsupportedBrowserError | NotAuthorizedError | JWTExpiredError | JWTInvalidError | JWTDecryptionError | JWTIdentifierError;
|
|
157
|
+
type WalletError = InvalidTransferAmountError | InvalidApiKeyError | InvalidEnvironmentError | InvalidChainError | WalletTypeNotSupportedError | WalletNotAvailableError | InvalidWalletConfigError | WalletCreationError | WalletTypeMismatchError | SignerTypeMismatchError | InvalidSignerError | UnknownSignerTypeError | DeviceSignerNotSupportedError | InvalidRecoveryConfigError | RecoverySignerLimitExceededError | DuplicateRecoverySignerError | RecoverySignerConflictError | SignerRequiredError | RecoveryMethodRequiredError | RecoveryNotSupportedOnChainError | NotSupportedOnApiVersionError | RecoveryAdminSignerConflictError | InvalidMessageFormatError | InvalidTypedDataError | SignatureNotFoundError | SigningFailedError | MessageSigningNotSupportedError | SignatureNotCreatedError | SignatureNotAvailableError | SignatureFailedError | TransactionNotCreatedError | TransactionNotAvailableError | TransactionConfirmationTimeoutError | TransactionSendingFailedError | TransactionAwaitingApprovalError | TransactionHashNotFoundError | TransactionFailedError | PendingApprovalsError | InvalidAddressError | UnsupportedBrowserError | NotAuthorizedError | JWTExpiredError | JWTInvalidError | JWTDecryptionError | JWTIdentifierError;
|
|
156
158
|
|
|
157
|
-
export { DEVICE_SIGNER_NOT_SUPPORTED_ERROR_CODE, DeviceSignerNotSupportedError, DuplicateRecoverySignerError, InvalidAddressError, InvalidApiKeyError, InvalidChainError, InvalidEnvironmentError, InvalidMessageFormatError, InvalidRecoveryConfigError, InvalidSignerError, InvalidTransferAmountError, InvalidTypedDataError, InvalidWalletConfigError, MessageSigningNotSupportedError, NotSupportedOnApiVersionError, PendingApprovalsError, QuorumSignerNotSupportedError, RecoveryAdminSignerConflictError, RecoveryNotSupportedOnChainError, RecoverySignerConflictError, RecoverySignerLimitExceededError, SignatureConfirmationTimeoutError, SignatureFailedError, SignatureNotAvailableError, SignatureNotCreatedError, SignatureNotFoundError, SignerRequiredError, SignerTypeMismatchError, SigningFailedError, TransactionAwaitingApprovalError, TransactionConfirmationTimeoutError, TransactionFailedError, TransactionHashNotFoundError, TransactionNotAvailableError, TransactionNotCreatedError, TransactionSendingFailedError, UnknownSignerTypeError, UnsupportedBrowserError, WalletCreationError, type WalletError, WalletNotAvailableError, WalletTypeMismatchError, WalletTypeNotSupportedError, throwIfCrossmintApiAuthError, throwIfRecoverySignerApiError };
|
|
159
|
+
export { DEVICE_SIGNER_NOT_SUPPORTED_ERROR_CODE, DeviceSignerNotSupportedError, DuplicateRecoverySignerError, InvalidAddressError, InvalidApiKeyError, InvalidChainError, InvalidEnvironmentError, InvalidMessageFormatError, InvalidRecoveryConfigError, InvalidSignerError, InvalidTransferAmountError, InvalidTypedDataError, InvalidWalletConfigError, MessageSigningNotSupportedError, NotSupportedOnApiVersionError, PendingApprovalsError, QuorumSignerNotSupportedError, RecoveryAdminSignerConflictError, RecoveryMethodRequiredError, RecoveryNotSupportedOnChainError, RecoverySignerConflictError, RecoverySignerLimitExceededError, SignatureConfirmationTimeoutError, SignatureFailedError, SignatureNotAvailableError, SignatureNotCreatedError, SignatureNotFoundError, SignerRequiredError, SignerTypeMismatchError, SigningFailedError, TransactionAwaitingApprovalError, TransactionConfirmationTimeoutError, TransactionFailedError, TransactionHashNotFoundError, TransactionNotAvailableError, TransactionNotCreatedError, TransactionSendingFailedError, UnknownSignerTypeError, UnsupportedBrowserError, WalletCreationError, type WalletError, WalletNotAvailableError, WalletTypeMismatchError, WalletTypeNotSupportedError, throwIfCrossmintApiAuthError, throwIfRecoverySignerApiError };
|
package/dist/utils/errors.d.ts
CHANGED
|
@@ -64,6 +64,8 @@ declare class RecoverySignerConflictError extends CrossmintSDKError {
|
|
|
64
64
|
declare class SignerRequiredError extends CrossmintSDKError {
|
|
65
65
|
constructor(message: string, details?: string);
|
|
66
66
|
}
|
|
67
|
+
declare class RecoveryMethodRequiredError extends SignerRequiredError {
|
|
68
|
+
}
|
|
67
69
|
declare class RecoveryNotSupportedOnChainError extends CrossmintSDKError {
|
|
68
70
|
constructor(message: string, details?: string);
|
|
69
71
|
}
|
|
@@ -152,6 +154,6 @@ declare function throwIfCrossmintApiAuthError(response: unknown): void;
|
|
|
152
154
|
* response so callers can fall back to their own contextual error.
|
|
153
155
|
*/
|
|
154
156
|
declare function throwIfRecoverySignerApiError(response: unknown): void;
|
|
155
|
-
type WalletError = InvalidTransferAmountError | InvalidApiKeyError | InvalidEnvironmentError | InvalidChainError | WalletTypeNotSupportedError | WalletNotAvailableError | InvalidWalletConfigError | WalletCreationError | WalletTypeMismatchError | SignerTypeMismatchError | InvalidSignerError | UnknownSignerTypeError | DeviceSignerNotSupportedError | InvalidRecoveryConfigError | RecoverySignerLimitExceededError | DuplicateRecoverySignerError | RecoverySignerConflictError | SignerRequiredError | RecoveryNotSupportedOnChainError | NotSupportedOnApiVersionError | RecoveryAdminSignerConflictError | InvalidMessageFormatError | InvalidTypedDataError | SignatureNotFoundError | SigningFailedError | MessageSigningNotSupportedError | SignatureNotCreatedError | SignatureNotAvailableError | SignatureFailedError | TransactionNotCreatedError | TransactionNotAvailableError | TransactionConfirmationTimeoutError | TransactionSendingFailedError | TransactionAwaitingApprovalError | TransactionHashNotFoundError | TransactionFailedError | PendingApprovalsError | InvalidAddressError | UnsupportedBrowserError | NotAuthorizedError | JWTExpiredError | JWTInvalidError | JWTDecryptionError | JWTIdentifierError;
|
|
157
|
+
type WalletError = InvalidTransferAmountError | InvalidApiKeyError | InvalidEnvironmentError | InvalidChainError | WalletTypeNotSupportedError | WalletNotAvailableError | InvalidWalletConfigError | WalletCreationError | WalletTypeMismatchError | SignerTypeMismatchError | InvalidSignerError | UnknownSignerTypeError | DeviceSignerNotSupportedError | InvalidRecoveryConfigError | RecoverySignerLimitExceededError | DuplicateRecoverySignerError | RecoverySignerConflictError | SignerRequiredError | RecoveryMethodRequiredError | RecoveryNotSupportedOnChainError | NotSupportedOnApiVersionError | RecoveryAdminSignerConflictError | InvalidMessageFormatError | InvalidTypedDataError | SignatureNotFoundError | SigningFailedError | MessageSigningNotSupportedError | SignatureNotCreatedError | SignatureNotAvailableError | SignatureFailedError | TransactionNotCreatedError | TransactionNotAvailableError | TransactionConfirmationTimeoutError | TransactionSendingFailedError | TransactionAwaitingApprovalError | TransactionHashNotFoundError | TransactionFailedError | PendingApprovalsError | InvalidAddressError | UnsupportedBrowserError | NotAuthorizedError | JWTExpiredError | JWTInvalidError | JWTDecryptionError | JWTIdentifierError;
|
|
156
158
|
|
|
157
|
-
export { DEVICE_SIGNER_NOT_SUPPORTED_ERROR_CODE, DeviceSignerNotSupportedError, DuplicateRecoverySignerError, InvalidAddressError, InvalidApiKeyError, InvalidChainError, InvalidEnvironmentError, InvalidMessageFormatError, InvalidRecoveryConfigError, InvalidSignerError, InvalidTransferAmountError, InvalidTypedDataError, InvalidWalletConfigError, MessageSigningNotSupportedError, NotSupportedOnApiVersionError, PendingApprovalsError, QuorumSignerNotSupportedError, RecoveryAdminSignerConflictError, RecoveryNotSupportedOnChainError, RecoverySignerConflictError, RecoverySignerLimitExceededError, SignatureConfirmationTimeoutError, SignatureFailedError, SignatureNotAvailableError, SignatureNotCreatedError, SignatureNotFoundError, SignerRequiredError, SignerTypeMismatchError, SigningFailedError, TransactionAwaitingApprovalError, TransactionConfirmationTimeoutError, TransactionFailedError, TransactionHashNotFoundError, TransactionNotAvailableError, TransactionNotCreatedError, TransactionSendingFailedError, UnknownSignerTypeError, UnsupportedBrowserError, WalletCreationError, type WalletError, WalletNotAvailableError, WalletTypeMismatchError, WalletTypeNotSupportedError, throwIfCrossmintApiAuthError, throwIfRecoverySignerApiError };
|
|
159
|
+
export { DEVICE_SIGNER_NOT_SUPPORTED_ERROR_CODE, DeviceSignerNotSupportedError, DuplicateRecoverySignerError, InvalidAddressError, InvalidApiKeyError, InvalidChainError, InvalidEnvironmentError, InvalidMessageFormatError, InvalidRecoveryConfigError, InvalidSignerError, InvalidTransferAmountError, InvalidTypedDataError, InvalidWalletConfigError, MessageSigningNotSupportedError, NotSupportedOnApiVersionError, PendingApprovalsError, QuorumSignerNotSupportedError, RecoveryAdminSignerConflictError, RecoveryMethodRequiredError, RecoveryNotSupportedOnChainError, RecoverySignerConflictError, RecoverySignerLimitExceededError, SignatureConfirmationTimeoutError, SignatureFailedError, SignatureNotAvailableError, SignatureNotCreatedError, SignatureNotFoundError, SignerRequiredError, SignerTypeMismatchError, SigningFailedError, TransactionAwaitingApprovalError, TransactionConfirmationTimeoutError, TransactionFailedError, TransactionHashNotFoundError, TransactionNotAvailableError, TransactionNotCreatedError, TransactionSendingFailedError, UnknownSignerTypeError, UnsupportedBrowserError, WalletCreationError, type WalletError, WalletNotAvailableError, WalletTypeMismatchError, WalletTypeNotSupportedError, throwIfCrossmintApiAuthError, throwIfRecoverySignerApiError };
|
package/dist/utils/errors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-
|
|
1
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-4I3EXM4B.js";import"../chunk-NU7VF7MC.js";export{l as DEVICE_SIGNER_NOT_SUPPORTED_ERROR_CODE,m as DeviceSignerNotSupportedError,q as DuplicateRecoverySignerError,Q as InvalidAddressError,a as InvalidApiKeyError,c as InvalidChainError,b as InvalidEnvironmentError,y as InvalidMessageFormatError,o as InvalidRecoveryConfigError,j as InvalidSignerError,H as InvalidTransferAmountError,z as InvalidTypedDataError,f as InvalidWalletConfigError,W as JWTDecryptionError,U as JWTExpiredError,X as JWTIdentifierError,V as JWTInvalidError,C as MessageSigningNotSupportedError,T as NotAuthorizedError,v as NotSupportedOnApiVersionError,P as PendingApprovalsError,n as QuorumSignerNotSupportedError,w as RecoveryAdminSignerConflictError,t as RecoveryMethodRequiredError,u as RecoveryNotSupportedOnChainError,r as RecoverySignerConflictError,p as RecoverySignerLimitExceededError,G as SignatureConfirmationTimeoutError,F as SignatureFailedError,E as SignatureNotAvailableError,D as SignatureNotCreatedError,A as SignatureNotFoundError,s as SignerRequiredError,i as SignerTypeMismatchError,B as SigningFailedError,M as TransactionAwaitingApprovalError,K as TransactionConfirmationTimeoutError,O as TransactionFailedError,N as TransactionHashNotFoundError,J as TransactionNotAvailableError,I as TransactionNotCreatedError,L as TransactionSendingFailedError,k as UnknownSignerTypeError,x as UnsupportedBrowserError,g as WalletCreationError,e as WalletNotAvailableError,h as WalletTypeMismatchError,d as WalletTypeNotSupportedError,R as throwIfCrossmintApiAuthError,S as throwIfRecoverySignerApiError};
|
package/dist/utils/locators.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBJJXTZJBcjs = require('../chunk-BJJXTZJB.cjs');require('../chunk-D2S37DJ5.cjs');require('../chunk-DSIFRRBS.cjs');exports.toRecipientLocator = _chunkBJJXTZJBcjs.a; exports.toTokenLocator = _chunkBJJXTZJBcjs.b;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import 'viem';
|
|
3
|
-
import '../api/gen/types.gen.cjs';
|
|
1
|
+
import { af as UserLocator } from '../types-XN1EunoG.cjs';
|
|
4
2
|
import 'ox';
|
|
5
3
|
import '@crossmint/client-sdk-window';
|
|
6
4
|
import '@crossmint/client-signers';
|
|
7
5
|
import '@crossmint/common-sdk-base';
|
|
8
6
|
import '../chains/chains.cjs';
|
|
7
|
+
import 'viem';
|
|
9
8
|
import '@solana/web3.js';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.cjs';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.cjs';
|
|
12
12
|
|
|
13
13
|
declare function toRecipientLocator(to: string | UserLocator): string;
|
package/dist/utils/locators.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import 'viem';
|
|
3
|
-
import '../api/gen/types.gen.js';
|
|
1
|
+
import { af as UserLocator } from '../types-DOG2X_ok.js';
|
|
4
2
|
import 'ox';
|
|
5
3
|
import '@crossmint/client-sdk-window';
|
|
6
4
|
import '@crossmint/client-signers';
|
|
7
5
|
import '@crossmint/common-sdk-base';
|
|
8
6
|
import '../chains/chains.js';
|
|
7
|
+
import 'viem';
|
|
9
8
|
import '@solana/web3.js';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.js';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.js';
|
|
12
12
|
|
|
13
13
|
declare function toRecipientLocator(to: string | UserLocator): string;
|
package/dist/utils/locators.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-VG67JHRI.js";import"../chunk-4I3EXM4B.js";import"../chunk-NU7VF7MC.js";export{a as toRecipientLocator,b as toTokenLocator};
|
package/dist/utils/recovery.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkN4DNCKHYcjs = require('../chunk-N4DNCKHY.cjs');require('../chunk-D2S37DJ5.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-M2AM4CBT.cjs');require('../chunk-UNAH34G2.cjs');require('../chunk-DSIFRRBS.cjs');exports.hasRecoveryMethodList = _chunkN4DNCKHYcjs.b; exports.recoveryMethodsFromCreateArgs = _chunkN4DNCKHYcjs.a;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Chain } from '../chains/chains.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { a3 as WalletCreateArgs, ag as RecoverySignerConfigFor } from '../types-XN1EunoG.cjs';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../api/gen/types.gen.cjs';
|
|
6
5
|
import 'ox';
|
|
7
6
|
import '@crossmint/client-sdk-window';
|
|
8
7
|
import '@crossmint/client-signers';
|
|
9
8
|
import '@solana/web3.js';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.cjs';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.cjs';
|
|
12
12
|
|
|
13
13
|
/**
|
package/dist/utils/recovery.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Chain } from '../chains/chains.js';
|
|
2
|
-
import {
|
|
2
|
+
import { a3 as WalletCreateArgs, ag as RecoverySignerConfigFor } from '../types-DOG2X_ok.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../api/gen/types.gen.js';
|
|
6
5
|
import 'ox';
|
|
7
6
|
import '@crossmint/client-sdk-window';
|
|
8
7
|
import '@crossmint/client-signers';
|
|
9
8
|
import '@solana/web3.js';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.js';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.js';
|
|
12
12
|
|
|
13
13
|
/**
|
package/dist/utils/recovery.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-T4FKMQ6Y.js";import"../chunk-4I3EXM4B.js";import"../chunk-455NK5LB.js";import"../chunk-YIUOOMT4.js";import"../chunk-7TVBGFKY.js";import"../chunk-NU7VF7MC.js";export{b as hasRecoveryMethodList,a as recoveryMethodsFromCreateArgs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWSDMIQNGcjs = require('../chunk-WSDMIQNG.cjs');require('../chunk-HITDGEGW.cjs');require('../chunk-D2S37DJ5.cjs');require('../chunk-DSIFRRBS.cjs');exports.getSignerLocator = _chunkWSDMIQNGcjs.b; exports.parseSignerLocator = _chunkWSDMIQNGcjs.c; exports.passkeyCredentialId = _chunkWSDMIQNGcjs.a;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Chain } from '../chains/chains.cjs';
|
|
2
|
-
import {
|
|
2
|
+
import { W as SignerConfigForChain, H as RegisterSignerPasskeyParams, q as ExternalWalletRegistrationConfig, X as SignerLocator, ah as PasskeySignerConfig } from '../types-XN1EunoG.cjs';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../api/gen/types.gen.cjs';
|
|
6
5
|
import 'ox';
|
|
7
6
|
import '@crossmint/client-sdk-window';
|
|
8
7
|
import '@crossmint/client-signers';
|
|
9
8
|
import '@solana/web3.js';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.cjs';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.cjs';
|
|
12
12
|
|
|
13
13
|
/** The credential id from `id` or a `passkey:{id}` locator, or null when the config carries neither. */
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Chain } from '../chains/chains.js';
|
|
2
|
-
import {
|
|
2
|
+
import { W as SignerConfigForChain, H as RegisterSignerPasskeyParams, q as ExternalWalletRegistrationConfig, X as SignerLocator, ah as PasskeySignerConfig } from '../types-DOG2X_ok.js';
|
|
3
3
|
import '@crossmint/common-sdk-base';
|
|
4
4
|
import 'viem';
|
|
5
|
-
import '../api/gen/types.gen.js';
|
|
6
5
|
import 'ox';
|
|
7
6
|
import '@crossmint/client-sdk-window';
|
|
8
7
|
import '@crossmint/client-signers';
|
|
9
8
|
import '@solana/web3.js';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.js';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.js';
|
|
12
12
|
|
|
13
13
|
/** The credential id from `id` or a `passkey:{id}` locator, or null when the config carries neither. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-RV3Q5EIA.js";import"../chunk-PWYCEHYZ.js";import"../chunk-4I3EXM4B.js";import"../chunk-NU7VF7MC.js";export{b as getSignerLocator,c as parseSignerLocator,a as passkeyCredentialId};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ai as Signer, T as Signer$1, aj as PendingSignerOperation, Y as SignerStatus } from '../types-XN1EunoG.cjs';
|
|
2
2
|
import { Chain } from '../chains/chains.cjs';
|
|
3
|
-
import 'viem';
|
|
4
|
-
import '../api/gen/types.gen.cjs';
|
|
5
3
|
import 'ox';
|
|
6
4
|
import '@crossmint/client-sdk-window';
|
|
7
5
|
import '@crossmint/client-signers';
|
|
8
6
|
import '@crossmint/common-sdk-base';
|
|
9
7
|
import '@solana/web3.js';
|
|
8
|
+
import 'viem';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.cjs';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.cjs';
|
|
12
12
|
|
|
13
13
|
type DistributiveOmit<T, K extends keyof T> = T extends unknown ? Omit<T, K> : never;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ai as Signer, T as Signer$1, aj as PendingSignerOperation, Y as SignerStatus } from '../types-DOG2X_ok.js';
|
|
2
2
|
import { Chain } from '../chains/chains.js';
|
|
3
|
-
import 'viem';
|
|
4
|
-
import '../api/gen/types.gen.js';
|
|
5
3
|
import 'ox';
|
|
6
4
|
import '@crossmint/client-sdk-window';
|
|
7
5
|
import '@crossmint/client-signers';
|
|
8
6
|
import '@crossmint/common-sdk-base';
|
|
9
7
|
import '@solana/web3.js';
|
|
8
|
+
import 'viem';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../api/gen/types.gen.js';
|
|
11
11
|
import './device-signers/DeviceSignerKeyStorage.js';
|
|
12
12
|
|
|
13
13
|
type DistributiveOmit<T, K extends keyof T> = T extends unknown ? Omit<T, K> : never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHITDGEGWcjs = require('../chunk-HITDGEGW.cjs');require('../chunk-D2S37DJ5.cjs');require('../chunk-DSIFRRBS.cjs');exports.compareSignerConfigs = _chunkHITDGEGWcjs.c; exports.normalizeEmail = _chunkHITDGEGWcjs.a; exports.normalizeValueForComparison = _chunkHITDGEGWcjs.b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-PWYCEHYZ.js";import"../chunk-4I3EXM4B.js";import"../chunk-NU7VF7MC.js";export{c as compareSignerConfigs,a as normalizeEmail,b as normalizeValueForComparison};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5DVT5DB6cjs = require('../../chunk-5DVT5DB6.cjs');require('../../chunk-FWPLRK7S.cjs');require('../../chunk-5T2BUXCF.cjs');require('../../chunk-CPXJHFSR.cjs');require('../../chunk-5YNL2XRE.cjs');require('../../chunk-3E3JUVWL.cjs');require('../../chunk-CUHDOBKN.cjs');require('../../chunk-TI6QPYIE.cjs');require('../../chunk-GSNFNRH2.cjs');require('../../chunk-3VYGTPRF.cjs');require('../../chunk-GMU3ZYLS.cjs');require('../../chunk-XTYSMO67.cjs');require('../../chunk-QJ3BV3MW.cjs');require('../../chunk-B45GSXKN.cjs');require('../../chunk-3SSOE7BV.cjs');require('../../chunk-XK7Y22KI.cjs');require('../../chunk-JI3OXPVC.cjs');require('../../chunk-AYCMZ6UJ.cjs');require('../../chunk-VXWRNGOB.cjs');require('../../chunk-WSDMIQNG.cjs');require('../../chunk-BJJXTZJB.cjs');require('../../chunk-U73R5Z3Z.cjs');require('../../chunk-5IC7UWND.cjs');require('../../chunk-PO6S7UR3.cjs');require('../../chunk-LH6A7CFO.cjs');require('../../chunk-DNAHI43Y.cjs');require('../../chunk-BGQ4QX25.cjs');require('../../chunk-MQEPGBWN.cjs');require('../../chunk-ATIC4ENG.cjs');require('../../chunk-7FIAYQ4O.cjs');require('../../chunk-IGRPHTXZ.cjs');require('../../chunk-Q66YRLSW.cjs');require('../../chunk-BIL7GVBL.cjs');require('../../chunk-2D6B7AZ6.cjs');require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-HITDGEGW.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-5GYSXH4X.cjs');require('../../chunk-5FVDLMWW.cjs');require('../../chunk-664ATEWT.cjs');require('../../chunk-XWQC6G7N.cjs');require('../../chunk-R4SBFRTM.cjs');require('../../chunk-HYWIWJ6H.cjs');require('../../chunk-SCEPJO4Q.cjs');require('../../chunk-4M6KYXG7.cjs');require('../../chunk-CDHMNLZ6.cjs');require('../../chunk-FY4JJ3QZ.cjs');require('../../chunk-BSRBEBBA.cjs');require('../../chunk-TJXUJBM7.cjs');require('../../chunk-IX646CRE.cjs');require('../../chunk-JNKTRQPS.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-XIO3CEXH.cjs');require('../../chunk-OQFZL5LI.cjs');require('../../chunk-AUO6R32H.cjs');require('../../chunk-ZPO3XSWU.cjs');require('../../chunk-IR5WN6FQ.cjs');require('../../chunk-GEY574TH.cjs');require('../../chunk-UE3WVHTM.cjs');require('../../chunk-5X4EOJFG.cjs');require('../../chunk-TCDH5Q6Q.cjs');require('../../chunk-HRUMWG2F.cjs');require('../../chunk-D2S37DJ5.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-M2AM4CBT.cjs');require('../../chunk-UNAH34G2.cjs');var _chunkDSIFRRBScjs = require('../../chunk-DSIFRRBS.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"}},l=(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"}},C= exports.createMockSigner =(e="api-key",t="base-sepolia")=>e==="api-key"?{type:e}:{type:e,address:l(e,t).split(":")[1],onSign:_vitest.vi.fn().mockResolvedValue("0xsigned")},f= exports.createMockWallet =(e,t,i="api-key",r)=>_chunkDSIFRRBScjs.h.call(void 0, void 0,null,function*(){let p=C(i,e),a=new (0, _chunk5DVT5DB6cjs.a)({chain:e,address:s(e),recovery:r!=null?r:{type:"api-key"}},t);return _vitest.vi.spyOn(a,"signers").mockImplementation(()=>Promise.resolve([{type:i==="api-key"?"api-key":"external-wallet",address:s(e),locator:l(i,e),status:"success"}])),yield a.useSigner(p),a}),M= exports.createMockApiClient =(e={})=>_chunkDSIFRRBScjs.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(),registerRecoveryMethod:_vitest.vi.fn(),removeRecoveryMethod:_vitest.vi.fn(),getSigner:_vitest.vi.fn()},e),m= exports.createMockSolanaSerializedTransaction =()=>"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAgEDBQrKxEIIPWsDwcGCzLQ7FGIHQ38p0dZq6bG2v2wUAUqMx3jV1jZ0";exports.createMockApiClient = M; exports.createMockSigner = C; exports.createMockSolanaSerializedTransaction = m; exports.createMockWallet = f;
|
|
@@ -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 { W as SignerConfigForChain, R as RecoverySignerConfigForChain } from '../../types-XN1EunoG.cjs';
|
|
6
6
|
import { Chain } from '../../chains/chains.cjs';
|
|
7
7
|
import '../../api/gen/types.gen.cjs';
|
|
8
8
|
import '../services/signer-manager.cjs';
|
|
@@ -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 { W as SignerConfigForChain, R as RecoverySignerConfigForChain } from '../../types-DOG2X_ok.js';
|
|
6
6
|
import { Chain } from '../../chains/chains.js';
|
|
7
7
|
import '../../api/gen/types.gen.js';
|
|
8
8
|
import '../services/signer-manager.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c}from"../../chunk-
|
|
1
|
+
import{a as c}from"../../chunk-32GROW5L.js";import"../../chunk-GYXKGRZY.js";import"../../chunk-QUYYIVZB.js";import"../../chunk-LX55L36L.js";import"../../chunk-FXKT7O4T.js";import"../../chunk-RFWRLJEX.js";import"../../chunk-TOAFCAVT.js";import"../../chunk-NDTDJCCO.js";import"../../chunk-NZXYWQE5.js";import"../../chunk-IOSADDL5.js";import"../../chunk-5LNDUSMZ.js";import"../../chunk-HDVUDIDC.js";import"../../chunk-266RS53K.js";import"../../chunk-Q7EO6OOI.js";import"../../chunk-2KGAVQXR.js";import"../../chunk-6CNZXJLK.js";import"../../chunk-HQ2RXBAN.js";import"../../chunk-5T7R5TZO.js";import"../../chunk-HHY65A7I.js";import"../../chunk-RV3Q5EIA.js";import"../../chunk-VG67JHRI.js";import"../../chunk-W4GCZ4UZ.js";import"../../chunk-L52GDMSH.js";import"../../chunk-YDZRBHS3.js";import"../../chunk-H4RL6UJU.js";import"../../chunk-PTGEMNUR.js";import"../../chunk-N3W3FP2G.js";import"../../chunk-BQZHLT2Q.js";import"../../chunk-IHMMTMFG.js";import"../../chunk-IQARABFX.js";import"../../chunk-QM3BB4E2.js";import"../../chunk-TSJUK3ED.js";import"../../chunk-JY4KRKZ6.js";import"../../chunk-GXUPHO44.js";import"../../chunk-277G6KNG.js";import"../../chunk-FJPAMX7L.js";import"../../chunk-E3H6RZHM.js";import"../../chunk-PWYCEHYZ.js";import"../../chunk-EM3D5Q3A.js";import"../../chunk-ECKSTWA3.js";import"../../chunk-K7BPGUFU.js";import"../../chunk-43LFPZII.js";import"../../chunk-MN2BGRRJ.js";import"../../chunk-FQ5F3VYJ.js";import"../../chunk-HAQMNZO5.js";import"../../chunk-2YLRFJ66.js";import"../../chunk-AI5NDEKL.js";import"../../chunk-MLROTECD.js";import"../../chunk-HADAG3ZB.js";import"../../chunk-OQINX6EJ.js";import"../../chunk-MZPMVQ5J.js";import"../../chunk-FWONJJK4.js";import"../../chunk-B4GYB3XY.js";import"../../chunk-OQZTL6ZG.js";import"../../chunk-JVBAZHA6.js";import"../../chunk-C6E6WC4P.js";import"../../chunk-V5NY4W5H.js";import"../../chunk-CGQCRDG7.js";import"../../chunk-KKQBZXFE.js";import"../../chunk-S3DYQVRD.js";import"../../chunk-KUP7H7X2.js";import"../../chunk-FT5EVMLB.js";import"../../chunk-QLOW4D2N.js";import"../../chunk-SVIKBM3S.js";import"../../chunk-4I3EXM4B.js";import"../../chunk-455NK5LB.js";import"../../chunk-YIUOOMT4.js";import"../../chunk-7TVBGFKY.js";import{a as o,h as A}from"../../chunk-NU7VF7MC.js";import{vi as n}from"vitest";import{APIKeyEnvironmentPrefix as g}from"@crossmint/common-sdk-base";var s=e=>{switch(e){case"solana":return"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM";case"stellar":return"GCKFBEIYTKP6RCZX6LRQW2JVAVLMGGVSNESWKN7L2YGQNI2DCOHVHJVY";default:return"0x1234567890123456789012345678901234567890"}},l=(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"}},C=(e="api-key",t="base-sepolia")=>e==="api-key"?{type:e}:{type:e,address:l(e,t).split(":")[1],onSign:n.fn().mockResolvedValue("0xsigned")},M=(e,t,i="api-key",r)=>A(void 0,null,function*(){let p=C(i,e),a=new c({chain:e,address:s(e),recovery:r!=null?r:{type:"api-key"}},t);return n.spyOn(a,"signers").mockImplementation(()=>Promise.resolve([{type:i==="api-key"?"api-key":"external-wallet",address:s(e),locator:l(i,e),status:"success"}])),yield a.useSigner(p),a}),m=(e={})=>o({isServerSide:!1,environment:g.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(),registerRecoveryMethod:n.fn(),removeRecoveryMethod:n.fn(),getSigner:n.fn()},e),v=()=>"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAgEDBQrKxEIIPWsDwcGCzLQ7FGIHQ38p0dZq6bG2v2wUAUqMx3jV1jZ0";export{m as createMockApiClient,C as createMockSigner,v as createMockSolanaSerializedTransaction,M 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 _chunkFS72XBWNcjs = require('../chunk-FS72XBWN.cjs');require('../chunk-5DVT5DB6.cjs');require('../chunk-FWPLRK7S.cjs');require('../chunk-5T2BUXCF.cjs');require('../chunk-CPXJHFSR.cjs');require('../chunk-5YNL2XRE.cjs');require('../chunk-3E3JUVWL.cjs');require('../chunk-CUHDOBKN.cjs');require('../chunk-TI6QPYIE.cjs');require('../chunk-GSNFNRH2.cjs');require('../chunk-3VYGTPRF.cjs');require('../chunk-GMU3ZYLS.cjs');require('../chunk-XTYSMO67.cjs');require('../chunk-QJ3BV3MW.cjs');require('../chunk-B45GSXKN.cjs');require('../chunk-3SSOE7BV.cjs');require('../chunk-XK7Y22KI.cjs');require('../chunk-JI3OXPVC.cjs');require('../chunk-AYCMZ6UJ.cjs');require('../chunk-VXWRNGOB.cjs');require('../chunk-WSDMIQNG.cjs');require('../chunk-BJJXTZJB.cjs');require('../chunk-U73R5Z3Z.cjs');require('../chunk-5IC7UWND.cjs');require('../chunk-PO6S7UR3.cjs');require('../chunk-LH6A7CFO.cjs');require('../chunk-DNAHI43Y.cjs');require('../chunk-BGQ4QX25.cjs');require('../chunk-MQEPGBWN.cjs');require('../chunk-ATIC4ENG.cjs');require('../chunk-7FIAYQ4O.cjs');require('../chunk-IGRPHTXZ.cjs');require('../chunk-Q66YRLSW.cjs');require('../chunk-BIL7GVBL.cjs');require('../chunk-2D6B7AZ6.cjs');require('../chunk-VMDJJX7P.cjs');require('../chunk-LWA3SX6Z.cjs');require('../chunk-2YZQ4YYU.cjs');require('../chunk-HITDGEGW.cjs');require('../chunk-5FH7WFWL.cjs');require('../chunk-5GYSXH4X.cjs');require('../chunk-5FVDLMWW.cjs');require('../chunk-664ATEWT.cjs');require('../chunk-XWQC6G7N.cjs');require('../chunk-R4SBFRTM.cjs');require('../chunk-HYWIWJ6H.cjs');require('../chunk-SCEPJO4Q.cjs');require('../chunk-4M6KYXG7.cjs');require('../chunk-CDHMNLZ6.cjs');require('../chunk-FY4JJ3QZ.cjs');require('../chunk-BSRBEBBA.cjs');require('../chunk-TJXUJBM7.cjs');require('../chunk-IX646CRE.cjs');require('../chunk-JNKTRQPS.cjs');require('../chunk-ENU3EKBG.cjs');require('../chunk-XIO3CEXH.cjs');require('../chunk-OQFZL5LI.cjs');require('../chunk-AUO6R32H.cjs');require('../chunk-ZPO3XSWU.cjs');require('../chunk-IR5WN6FQ.cjs');require('../chunk-GEY574TH.cjs');require('../chunk-UE3WVHTM.cjs');require('../chunk-5X4EOJFG.cjs');require('../chunk-TCDH5Q6Q.cjs');require('../chunk-HRUMWG2F.cjs');require('../chunk-D2S37DJ5.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-M2AM4CBT.cjs');require('../chunk-UNAH34G2.cjs');require('../chunk-DSIFRRBS.cjs');exports.EVMWallet = _chunkFS72XBWNcjs.a;
|
package/dist/wallets/evm.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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, $ as Transaction, ak as PrepareOnly, al as SignMessageInput, Q as Signature, am as SignTypedDataInput } from '../types-XN1EunoG.cjs';
|
|
5
5
|
import { Wallet } from './wallet.cjs';
|
|
6
6
|
import { EVMChain, Chain } from '../chains/chains.cjs';
|
|
7
|
-
import '../api/gen/types.gen.cjs';
|
|
8
7
|
import 'ox';
|
|
9
8
|
import '@crossmint/client-sdk-window';
|
|
10
9
|
import '@crossmint/client-signers';
|
|
11
10
|
import '@crossmint/common-sdk-base';
|
|
12
11
|
import '@solana/web3.js';
|
|
13
12
|
import 'abitype';
|
|
13
|
+
import '../api/gen/types.gen.cjs';
|
|
14
14
|
import '../utils/device-signers/DeviceSignerKeyStorage.cjs';
|
|
15
15
|
import '../api/client.cjs';
|
|
16
16
|
import './services/signer-manager.cjs';
|
package/dist/wallets/evm.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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, $ as Transaction, ak as PrepareOnly, al as SignMessageInput, Q as Signature, am as SignTypedDataInput } from '../types-DOG2X_ok.js';
|
|
5
5
|
import { Wallet } from './wallet.js';
|
|
6
6
|
import { EVMChain, Chain } from '../chains/chains.js';
|
|
7
|
-
import '../api/gen/types.gen.js';
|
|
8
7
|
import 'ox';
|
|
9
8
|
import '@crossmint/client-sdk-window';
|
|
10
9
|
import '@crossmint/client-signers';
|
|
11
10
|
import '@crossmint/common-sdk-base';
|
|
12
11
|
import '@solana/web3.js';
|
|
13
12
|
import 'abitype';
|
|
13
|
+
import '../api/gen/types.gen.js';
|
|
14
14
|
import '../utils/device-signers/DeviceSignerKeyStorage.js';
|
|
15
15
|
import '../api/client.js';
|
|
16
16
|
import './services/signer-manager.js';
|
package/dist/wallets/evm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-IMJ2V4F4.js";import"../chunk-32GROW5L.js";import"../chunk-GYXKGRZY.js";import"../chunk-QUYYIVZB.js";import"../chunk-LX55L36L.js";import"../chunk-FXKT7O4T.js";import"../chunk-RFWRLJEX.js";import"../chunk-TOAFCAVT.js";import"../chunk-NDTDJCCO.js";import"../chunk-NZXYWQE5.js";import"../chunk-IOSADDL5.js";import"../chunk-5LNDUSMZ.js";import"../chunk-HDVUDIDC.js";import"../chunk-266RS53K.js";import"../chunk-Q7EO6OOI.js";import"../chunk-2KGAVQXR.js";import"../chunk-6CNZXJLK.js";import"../chunk-HQ2RXBAN.js";import"../chunk-5T7R5TZO.js";import"../chunk-HHY65A7I.js";import"../chunk-RV3Q5EIA.js";import"../chunk-VG67JHRI.js";import"../chunk-W4GCZ4UZ.js";import"../chunk-L52GDMSH.js";import"../chunk-YDZRBHS3.js";import"../chunk-H4RL6UJU.js";import"../chunk-PTGEMNUR.js";import"../chunk-N3W3FP2G.js";import"../chunk-BQZHLT2Q.js";import"../chunk-IHMMTMFG.js";import"../chunk-IQARABFX.js";import"../chunk-QM3BB4E2.js";import"../chunk-TSJUK3ED.js";import"../chunk-JY4KRKZ6.js";import"../chunk-GXUPHO44.js";import"../chunk-277G6KNG.js";import"../chunk-FJPAMX7L.js";import"../chunk-E3H6RZHM.js";import"../chunk-PWYCEHYZ.js";import"../chunk-EM3D5Q3A.js";import"../chunk-ECKSTWA3.js";import"../chunk-K7BPGUFU.js";import"../chunk-43LFPZII.js";import"../chunk-MN2BGRRJ.js";import"../chunk-FQ5F3VYJ.js";import"../chunk-HAQMNZO5.js";import"../chunk-2YLRFJ66.js";import"../chunk-AI5NDEKL.js";import"../chunk-MLROTECD.js";import"../chunk-HADAG3ZB.js";import"../chunk-OQINX6EJ.js";import"../chunk-MZPMVQ5J.js";import"../chunk-FWONJJK4.js";import"../chunk-B4GYB3XY.js";import"../chunk-OQZTL6ZG.js";import"../chunk-JVBAZHA6.js";import"../chunk-C6E6WC4P.js";import"../chunk-V5NY4W5H.js";import"../chunk-CGQCRDG7.js";import"../chunk-KKQBZXFE.js";import"../chunk-S3DYQVRD.js";import"../chunk-KUP7H7X2.js";import"../chunk-FT5EVMLB.js";import"../chunk-QLOW4D2N.js";import"../chunk-SVIKBM3S.js";import"../chunk-4I3EXM4B.js";import"../chunk-455NK5LB.js";import"../chunk-YIUOOMT4.js";import"../chunk-7TVBGFKY.js";import"../chunk-NU7VF7MC.js";export{a as EVMWallet};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk5T2BUXCFcjs = require('../../chunk-5T2BUXCF.cjs');require('../../chunk-FY4JJ3QZ.cjs');require('../../chunk-BSRBEBBA.cjs');require('../../chunk-TJXUJBM7.cjs');require('../../chunk-IX646CRE.cjs');require('../../chunk-JNKTRQPS.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-D2S37DJ5.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-M2AM4CBT.cjs');require('../../chunk-UNAH34G2.cjs');require('../../chunk-DSIFRRBS.cjs');exports.formatBalanceResponse = _chunk5T2BUXCFcjs.a;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aJ as GetBalanceSuccessResponse, aE as TokenBalance, B as Balances } from '../../types-XN1EunoG.cjs';
|
|
2
2
|
import { Chain } from '../../chains/chains.cjs';
|
|
3
|
-
import 'viem';
|
|
4
|
-
import '../../api/gen/types.gen.cjs';
|
|
5
3
|
import 'ox';
|
|
6
4
|
import '@crossmint/client-sdk-window';
|
|
7
5
|
import '@crossmint/client-signers';
|
|
8
6
|
import '@crossmint/common-sdk-base';
|
|
9
7
|
import '@solana/web3.js';
|
|
8
|
+
import 'viem';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../../api/gen/types.gen.cjs';
|
|
11
11
|
import '../../utils/device-signers/DeviceSignerKeyStorage.cjs';
|
|
12
12
|
|
|
13
13
|
declare function formatBalanceResponse<C extends Chain>(response: GetBalanceSuccessResponse, chain: C, nativeTokenSymbol: TokenBalance["symbol"], requestedTokens?: string[]): Balances<C>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aJ as GetBalanceSuccessResponse, aE as TokenBalance, B as Balances } from '../../types-DOG2X_ok.js';
|
|
2
2
|
import { Chain } from '../../chains/chains.js';
|
|
3
|
-
import 'viem';
|
|
4
|
-
import '../../api/gen/types.gen.js';
|
|
5
3
|
import 'ox';
|
|
6
4
|
import '@crossmint/client-sdk-window';
|
|
7
5
|
import '@crossmint/client-signers';
|
|
8
6
|
import '@crossmint/common-sdk-base';
|
|
9
7
|
import '@solana/web3.js';
|
|
8
|
+
import 'viem';
|
|
10
9
|
import 'abitype';
|
|
10
|
+
import '../../api/gen/types.gen.js';
|
|
11
11
|
import '../../utils/device-signers/DeviceSignerKeyStorage.js';
|
|
12
12
|
|
|
13
13
|
declare function formatBalanceResponse<C extends Chain>(response: GetBalanceSuccessResponse, chain: C, nativeTokenSymbol: TokenBalance["symbol"], requestedTokens?: string[]): Balances<C>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-QUYYIVZB.js";import"../../chunk-HADAG3ZB.js";import"../../chunk-OQINX6EJ.js";import"../../chunk-MZPMVQ5J.js";import"../../chunk-FWONJJK4.js";import"../../chunk-B4GYB3XY.js";import"../../chunk-OQZTL6ZG.js";import"../../chunk-4I3EXM4B.js";import"../../chunk-455NK5LB.js";import"../../chunk-YIUOOMT4.js";import"../../chunk-7TVBGFKY.js";import"../../chunk-NU7VF7MC.js";export{a as formatBalanceResponse};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkCPXJHFSRcjs = require('../../chunk-CPXJHFSR.cjs');require('../../chunk-CUHDOBKN.cjs');require('../../chunk-TI6QPYIE.cjs');require('../../chunk-GSNFNRH2.cjs');require('../../chunk-3VYGTPRF.cjs');require('../../chunk-GMU3ZYLS.cjs');require('../../chunk-XTYSMO67.cjs');require('../../chunk-QJ3BV3MW.cjs');require('../../chunk-B45GSXKN.cjs');require('../../chunk-3SSOE7BV.cjs');require('../../chunk-XK7Y22KI.cjs');require('../../chunk-JI3OXPVC.cjs');require('../../chunk-AYCMZ6UJ.cjs');require('../../chunk-VXWRNGOB.cjs');require('../../chunk-WSDMIQNG.cjs');require('../../chunk-U73R5Z3Z.cjs');require('../../chunk-5IC7UWND.cjs');require('../../chunk-PO6S7UR3.cjs');require('../../chunk-LH6A7CFO.cjs');require('../../chunk-DNAHI43Y.cjs');require('../../chunk-BGQ4QX25.cjs');require('../../chunk-MQEPGBWN.cjs');require('../../chunk-ATIC4ENG.cjs');require('../../chunk-7FIAYQ4O.cjs');require('../../chunk-IGRPHTXZ.cjs');require('../../chunk-Q66YRLSW.cjs');require('../../chunk-BIL7GVBL.cjs');require('../../chunk-2D6B7AZ6.cjs');require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-HITDGEGW.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-5GYSXH4X.cjs');require('../../chunk-5FVDLMWW.cjs');require('../../chunk-664ATEWT.cjs');require('../../chunk-XWQC6G7N.cjs');require('../../chunk-R4SBFRTM.cjs');require('../../chunk-HYWIWJ6H.cjs');require('../../chunk-SCEPJO4Q.cjs');require('../../chunk-4M6KYXG7.cjs');require('../../chunk-CDHMNLZ6.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-D2S37DJ5.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-M2AM4CBT.cjs');require('../../chunk-UNAH34G2.cjs');require('../../chunk-DSIFRRBS.cjs');exports.DeviceRecoveryService = _chunkCPXJHFSRcjs.a;
|