@crossmint/wallets-sdk 0.10.9 → 0.10.10
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/client.cjs +1 -1
- package/dist/api/client.d.cts +2 -2
- package/dist/api/client.d.ts +2 -2
- package/dist/api/client.js +1 -1
- package/dist/api/gen/index.cjs +1 -1
- package/dist/api/gen/index.d.cts +2 -2
- package/dist/api/gen/index.d.ts +2 -2
- package/dist/api/gen/index.js +1 -1
- package/dist/api/gen/sdk.gen.cjs +1 -1
- package/dist/api/gen/sdk.gen.d.cts +201 -10
- package/dist/api/gen/sdk.gen.d.ts +201 -10
- package/dist/api/gen/sdk.gen.js +1 -1
- package/dist/api/gen/types.gen.d.cts +8130 -3074
- package/dist/api/gen/types.gen.d.ts +8130 -3074
- 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 +40 -28
- package/dist/api/types.d.ts +40 -28
- package/dist/chunk-2RYV526P.js +1 -0
- package/dist/chunk-3A5IGCCQ.js +1 -0
- package/dist/chunk-3VBHCOMA.cjs +1 -0
- package/dist/chunk-4KXOWU5E.cjs +1 -0
- package/dist/chunk-5S6YZJHE.js +1 -0
- package/dist/chunk-7F2XBOHW.js +1 -0
- package/dist/chunk-BM7YI7RZ.js +1 -0
- package/dist/chunk-BPUDXO56.js +1 -0
- package/dist/chunk-BULGM35W.cjs +1 -0
- package/dist/chunk-EXY25K62.cjs +1 -0
- package/dist/chunk-HTM5EELI.cjs +1 -0
- package/dist/chunk-IGBQEAD5.js +1 -0
- package/dist/chunk-IJMFCZIY.js +1 -0
- package/dist/chunk-IZPWMIWD.cjs +1 -0
- package/dist/chunk-JHLGQJW3.js +1 -0
- package/dist/chunk-KH5LXU3K.cjs +1 -0
- package/dist/chunk-KPWPRH6J.cjs +1 -0
- package/dist/chunk-LMDBWVPC.js +1 -0
- package/dist/chunk-LW6JSI4J.js +1 -0
- package/dist/{chunk-36Z3WOLW.js → chunk-NEEKQHR3.js} +1 -1
- package/dist/{chunk-FBNQVPXQ.cjs → chunk-NIO5D63W.cjs} +1 -1
- package/dist/chunk-RFK6N7LC.cjs +1 -0
- package/dist/chunk-RMIMNREY.js +1 -0
- package/dist/chunk-RSISNAJJ.cjs +1 -0
- package/dist/chunk-SCS4UDW7.js +1 -0
- package/dist/chunk-SHDM6MXU.js +1 -0
- package/dist/chunk-SLEKIJXX.cjs +1 -0
- package/dist/{chunk-5HBL6I5V.cjs → chunk-STUTWUOQ.cjs} +1 -1
- package/dist/chunk-TCTVRXRX.cjs +1 -0
- package/dist/chunk-UBOWSXW3.js +1 -0
- package/dist/{chunk-KBBVSGHP.js → chunk-XVQ5TWFN.js} +1 -1
- package/dist/chunk-YTAW674L.cjs +1 -0
- package/dist/chunk-YWPTI2QO.cjs +1 -0
- package/dist/chunk-YZ4HRYSL.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/sdk.cjs +1 -1
- package/dist/sdk.d.cts +1 -1
- package/dist/sdk.d.ts +1 -1
- package/dist/sdk.js +1 -1
- package/dist/signers/email/evm-email-signer.cjs +1 -1
- package/dist/signers/email/evm-email-signer.d.cts +1 -2
- package/dist/signers/email/evm-email-signer.d.ts +1 -2
- package/dist/signers/email/evm-email-signer.js +1 -1
- package/dist/signers/email/index.cjs +1 -1
- package/dist/signers/email/index.js +1 -1
- package/dist/signers/email/solana-email-signer.cjs +1 -1
- package/dist/signers/email/solana-email-signer.d.cts +1 -2
- package/dist/signers/email/solana-email-signer.d.ts +1 -2
- package/dist/signers/email/solana-email-signer.js +1 -1
- package/dist/signers/evm-api-key.cjs +1 -1
- package/dist/signers/evm-api-key.js +1 -1
- package/dist/signers/evm-external-wallet.cjs +1 -1
- package/dist/signers/evm-external-wallet.d.cts +5 -4
- package/dist/signers/evm-external-wallet.d.ts +5 -4
- package/dist/signers/evm-external-wallet.js +1 -1
- package/dist/signers/index.cjs +1 -1
- package/dist/signers/index.js +1 -1
- package/dist/signers/passkey.cjs +1 -1
- package/dist/signers/passkey.js +1 -1
- package/dist/signers/solana-api-key.cjs +1 -1
- package/dist/signers/solana-api-key.js +1 -1
- package/dist/signers/solana-external-wallet.cjs +1 -1
- package/dist/signers/solana-external-wallet.d.cts +5 -4
- package/dist/signers/solana-external-wallet.d.ts +5 -4
- package/dist/signers/solana-external-wallet.js +1 -1
- package/dist/signers/types.d.cts +6 -2
- package/dist/signers/types.d.ts +6 -2
- package/dist/utils/constants.cjs +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/signer-validation.cjs +1 -1
- package/dist/utils/signer-validation.d.cts +2 -2
- package/dist/utils/signer-validation.d.ts +2 -2
- package/dist/utils/signer-validation.js +1 -1
- package/dist/wallets/evm.cjs +1 -1
- package/dist/wallets/evm.js +1 -1
- package/dist/wallets/solana.cjs +1 -1
- package/dist/wallets/solana.js +1 -1
- package/dist/wallets/wallet-factory.cjs +1 -1
- package/dist/wallets/wallet-factory.d.cts +3 -3
- package/dist/wallets/wallet-factory.d.ts +3 -3
- package/dist/wallets/wallet-factory.js +1 -1
- package/dist/wallets/wallet.cjs +1 -1
- package/dist/wallets/wallet.d.cts +9 -9
- package/dist/wallets/wallet.d.ts +9 -9
- package/dist/wallets/wallet.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-2KK65AC6.js +0 -1
- package/dist/chunk-2LOGLK6Y.js +0 -1
- package/dist/chunk-3KB2VQVH.js +0 -1
- package/dist/chunk-5IM7I7EX.cjs +0 -1
- package/dist/chunk-5XUQSU22.js +0 -1
- package/dist/chunk-63KMVANB.cjs +0 -1
- package/dist/chunk-6DVCB4VI.cjs +0 -1
- package/dist/chunk-6YFK33UZ.js +0 -1
- package/dist/chunk-77QBSFHG.js +0 -1
- package/dist/chunk-AFYBD7FI.cjs +0 -1
- package/dist/chunk-AHG6IQT7.cjs +0 -1
- package/dist/chunk-C7GUSH3M.js +0 -1
- package/dist/chunk-CGAFBZHZ.cjs +0 -1
- package/dist/chunk-CTZE2MXB.js +0 -1
- package/dist/chunk-DIZVZP5P.cjs +0 -1
- package/dist/chunk-DYRSQN7X.cjs +0 -1
- package/dist/chunk-FUUYGB4K.js +0 -1
- package/dist/chunk-GEEQGXHO.cjs +0 -1
- package/dist/chunk-HTEW2JRC.cjs +0 -1
- package/dist/chunk-MHBF3VBC.js +0 -1
- package/dist/chunk-MPTRSUNX.cjs +0 -1
- package/dist/chunk-NGODR2AA.cjs +0 -1
- package/dist/chunk-NVJN7LPY.cjs +0 -1
- package/dist/chunk-OV4CFQ36.js +0 -1
- package/dist/chunk-PHIPQLW2.js +0 -1
- package/dist/chunk-Q3WOEBKN.js +0 -1
- package/dist/chunk-QTSZSHKK.js +0 -1
- package/dist/chunk-RD5PG4M6.cjs +0 -1
- package/dist/chunk-RSM6MX6W.js +0 -1
- package/dist/chunk-T3ICQDFS.js +0 -1
- package/dist/chunk-UMX5PW5P.cjs +0 -1
- package/dist/chunk-YO6BJ2DI.cjs +0 -1
- package/dist/signers/email/email-signer-api-client.cjs +0 -1
- package/dist/signers/email/email-signer-api-client.d.cts +0 -14
- package/dist/signers/email/email-signer-api-client.d.ts +0 -14
- package/dist/signers/email/email-signer-api-client.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXALFCQKDcjs = require('./chunk-XALFCQKD.cjs');var n=class{constructor(t){this.config=t;this.type="api-key"}locator(){return this.config.locator}signMessage(){return _chunkXALFCQKDcjs.f.call(void 0, this,null,function*(){return yield Promise.reject(new Error("API key signers do not support direct message signing - signatures are handled automatically by the backend"))})}signTransaction(){return _chunkXALFCQKDcjs.f.call(void 0, this,null,function*(){return yield Promise.reject(new Error("API key signers do not support direct transaction signing - transaction are handled automatically by the backend"))})}};exports.a = n;
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKPWPRH6Jcjs = require('./chunk-KPWPRH6J.cjs');var _chunk3VBHCOMAcjs = require('./chunk-3VBHCOMA.cjs');var _chunkNIO5D63Wcjs = require('./chunk-NIO5D63W.cjs');require('./chunk-IZPWMIWD.cjs');var _chunkRSISNAJJcjs = require('./chunk-RSISNAJJ.cjs');require('./chunk-SLEKIJXX.cjs');require('./chunk-VMEGMTOD.cjs');require('./chunk-KH5LXU3K.cjs');require('./chunk-EXY25K62.cjs');require('./chunk-NWOKSI3V.cjs');require('./chunk-FWMSAG7V.cjs');require('./chunk-YWPTI2QO.cjs');require('./chunk-4KXOWU5E.cjs');require('./chunk-YTAW674L.cjs');require('./chunk-ZSWIQU3U.cjs');require('./chunk-RFK6N7LC.cjs');require('./chunk-6HXIZLEQ.cjs');var _chunkSTUTWUOQcjs = require('./chunk-STUTWUOQ.cjs');require('./chunk-HTM5EELI.cjs');require('./chunk-CT2UGJEL.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-6VJEBYPN.cjs');require('./chunk-IR5WN6FQ.cjs');require('./chunk-GEY574TH.cjs');require('./chunk-YZ4HRYSL.cjs');require('./chunk-BULGM35W.cjs');require('./chunk-XALFCQKD.cjs');exports.CrossmintWallets = _chunkNIO5D63Wcjs.b; exports.EVMWallet = _chunkKPWPRH6Jcjs.a; exports.SolanaWallet = _chunk3VBHCOMAcjs.a; exports.Wallet = _chunkRSISNAJJcjs.a; exports.WalletsApiClient = _chunkSTUTWUOQcjs.a; exports.createCrossmint = _chunkNIO5D63Wcjs.a;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-2RYV526P.js";import{a as r}from"./chunk-3A5IGCCQ.js";import{a as n,b as t}from"./chunk-XVQ5TWFN.js";import"./chunk-JHLGQJW3.js";import{a}from"./chunk-BM7YI7RZ.js";import"./chunk-SHDM6MXU.js";import"./chunk-TN6YXWPL.js";import"./chunk-LMDBWVPC.js";import"./chunk-BPUDXO56.js";import"./chunk-7KHMZPZO.js";import"./chunk-PPTGFYIV.js";import"./chunk-UBOWSXW3.js";import"./chunk-IGBQEAD5.js";import"./chunk-SCS4UDW7.js";import"./chunk-M4ELAV7U.js";import"./chunk-IJMFCZIY.js";import"./chunk-5IFDVB4Y.js";import{a as e}from"./chunk-NEEKQHR3.js";import"./chunk-7F2XBOHW.js";import"./chunk-7ENJXL4H.js";import"./chunk-KBJA7JDT.js";import"./chunk-BJDS5BJG.js";import"./chunk-KKQBZXFE.js";import"./chunk-S3DYQVRD.js";import"./chunk-LW6JSI4J.js";import"./chunk-5S6YZJHE.js";import"./chunk-BW7YYVZE.js";export{t as CrossmintWallets,o as EVMWallet,r as SolanaWallet,a as Wallet,e as WalletsApiClient,n as createCrossmint};
|
package/dist/sdk.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNIO5D63Wcjs = require('./chunk-NIO5D63W.cjs');require('./chunk-IZPWMIWD.cjs');require('./chunk-RSISNAJJ.cjs');require('./chunk-SLEKIJXX.cjs');require('./chunk-VMEGMTOD.cjs');require('./chunk-KH5LXU3K.cjs');require('./chunk-EXY25K62.cjs');require('./chunk-NWOKSI3V.cjs');require('./chunk-FWMSAG7V.cjs');require('./chunk-YWPTI2QO.cjs');require('./chunk-4KXOWU5E.cjs');require('./chunk-YTAW674L.cjs');require('./chunk-ZSWIQU3U.cjs');require('./chunk-RFK6N7LC.cjs');require('./chunk-6HXIZLEQ.cjs');require('./chunk-STUTWUOQ.cjs');require('./chunk-HTM5EELI.cjs');require('./chunk-CT2UGJEL.cjs');require('./chunk-ECAM5KTH.cjs');require('./chunk-YZ4HRYSL.cjs');require('./chunk-BULGM35W.cjs');require('./chunk-XALFCQKD.cjs');exports.CrossmintWallets = _chunkNIO5D63Wcjs.b; exports.createCrossmint = _chunkNIO5D63Wcjs.a;
|
package/dist/sdk.d.cts
CHANGED
|
@@ -7,10 +7,10 @@ import './signers/types.cjs';
|
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
9
9
|
import '@crossmint/client-signers';
|
|
10
|
-
import './api/gen/types.gen.cjs';
|
|
11
10
|
import './api/client.cjs';
|
|
12
11
|
import './api/types.cjs';
|
|
13
12
|
import 'viem';
|
|
13
|
+
import './api/gen/types.gen.cjs';
|
|
14
14
|
import '@solana/web3.js';
|
|
15
15
|
import 'abitype';
|
|
16
16
|
|
package/dist/sdk.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ import './signers/types.js';
|
|
|
7
7
|
import 'ox';
|
|
8
8
|
import '@crossmint/client-sdk-window';
|
|
9
9
|
import '@crossmint/client-signers';
|
|
10
|
-
import './api/gen/types.gen.js';
|
|
11
10
|
import './api/client.js';
|
|
12
11
|
import './api/types.js';
|
|
13
12
|
import 'viem';
|
|
13
|
+
import './api/gen/types.gen.js';
|
|
14
14
|
import '@solana/web3.js';
|
|
15
15
|
import 'abitype';
|
|
16
16
|
|
package/dist/sdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"./chunk-
|
|
1
|
+
import{a,b}from"./chunk-XVQ5TWFN.js";import"./chunk-JHLGQJW3.js";import"./chunk-BM7YI7RZ.js";import"./chunk-SHDM6MXU.js";import"./chunk-TN6YXWPL.js";import"./chunk-LMDBWVPC.js";import"./chunk-BPUDXO56.js";import"./chunk-7KHMZPZO.js";import"./chunk-PPTGFYIV.js";import"./chunk-UBOWSXW3.js";import"./chunk-IGBQEAD5.js";import"./chunk-SCS4UDW7.js";import"./chunk-M4ELAV7U.js";import"./chunk-IJMFCZIY.js";import"./chunk-5IFDVB4Y.js";import"./chunk-NEEKQHR3.js";import"./chunk-7F2XBOHW.js";import"./chunk-7ENJXL4H.js";import"./chunk-KBJA7JDT.js";import"./chunk-LW6JSI4J.js";import"./chunk-5S6YZJHE.js";import"./chunk-BW7YYVZE.js";export{b as CrossmintWallets,a as createCrossmint};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkKH5LXU3Kcjs = require('../../chunk-KH5LXU3K.cjs');require('../../chunk-NWOKSI3V.cjs');require('../../chunk-FWMSAG7V.cjs');require('../../chunk-ZSWIQU3U.cjs');require('../../chunk-XALFCQKD.cjs');exports.EvmEmailSigner = _chunkKH5LXU3Kcjs.a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EmailInternalSignerConfig } from '../types.cjs';
|
|
2
2
|
import { EmailSigner } from './email-signer.cjs';
|
|
3
|
-
import { Crossmint } from '@crossmint/common-sdk-base';
|
|
4
3
|
import 'ox';
|
|
5
4
|
import '@crossmint/client-sdk-window';
|
|
6
5
|
import '@crossmint/client-signers';
|
|
6
|
+
import '@crossmint/common-sdk-base';
|
|
7
7
|
import '../../chains/chains.cjs';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
|
@@ -17,7 +17,6 @@ declare class EvmEmailSigner extends EmailSigner {
|
|
|
17
17
|
signature: string;
|
|
18
18
|
}>;
|
|
19
19
|
private sign;
|
|
20
|
-
static pregenerateSigner(email: string, crossmint: Crossmint): Promise<string>;
|
|
21
20
|
static verifyPublicKeyFormat(publicKey: {
|
|
22
21
|
encoding: string;
|
|
23
22
|
keyType: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EmailInternalSignerConfig } from '../types.js';
|
|
2
2
|
import { EmailSigner } from './email-signer.js';
|
|
3
|
-
import { Crossmint } from '@crossmint/common-sdk-base';
|
|
4
3
|
import 'ox';
|
|
5
4
|
import '@crossmint/client-sdk-window';
|
|
6
5
|
import '@crossmint/client-signers';
|
|
6
|
+
import '@crossmint/common-sdk-base';
|
|
7
7
|
import '../../chains/chains.js';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
|
@@ -17,7 +17,6 @@ declare class EvmEmailSigner extends EmailSigner {
|
|
|
17
17
|
signature: string;
|
|
18
18
|
}>;
|
|
19
19
|
private sign;
|
|
20
|
-
static pregenerateSigner(email: string, crossmint: Crossmint): Promise<string>;
|
|
21
20
|
static verifyPublicKeyFormat(publicKey: {
|
|
22
21
|
encoding: string;
|
|
23
22
|
keyType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-LMDBWVPC.js";import"../../chunk-7KHMZPZO.js";import"../../chunk-PPTGFYIV.js";import"../../chunk-M4ELAV7U.js";import"../../chunk-BW7YYVZE.js";export{a as EvmEmailSigner};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-VMEGMTOD.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-VMEGMTOD.cjs');var _chunkKH5LXU3Kcjs = require('../../chunk-KH5LXU3K.cjs');var _chunkEXY25K62cjs = require('../../chunk-EXY25K62.cjs');var _chunkNWOKSI3Vcjs = require('../../chunk-NWOKSI3V.cjs');require('../../chunk-FWMSAG7V.cjs');require('../../chunk-ZSWIQU3U.cjs');require('../../chunk-XALFCQKD.cjs');exports.DEFAULT_EVENT_OPTIONS = _chunkNWOKSI3Vcjs.b; exports.EmailSigner = _chunkNWOKSI3Vcjs.a; exports.EvmEmailSigner = _chunkKH5LXU3Kcjs.a; exports.SolanaEmailSigner = _chunkEXY25K62cjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-TN6YXWPL.js";import{a as
|
|
1
|
+
import"../../chunk-TN6YXWPL.js";import{a as d}from"../../chunk-LMDBWVPC.js";import{a as c}from"../../chunk-BPUDXO56.js";import{a,b}from"../../chunk-7KHMZPZO.js";import"../../chunk-PPTGFYIV.js";import"../../chunk-M4ELAV7U.js";import"../../chunk-BW7YYVZE.js";export{b as DEFAULT_EVENT_OPTIONS,a as EmailSigner,d as EvmEmailSigner,c as SolanaEmailSigner};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEXY25K62cjs = require('../../chunk-EXY25K62.cjs');require('../../chunk-NWOKSI3V.cjs');require('../../chunk-FWMSAG7V.cjs');require('../../chunk-ZSWIQU3U.cjs');require('../../chunk-XALFCQKD.cjs');exports.SolanaEmailSigner = _chunkEXY25K62cjs.a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EmailInternalSignerConfig } from '../types.cjs';
|
|
2
2
|
import { EmailSigner } from './email-signer.cjs';
|
|
3
|
-
import { Crossmint } from '@crossmint/common-sdk-base';
|
|
4
3
|
import 'ox';
|
|
5
4
|
import '@crossmint/client-sdk-window';
|
|
6
5
|
import '@crossmint/client-signers';
|
|
6
|
+
import '@crossmint/common-sdk-base';
|
|
7
7
|
import '../../chains/chains.cjs';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
|
@@ -14,7 +14,6 @@ declare class SolanaEmailSigner extends EmailSigner {
|
|
|
14
14
|
signTransaction(transaction: string): Promise<{
|
|
15
15
|
signature: string;
|
|
16
16
|
}>;
|
|
17
|
-
static pregenerateSigner(email: string, crossmint: Crossmint): Promise<string>;
|
|
18
17
|
static verifyPublicKeyFormat(publicKey: {
|
|
19
18
|
encoding: string;
|
|
20
19
|
keyType: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EmailInternalSignerConfig } from '../types.js';
|
|
2
2
|
import { EmailSigner } from './email-signer.js';
|
|
3
|
-
import { Crossmint } from '@crossmint/common-sdk-base';
|
|
4
3
|
import 'ox';
|
|
5
4
|
import '@crossmint/client-sdk-window';
|
|
6
5
|
import '@crossmint/client-signers';
|
|
6
|
+
import '@crossmint/common-sdk-base';
|
|
7
7
|
import '../../chains/chains.js';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
|
@@ -14,7 +14,6 @@ declare class SolanaEmailSigner extends EmailSigner {
|
|
|
14
14
|
signTransaction(transaction: string): Promise<{
|
|
15
15
|
signature: string;
|
|
16
16
|
}>;
|
|
17
|
-
static pregenerateSigner(email: string, crossmint: Crossmint): Promise<string>;
|
|
18
17
|
static verifyPublicKeyFormat(publicKey: {
|
|
19
18
|
encoding: string;
|
|
20
19
|
keyType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-BPUDXO56.js";import"../../chunk-7KHMZPZO.js";import"../../chunk-PPTGFYIV.js";import"../../chunk-M4ELAV7U.js";import"../../chunk-BW7YYVZE.js";export{a as SolanaEmailSigner};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYZ4HRYSLcjs = require('../chunk-YZ4HRYSL.cjs');require('../chunk-XALFCQKD.cjs');exports.EVMApiKeySigner = _chunkYZ4HRYSLcjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-LW6JSI4J.js";import"../chunk-BW7YYVZE.js";export{a as EVMApiKeySigner};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBULGM35Wcjs = require('../chunk-BULGM35W.cjs');require('../chunk-XALFCQKD.cjs');exports.EVMExternalWalletSigner = _chunkBULGM35Wcjs.a;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { EIP1193Provider, Account } from 'viem';
|
|
2
|
-
import { Signer } from './types.cjs';
|
|
3
|
-
import {
|
|
2
|
+
import { Signer, ExternalWalletInternalSignerConfig } from './types.cjs';
|
|
3
|
+
import { EVMChain } from '../chains/chains.cjs';
|
|
4
|
+
import { GenericEIP1193Provider } from '@crossmint/common-sdk-base';
|
|
4
5
|
import 'ox';
|
|
5
6
|
import '@crossmint/client-sdk-window';
|
|
6
7
|
import '@crossmint/client-signers';
|
|
7
|
-
import '../chains/chains.cjs';
|
|
8
8
|
|
|
9
9
|
declare class EVMExternalWalletSigner implements Signer {
|
|
10
|
+
private config;
|
|
10
11
|
type: "external-wallet";
|
|
11
12
|
address: string;
|
|
12
13
|
provider?: GenericEIP1193Provider | EIP1193Provider;
|
|
13
14
|
viemAccount?: Account;
|
|
14
|
-
constructor(config:
|
|
15
|
+
constructor(config: ExternalWalletInternalSignerConfig<EVMChain>);
|
|
15
16
|
locator(): string;
|
|
16
17
|
signMessage(message: string): Promise<{
|
|
17
18
|
signature: any;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { EIP1193Provider, Account } from 'viem';
|
|
2
|
-
import { Signer } from './types.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Signer, ExternalWalletInternalSignerConfig } from './types.js';
|
|
3
|
+
import { EVMChain } from '../chains/chains.js';
|
|
4
|
+
import { GenericEIP1193Provider } from '@crossmint/common-sdk-base';
|
|
4
5
|
import 'ox';
|
|
5
6
|
import '@crossmint/client-sdk-window';
|
|
6
7
|
import '@crossmint/client-signers';
|
|
7
|
-
import '../chains/chains.js';
|
|
8
8
|
|
|
9
9
|
declare class EVMExternalWalletSigner implements Signer {
|
|
10
|
+
private config;
|
|
10
11
|
type: "external-wallet";
|
|
11
12
|
address: string;
|
|
12
13
|
provider?: GenericEIP1193Provider | EIP1193Provider;
|
|
13
14
|
viemAccount?: Account;
|
|
14
|
-
constructor(config:
|
|
15
|
+
constructor(config: ExternalWalletInternalSignerConfig<EVMChain>);
|
|
15
16
|
locator(): string;
|
|
16
17
|
signMessage(message: string): Promise<{
|
|
17
18
|
signature: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-5S6YZJHE.js";import"../chunk-BW7YYVZE.js";export{a as EVMExternalWalletSigner};
|
package/dist/signers/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSLEKIJXXcjs = require('../chunk-SLEKIJXX.cjs');require('../chunk-VMEGMTOD.cjs');require('../chunk-KH5LXU3K.cjs');require('../chunk-EXY25K62.cjs');require('../chunk-NWOKSI3V.cjs');require('../chunk-FWMSAG7V.cjs');require('../chunk-YWPTI2QO.cjs');require('../chunk-4KXOWU5E.cjs');require('../chunk-YTAW674L.cjs');require('../chunk-ZSWIQU3U.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-YZ4HRYSL.cjs');require('../chunk-BULGM35W.cjs');require('../chunk-XALFCQKD.cjs');exports.assembleSigner = _chunkSLEKIJXXcjs.a;
|
package/dist/signers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-SHDM6MXU.js";import"../chunk-TN6YXWPL.js";import"../chunk-LMDBWVPC.js";import"../chunk-BPUDXO56.js";import"../chunk-7KHMZPZO.js";import"../chunk-PPTGFYIV.js";import"../chunk-UBOWSXW3.js";import"../chunk-IGBQEAD5.js";import"../chunk-SCS4UDW7.js";import"../chunk-M4ELAV7U.js";import"../chunk-7ENJXL4H.js";import"../chunk-LW6JSI4J.js";import"../chunk-5S6YZJHE.js";import"../chunk-BW7YYVZE.js";export{a as assembleSigner};
|
package/dist/signers/passkey.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYWPTI2QOcjs = require('../chunk-YWPTI2QO.cjs');require('../chunk-XALFCQKD.cjs');exports.PasskeySigner = _chunkYWPTI2QOcjs.a;
|
package/dist/signers/passkey.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-UBOWSXW3.js";import"../chunk-BW7YYVZE.js";export{a as PasskeySigner};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk4KXOWU5Ecjs = require('../chunk-4KXOWU5E.cjs');require('../chunk-XALFCQKD.cjs');exports.SolanaApiKeySigner = _chunk4KXOWU5Ecjs.a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-IGBQEAD5.js";import"../chunk-BW7YYVZE.js";export{a as SolanaApiKeySigner};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYTAW674Lcjs = require('../chunk-YTAW674L.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-XALFCQKD.cjs');exports.SolanaExternalWalletSigner = _chunkYTAW674Lcjs.a;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { VersionedTransaction } from '@solana/web3.js';
|
|
2
|
-
import { Signer } from './types.cjs';
|
|
3
|
-
import {
|
|
2
|
+
import { Signer, ExternalWalletInternalSignerConfig } from './types.cjs';
|
|
3
|
+
import { SolanaChain } from '../chains/chains.cjs';
|
|
4
4
|
import 'ox';
|
|
5
5
|
import '@crossmint/client-sdk-window';
|
|
6
6
|
import '@crossmint/client-signers';
|
|
7
|
-
import '
|
|
7
|
+
import '@crossmint/common-sdk-base';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
|
10
10
|
declare class SolanaExternalWalletSigner implements Signer {
|
|
11
|
+
private config;
|
|
11
12
|
type: "external-wallet";
|
|
12
13
|
address: string;
|
|
13
14
|
onSignTransaction?: (transaction: VersionedTransaction) => Promise<VersionedTransaction>;
|
|
14
|
-
constructor(config:
|
|
15
|
+
constructor(config: ExternalWalletInternalSignerConfig<SolanaChain>);
|
|
15
16
|
locator(): string;
|
|
16
17
|
signMessage(): Promise<never>;
|
|
17
18
|
signTransaction(transaction: string): Promise<{
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { VersionedTransaction } from '@solana/web3.js';
|
|
2
|
-
import { Signer } from './types.js';
|
|
3
|
-
import {
|
|
2
|
+
import { Signer, ExternalWalletInternalSignerConfig } from './types.js';
|
|
3
|
+
import { SolanaChain } from '../chains/chains.js';
|
|
4
4
|
import 'ox';
|
|
5
5
|
import '@crossmint/client-sdk-window';
|
|
6
6
|
import '@crossmint/client-signers';
|
|
7
|
-
import '
|
|
7
|
+
import '@crossmint/common-sdk-base';
|
|
8
8
|
import 'viem';
|
|
9
9
|
|
|
10
10
|
declare class SolanaExternalWalletSigner implements Signer {
|
|
11
|
+
private config;
|
|
11
12
|
type: "external-wallet";
|
|
12
13
|
address: string;
|
|
13
14
|
onSignTransaction?: (transaction: VersionedTransaction) => Promise<VersionedTransaction>;
|
|
14
|
-
constructor(config:
|
|
15
|
+
constructor(config: ExternalWalletInternalSignerConfig<SolanaChain>);
|
|
15
16
|
locator(): string;
|
|
16
17
|
signMessage(): Promise<never>;
|
|
17
18
|
signTransaction(transaction: string): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-SCS4UDW7.js";import"../chunk-7ENJXL4H.js";import"../chunk-BW7YYVZE.js";export{a as SolanaExternalWalletSigner};
|
package/dist/signers/types.d.cts
CHANGED
|
@@ -32,17 +32,21 @@ type PasskeySignerConfig = {
|
|
|
32
32
|
onSignWithPasskey?: (message: string) => Promise<PasskeySignResult>;
|
|
33
33
|
};
|
|
34
34
|
type EmailInternalSignerConfig = EmailSignerConfig & {
|
|
35
|
-
|
|
35
|
+
locator: string;
|
|
36
36
|
crossmint: Crossmint;
|
|
37
37
|
clientTEEConnection?: HandshakeParent<typeof signerOutboundEvents, typeof signerInboundEvents>;
|
|
38
38
|
};
|
|
39
39
|
type PasskeyInternalSignerConfig = PasskeySignerConfig & {
|
|
40
|
+
locator: string;
|
|
40
41
|
id: string;
|
|
41
42
|
};
|
|
42
43
|
type ApiKeyInternalSignerConfig = ApiKeySignerConfig & {
|
|
44
|
+
locator: string;
|
|
43
45
|
address: string;
|
|
44
46
|
};
|
|
45
|
-
type ExternalWalletInternalSignerConfig<C extends Chain> = ExternalWalletSignerConfigForChain<C
|
|
47
|
+
type ExternalWalletInternalSignerConfig<C extends Chain> = ExternalWalletSignerConfigForChain<C> & {
|
|
48
|
+
locator: string;
|
|
49
|
+
};
|
|
46
50
|
type InternalSignerConfig<C extends Chain> = EmailInternalSignerConfig | PasskeyInternalSignerConfig | ApiKeyInternalSignerConfig | ExternalWalletInternalSignerConfig<C>;
|
|
47
51
|
type BaseSignResult = {
|
|
48
52
|
signature: string;
|
package/dist/signers/types.d.ts
CHANGED
|
@@ -32,17 +32,21 @@ type PasskeySignerConfig = {
|
|
|
32
32
|
onSignWithPasskey?: (message: string) => Promise<PasskeySignResult>;
|
|
33
33
|
};
|
|
34
34
|
type EmailInternalSignerConfig = EmailSignerConfig & {
|
|
35
|
-
|
|
35
|
+
locator: string;
|
|
36
36
|
crossmint: Crossmint;
|
|
37
37
|
clientTEEConnection?: HandshakeParent<typeof signerOutboundEvents, typeof signerInboundEvents>;
|
|
38
38
|
};
|
|
39
39
|
type PasskeyInternalSignerConfig = PasskeySignerConfig & {
|
|
40
|
+
locator: string;
|
|
40
41
|
id: string;
|
|
41
42
|
};
|
|
42
43
|
type ApiKeyInternalSignerConfig = ApiKeySignerConfig & {
|
|
44
|
+
locator: string;
|
|
43
45
|
address: string;
|
|
44
46
|
};
|
|
45
|
-
type ExternalWalletInternalSignerConfig<C extends Chain> = ExternalWalletSignerConfigForChain<C
|
|
47
|
+
type ExternalWalletInternalSignerConfig<C extends Chain> = ExternalWalletSignerConfigForChain<C> & {
|
|
48
|
+
locator: string;
|
|
49
|
+
};
|
|
46
50
|
type InternalSignerConfig<C extends Chain> = EmailInternalSignerConfig | PasskeyInternalSignerConfig | ApiKeyInternalSignerConfig | ExternalWalletInternalSignerConfig<C>;
|
|
47
51
|
type BaseSignResult = {
|
|
48
52
|
signature: string;
|
package/dist/utils/constants.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHTM5EELIcjs = require('../chunk-HTM5EELI.cjs');require('../chunk-XALFCQKD.cjs');exports.SDK_NAME = _chunkHTM5EELIcjs.c; exports.SDK_VERSION = _chunkHTM5EELIcjs.b; exports.STATUS_POLLING_INTERVAL_MS = _chunkHTM5EELIcjs.d; exports.WALLETS_SERVICE = _chunkHTM5EELIcjs.a;
|
package/dist/utils/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-7F2XBOHW.js";import"../chunk-BW7YYVZE.js";export{c as SDK_NAME,b as SDK_VERSION,d as STATUS_POLLING_INTERVAL_MS,a as WALLETS_SERVICE};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRFK6N7LCcjs = require('../chunk-RFK6N7LC.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-XALFCQKD.cjs');exports.compareSignerConfigs = _chunkRFK6N7LCcjs.a;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function
|
|
1
|
+
declare function compareSignerConfigs(newSignerConfig: Record<string, unknown>, existingSignerConfig: Record<string, unknown>, path?: string): void;
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { compareSignerConfigs };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare function
|
|
1
|
+
declare function compareSignerConfigs(newSignerConfig: Record<string, unknown>, existingSignerConfig: Record<string, unknown>, path?: string): void;
|
|
2
2
|
|
|
3
|
-
export {
|
|
3
|
+
export { compareSignerConfigs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-IJMFCZIY.js";import"../chunk-7ENJXL4H.js";import"../chunk-BW7YYVZE.js";export{a as compareSignerConfigs};
|
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 _chunkKPWPRH6Jcjs = require('../chunk-KPWPRH6J.cjs');require('../chunk-RSISNAJJ.cjs');require('../chunk-HTM5EELI.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-6VJEBYPN.cjs');require('../chunk-IR5WN6FQ.cjs');require('../chunk-GEY574TH.cjs');require('../chunk-XALFCQKD.cjs');exports.EVMWallet = _chunkKPWPRH6Jcjs.a;
|
package/dist/wallets/evm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-2RYV526P.js";import"../chunk-BM7YI7RZ.js";import"../chunk-7F2XBOHW.js";import"../chunk-7ENJXL4H.js";import"../chunk-BJDS5BJG.js";import"../chunk-KKQBZXFE.js";import"../chunk-S3DYQVRD.js";import"../chunk-BW7YYVZE.js";export{a as EVMWallet};
|
package/dist/wallets/solana.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3VBHCOMAcjs = require('../chunk-3VBHCOMA.cjs');require('../chunk-RSISNAJJ.cjs');require('../chunk-YTAW674L.cjs');require('../chunk-HTM5EELI.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-XALFCQKD.cjs');exports.SolanaWallet = _chunk3VBHCOMAcjs.a;
|
package/dist/wallets/solana.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-3A5IGCCQ.js";import"../chunk-BM7YI7RZ.js";import"../chunk-SCS4UDW7.js";import"../chunk-7F2XBOHW.js";import"../chunk-7ENJXL4H.js";import"../chunk-BW7YYVZE.js";export{a as SolanaWallet};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIZPWMIWDcjs = require('../chunk-IZPWMIWD.cjs');require('../chunk-RSISNAJJ.cjs');require('../chunk-SLEKIJXX.cjs');require('../chunk-VMEGMTOD.cjs');require('../chunk-KH5LXU3K.cjs');require('../chunk-EXY25K62.cjs');require('../chunk-NWOKSI3V.cjs');require('../chunk-FWMSAG7V.cjs');require('../chunk-YWPTI2QO.cjs');require('../chunk-4KXOWU5E.cjs');require('../chunk-YTAW674L.cjs');require('../chunk-ZSWIQU3U.cjs');require('../chunk-RFK6N7LC.cjs');require('../chunk-HTM5EELI.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-YZ4HRYSL.cjs');require('../chunk-BULGM35W.cjs');require('../chunk-XALFCQKD.cjs');exports.WalletFactory = _chunkIZPWMIWDcjs.a;
|
|
@@ -21,9 +21,9 @@ declare class WalletFactory {
|
|
|
21
21
|
createWallet<C extends Chain>(args: WalletArgsFor<C>): Promise<Wallet<C>>;
|
|
22
22
|
private createWalletInstance;
|
|
23
23
|
private toInternalSignerConfig;
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
24
|
+
private createPasskeyAdminSigner;
|
|
25
|
+
private mutateSignerFromCustomAuth;
|
|
26
|
+
private validateExistingWalletConfig;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export { WalletFactory };
|
|
@@ -21,9 +21,9 @@ declare class WalletFactory {
|
|
|
21
21
|
createWallet<C extends Chain>(args: WalletArgsFor<C>): Promise<Wallet<C>>;
|
|
22
22
|
private createWalletInstance;
|
|
23
23
|
private toInternalSignerConfig;
|
|
24
|
-
private
|
|
25
|
-
private
|
|
26
|
-
private
|
|
24
|
+
private createPasskeyAdminSigner;
|
|
25
|
+
private mutateSignerFromCustomAuth;
|
|
26
|
+
private validateExistingWalletConfig;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export { WalletFactory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-JHLGQJW3.js";import"../chunk-BM7YI7RZ.js";import"../chunk-SHDM6MXU.js";import"../chunk-TN6YXWPL.js";import"../chunk-LMDBWVPC.js";import"../chunk-BPUDXO56.js";import"../chunk-7KHMZPZO.js";import"../chunk-PPTGFYIV.js";import"../chunk-UBOWSXW3.js";import"../chunk-IGBQEAD5.js";import"../chunk-SCS4UDW7.js";import"../chunk-M4ELAV7U.js";import"../chunk-IJMFCZIY.js";import"../chunk-7F2XBOHW.js";import"../chunk-7ENJXL4H.js";import"../chunk-LW6JSI4J.js";import"../chunk-5S6YZJHE.js";import"../chunk-BW7YYVZE.js";export{a as WalletFactory};
|
package/dist/wallets/wallet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkRSISNAJJcjs = require('../chunk-RSISNAJJ.cjs');require('../chunk-HTM5EELI.cjs');require('../chunk-CT2UGJEL.cjs');require('../chunk-XALFCQKD.cjs');exports.Wallet = _chunkRSISNAJJcjs.a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Signer, PasskeySignResult, BaseSignResult } from '../signers/types.cjs';
|
|
2
|
-
import { WalletsV1Alpha2TransactionResponseDto } from '../api/gen/types.gen.cjs';
|
|
3
2
|
import { ApiClient } from '../api/client.cjs';
|
|
4
|
-
import {
|
|
3
|
+
import { GetTransactionsResponse, Activity, RegisterSignerPasskeyParams, WalletLocator } from '../api/types.cjs';
|
|
4
|
+
import { WalletNftsResponseDto, WalletsTransactionV2025ResponseDto } from '../api/gen/types.gen.cjs';
|
|
5
5
|
import { WalletOptions, Balances, TransactionInputOptions, UserLocator, Transaction, DelegatedSigner, PendingApproval } from './types.cjs';
|
|
6
6
|
import { Chain } from '../chains/chains.cjs';
|
|
7
7
|
import 'ox';
|
|
@@ -48,14 +48,14 @@ declare class Wallet<C extends Chain> {
|
|
|
48
48
|
* @param {Object} params - The parameters
|
|
49
49
|
* @param {number} params.perPage - The number of NFTs per page
|
|
50
50
|
* @param {number} params.page - The page number
|
|
51
|
-
* @param {
|
|
51
|
+
* @param {WalletLocator} [params.locator] - The locator
|
|
52
52
|
* @returns The NFTs
|
|
53
53
|
* @experimental This API is experimental and may change in the future
|
|
54
54
|
*/
|
|
55
55
|
experimental_nfts(params: {
|
|
56
56
|
perPage: number;
|
|
57
57
|
page: number;
|
|
58
|
-
}): Promise<
|
|
58
|
+
}): Promise<WalletNftsResponseDto>;
|
|
59
59
|
/**
|
|
60
60
|
* Get the wallet transactions
|
|
61
61
|
* @returns The transactions
|
|
@@ -81,21 +81,21 @@ declare class Wallet<C extends Chain> {
|
|
|
81
81
|
} ? true : false>>;
|
|
82
82
|
/**
|
|
83
83
|
* Add a delegated signer to the wallet
|
|
84
|
-
* @param signer - The signer
|
|
84
|
+
* @param signer - The signer. For Solana, it must be a string. For EVM, it can be a string or a passkey.
|
|
85
85
|
* @returns The delegated signer
|
|
86
86
|
*/
|
|
87
|
-
addDelegatedSigner(
|
|
88
|
-
signer: string;
|
|
87
|
+
addDelegatedSigner(params: {
|
|
88
|
+
signer: string | RegisterSignerPasskeyParams;
|
|
89
89
|
}): Promise<void>;
|
|
90
90
|
delegatedSigners(): Promise<DelegatedSigner[]>;
|
|
91
|
-
protected get walletLocator():
|
|
91
|
+
protected get walletLocator(): WalletLocator;
|
|
92
92
|
protected get isSolanaWallet(): boolean;
|
|
93
93
|
protected approveAndWait(transactionId: string, additionalSigners?: Signer[]): Promise<{
|
|
94
94
|
hash: string;
|
|
95
95
|
explorerLink: string;
|
|
96
96
|
transactionId: string;
|
|
97
97
|
}>;
|
|
98
|
-
protected approveTransaction(transactionId: string, additionalSigners?: Signer[]): Promise<
|
|
98
|
+
protected approveTransaction(transactionId: string, additionalSigners?: Signer[]): Promise<WalletsTransactionV2025ResponseDto>;
|
|
99
99
|
protected approveSignature(pendingApprovals: Array<PendingApproval>, signatureId: string): Promise<PasskeySignResult | BaseSignResult>;
|
|
100
100
|
protected waitForSignature(signatureId: string): Promise<string>;
|
|
101
101
|
protected waitForTransaction(transactionId: string, timeoutMs?: number, { backoffMultiplier, maxBackoffMs, initialBackoffMs, }?: {
|