@talken/talkenkit 2.4.7 → 2.4.9
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/abcWallet-U5ZRWNFY.js +184 -0
- package/dist/chunk-KCMRHCAB.js +6886 -0
- package/dist/index.js +15 -67
- package/dist/wallets/walletConnectors/abcWallet/abcApi.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcBitcoinConnector.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +5 -5
- package/dist/wallets/walletConnectors/abcWallet/abcProvider.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.d.ts +13 -2
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaWalletAdapter.js +5 -5
- package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +6 -6
- package/dist/wallets/walletConnectors/abcWallet/api/AuthApi.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/api/BaseApiClient.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/api/BitcoinApi.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/api/SigningApi.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/api/SolanaApi.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/api/TransactionApi.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/api/WalletApi.js +4 -4
- package/dist/wallets/walletConnectors/abcWallet/api/index.js +10 -10
- package/dist/wallets/walletConnectors/abcWallet/index.js +23 -23
- package/dist/wallets/walletConnectors/abcWallet/utils.js +2 -2
- package/dist/wallets/walletConnectors/berasigWallet/berasigWallet.js +2 -2
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/binanceWallet/binanceWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-BH2VZAMQ.js +259 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +80 -80
- package/dist/wallets/walletConnectors/iopayWallet/iopayWallet.js +2 -2
- package/dist/wallets/walletConnectors/kaiaWallet/kaiaWallet.js +2 -2
- package/dist/wallets/walletConnectors/kaikasWallet/kaikasWallet.js +2 -2
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zealWallet/zealWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
isTestnet,
|
|
31
31
|
networkToChainId,
|
|
32
32
|
networks_exports
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KCMRHCAB.js";
|
|
34
34
|
import "./chunk-DFWCI4QG.js";
|
|
35
35
|
import {
|
|
36
36
|
darkTheme
|
|
@@ -3207,7 +3207,7 @@ function setRainbowKitVersion({ version }) {
|
|
|
3207
3207
|
}
|
|
3208
3208
|
function useFingerprint() {
|
|
3209
3209
|
const fingerprint = useCallback4(() => {
|
|
3210
|
-
setRainbowKitVersion({ version: "2.4.
|
|
3210
|
+
setRainbowKitVersion({ version: "2.4.9" });
|
|
3211
3211
|
}, []);
|
|
3212
3212
|
useEffect12(() => {
|
|
3213
3213
|
fingerprint();
|
|
@@ -12508,10 +12508,8 @@ function PinProvider({ children }) {
|
|
|
12508
12508
|
}
|
|
12509
12509
|
const enteredPinHash = await hashPin(pin);
|
|
12510
12510
|
if (enteredPinHash !== storedPinHash) {
|
|
12511
|
-
console.log("[PinProvider] \u274C PIN verification failed");
|
|
12512
12511
|
throw new Error("Incorrect PIN. Please try again.");
|
|
12513
12512
|
}
|
|
12514
|
-
console.log("[PinProvider] \u2705 PIN verified successfully");
|
|
12515
12513
|
pinResolver(pin);
|
|
12516
12514
|
setIsModalOpen(false);
|
|
12517
12515
|
setPinResolver(null);
|
|
@@ -12542,8 +12540,7 @@ function PinProvider({ children }) {
|
|
|
12542
12540
|
if (provider && typeof provider.setRequestPinCallback === "function") {
|
|
12543
12541
|
provider.setRequestPinCallback(() => requestPin("transaction"));
|
|
12544
12542
|
}
|
|
12545
|
-
} catch (
|
|
12546
|
-
console.error("[PinProvider] Failed to set PIN callback:", error3);
|
|
12543
|
+
} catch (_error) {
|
|
12547
12544
|
}
|
|
12548
12545
|
};
|
|
12549
12546
|
getProvider();
|
|
@@ -12554,8 +12551,7 @@ function PinProvider({ children }) {
|
|
|
12554
12551
|
if (provider && typeof provider.setRequestPinCallback === "function") {
|
|
12555
12552
|
provider.setRequestPinCallback(void 0);
|
|
12556
12553
|
}
|
|
12557
|
-
} catch (
|
|
12558
|
-
console.error("[PinProvider] Failed to cleanup PIN callback:", error3);
|
|
12554
|
+
} catch (_error) {
|
|
12559
12555
|
}
|
|
12560
12556
|
};
|
|
12561
12557
|
cleanup();
|
|
@@ -12579,16 +12575,16 @@ function PinProvider({ children }) {
|
|
|
12579
12575
|
}
|
|
12580
12576
|
function usePin() {
|
|
12581
12577
|
const context = useContext31(PinContext);
|
|
12582
|
-
if (
|
|
12578
|
+
if (!context) {
|
|
12583
12579
|
return {
|
|
12584
12580
|
requestPin: async () => {
|
|
12585
|
-
|
|
12581
|
+
if (typeof window === "undefined") {
|
|
12582
|
+
throw new Error("PIN requests are only available on the client side");
|
|
12583
|
+
}
|
|
12584
|
+
throw new Error("PIN provider not available");
|
|
12586
12585
|
}
|
|
12587
12586
|
};
|
|
12588
12587
|
}
|
|
12589
|
-
if (!context) {
|
|
12590
|
-
throw new Error("usePin must be used within PinProvider");
|
|
12591
|
-
}
|
|
12592
12588
|
return context;
|
|
12593
12589
|
}
|
|
12594
12590
|
|
|
@@ -12648,7 +12644,7 @@ function useBitcoinWallet() {
|
|
|
12648
12644
|
});
|
|
12649
12645
|
return;
|
|
12650
12646
|
}
|
|
12651
|
-
const { AbcBitcoinProvider, createAbcWaasApiClient: createAbcWaasApiClient2 } = await import("./abcWallet-
|
|
12647
|
+
const { AbcBitcoinProvider, createAbcWaasApiClient: createAbcWaasApiClient2 } = await import("./abcWallet-U5ZRWNFY.js");
|
|
12652
12648
|
const client = createAbcWaasApiClient2({
|
|
12653
12649
|
waasUrl: process.env.NEXT_PUBLIC_ABC_WAAS_URL || "",
|
|
12654
12650
|
plain: "",
|
|
@@ -12761,7 +12757,7 @@ function useSolanaWallet() {
|
|
|
12761
12757
|
});
|
|
12762
12758
|
return;
|
|
12763
12759
|
}
|
|
12764
|
-
const { AbcSolanaProvider, createAbcWaasApiClient: createAbcWaasApiClient2 } = await import("./abcWallet-
|
|
12760
|
+
const { AbcSolanaProvider, createAbcWaasApiClient: createAbcWaasApiClient2 } = await import("./abcWallet-U5ZRWNFY.js");
|
|
12765
12761
|
const client = createAbcWaasApiClient2({
|
|
12766
12762
|
waasUrl: process.env.NEXT_PUBLIC_ABC_WAAS_URL || "",
|
|
12767
12763
|
plain: "",
|
|
@@ -12769,6 +12765,7 @@ function useSolanaWallet() {
|
|
|
12769
12765
|
});
|
|
12770
12766
|
const solanaProvider = new AbcSolanaProvider(client);
|
|
12771
12767
|
solanaProvider.setWallet(solanaWallet);
|
|
12768
|
+
solanaProvider.setRequestPinCallback(requestPin);
|
|
12772
12769
|
setAbcWallet({
|
|
12773
12770
|
address: solanaWallet.address,
|
|
12774
12771
|
publicKey: solanaWallet.publicKey,
|
|
@@ -12841,59 +12838,10 @@ function useSolanaWallet() {
|
|
|
12841
12838
|
};
|
|
12842
12839
|
const sendTransaction = async (params) => {
|
|
12843
12840
|
if (activeWallet.type === "abc") {
|
|
12844
|
-
if (!abcWallet.
|
|
12845
|
-
throw new Error("ABC
|
|
12846
|
-
}
|
|
12847
|
-
const pin = await requestPin();
|
|
12848
|
-
const encoder = new TextEncoder();
|
|
12849
|
-
const data = encoder.encode(pin);
|
|
12850
|
-
const hashBuffer = await crypto.subtle.digest("SHA-256", data);
|
|
12851
|
-
const hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
12852
|
-
const pinHash = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
|
|
12853
|
-
const storedPinHash = localStorage.getItem("talkenkit_abc_pin_hash");
|
|
12854
|
-
if (storedPinHash && pinHash !== storedPinHash) {
|
|
12855
|
-
throw new Error("Incorrect PIN");
|
|
12856
|
-
}
|
|
12857
|
-
const { LAMPORTS_PER_SOL } = await import("@solana/web3.js");
|
|
12858
|
-
const { createAbcWaasApiClient: createAbcWaasApiClient2 } = await import("./abcWallet-X2GWIVEI.js");
|
|
12859
|
-
const authState = localStorage.getItem("talkenkit_abc_auth_state");
|
|
12860
|
-
if (!authState) {
|
|
12861
|
-
throw new Error("Not authenticated");
|
|
12862
|
-
}
|
|
12863
|
-
const authData = JSON.parse(authState);
|
|
12864
|
-
const solanaWalletData = authData.solanaWallet;
|
|
12865
|
-
if (!solanaWalletData) {
|
|
12866
|
-
throw new Error("Solana wallet not found");
|
|
12841
|
+
if (!abcWallet.provider) {
|
|
12842
|
+
throw new Error("ABC Solana provider not available");
|
|
12867
12843
|
}
|
|
12868
|
-
|
|
12869
|
-
waasUrl: process.env.NEXT_PUBLIC_ABC_WAAS_URL || "",
|
|
12870
|
-
plain: "",
|
|
12871
|
-
environment: process.env.NEXT_PUBLIC_ENVIRONMENT || "development"
|
|
12872
|
-
});
|
|
12873
|
-
const network = abcWallet.network || "solana_devnet";
|
|
12874
|
-
const amountLamports = params.amount * LAMPORTS_PER_SOL;
|
|
12875
|
-
const txGenResponse = await client.solana.generateTransferTransaction({
|
|
12876
|
-
network,
|
|
12877
|
-
amount: amountLamports,
|
|
12878
|
-
fromAddress: abcWallet.address,
|
|
12879
|
-
toAddress: params.toAddress,
|
|
12880
|
-
feePayerAddress: abcWallet.address
|
|
12881
|
-
});
|
|
12882
|
-
const signatureResponse = await client.solana.signSolanaTransaction({
|
|
12883
|
-
keyId: solanaWalletData.keyId || solanaWalletData.key_id,
|
|
12884
|
-
encryptedShare: solanaWalletData.encryptedShare || solanaWalletData.encrypted_share,
|
|
12885
|
-
secretStore: solanaWalletData.secretStore || solanaWalletData.secret_store || "",
|
|
12886
|
-
message: txGenResponse.serialized_tx
|
|
12887
|
-
});
|
|
12888
|
-
const result = await client.solana.sendSolanaTransaction({
|
|
12889
|
-
network,
|
|
12890
|
-
serializedTX: txGenResponse.serialized_tx,
|
|
12891
|
-
signatures: [signatureResponse.signature]
|
|
12892
|
-
});
|
|
12893
|
-
return {
|
|
12894
|
-
signature: result.txHash,
|
|
12895
|
-
serializedTx: txGenResponse.serialized_tx
|
|
12896
|
-
};
|
|
12844
|
+
return await abcWallet.provider.sendTransaction(params);
|
|
12897
12845
|
}
|
|
12898
12846
|
if (activeWallet.type === "external") {
|
|
12899
12847
|
if (!externalWallet.publicKey || !externalWallet.sendTransaction) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcWaasClient,
|
|
4
4
|
createAbcWaasClient
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-YX4O33NC.js";
|
|
6
6
|
import "../chunk-4PCVQBFZ.js";
|
|
7
7
|
import "../chunk-NDYGTKP5.js";
|
|
8
8
|
import "../chunk-A7FIBI6X.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-RQIUWXDF.js";
|
|
9
|
+
import "../chunk-TYUEB4VT.js";
|
|
11
10
|
import "../chunk-VETRBBA2.js";
|
|
11
|
+
import "../chunk-RQIUWXDF.js";
|
|
12
12
|
export {
|
|
13
13
|
AbcWaasClient,
|
|
14
14
|
createAbcWaasClient
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcBitcoinConnector,
|
|
4
4
|
createAbcBitcoinConnector
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-YCZ4CZQ6.js";
|
|
6
6
|
import "../chunk-A7FIBI6X.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-RQIUWXDF.js";
|
|
7
|
+
import "../chunk-TYUEB4VT.js";
|
|
9
8
|
import "../chunk-VETRBBA2.js";
|
|
9
|
+
import "../chunk-RQIUWXDF.js";
|
|
10
10
|
export {
|
|
11
11
|
AbcBitcoinConnector,
|
|
12
12
|
createAbcBitcoinConnector
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
abcConnector
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-HJFZF4V3.js";
|
|
5
|
+
import "../chunk-CZVBS7QE.js";
|
|
6
|
+
import "../chunk-YX4O33NC.js";
|
|
7
7
|
import "../chunk-4PCVQBFZ.js";
|
|
8
8
|
import "../chunk-NDYGTKP5.js";
|
|
9
9
|
import "../chunk-A7FIBI6X.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-RQIUWXDF.js";
|
|
10
|
+
import "../chunk-TYUEB4VT.js";
|
|
12
11
|
import "../chunk-VETRBBA2.js";
|
|
12
|
+
import "../chunk-RQIUWXDF.js";
|
|
13
13
|
export {
|
|
14
14
|
abcConnector
|
|
15
15
|
};
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
AbcEvmProvider,
|
|
4
4
|
createAbcEvmProvider,
|
|
5
5
|
createAbcProvider
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-RQIUWXDF.js";
|
|
6
|
+
} from "../chunk-CZVBS7QE.js";
|
|
7
|
+
import "../chunk-TYUEB4VT.js";
|
|
9
8
|
import "../chunk-VETRBBA2.js";
|
|
9
|
+
import "../chunk-RQIUWXDF.js";
|
|
10
10
|
export {
|
|
11
11
|
AbcEvmProvider,
|
|
12
12
|
createAbcEvmProvider,
|
|
@@ -33,6 +33,7 @@ export declare class AbcSolanaProvider extends EventEmitter {
|
|
|
33
33
|
private client;
|
|
34
34
|
private wallet;
|
|
35
35
|
private connected;
|
|
36
|
+
private requestPinCallback;
|
|
36
37
|
constructor(client: AbcWaasApiClient);
|
|
37
38
|
/**
|
|
38
39
|
* Set wallet information
|
|
@@ -43,9 +44,9 @@ export declare class AbcSolanaProvider extends EventEmitter {
|
|
|
43
44
|
*/
|
|
44
45
|
clearWallet(): void;
|
|
45
46
|
/**
|
|
46
|
-
* Set PIN request callback for transaction signing
|
|
47
|
+
* Set PIN request callback for transaction signing
|
|
47
48
|
*/
|
|
48
|
-
setRequestPinCallback(
|
|
49
|
+
setRequestPinCallback(callback: () => Promise<string>): void;
|
|
49
50
|
/**
|
|
50
51
|
* Check if connected
|
|
51
52
|
*/
|
|
@@ -71,6 +72,16 @@ export declare class AbcSolanaProvider extends EventEmitter {
|
|
|
71
72
|
* Use the high-level sendTransaction() flow instead
|
|
72
73
|
*/
|
|
73
74
|
signTransaction(_transaction: any, _params?: any): Promise<any>;
|
|
75
|
+
/**
|
|
76
|
+
* Send Solana transaction (with PIN verification)
|
|
77
|
+
*/
|
|
78
|
+
sendTransaction(params: {
|
|
79
|
+
toAddress: string;
|
|
80
|
+
amount: number;
|
|
81
|
+
}): Promise<{
|
|
82
|
+
signature: string;
|
|
83
|
+
serializedTx?: string;
|
|
84
|
+
}>;
|
|
74
85
|
/**
|
|
75
86
|
* Get wallet info
|
|
76
87
|
*/
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SolanaApi
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-XKGUE56S.js";
|
|
5
|
+
import "../chunk-LQ2U33WM.js";
|
|
6
6
|
import {
|
|
7
7
|
createAbcWaasClient
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-YX4O33NC.js";
|
|
9
9
|
import "../chunk-4PCVQBFZ.js";
|
|
10
10
|
import "../chunk-NDYGTKP5.js";
|
|
11
11
|
import "../chunk-A7FIBI6X.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-RQIUWXDF.js";
|
|
12
|
+
import "../chunk-TYUEB4VT.js";
|
|
14
13
|
import "../chunk-VETRBBA2.js";
|
|
14
|
+
import "../chunk-RQIUWXDF.js";
|
|
15
15
|
|
|
16
16
|
// src/wallets/walletConnectors/abcWallet/abcSolanaWalletAdapter.ts
|
|
17
17
|
import {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
abcWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-AGC7JS5M.js";
|
|
5
|
+
import "../chunk-HJFZF4V3.js";
|
|
6
|
+
import "../chunk-CZVBS7QE.js";
|
|
7
|
+
import "../chunk-YX4O33NC.js";
|
|
8
8
|
import "../chunk-4PCVQBFZ.js";
|
|
9
9
|
import "../chunk-NDYGTKP5.js";
|
|
10
10
|
import "../chunk-A7FIBI6X.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-RQIUWXDF.js";
|
|
11
|
+
import "../chunk-TYUEB4VT.js";
|
|
13
12
|
import "../chunk-VETRBBA2.js";
|
|
13
|
+
import "../chunk-RQIUWXDF.js";
|
|
14
14
|
export {
|
|
15
15
|
abcWallet
|
|
16
16
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AuthApi
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-QCIIXMAZ.js";
|
|
5
|
+
import "../../chunk-LQ2U33WM.js";
|
|
6
6
|
import "../../chunk-NDYGTKP5.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-RQIUWXDF.js";
|
|
7
|
+
import "../../chunk-TYUEB4VT.js";
|
|
9
8
|
import "../../chunk-VETRBBA2.js";
|
|
9
|
+
import "../../chunk-RQIUWXDF.js";
|
|
10
10
|
export {
|
|
11
11
|
AuthApi
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
BaseApiClient
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-LQ2U33WM.js";
|
|
5
5
|
import "../../chunk-NDYGTKP5.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-RQIUWXDF.js";
|
|
6
|
+
import "../../chunk-TYUEB4VT.js";
|
|
8
7
|
import "../../chunk-VETRBBA2.js";
|
|
8
|
+
import "../../chunk-RQIUWXDF.js";
|
|
9
9
|
export {
|
|
10
10
|
BaseApiClient
|
|
11
11
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
BitcoinApi
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-KB7OGAUC.js";
|
|
5
|
+
import "../../chunk-LQ2U33WM.js";
|
|
6
6
|
import "../../chunk-NDYGTKP5.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-RQIUWXDF.js";
|
|
7
|
+
import "../../chunk-TYUEB4VT.js";
|
|
9
8
|
import "../../chunk-VETRBBA2.js";
|
|
9
|
+
import "../../chunk-RQIUWXDF.js";
|
|
10
10
|
export {
|
|
11
11
|
BitcoinApi
|
|
12
12
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SigningApi
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-2HAU36T2.js";
|
|
5
|
+
import "../../chunk-LQ2U33WM.js";
|
|
6
6
|
import "../../chunk-4PCVQBFZ.js";
|
|
7
7
|
import "../../chunk-NDYGTKP5.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-RQIUWXDF.js";
|
|
8
|
+
import "../../chunk-TYUEB4VT.js";
|
|
10
9
|
import "../../chunk-VETRBBA2.js";
|
|
10
|
+
import "../../chunk-RQIUWXDF.js";
|
|
11
11
|
export {
|
|
12
12
|
SigningApi
|
|
13
13
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SolanaApi
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-XKGUE56S.js";
|
|
5
|
+
import "../../chunk-LQ2U33WM.js";
|
|
6
6
|
import "../../chunk-NDYGTKP5.js";
|
|
7
7
|
import "../../chunk-A7FIBI6X.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-RQIUWXDF.js";
|
|
8
|
+
import "../../chunk-TYUEB4VT.js";
|
|
10
9
|
import "../../chunk-VETRBBA2.js";
|
|
10
|
+
import "../../chunk-RQIUWXDF.js";
|
|
11
11
|
export {
|
|
12
12
|
SolanaApi
|
|
13
13
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
TransactionApi
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-B56IHEUP.js";
|
|
5
|
+
import "../../chunk-LQ2U33WM.js";
|
|
6
6
|
import "../../chunk-4PCVQBFZ.js";
|
|
7
7
|
import "../../chunk-NDYGTKP5.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-RQIUWXDF.js";
|
|
8
|
+
import "../../chunk-TYUEB4VT.js";
|
|
10
9
|
import "../../chunk-VETRBBA2.js";
|
|
10
|
+
import "../../chunk-RQIUWXDF.js";
|
|
11
11
|
export {
|
|
12
12
|
TransactionApi
|
|
13
13
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
WalletApi
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-MPNSYA4E.js";
|
|
5
|
+
import "../../chunk-LQ2U33WM.js";
|
|
6
6
|
import "../../chunk-NDYGTKP5.js";
|
|
7
7
|
import "../../chunk-A7FIBI6X.js";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-RQIUWXDF.js";
|
|
8
|
+
import "../../chunk-TYUEB4VT.js";
|
|
10
9
|
import "../../chunk-VETRBBA2.js";
|
|
10
|
+
import "../../chunk-RQIUWXDF.js";
|
|
11
11
|
export {
|
|
12
12
|
WalletApi
|
|
13
13
|
};
|
|
@@ -2,34 +2,34 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcWaasApiClient,
|
|
4
4
|
createAbcWaasApiClient
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-FKPSLKA7.js";
|
|
6
6
|
import {
|
|
7
7
|
TransactionApi
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-B56IHEUP.js";
|
|
9
9
|
import {
|
|
10
10
|
WalletApi
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-MPNSYA4E.js";
|
|
12
12
|
import {
|
|
13
13
|
AuthApi
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-QCIIXMAZ.js";
|
|
15
15
|
import {
|
|
16
16
|
BitcoinApi
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-KB7OGAUC.js";
|
|
18
18
|
import {
|
|
19
19
|
SigningApi
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-2HAU36T2.js";
|
|
21
21
|
import {
|
|
22
22
|
SolanaApi
|
|
23
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-XKGUE56S.js";
|
|
24
24
|
import {
|
|
25
25
|
BaseApiClient
|
|
26
|
-
} from "../../chunk-
|
|
26
|
+
} from "../../chunk-LQ2U33WM.js";
|
|
27
27
|
import "../../chunk-4PCVQBFZ.js";
|
|
28
28
|
import "../../chunk-NDYGTKP5.js";
|
|
29
29
|
import "../../chunk-A7FIBI6X.js";
|
|
30
|
-
import "../../chunk-
|
|
31
|
-
import "../../chunk-RQIUWXDF.js";
|
|
30
|
+
import "../../chunk-TYUEB4VT.js";
|
|
32
31
|
import "../../chunk-VETRBBA2.js";
|
|
32
|
+
import "../../chunk-RQIUWXDF.js";
|
|
33
33
|
export {
|
|
34
34
|
AbcWaasApiClient,
|
|
35
35
|
AuthApi,
|
|
@@ -2,19 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AbcWaasApiClient,
|
|
4
4
|
createAbcWaasApiClient
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-FKPSLKA7.js";
|
|
6
|
+
import "../chunk-B56IHEUP.js";
|
|
7
|
+
import "../chunk-MPNSYA4E.js";
|
|
8
8
|
import {
|
|
9
9
|
generateMpcWallets,
|
|
10
10
|
recoverMpcWallets,
|
|
11
11
|
validateMpcWallets
|
|
12
12
|
} from "../chunk-UZXTNCDO.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-QCIIXMAZ.js";
|
|
14
14
|
import {
|
|
15
15
|
BitcoinApi
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-KB7OGAUC.js";
|
|
17
|
+
import "../chunk-2HAU36T2.js";
|
|
18
|
+
import {
|
|
19
|
+
AbcBitcoinConnector,
|
|
20
|
+
createAbcBitcoinConnector
|
|
21
|
+
} from "../chunk-YCZ4CZQ6.js";
|
|
18
22
|
import {
|
|
19
23
|
SessionExpiredError,
|
|
20
24
|
dispatchSessionExpired,
|
|
@@ -22,10 +26,6 @@ import {
|
|
|
22
26
|
handleUnauthorizedResponse,
|
|
23
27
|
refreshAccessToken
|
|
24
28
|
} from "../chunk-AO24PU7X.js";
|
|
25
|
-
import {
|
|
26
|
-
AbcBitcoinConnector,
|
|
27
|
-
createAbcBitcoinConnector
|
|
28
|
-
} from "../chunk-2NAY6X3G.js";
|
|
29
29
|
import {
|
|
30
30
|
AbcBitcoinProvider,
|
|
31
31
|
BITCOIN_NETWORKS,
|
|
@@ -34,24 +34,24 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
AbcSolanaProvider,
|
|
36
36
|
SolanaProviderError
|
|
37
|
-
} from "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-BH2VZAMQ.js";
|
|
38
|
+
import "../chunk-XKGUE56S.js";
|
|
39
|
+
import "../chunk-LQ2U33WM.js";
|
|
40
40
|
import {
|
|
41
41
|
abcWallet
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-AGC7JS5M.js";
|
|
43
43
|
import {
|
|
44
44
|
abcConnector
|
|
45
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-HJFZF4V3.js";
|
|
46
46
|
import {
|
|
47
47
|
AbcEvmProvider,
|
|
48
48
|
createAbcEvmProvider,
|
|
49
49
|
createAbcProvider
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-CZVBS7QE.js";
|
|
51
51
|
import {
|
|
52
52
|
AbcWaasClient,
|
|
53
53
|
createAbcWaasClient
|
|
54
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-YX4O33NC.js";
|
|
55
55
|
import "../chunk-4PCVQBFZ.js";
|
|
56
56
|
import {
|
|
57
57
|
secure_default
|
|
@@ -95,12 +95,7 @@ import {
|
|
|
95
95
|
throttle,
|
|
96
96
|
validateEmail,
|
|
97
97
|
validatePin
|
|
98
|
-
} from "../chunk-
|
|
99
|
-
import {
|
|
100
|
-
AbcError,
|
|
101
|
-
AbcErrorCode,
|
|
102
|
-
AbcStorageKey
|
|
103
|
-
} from "../chunk-RQIUWXDF.js";
|
|
98
|
+
} from "../chunk-TYUEB4VT.js";
|
|
104
99
|
import {
|
|
105
100
|
ABC_AUDIENCE,
|
|
106
101
|
ABC_ENDPOINTS,
|
|
@@ -126,6 +121,11 @@ import {
|
|
|
126
121
|
SUCCESS_MESSAGES,
|
|
127
122
|
TOKEN_EXPIRY
|
|
128
123
|
} from "../chunk-VETRBBA2.js";
|
|
124
|
+
import {
|
|
125
|
+
AbcError,
|
|
126
|
+
AbcErrorCode,
|
|
127
|
+
AbcStorageKey
|
|
128
|
+
} from "../chunk-RQIUWXDF.js";
|
|
129
129
|
export {
|
|
130
130
|
ABC_AUDIENCE,
|
|
131
131
|
ABC_ENDPOINTS,
|
|
@@ -35,9 +35,9 @@ import {
|
|
|
35
35
|
throttle,
|
|
36
36
|
validateEmail,
|
|
37
37
|
validatePin
|
|
38
|
-
} from "../chunk-
|
|
39
|
-
import "../chunk-RQIUWXDF.js";
|
|
38
|
+
} from "../chunk-TYUEB4VT.js";
|
|
40
39
|
import "../chunk-VETRBBA2.js";
|
|
40
|
+
import "../chunk-RQIUWXDF.js";
|
|
41
41
|
export {
|
|
42
42
|
calculateExpiryTimestamp,
|
|
43
43
|
clearAuthState,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-B6DM7J4N.js";
|
|
5
5
|
import "../chunk-RETKWSKD.js";
|
|
6
|
-
import "../chunk-PODFK4OS.js";
|
|
7
6
|
import "../chunk-MBBGZGXF.js";
|
|
7
|
+
import "../chunk-PODFK4OS.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
binanceWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4T3UOJYR.js";
|
|
5
5
|
import "../chunk-RETKWSKD.js";
|
|
6
|
-
import "../chunk-PODFK4OS.js";
|
|
7
6
|
import "../chunk-MBBGZGXF.js";
|
|
7
|
+
import "../chunk-PODFK4OS.js";
|
|
8
8
|
export {
|
|
9
9
|
binanceWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CULIWWLV.js";
|
|
5
5
|
import "../chunk-RETKWSKD.js";
|
|
6
|
-
import "../chunk-PODFK4OS.js";
|
|
7
6
|
import "../chunk-MBBGZGXF.js";
|
|
7
|
+
import "../chunk-PODFK4OS.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
10
10
|
};
|