@talken/talkenkit 2.5.1 → 2.5.2
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-O5IRLUXL.js → abcWallet-HRNBHY5Q.js} +1 -1
- package/dist/{chunk-UHZL3WSM.js → chunk-VCQZZ6SN.js} +13 -0
- package/dist/index.js +8 -8
- package/dist/wallets/walletConnectors/abcWallet/abcConnector.js +2 -2
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaProvider.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/abcSolanaWalletAdapter.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/abcWallet.js +3 -3
- package/dist/wallets/walletConnectors/abcWallet/api/TalkenApiClient.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/api/index.js +1 -1
- package/dist/wallets/walletConnectors/abcWallet/index.js +20 -20
- package/dist/wallets/walletConnectors/{chunk-4YEALKXG.js → chunk-2A5XTST5.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-6TAU7OQK.js → chunk-4PDTJS5L.js} +2 -2
- package/dist/wallets/walletConnectors/{chunk-KIYXONNH.js → chunk-ASYCOXE6.js} +16 -3
- package/dist/wallets/walletConnectors/chunk-BRXYKYKT.js +360 -0
- package/dist/wallets/walletConnectors/chunk-IPH3SIC3.js +57 -0
- package/dist/wallets/walletConnectors/chunk-JBOKTW2Q.js +360 -0
- package/dist/wallets/walletConnectors/chunk-MIX4TRKO.js +194 -0
- package/dist/wallets/walletConnectors/chunk-NP5PWUVU.js +873 -0
- package/dist/wallets/walletConnectors/chunk-TVZHPWFR.js +843 -0
- package/dist/wallets/walletConnectors/chunk-WKP53WWR.js +57 -0
- package/dist/wallets/walletConnectors/index.js +48 -48
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
abcConnector
|
|
4
|
+
} from "./chunk-2A5XTST5.js";
|
|
5
|
+
import {
|
|
6
|
+
resolveTalkenApiUrl
|
|
7
|
+
} from "./chunk-GFWUFYT2.js";
|
|
8
|
+
import {
|
|
9
|
+
createTalkenApiClient
|
|
10
|
+
} from "./chunk-NP5PWUVU.js";
|
|
11
|
+
import {
|
|
12
|
+
ABC_WALLET_METADATA
|
|
13
|
+
} from "./chunk-RX2VOIUB.js";
|
|
14
|
+
|
|
15
|
+
// src/wallets/walletConnectors/abcWallet/abcWallet.ts
|
|
16
|
+
import { setTalkenApiClient } from "@talken/talkenkit";
|
|
17
|
+
var abcWallet = (specificOptions) => ({ projectId }) => {
|
|
18
|
+
const talkenApiUrl = resolveTalkenApiUrl(specificOptions?.talkenApiUrl);
|
|
19
|
+
const talkenApi = createTalkenApiClient({
|
|
20
|
+
baseUrl: talkenApiUrl,
|
|
21
|
+
debug: specificOptions?.environment === "development"
|
|
22
|
+
});
|
|
23
|
+
setTalkenApiClient(talkenApi);
|
|
24
|
+
const accessKey = specificOptions?.accessKey || (typeof localStorage !== "undefined" ? localStorage.getItem("talken_ak") : null) || null;
|
|
25
|
+
const config = {
|
|
26
|
+
talkenApiUrl,
|
|
27
|
+
apiKey: specificOptions?.apiKey,
|
|
28
|
+
plain: specificOptions?.plain || "",
|
|
29
|
+
// Deprecated - not used (secure.ts uses random generation)
|
|
30
|
+
environment: specificOptions?.environment || "development",
|
|
31
|
+
defaultChainId: specificOptions?.defaultChainId,
|
|
32
|
+
defaultSolanaNetwork: specificOptions?.defaultSolanaNetwork,
|
|
33
|
+
defaultBitcoinNetwork: specificOptions?.defaultBitcoinNetwork,
|
|
34
|
+
projectId,
|
|
35
|
+
...accessKey && { accessKey }
|
|
36
|
+
};
|
|
37
|
+
return {
|
|
38
|
+
id: ABC_WALLET_METADATA.id,
|
|
39
|
+
name: ABC_WALLET_METADATA.name,
|
|
40
|
+
rdns: ABC_WALLET_METADATA.rdns,
|
|
41
|
+
iconUrl: async () => (await import("./abcWallet-AYWSIGAG.js")).default,
|
|
42
|
+
iconBackground: ABC_WALLET_METADATA.iconBackground,
|
|
43
|
+
// Embedded wallet - no installation required
|
|
44
|
+
installed: void 0,
|
|
45
|
+
// No download URLs for embedded wallet
|
|
46
|
+
downloadUrls: void 0,
|
|
47
|
+
// Create connector - wrapper function required by Wallet type
|
|
48
|
+
// If accessKey exists, abcConnector will use AbcAccessKeyProvider internally
|
|
49
|
+
createConnector: (_walletDetails) => abcConnector({ config }),
|
|
50
|
+
// Embedded wallet always available
|
|
51
|
+
hidden: () => false
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export {
|
|
56
|
+
abcWallet
|
|
57
|
+
};
|
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
abcWallet
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import
|
|
6
|
-
argentWallet
|
|
7
|
-
} from "./chunk-XT2WYPN5.js";
|
|
8
|
-
import "./chunk-4YEALKXG.js";
|
|
4
|
+
} from "./chunk-WKP53WWR.js";
|
|
5
|
+
import "./chunk-2A5XTST5.js";
|
|
9
6
|
import "./chunk-R6ZE7JAZ.js";
|
|
10
7
|
import "./chunk-GFWUFYT2.js";
|
|
11
|
-
import
|
|
8
|
+
import {
|
|
9
|
+
zealWallet
|
|
10
|
+
} from "./chunk-SCOX5RF4.js";
|
|
12
11
|
import "./chunk-4JZPP3S7.js";
|
|
13
12
|
import "./chunk-O4AU63LK.js";
|
|
14
13
|
import "./chunk-L6FCF3FH.js";
|
|
15
14
|
import "./chunk-OASBABPG.js";
|
|
16
15
|
import "./chunk-PF65YS3T.js";
|
|
16
|
+
import "./chunk-NP5PWUVU.js";
|
|
17
17
|
import "./chunk-4P3SPC44.js";
|
|
18
18
|
import "./chunk-QKK3OPQA.js";
|
|
19
19
|
import "./chunk-RX2VOIUB.js";
|
|
20
20
|
import {
|
|
21
21
|
tokenaryWallet
|
|
22
22
|
} from "./chunk-U24COF36.js";
|
|
23
|
+
import {
|
|
24
|
+
trustWallet
|
|
25
|
+
} from "./chunk-S2PY4MDO.js";
|
|
23
26
|
import {
|
|
24
27
|
uniswapWallet
|
|
25
28
|
} from "./chunk-DLDZUVTB.js";
|
|
29
|
+
import {
|
|
30
|
+
walletConnectWallet
|
|
31
|
+
} from "./chunk-KU5R3WAJ.js";
|
|
26
32
|
import {
|
|
27
33
|
valoraWallet
|
|
28
34
|
} from "./chunk-CVUEWUDI.js";
|
|
@@ -30,17 +36,14 @@ import {
|
|
|
30
36
|
wigwamWallet
|
|
31
37
|
} from "./chunk-EFYKBPOB.js";
|
|
32
38
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import {
|
|
36
|
-
zealWallet
|
|
37
|
-
} from "./chunk-SCOX5RF4.js";
|
|
39
|
+
xdefiWallet
|
|
40
|
+
} from "./chunk-26RJNF7V.js";
|
|
38
41
|
import {
|
|
39
42
|
zerionWallet
|
|
40
43
|
} from "./chunk-53IBFGVW.js";
|
|
41
44
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
safeWallet
|
|
46
|
+
} from "./chunk-Z2QCE6O6.js";
|
|
44
47
|
import {
|
|
45
48
|
safeheronWallet
|
|
46
49
|
} from "./chunk-PHF4VWKP.js";
|
|
@@ -63,8 +66,8 @@ import {
|
|
|
63
66
|
tokenPocketWallet
|
|
64
67
|
} from "./chunk-5NM2LK2G.js";
|
|
65
68
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
69
|
+
oneInchWallet
|
|
70
|
+
} from "./chunk-OJT577AY.js";
|
|
68
71
|
import {
|
|
69
72
|
oneKeyWallet
|
|
70
73
|
} from "./chunk-6UGYPEQE.js";
|
|
@@ -87,20 +90,20 @@ import {
|
|
|
87
90
|
roninWallet
|
|
88
91
|
} from "./chunk-D7U5WEH2.js";
|
|
89
92
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
92
|
-
import {
|
|
93
|
-
magicEdenWallet
|
|
94
|
-
} from "./chunk-WB7EEKPS.js";
|
|
93
|
+
ledgerWallet
|
|
94
|
+
} from "./chunk-BF3VSNPL.js";
|
|
95
95
|
import {
|
|
96
96
|
metaMaskWallet
|
|
97
97
|
} from "./chunk-AKLKCDXT.js";
|
|
98
|
-
import {
|
|
99
|
-
nestWallet
|
|
100
|
-
} from "./chunk-NN4KGG3I.js";
|
|
101
98
|
import {
|
|
102
99
|
mewWallet
|
|
103
100
|
} from "./chunk-ZRY6ILYP.js";
|
|
101
|
+
import {
|
|
102
|
+
magicEdenWallet
|
|
103
|
+
} from "./chunk-WB7EEKPS.js";
|
|
104
|
+
import {
|
|
105
|
+
nestWallet
|
|
106
|
+
} from "./chunk-NN4KGG3I.js";
|
|
104
107
|
import {
|
|
105
108
|
oktoWallet
|
|
106
109
|
} from "./chunk-7SSXG35M.js";
|
|
@@ -111,14 +114,14 @@ import {
|
|
|
111
114
|
omniWallet
|
|
112
115
|
} from "./chunk-RGPO7AY3.js";
|
|
113
116
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import {
|
|
117
|
-
injectedWallet
|
|
118
|
-
} from "./chunk-GDGRUMZB.js";
|
|
117
|
+
imTokenWallet
|
|
118
|
+
} from "./chunk-EHE2536P.js";
|
|
119
119
|
import {
|
|
120
120
|
iopayWallet
|
|
121
121
|
} from "./chunk-2W6UBYKX.js";
|
|
122
|
+
import {
|
|
123
|
+
injectedWallet
|
|
124
|
+
} from "./chunk-GDGRUMZB.js";
|
|
122
125
|
import {
|
|
123
126
|
kaiaWallet
|
|
124
127
|
} from "./chunk-C7S72VGD.js";
|
|
@@ -132,29 +135,26 @@ import {
|
|
|
132
135
|
kresusWallet
|
|
133
136
|
} from "./chunk-CM3VR7OM.js";
|
|
134
137
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
138
|
+
coreWallet
|
|
139
|
+
} from "./chunk-FBI7UGNO.js";
|
|
137
140
|
import {
|
|
138
141
|
dawnWallet
|
|
139
142
|
} from "./chunk-YMP3W2MO.js";
|
|
140
143
|
import {
|
|
141
144
|
desigWallet
|
|
142
145
|
} from "./chunk-DVXPOWEC.js";
|
|
143
|
-
import {
|
|
144
|
-
enkryptWallet
|
|
145
|
-
} from "./chunk-5QHPQU7J.js";
|
|
146
146
|
import {
|
|
147
147
|
foxWallet
|
|
148
148
|
} from "./chunk-K6GEK4JB.js";
|
|
149
|
+
import {
|
|
150
|
+
enkryptWallet
|
|
151
|
+
} from "./chunk-5QHPQU7J.js";
|
|
149
152
|
import {
|
|
150
153
|
frameWallet
|
|
151
154
|
} from "./chunk-CP45RGL4.js";
|
|
152
155
|
import {
|
|
153
156
|
gateWallet
|
|
154
157
|
} from "./chunk-K6UZPSBG.js";
|
|
155
|
-
import {
|
|
156
|
-
imTokenWallet
|
|
157
|
-
} from "./chunk-EHE2536P.js";
|
|
158
158
|
import {
|
|
159
159
|
frontierWallet
|
|
160
160
|
} from "./chunk-JWO4ZQLK.js";
|
|
@@ -170,30 +170,30 @@ import {
|
|
|
170
170
|
import {
|
|
171
171
|
clvWallet
|
|
172
172
|
} from "./chunk-3IVTKZ7V.js";
|
|
173
|
-
import {
|
|
174
|
-
coinbaseWallet
|
|
175
|
-
} from "./chunk-PNEDRY6O.js";
|
|
176
173
|
import {
|
|
177
174
|
coin98Wallet
|
|
178
175
|
} from "./chunk-GILMNC3J.js";
|
|
176
|
+
import {
|
|
177
|
+
binanceWallet
|
|
178
|
+
} from "./chunk-4T3UOJYR.js";
|
|
179
|
+
import {
|
|
180
|
+
coinbaseWallet
|
|
181
|
+
} from "./chunk-PNEDRY6O.js";
|
|
179
182
|
import {
|
|
180
183
|
compassWallet
|
|
181
184
|
} from "./chunk-3OO564GS.js";
|
|
182
185
|
import {
|
|
183
|
-
|
|
184
|
-
} from "./chunk-
|
|
186
|
+
argentWallet
|
|
187
|
+
} from "./chunk-XT2WYPN5.js";
|
|
185
188
|
import {
|
|
186
|
-
|
|
187
|
-
} from "./chunk-
|
|
189
|
+
bestWallet
|
|
190
|
+
} from "./chunk-OPAPBEA5.js";
|
|
188
191
|
import {
|
|
189
192
|
bifrostWallet
|
|
190
193
|
} from "./chunk-B6DM7J4N.js";
|
|
191
194
|
import {
|
|
192
|
-
|
|
193
|
-
} from "./chunk-
|
|
194
|
-
import {
|
|
195
|
-
binanceWallet
|
|
196
|
-
} from "./chunk-4T3UOJYR.js";
|
|
195
|
+
berasigWallet
|
|
196
|
+
} from "./chunk-KM55XFBI.js";
|
|
197
197
|
import {
|
|
198
198
|
bitgetWallet
|
|
199
199
|
} from "./chunk-CULIWWLV.js";
|