@talken/talkenkit 2.5.5 → 2.5.7
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-5VLBB4C4.js +162 -0
- package/dist/abcWallet-7BKPZLW4.js +162 -0
- package/dist/abcWallet-I7VJMOVP.js +162 -0
- package/dist/abcWallet-TD27X2R4.js +162 -0
- package/dist/abcWallet-TSIHDDB3.js +162 -0
- package/dist/abcWallet-ZCHM5OL7.js +162 -0
- package/dist/chunk-3GK3UTQB.js +6234 -0
- package/dist/chunk-BVKZJCFQ.js +6236 -0
- package/dist/chunk-SKVG45TX.js +6209 -0
- package/dist/chunk-TVFU4IPI.js +6226 -0
- package/dist/chunk-VMJ25FLU.js +6236 -0
- package/dist/chunk-XDQZKL3Y.js +6207 -0
- package/dist/components/ConfirmationModal/modalTheme.css.d.ts +6 -0
- package/dist/components/ConnectOptions/AbcWaasAuth/AbcWaasAuthFlow.d.ts +7 -1
- package/dist/components/ConnectOptions/AbcWaasAuth/AbcWaasAuthSections.css.d.ts +1 -0
- package/dist/components/GasFeeModal/modalTheme.css.d.ts +6 -0
- package/dist/components/RainbowKitProvider/ModalThemeModeContext.d.ts +18 -0
- package/dist/css/sprinkles.css.d.ts +1 -1
- package/dist/index.css +64 -24
- package/dist/index.d.ts +2 -0
- package/dist/index.js +311 -236
- package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/abcProvider.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/api/index.js +7 -7
- package/dist/wallets/walletConnectors/abcWallet/index.js +10 -10
- package/dist/wallets/walletConnectors/abcWallet/types.d.ts +8 -0
- package/dist/wallets/walletConnectors/chunk-5GVUZMF6.js +58 -0
- package/dist/wallets/walletConnectors/chunk-5VICQRM2.js +378 -0
- package/dist/wallets/walletConnectors/chunk-6AWAMXUM.js +378 -0
- package/dist/wallets/walletConnectors/chunk-DMQVS4D6.js +847 -0
- package/dist/wallets/walletConnectors/chunk-EKGPNKHR.js +851 -0
- package/dist/wallets/walletConnectors/chunk-EPXTA7RQ.js +58 -0
- package/dist/wallets/walletConnectors/chunk-FGFTHGVP.js +58 -0
- package/dist/wallets/walletConnectors/chunk-FKS67LGE.js +58 -0
- package/dist/wallets/walletConnectors/chunk-FRUO2FNN.js +378 -0
- package/dist/wallets/walletConnectors/chunk-FSGO5GVF.js +847 -0
- package/dist/wallets/walletConnectors/chunk-GTQO2NC2.js +378 -0
- package/dist/wallets/walletConnectors/chunk-H2HUW5JH.js +847 -0
- package/dist/wallets/walletConnectors/chunk-IIXEHCZU.js +347 -0
- package/dist/wallets/walletConnectors/chunk-J5G6H7ER.js +845 -0
- package/dist/wallets/walletConnectors/chunk-KII7LJX3.js +849 -0
- package/dist/wallets/walletConnectors/chunk-KY7BJBWE.js +378 -0
- package/dist/wallets/walletConnectors/chunk-NEJEYAIH.js +347 -0
- package/dist/wallets/walletConnectors/chunk-P2NM57MU.js +347 -0
- package/dist/wallets/walletConnectors/chunk-REV5IP42.js +868 -0
- package/dist/wallets/walletConnectors/chunk-RX5TH243.js +58 -0
- package/dist/wallets/walletConnectors/chunk-SQY7HBRK.js +58 -0
- package/dist/wallets/walletConnectors/chunk-V5QNZL5O.js +58 -0
- package/dist/wallets/walletConnectors/chunk-VVNP62IU.js +58 -0
- package/dist/wallets/walletConnectors/chunk-WDL3NM5W.js +37 -0
- package/dist/wallets/walletConnectors/chunk-YEQQLH44.js +58 -0
- package/dist/wallets/walletConnectors/chunk-YQBFNFAK.js +378 -0
- package/dist/wallets/walletConnectors/index.js +63 -63
- package/dist/wallets/walletConnectors/klipWallet/klipWallet.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
abcConnector
|
|
4
|
+
} from "./chunk-YQBFNFAK.js";
|
|
5
|
+
import {
|
|
6
|
+
createTalkenApiClient
|
|
7
|
+
} from "./chunk-5ERWBR7D.js";
|
|
8
|
+
import {
|
|
9
|
+
resolveTalkenApiUrl
|
|
10
|
+
} from "./chunk-GFWUFYT2.js";
|
|
11
|
+
import {
|
|
12
|
+
ABC_WALLET_METADATA,
|
|
13
|
+
loadTgAccessKey
|
|
14
|
+
} from "./chunk-6KRX73ED.js";
|
|
15
|
+
|
|
16
|
+
// src/wallets/walletConnectors/abcWallet/abcWallet.ts
|
|
17
|
+
import { setTalkenApiClient } from "@talken/talkenkit";
|
|
18
|
+
var abcWallet = (specificOptions) => ({ projectId }) => {
|
|
19
|
+
const talkenApiUrl = resolveTalkenApiUrl(specificOptions?.talkenApiUrl);
|
|
20
|
+
const talkenApi = createTalkenApiClient({
|
|
21
|
+
baseUrl: talkenApiUrl,
|
|
22
|
+
debug: specificOptions?.environment === "development"
|
|
23
|
+
});
|
|
24
|
+
setTalkenApiClient(talkenApi);
|
|
25
|
+
const accessKey = specificOptions?.accessKey || loadTgAccessKey() || null;
|
|
26
|
+
const config = {
|
|
27
|
+
talkenApiUrl,
|
|
28
|
+
apiKey: specificOptions?.apiKey,
|
|
29
|
+
plain: specificOptions?.plain || "",
|
|
30
|
+
// Deprecated - not used (secure.ts uses random generation)
|
|
31
|
+
environment: specificOptions?.environment || "development",
|
|
32
|
+
defaultChainId: specificOptions?.defaultChainId,
|
|
33
|
+
defaultSolanaNetwork: specificOptions?.defaultSolanaNetwork,
|
|
34
|
+
defaultBitcoinNetwork: specificOptions?.defaultBitcoinNetwork,
|
|
35
|
+
projectId,
|
|
36
|
+
...accessKey && { accessKey }
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
id: ABC_WALLET_METADATA.id,
|
|
40
|
+
name: ABC_WALLET_METADATA.name,
|
|
41
|
+
rdns: ABC_WALLET_METADATA.rdns,
|
|
42
|
+
iconUrl: async () => (await import("./abcWallet-AYWSIGAG.js")).default,
|
|
43
|
+
iconBackground: ABC_WALLET_METADATA.iconBackground,
|
|
44
|
+
// Embedded wallet - no installation required
|
|
45
|
+
installed: void 0,
|
|
46
|
+
// No download URLs for embedded wallet
|
|
47
|
+
downloadUrls: void 0,
|
|
48
|
+
// Create connector - wrapper function required by Wallet type
|
|
49
|
+
// If accessKey exists, abcConnector will use AbcAccessKeyProvider internally
|
|
50
|
+
createConnector: (_walletDetails) => abcConnector({ config }),
|
|
51
|
+
// Embedded wallet always available
|
|
52
|
+
hidden: () => false
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
abcWallet
|
|
58
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
abcConnector
|
|
4
|
+
} from "./chunk-IIXEHCZU.js";
|
|
5
|
+
import {
|
|
6
|
+
createTalkenApiClient
|
|
7
|
+
} from "./chunk-5ERWBR7D.js";
|
|
8
|
+
import {
|
|
9
|
+
resolveTalkenApiUrl
|
|
10
|
+
} from "./chunk-GFWUFYT2.js";
|
|
11
|
+
import {
|
|
12
|
+
ABC_WALLET_METADATA,
|
|
13
|
+
loadTgAccessKey
|
|
14
|
+
} from "./chunk-6KRX73ED.js";
|
|
15
|
+
|
|
16
|
+
// src/wallets/walletConnectors/abcWallet/abcWallet.ts
|
|
17
|
+
import { setTalkenApiClient } from "@talken/talkenkit";
|
|
18
|
+
var abcWallet = (specificOptions) => ({ projectId }) => {
|
|
19
|
+
const talkenApiUrl = resolveTalkenApiUrl(specificOptions?.talkenApiUrl);
|
|
20
|
+
const talkenApi = createTalkenApiClient({
|
|
21
|
+
baseUrl: talkenApiUrl,
|
|
22
|
+
debug: specificOptions?.environment === "development"
|
|
23
|
+
});
|
|
24
|
+
setTalkenApiClient(talkenApi);
|
|
25
|
+
const accessKey = specificOptions?.accessKey || loadTgAccessKey() || null;
|
|
26
|
+
const config = {
|
|
27
|
+
talkenApiUrl,
|
|
28
|
+
apiKey: specificOptions?.apiKey,
|
|
29
|
+
plain: specificOptions?.plain || "",
|
|
30
|
+
// Deprecated - not used (secure.ts uses random generation)
|
|
31
|
+
environment: specificOptions?.environment || "development",
|
|
32
|
+
defaultChainId: specificOptions?.defaultChainId,
|
|
33
|
+
defaultSolanaNetwork: specificOptions?.defaultSolanaNetwork,
|
|
34
|
+
defaultBitcoinNetwork: specificOptions?.defaultBitcoinNetwork,
|
|
35
|
+
projectId,
|
|
36
|
+
...accessKey && { accessKey }
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
id: ABC_WALLET_METADATA.id,
|
|
40
|
+
name: ABC_WALLET_METADATA.name,
|
|
41
|
+
rdns: ABC_WALLET_METADATA.rdns,
|
|
42
|
+
iconUrl: async () => (await import("./abcWallet-AYWSIGAG.js")).default,
|
|
43
|
+
iconBackground: ABC_WALLET_METADATA.iconBackground,
|
|
44
|
+
// Embedded wallet - no installation required
|
|
45
|
+
installed: void 0,
|
|
46
|
+
// No download URLs for embedded wallet
|
|
47
|
+
downloadUrls: void 0,
|
|
48
|
+
// Create connector - wrapper function required by Wallet type
|
|
49
|
+
// If accessKey exists, abcConnector will use AbcAccessKeyProvider internally
|
|
50
|
+
createConnector: (_walletDetails) => abcConnector({ config }),
|
|
51
|
+
// Embedded wallet always available
|
|
52
|
+
hidden: () => false
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
abcWallet
|
|
58
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
abcConnector
|
|
4
|
+
} from "./chunk-GTQO2NC2.js";
|
|
5
|
+
import {
|
|
6
|
+
createTalkenApiClient
|
|
7
|
+
} from "./chunk-5ERWBR7D.js";
|
|
8
|
+
import {
|
|
9
|
+
resolveTalkenApiUrl
|
|
10
|
+
} from "./chunk-GFWUFYT2.js";
|
|
11
|
+
import {
|
|
12
|
+
ABC_WALLET_METADATA,
|
|
13
|
+
loadTgAccessKey
|
|
14
|
+
} from "./chunk-6KRX73ED.js";
|
|
15
|
+
|
|
16
|
+
// src/wallets/walletConnectors/abcWallet/abcWallet.ts
|
|
17
|
+
import { setTalkenApiClient } from "@talken/talkenkit";
|
|
18
|
+
var abcWallet = (specificOptions) => ({ projectId }) => {
|
|
19
|
+
const talkenApiUrl = resolveTalkenApiUrl(specificOptions?.talkenApiUrl);
|
|
20
|
+
const talkenApi = createTalkenApiClient({
|
|
21
|
+
baseUrl: talkenApiUrl,
|
|
22
|
+
debug: specificOptions?.environment === "development"
|
|
23
|
+
});
|
|
24
|
+
setTalkenApiClient(talkenApi);
|
|
25
|
+
const accessKey = specificOptions?.accessKey || loadTgAccessKey() || null;
|
|
26
|
+
const config = {
|
|
27
|
+
talkenApiUrl,
|
|
28
|
+
apiKey: specificOptions?.apiKey,
|
|
29
|
+
plain: specificOptions?.plain || "",
|
|
30
|
+
// Deprecated - not used (secure.ts uses random generation)
|
|
31
|
+
environment: specificOptions?.environment || "development",
|
|
32
|
+
defaultChainId: specificOptions?.defaultChainId,
|
|
33
|
+
defaultSolanaNetwork: specificOptions?.defaultSolanaNetwork,
|
|
34
|
+
defaultBitcoinNetwork: specificOptions?.defaultBitcoinNetwork,
|
|
35
|
+
projectId,
|
|
36
|
+
...accessKey && { accessKey }
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
id: ABC_WALLET_METADATA.id,
|
|
40
|
+
name: ABC_WALLET_METADATA.name,
|
|
41
|
+
rdns: ABC_WALLET_METADATA.rdns,
|
|
42
|
+
iconUrl: async () => (await import("./abcWallet-AYWSIGAG.js")).default,
|
|
43
|
+
iconBackground: ABC_WALLET_METADATA.iconBackground,
|
|
44
|
+
// Embedded wallet - no installation required
|
|
45
|
+
installed: void 0,
|
|
46
|
+
// No download URLs for embedded wallet
|
|
47
|
+
downloadUrls: void 0,
|
|
48
|
+
// Create connector - wrapper function required by Wallet type
|
|
49
|
+
// If accessKey exists, abcConnector will use AbcAccessKeyProvider internally
|
|
50
|
+
createConnector: (_walletDetails) => abcConnector({ config }),
|
|
51
|
+
// Embedded wallet always available
|
|
52
|
+
hidden: () => false
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
abcWallet
|
|
58
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
abcConnector
|
|
4
|
+
} from "./chunk-FRUO2FNN.js";
|
|
5
|
+
import {
|
|
6
|
+
createTalkenApiClient
|
|
7
|
+
} from "./chunk-5ERWBR7D.js";
|
|
8
|
+
import {
|
|
9
|
+
resolveTalkenApiUrl
|
|
10
|
+
} from "./chunk-GFWUFYT2.js";
|
|
11
|
+
import {
|
|
12
|
+
ABC_WALLET_METADATA,
|
|
13
|
+
loadTgAccessKey
|
|
14
|
+
} from "./chunk-6KRX73ED.js";
|
|
15
|
+
|
|
16
|
+
// src/wallets/walletConnectors/abcWallet/abcWallet.ts
|
|
17
|
+
import { setTalkenApiClient } from "@talken/talkenkit";
|
|
18
|
+
var abcWallet = (specificOptions) => ({ projectId }) => {
|
|
19
|
+
const talkenApiUrl = resolveTalkenApiUrl(specificOptions?.talkenApiUrl);
|
|
20
|
+
const talkenApi = createTalkenApiClient({
|
|
21
|
+
baseUrl: talkenApiUrl,
|
|
22
|
+
debug: specificOptions?.environment === "development"
|
|
23
|
+
});
|
|
24
|
+
setTalkenApiClient(talkenApi);
|
|
25
|
+
const accessKey = specificOptions?.accessKey || loadTgAccessKey() || null;
|
|
26
|
+
const config = {
|
|
27
|
+
talkenApiUrl,
|
|
28
|
+
apiKey: specificOptions?.apiKey,
|
|
29
|
+
plain: specificOptions?.plain || "",
|
|
30
|
+
// Deprecated - not used (secure.ts uses random generation)
|
|
31
|
+
environment: specificOptions?.environment || "development",
|
|
32
|
+
defaultChainId: specificOptions?.defaultChainId,
|
|
33
|
+
defaultSolanaNetwork: specificOptions?.defaultSolanaNetwork,
|
|
34
|
+
defaultBitcoinNetwork: specificOptions?.defaultBitcoinNetwork,
|
|
35
|
+
projectId,
|
|
36
|
+
...accessKey && { accessKey }
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
id: ABC_WALLET_METADATA.id,
|
|
40
|
+
name: ABC_WALLET_METADATA.name,
|
|
41
|
+
rdns: ABC_WALLET_METADATA.rdns,
|
|
42
|
+
iconUrl: async () => (await import("./abcWallet-AYWSIGAG.js")).default,
|
|
43
|
+
iconBackground: ABC_WALLET_METADATA.iconBackground,
|
|
44
|
+
// Embedded wallet - no installation required
|
|
45
|
+
installed: void 0,
|
|
46
|
+
// No download URLs for embedded wallet
|
|
47
|
+
downloadUrls: void 0,
|
|
48
|
+
// Create connector - wrapper function required by Wallet type
|
|
49
|
+
// If accessKey exists, abcConnector will use AbcAccessKeyProvider internally
|
|
50
|
+
createConnector: (_walletDetails) => abcConnector({ config }),
|
|
51
|
+
// Embedded wallet always available
|
|
52
|
+
hidden: () => false
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
abcWallet
|
|
58
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-PODFK4OS.js";
|
|
5
|
+
|
|
6
|
+
// src/wallets/walletConnectors/klipWallet/klipWallet.ts
|
|
7
|
+
var klipWallet = ({
|
|
8
|
+
projectId,
|
|
9
|
+
walletConnectParameters
|
|
10
|
+
}) => {
|
|
11
|
+
return {
|
|
12
|
+
id: "klip",
|
|
13
|
+
name: "Klip Wallet",
|
|
14
|
+
iconUrl: async () => (await import("./klipWallet-TBZJ5GGT.js")).default,
|
|
15
|
+
iconBackground: "#3B6FF5",
|
|
16
|
+
downloadUrls: {
|
|
17
|
+
ios: "https://apps.apple.com/kr/app/klip/id1627665524",
|
|
18
|
+
android: "https://play.google.com/store/apps/details?id=com.klipwallet.app",
|
|
19
|
+
mobile: "https://klipwallet.com",
|
|
20
|
+
qrCode: "https://klipwallet.com"
|
|
21
|
+
},
|
|
22
|
+
mobile: {
|
|
23
|
+
getUri: (uri) => `klipwallet://wc?uri=${encodeURIComponent(uri)}`
|
|
24
|
+
},
|
|
25
|
+
qrCode: {
|
|
26
|
+
getUri: (uri) => uri
|
|
27
|
+
},
|
|
28
|
+
createConnector: getWalletConnectConnector({
|
|
29
|
+
projectId,
|
|
30
|
+
walletConnectParameters
|
|
31
|
+
})
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
klipWallet
|
|
37
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
abcConnector
|
|
4
|
+
} from "./chunk-KY7BJBWE.js";
|
|
5
|
+
import {
|
|
6
|
+
createTalkenApiClient
|
|
7
|
+
} from "./chunk-5ERWBR7D.js";
|
|
8
|
+
import {
|
|
9
|
+
resolveTalkenApiUrl
|
|
10
|
+
} from "./chunk-GFWUFYT2.js";
|
|
11
|
+
import {
|
|
12
|
+
ABC_WALLET_METADATA,
|
|
13
|
+
loadTgAccessKey
|
|
14
|
+
} from "./chunk-6KRX73ED.js";
|
|
15
|
+
|
|
16
|
+
// src/wallets/walletConnectors/abcWallet/abcWallet.ts
|
|
17
|
+
import { setTalkenApiClient } from "@talken/talkenkit";
|
|
18
|
+
var abcWallet = (specificOptions) => ({ projectId }) => {
|
|
19
|
+
const talkenApiUrl = resolveTalkenApiUrl(specificOptions?.talkenApiUrl);
|
|
20
|
+
const talkenApi = createTalkenApiClient({
|
|
21
|
+
baseUrl: talkenApiUrl,
|
|
22
|
+
debug: specificOptions?.environment === "development"
|
|
23
|
+
});
|
|
24
|
+
setTalkenApiClient(talkenApi);
|
|
25
|
+
const accessKey = specificOptions?.accessKey || loadTgAccessKey() || null;
|
|
26
|
+
const config = {
|
|
27
|
+
talkenApiUrl,
|
|
28
|
+
apiKey: specificOptions?.apiKey,
|
|
29
|
+
plain: specificOptions?.plain || "",
|
|
30
|
+
// Deprecated - not used (secure.ts uses random generation)
|
|
31
|
+
environment: specificOptions?.environment || "development",
|
|
32
|
+
defaultChainId: specificOptions?.defaultChainId,
|
|
33
|
+
defaultSolanaNetwork: specificOptions?.defaultSolanaNetwork,
|
|
34
|
+
defaultBitcoinNetwork: specificOptions?.defaultBitcoinNetwork,
|
|
35
|
+
projectId,
|
|
36
|
+
...accessKey && { accessKey }
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
id: ABC_WALLET_METADATA.id,
|
|
40
|
+
name: ABC_WALLET_METADATA.name,
|
|
41
|
+
rdns: ABC_WALLET_METADATA.rdns,
|
|
42
|
+
iconUrl: async () => (await import("./abcWallet-AYWSIGAG.js")).default,
|
|
43
|
+
iconBackground: ABC_WALLET_METADATA.iconBackground,
|
|
44
|
+
// Embedded wallet - no installation required
|
|
45
|
+
installed: void 0,
|
|
46
|
+
// No download URLs for embedded wallet
|
|
47
|
+
downloadUrls: void 0,
|
|
48
|
+
// Create connector - wrapper function required by Wallet type
|
|
49
|
+
// If accessKey exists, abcConnector will use AbcAccessKeyProvider internally
|
|
50
|
+
createConnector: (_walletDetails) => abcConnector({ config }),
|
|
51
|
+
// Embedded wallet always available
|
|
52
|
+
hidden: () => false
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
abcWallet
|
|
58
|
+
};
|