@talken/talkenkit 2.7.2 → 2.7.3
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/index.js +3 -21
- package/dist/wallets/walletConnectors/index.js +65 -65
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2365,8 +2365,6 @@ import { createPortal } from "react-dom";
|
|
|
2365
2365
|
import { RemoveScroll } from "react-remove-scroll";
|
|
2366
2366
|
|
|
2367
2367
|
// src/components/RainbowKitProvider/RainbowKitProvider.tsx
|
|
2368
|
-
import { PhantomWalletAdapter as PhantomWalletAdapter2 } from "@solana/wallet-adapter-phantom";
|
|
2369
|
-
import { SolflareWalletAdapter as SolflareWalletAdapter2 } from "@solana/wallet-adapter-solflare";
|
|
2370
2368
|
import React51, {
|
|
2371
2369
|
createContext as createContext18,
|
|
2372
2370
|
useContext as useContext14,
|
|
@@ -2654,9 +2652,10 @@ function useConfirmationThemeStyle() {
|
|
|
2654
2652
|
systemRed: modalVars.colors.systemRed,
|
|
2655
2653
|
systemGreen: modalVars.colors.systemGreen
|
|
2656
2654
|
};
|
|
2657
|
-
for (const [key,
|
|
2655
|
+
for (const [key, varRef] of Object.entries(mapping)) {
|
|
2658
2656
|
const value2 = theme[key];
|
|
2659
2657
|
if (value2) {
|
|
2658
|
+
const cssVar = varRef.replace(/^var\((.+)\)$/, "$1");
|
|
2660
2659
|
style[cssVar] = value2;
|
|
2661
2660
|
}
|
|
2662
2661
|
}
|
|
@@ -7476,12 +7475,10 @@ function TransactionResultProvider({
|
|
|
7476
7475
|
}
|
|
7477
7476
|
|
|
7478
7477
|
// src/solana/SolanaWalletProvider.tsx
|
|
7479
|
-
import { PhantomWalletAdapter } from "@solana/wallet-adapter-phantom";
|
|
7480
7478
|
import {
|
|
7481
7479
|
ConnectionProvider,
|
|
7482
7480
|
WalletProvider
|
|
7483
7481
|
} from "@solana/wallet-adapter-react";
|
|
7484
|
-
import { SolflareWalletAdapter } from "@solana/wallet-adapter-solflare";
|
|
7485
7482
|
import { clusterApiUrl } from "@solana/web3.js";
|
|
7486
7483
|
import React39, { useMemo as useMemo14 } from "react";
|
|
7487
7484
|
|
|
@@ -8409,11 +8406,6 @@ function SolanaWalletProvider({
|
|
|
8409
8406
|
if (abcWalletConfig) {
|
|
8410
8407
|
adapters.push(new AbcSolanaWalletAdapter(abcWalletConfig));
|
|
8411
8408
|
}
|
|
8412
|
-
adapters.push(
|
|
8413
|
-
new PhantomWalletAdapter(),
|
|
8414
|
-
new SolflareWalletAdapter()
|
|
8415
|
-
// TODO: Add Backpack when available in wallet-adapter-wallets
|
|
8416
|
-
);
|
|
8417
8409
|
return adapters;
|
|
8418
8410
|
}, [customWallets, abcWalletConfig]);
|
|
8419
8411
|
const rpcEndpoint = useMemo14(
|
|
@@ -8562,7 +8554,7 @@ function setRainbowKitVersion({ version }) {
|
|
|
8562
8554
|
}
|
|
8563
8555
|
function useFingerprint() {
|
|
8564
8556
|
const fingerprint = useCallback16(() => {
|
|
8565
|
-
setRainbowKitVersion({ version: "2.7.
|
|
8557
|
+
setRainbowKitVersion({ version: "2.7.3" });
|
|
8566
8558
|
}, []);
|
|
8567
8559
|
useEffect22(() => {
|
|
8568
8560
|
fingerprint();
|
|
@@ -9496,16 +9488,6 @@ function RainbowKitProvider({
|
|
|
9496
9488
|
if (typeof wallet === "object" && wallet && "name" in wallet) {
|
|
9497
9489
|
adapters.push(wallet);
|
|
9498
9490
|
} else if (typeof wallet === "string") {
|
|
9499
|
-
switch (wallet) {
|
|
9500
|
-
case "phantom":
|
|
9501
|
-
adapters.push(new PhantomWalletAdapter2());
|
|
9502
|
-
break;
|
|
9503
|
-
case "solflare":
|
|
9504
|
-
adapters.push(new SolflareWalletAdapter2());
|
|
9505
|
-
break;
|
|
9506
|
-
default:
|
|
9507
|
-
console.warn(`Unknown Solana wallet ID: ${wallet}`);
|
|
9508
|
-
}
|
|
9509
9491
|
}
|
|
9510
9492
|
}
|
|
9511
9493
|
return adapters.length > 0 ? adapters : void 0;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
abcWallet
|
|
4
4
|
} from "./chunk-SQY7HBRK.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
zealWallet
|
|
7
|
+
} from "./chunk-NPZ2IXNP.js";
|
|
8
8
|
import "./chunk-IIXEHCZU.js";
|
|
9
9
|
import "./chunk-5ERWBR7D.js";
|
|
10
10
|
import "./chunk-R6ZE7JAZ.js";
|
|
@@ -18,47 +18,41 @@ import "./chunk-4P3SPC44.js";
|
|
|
18
18
|
import "./chunk-36BJXEBA.js";
|
|
19
19
|
import "./chunk-6KRX73ED.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
tahoWallet
|
|
22
|
+
} from "./chunk-ETH7KTEX.js";
|
|
23
|
+
import {
|
|
24
|
+
trustWallet
|
|
25
|
+
} from "./chunk-PK5F7QCO.js";
|
|
23
26
|
import {
|
|
24
27
|
uniswapWallet
|
|
25
28
|
} from "./chunk-DLDZUVTB.js";
|
|
26
29
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
trustWallet
|
|
31
|
-
} from "./chunk-PK5F7QCO.js";
|
|
30
|
+
wigwamWallet
|
|
31
|
+
} from "./chunk-XHES3UIX.js";
|
|
32
32
|
import {
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-KU5R3WAJ.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
valoraWallet
|
|
37
|
+
} from "./chunk-CVUEWUDI.js";
|
|
38
38
|
import {
|
|
39
39
|
xdefiWallet
|
|
40
40
|
} from "./chunk-LAXV47ZW.js";
|
|
41
41
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
42
|
+
zerionWallet
|
|
43
|
+
} from "./chunk-55PYSSYF.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
45
|
+
safepalWallet
|
|
46
|
+
} from "./chunk-6UT4SIPZ.js";
|
|
47
47
|
import {
|
|
48
48
|
safeheronWallet
|
|
49
49
|
} from "./chunk-GFZKT4IO.js";
|
|
50
|
-
import {
|
|
51
|
-
safepalWallet
|
|
52
|
-
} from "./chunk-6UT4SIPZ.js";
|
|
53
50
|
import {
|
|
54
51
|
seifWallet
|
|
55
52
|
} from "./chunk-4MX42IPK.js";
|
|
56
53
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import {
|
|
60
|
-
tahoWallet
|
|
61
|
-
} from "./chunk-ETH7KTEX.js";
|
|
54
|
+
rainbowWallet
|
|
55
|
+
} from "./chunk-C5JYYN5C.js";
|
|
62
56
|
import {
|
|
63
57
|
talismanWallet
|
|
64
58
|
} from "./chunk-CV5HJWQX.js";
|
|
@@ -66,80 +60,86 @@ import {
|
|
|
66
60
|
tokenPocketWallet
|
|
67
61
|
} from "./chunk-D24ZTR45.js";
|
|
68
62
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
63
|
+
subWallet
|
|
64
|
+
} from "./chunk-AM4YPUW3.js";
|
|
71
65
|
import {
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
66
|
+
tokenaryWallet
|
|
67
|
+
} from "./chunk-AGYNSAGV.js";
|
|
74
68
|
import {
|
|
75
69
|
paraSwapWallet
|
|
76
70
|
} from "./chunk-FF7ZXD5C.js";
|
|
77
71
|
import {
|
|
78
72
|
phantomWallet
|
|
79
73
|
} from "./chunk-M3L6IDTW.js";
|
|
80
|
-
import {
|
|
81
|
-
rainbowWallet
|
|
82
|
-
} from "./chunk-C5JYYN5C.js";
|
|
83
74
|
import {
|
|
84
75
|
rabbyWallet
|
|
85
76
|
} from "./chunk-I232AKC4.js";
|
|
77
|
+
import {
|
|
78
|
+
oneKeyWallet
|
|
79
|
+
} from "./chunk-WQX4JNSR.js";
|
|
86
80
|
import {
|
|
87
81
|
ramperWallet
|
|
88
82
|
} from "./chunk-VAAADMXX.js";
|
|
89
83
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
84
|
+
omniWallet
|
|
85
|
+
} from "./chunk-RGPO7AY3.js";
|
|
92
86
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
87
|
+
safeWallet
|
|
88
|
+
} from "./chunk-Z2QCE6O6.js";
|
|
95
89
|
import {
|
|
96
|
-
|
|
97
|
-
} from "./chunk-
|
|
90
|
+
roninWallet
|
|
91
|
+
} from "./chunk-TP7VE6CR.js";
|
|
98
92
|
import {
|
|
99
93
|
metaMaskWallet
|
|
100
94
|
} from "./chunk-YYWOGELV.js";
|
|
101
95
|
import {
|
|
102
96
|
mewWallet
|
|
103
97
|
} from "./chunk-T4UIU4M2.js";
|
|
98
|
+
import {
|
|
99
|
+
krakenWallet
|
|
100
|
+
} from "./chunk-CYOZFCR6.js";
|
|
104
101
|
import {
|
|
105
102
|
nestWallet
|
|
106
103
|
} from "./chunk-V4DYVGON.js";
|
|
107
104
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
magicEdenWallet
|
|
106
|
+
} from "./chunk-6MKGDGZC.js";
|
|
110
107
|
import {
|
|
111
108
|
okxWallet
|
|
112
109
|
} from "./chunk-N4US77B2.js";
|
|
113
110
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
111
|
+
oktoWallet
|
|
112
|
+
} from "./chunk-7SSXG35M.js";
|
|
116
113
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
114
|
+
oneInchWallet
|
|
115
|
+
} from "./chunk-OJT577AY.js";
|
|
116
|
+
import {
|
|
117
|
+
iopayWallet
|
|
118
|
+
} from "./chunk-4KTCNBEZ.js";
|
|
119
119
|
import {
|
|
120
120
|
injectedWallet
|
|
121
121
|
} from "./chunk-DWN4FQRW.js";
|
|
122
|
-
import {
|
|
123
|
-
kaiaWallet
|
|
124
|
-
} from "./chunk-X3BXCZPF.js";
|
|
125
122
|
import {
|
|
126
123
|
kaikasWallet
|
|
127
124
|
} from "./chunk-PWGB7WJS.js";
|
|
128
125
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
126
|
+
imTokenWallet
|
|
127
|
+
} from "./chunk-EHE2536P.js";
|
|
128
|
+
import {
|
|
129
|
+
kaiaWallet
|
|
130
|
+
} from "./chunk-X3BXCZPF.js";
|
|
131
131
|
import {
|
|
132
132
|
klipWallet
|
|
133
133
|
} from "./chunk-WDL3NM5W.js";
|
|
134
|
-
import {
|
|
135
|
-
krakenWallet
|
|
136
|
-
} from "./chunk-CYOZFCR6.js";
|
|
137
134
|
import {
|
|
138
135
|
kresusWallet
|
|
139
136
|
} from "./chunk-CM3VR7OM.js";
|
|
140
137
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
138
|
+
ledgerWallet
|
|
139
|
+
} from "./chunk-BF3VSNPL.js";
|
|
140
|
+
import {
|
|
141
|
+
compassWallet
|
|
142
|
+
} from "./chunk-DK4AJRIP.js";
|
|
143
143
|
import {
|
|
144
144
|
dawnWallet
|
|
145
145
|
} from "./chunk-GYKXFIR2.js";
|
|
@@ -161,36 +161,33 @@ import {
|
|
|
161
161
|
import {
|
|
162
162
|
gateWallet
|
|
163
163
|
} from "./chunk-S25DFPKE.js";
|
|
164
|
-
import {
|
|
165
|
-
bloomWallet
|
|
166
|
-
} from "./chunk-3KPCADAF.js";
|
|
167
164
|
import {
|
|
168
165
|
bitverseWallet
|
|
169
166
|
} from "./chunk-6HCSSBZY.js";
|
|
167
|
+
import {
|
|
168
|
+
braveWallet
|
|
169
|
+
} from "./chunk-7AOQK5GH.js";
|
|
170
170
|
import {
|
|
171
171
|
bybitWallet
|
|
172
172
|
} from "./chunk-2AJYFWBT.js";
|
|
173
173
|
import {
|
|
174
|
-
|
|
175
|
-
} from "./chunk-
|
|
174
|
+
bloomWallet
|
|
175
|
+
} from "./chunk-3KPCADAF.js";
|
|
176
176
|
import {
|
|
177
177
|
clvWallet
|
|
178
178
|
} from "./chunk-QHXBBEB2.js";
|
|
179
|
-
import {
|
|
180
|
-
coin98Wallet
|
|
181
|
-
} from "./chunk-RN23EOYO.js";
|
|
182
179
|
import {
|
|
183
180
|
coinbaseWallet
|
|
184
181
|
} from "./chunk-PNEDRY6O.js";
|
|
185
182
|
import {
|
|
186
|
-
|
|
187
|
-
} from "./chunk-
|
|
183
|
+
coin98Wallet
|
|
184
|
+
} from "./chunk-RN23EOYO.js";
|
|
185
|
+
import {
|
|
186
|
+
coreWallet
|
|
187
|
+
} from "./chunk-EV4S6LIH.js";
|
|
188
188
|
import {
|
|
189
189
|
argentWallet
|
|
190
190
|
} from "./chunk-XT2WYPN5.js";
|
|
191
|
-
import {
|
|
192
|
-
berasigWallet
|
|
193
|
-
} from "./chunk-6WB5NVHI.js";
|
|
194
191
|
import {
|
|
195
192
|
bestWallet
|
|
196
193
|
} from "./chunk-OPAPBEA5.js";
|
|
@@ -200,6 +197,9 @@ import {
|
|
|
200
197
|
import {
|
|
201
198
|
binanceWallet
|
|
202
199
|
} from "./chunk-LGGIEH7O.js";
|
|
200
|
+
import {
|
|
201
|
+
berasigWallet
|
|
202
|
+
} from "./chunk-6WB5NVHI.js";
|
|
203
203
|
import {
|
|
204
204
|
bitgetWallet
|
|
205
205
|
} from "./chunk-DKEP5NZT.js";
|