@funkit/connect 12.15.0 → 12.15.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/clients/internal/nado/withdrawalCallback.js +2 -2
  3. package/dist/clients/internal/nado/withdrawalForm.js +1 -1
  4. package/dist/clients/nado.js +2 -2
  5. package/dist/domains/checkoutConflict.d.ts +15 -0
  6. package/dist/index.js +28 -3
  7. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  9. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  11. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  12. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  16. package/dist/wallets/walletConnectors/index.js +56 -56
  17. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  25. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  26. package/package.json +5 -5
  27. package/dist/clients/{chunk-C3BTAVJA.js → chunk-UZ3NA7HN.js} +3 -3
  28. package/dist/wallets/walletConnectors/{chunk-OVDCDVFX.js → chunk-34B7OJNT.js} +3 -3
  29. package/dist/wallets/walletConnectors/{chunk-JJBLW4IU.js → chunk-4FHNLTR3.js} +3 -3
  30. package/dist/wallets/walletConnectors/{chunk-TM7UBV3Q.js → chunk-ALGPGI6V.js} +3 -3
  31. package/dist/wallets/walletConnectors/{chunk-MWB6LFSG.js → chunk-BBB2J3US.js} +3 -3
  32. package/dist/wallets/walletConnectors/{chunk-IWPW26AL.js → chunk-BBDNB5TQ.js} +3 -3
  33. package/dist/wallets/walletConnectors/{chunk-53MYTA42.js → chunk-CU5J53XR.js} +3 -3
  34. package/dist/wallets/walletConnectors/{chunk-USLZMUJ3.js → chunk-HOCKAU5H.js} +3 -3
  35. package/dist/wallets/walletConnectors/{chunk-RJF2YEZ5.js → chunk-IA5432IR.js} +3 -3
  36. package/dist/wallets/walletConnectors/{chunk-ASTCNVJC.js → chunk-IWOMSW64.js} +3 -3
  37. package/dist/wallets/walletConnectors/{chunk-KE4CWI3A.js → chunk-NXWG6FG2.js} +3 -3
  38. package/dist/wallets/walletConnectors/{chunk-RQYEGJKL.js → chunk-RFCZYLNR.js} +3 -3
  39. package/dist/wallets/walletConnectors/{chunk-ANODOMIN.js → chunk-RXRYHMRI.js} +3 -3
  40. package/dist/wallets/walletConnectors/{chunk-PPQ6L4K2.js → chunk-SR5CZR3L.js} +3 -3
  41. package/dist/wallets/walletConnectors/{chunk-TIHTQ3OB.js → chunk-TRZDAXCQ.js} +3 -3
  42. package/dist/wallets/walletConnectors/{chunk-F45CUFRR.js → chunk-U52QO5HF.js} +3 -3
  43. package/dist/wallets/walletConnectors/{chunk-A5POD5SV.js → chunk-XODA5ESL.js} +3 -3
  44. package/dist/wallets/walletConnectors/{chunk-FYPQ3HP4.js → chunk-YRMBR6NA.js} +3 -3
  45. package/dist/wallets/walletConnectors/{chunk-65ULY6OC.js → chunk-ZSSSLFQF.js} +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 12.15.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 932bead: Starting a deposit no longer reopens a previously closed withdrawal.
8
+ - Updated dependencies [cdb4501]
9
+ - Updated dependencies [96f7890]
10
+ - Updated dependencies [032b1a3]
11
+ - Updated dependencies [8189df3]
12
+ - @funkit/connect-core@9.2.0
13
+ - @funkit/api-base@9.0.1
14
+
15
+ ## 12.15.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [c093975]
20
+ - Updated dependencies [c4b5ace]
21
+ - Updated dependencies [b2b7eeb]
22
+ - @funkit/connect-core@9.1.0
23
+
3
24
  ## 12.15.0
4
25
 
5
26
  ### Minor Changes
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  createNadoWithdrawalCallback
4
- } from "../../chunk-C3BTAVJA.js";
5
- import "../../chunk-4DBUYTEE.js";
4
+ } from "../../chunk-UZ3NA7HN.js";
6
5
  import "../../chunk-BKK2BFIP.js";
6
+ import "../../chunk-4DBUYTEE.js";
7
7
  import "../../chunk-OODIKHYE.js";
8
8
  import "../../chunk-7JYLS7IF.js";
9
9
  import "../../chunk-TKEBGMVW.js";
@@ -9,10 +9,10 @@ import "../../chunk-6EU6CXNH.js";
9
9
  import {
10
10
  useFunkitConfig
11
11
  } from "../../chunk-6IH7AWFA.js";
12
+ import "../../chunk-4DBUYTEE.js";
12
13
  import {
13
14
  useFunkitTranslation
14
15
  } from "../../chunk-OB5GKTP2.js";
15
- import "../../chunk-4DBUYTEE.js";
16
16
  import "../../chunk-2W2P3OS6.js";
17
17
  import "../../chunk-7JYLS7IF.js";
18
18
  import {
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  createNadoWithdrawalCallback
4
- } from "./chunk-C3BTAVJA.js";
5
- import "./chunk-4DBUYTEE.js";
4
+ } from "./chunk-UZ3NA7HN.js";
6
5
  import "./chunk-BKK2BFIP.js";
6
+ import "./chunk-4DBUYTEE.js";
7
7
  import "./chunk-OODIKHYE.js";
8
8
  import {
9
9
  useAccount,
@@ -0,0 +1,15 @@
1
+ import type { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
2
+ /**
3
+ * Whether `beginCheckout` should reopen the soft-hidden checkout instead of
4
+ * starting the requested one.
5
+ * - The active item must be the soft-hidden checkout itself. A missing item
6
+ * (cleared on logout) or a different id (a later withdrawal took the active
7
+ * slot) leaves nothing coherent to resume.
8
+ * - `beginCheckout` always asks for a deposit. Resuming a withdrawal item drops
9
+ * the deposit config and runs the old withdrawal's recipient and target.
10
+ */
11
+ export declare function shouldResumeSoftHiddenCheckout({ prefersResume, hiddenCheckoutId, activeCheckoutItem, }: {
12
+ prefersResume: boolean;
13
+ hiddenCheckoutId: string;
14
+ activeCheckoutItem: FunkitActiveCheckoutItem | null;
15
+ }): boolean;
package/dist/index.js CHANGED
@@ -113,7 +113,7 @@ function setFunkitConnectVersion({ version }) {
113
113
  localStorage.setItem(storageKey, version);
114
114
  }
115
115
  function getCurrentSdkVersion() {
116
- return "12.15.0";
116
+ return "12.15.2";
117
117
  }
118
118
  function useFingerprint() {
119
119
  const fingerprint = useCallback(() => {
@@ -7667,6 +7667,7 @@ import {
7667
7667
  useClientAsyncInit
7668
7668
  } from "@statsig/react-bindings";
7669
7669
  import React15, { useEffect as useEffect6 } from "react";
7670
+ import { STATSIG_NETWORK_TIMEOUT_MS } from "@funkit/connect-core";
7670
7671
  var STATSIG_API = "https://data-api.fun.xyz/v1";
7671
7672
  var STATSIG_CLIENT_KEY = "client-UmFd8WIJljA7cLmZuDqs3X25M8sKd5WIQP4BSC2bRbM";
7672
7673
  function getStatsigOptions(isDevelopment) {
@@ -7675,7 +7676,7 @@ function getStatsigOptions(isDevelopment) {
7675
7676
  api: STATSIG_API,
7676
7677
  // default timeout is 10s which is too large imo
7677
7678
  // 5s should be plenty granted on average statsig responds in <200ms
7678
- networkTimeoutMs: 5e3
7679
+ networkTimeoutMs: STATSIG_NETWORK_TIMEOUT_MS
7679
7680
  // uncomment to test offline mode
7680
7681
  // preventAllNetworkTraffic: true,
7681
7682
  },
@@ -10039,6 +10040,18 @@ function getPolymarketPerpsTargetAssetOverride(qrcodeActionType) {
10039
10040
  return qrcodeActionType === POLYMARKET_PERPS_DEPOSIT_ACTION_TYPE ? POLYMARKET_PUSD_ADDRESS : void 0;
10040
10041
  }
10041
10042
 
10043
+ // src/domains/checkoutConflict.ts
10044
+ function shouldResumeSoftHiddenCheckout({
10045
+ prefersResume,
10046
+ hiddenCheckoutId,
10047
+ activeCheckoutItem
10048
+ }) {
10049
+ if (!prefersResume || !activeCheckoutItem) {
10050
+ return false;
10051
+ }
10052
+ return activeCheckoutItem.id === hiddenCheckoutId && !activeCheckoutItem.isWithdrawal;
10053
+ }
10054
+
10042
10055
  // src/domains/clientMetadata.ts
10043
10056
  function stripFunctionsForBackend(config) {
10044
10057
  return {
@@ -12018,10 +12031,22 @@ function useFunkitCheckout(props) {
12018
12031
  );
12019
12032
  const [pendingCheckoutConfig, setPendingCheckoutConfig] = useState11();
12020
12033
  const onCheckoutConflict = ({
12034
+ hiddenCheckoutId,
12021
12035
  resume,
12022
12036
  replace
12023
12037
  }) => {
12024
- if (isLighterxyzCustomer(apiKey)) {
12038
+ const shouldResume = shouldResumeSoftHiddenCheckout({
12039
+ prefersResume: isLighterxyzCustomer(apiKey),
12040
+ hiddenCheckoutId,
12041
+ activeCheckoutItem: checkoutItem
12042
+ });
12043
+ logger.info("checkoutConflictResolved", {
12044
+ hiddenCheckoutId,
12045
+ activeCheckoutId: checkoutItem?.id,
12046
+ isWithdrawal: !!checkoutItem?.isWithdrawal,
12047
+ shouldResume
12048
+ });
12049
+ if (shouldResume) {
12025
12050
  resume();
12026
12051
  return false;
12027
12052
  }
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-TM7UBV3Q.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-ALGPGI6V.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  bifrostWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-USLZMUJ3.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-HOCKAU5H.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  bitgetWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-IWPW26AL.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-BBDNB5TQ.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  bybitWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-JJBLW4IU.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-4FHNLTR3.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  clvWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-RQYEGJKL.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-RFCZYLNR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  coin98Wallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-TIHTQ3OB.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-TRZDAXCQ.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  coreWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-F45CUFRR.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-U52QO5HF.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  foxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-ASTCNVJC.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-IWOMSW64.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  frontierWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-FYPQ3HP4.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-YRMBR6NA.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  gateWallet
@@ -1,28 +1,31 @@
1
1
  "use client";
2
2
  import {
3
- tokenaryWallet
4
- } from "./chunk-TPM5PUJD.js";
5
- import {
6
- zerionWallet
7
- } from "./chunk-OVDCDVFX.js";
3
+ xdefiWallet
4
+ } from "./chunk-HXX4PRE2.js";
8
5
  import {
9
6
  zealWallet
10
7
  } from "./chunk-GLX5FULK.js";
11
8
  import {
12
- safeheronWallet
13
- } from "./chunk-UN3ONVNC.js";
9
+ zerionWallet
10
+ } from "./chunk-34B7OJNT.js";
14
11
  import {
15
- talismanWallet
16
- } from "./chunk-IAYYWCVB.js";
12
+ subWallet
13
+ } from "./chunk-XODA5ESL.js";
17
14
  import {
18
15
  tahoWallet
19
16
  } from "./chunk-U74RFZOL.js";
17
+ import {
18
+ talismanWallet
19
+ } from "./chunk-IAYYWCVB.js";
20
20
  import {
21
21
  tokenPocketWallet
22
- } from "./chunk-KE4CWI3A.js";
22
+ } from "./chunk-NXWG6FG2.js";
23
23
  import {
24
24
  trustWallet
25
- } from "./chunk-PPQ6L4K2.js";
25
+ } from "./chunk-SR5CZR3L.js";
26
+ import {
27
+ tokenaryWallet
28
+ } from "./chunk-TPM5PUJD.js";
26
29
  import {
27
30
  uniswapWallet
28
31
  } from "./chunk-UNDWHCDH.js";
@@ -30,38 +33,35 @@ import {
30
33
  walletConnectWallet
31
34
  } from "./chunk-DUX4XCDV.js";
32
35
  import {
33
- xdefiWallet
34
- } from "./chunk-HXX4PRE2.js";
36
+ phantomWallet
37
+ } from "./chunk-Q27YVDDH.js";
35
38
  import {
36
39
  rabbyWallet
37
40
  } from "./chunk-RQ2GXOJL.js";
38
41
  import {
39
42
  rainbowWallet
40
- } from "./chunk-65ULY6OC.js";
41
- import {
42
- oneInchWallet
43
- } from "./chunk-GFS2AVAH.js";
43
+ } from "./chunk-ZSSSLFQF.js";
44
44
  import {
45
45
  ramperWallet
46
46
  } from "./chunk-GPXIBTWN.js";
47
47
  import {
48
48
  roninWallet
49
- } from "./chunk-RJF2YEZ5.js";
49
+ } from "./chunk-IA5432IR.js";
50
+ import {
51
+ safeheronWallet
52
+ } from "./chunk-UN3ONVNC.js";
50
53
  import {
51
54
  safeWallet
52
55
  } from "./chunk-IR3PJMVM.js";
53
56
  import {
54
57
  safepalWallet
55
- } from "./chunk-MWB6LFSG.js";
56
- import {
57
- subWallet
58
- } from "./chunk-A5POD5SV.js";
59
- import {
60
- metaMaskWallet
61
- } from "./chunk-ANODOMIN.js";
58
+ } from "./chunk-BBB2J3US.js";
62
59
  import {
63
60
  ledgerWallet
64
61
  } from "./chunk-BL4OC2EJ.js";
62
+ import {
63
+ metaMaskWallet
64
+ } from "./chunk-RXRYHMRI.js";
65
65
  import {
66
66
  mewWallet
67
67
  } from "./chunk-DSPQXAB2.js";
@@ -70,31 +70,31 @@ import {
70
70
  } from "./chunk-V4M3SNPS.js";
71
71
  import {
72
72
  okxWallet
73
- } from "./chunk-53MYTA42.js";
73
+ } from "./chunk-CU5J53XR.js";
74
74
  import {
75
- omniWallet
76
- } from "./chunk-2TAUCVX7.js";
75
+ oneInchWallet
76
+ } from "./chunk-GFS2AVAH.js";
77
77
  import {
78
78
  oneKeyWallet
79
79
  } from "./chunk-KN32ITJ7.js";
80
80
  import {
81
- phantomWallet
82
- } from "./chunk-Q27YVDDH.js";
83
- import {
84
- enkryptWallet
85
- } from "./chunk-Z6LDN2AN.js";
81
+ omniWallet
82
+ } from "./chunk-2TAUCVX7.js";
86
83
  import {
87
84
  foxWallet
88
- } from "./chunk-F45CUFRR.js";
89
- import {
90
- gateWallet
91
- } from "./chunk-FYPQ3HP4.js";
85
+ } from "./chunk-U52QO5HF.js";
92
86
  import {
93
87
  frameWallet
94
88
  } from "./chunk-B572YIAQ.js";
89
+ import {
90
+ enkryptWallet
91
+ } from "./chunk-Z6LDN2AN.js";
92
+ import {
93
+ gateWallet
94
+ } from "./chunk-YRMBR6NA.js";
95
95
  import {
96
96
  frontierWallet
97
- } from "./chunk-ASTCNVJC.js";
97
+ } from "./chunk-IWOMSW64.js";
98
98
  import {
99
99
  imTokenWallet
100
100
  } from "./chunk-YY2JA23M.js";
@@ -104,21 +104,21 @@ import {
104
104
  import {
105
105
  injectedWallet
106
106
  } from "./chunk-M75V7OL3.js";
107
+ import {
108
+ bybitWallet
109
+ } from "./chunk-BBDNB5TQ.js";
107
110
  import {
108
111
  clvWallet
109
- } from "./chunk-JJBLW4IU.js";
112
+ } from "./chunk-4FHNLTR3.js";
110
113
  import {
111
114
  coin98Wallet
112
- } from "./chunk-RQYEGJKL.js";
113
- import {
114
- braveWallet
115
- } from "./chunk-U2XXV45G.js";
116
- import {
117
- coreWallet
118
- } from "./chunk-TIHTQ3OB.js";
115
+ } from "./chunk-RFCZYLNR.js";
119
116
  import {
120
117
  coinbaseWallet
121
118
  } from "./chunk-SM2A3OSG.js";
119
+ import {
120
+ coreWallet
121
+ } from "./chunk-TRZDAXCQ.js";
122
122
  import {
123
123
  customWallet
124
124
  } from "./chunk-VKM5M5UK.js";
@@ -128,18 +128,15 @@ import {
128
128
  import {
129
129
  desigWallet
130
130
  } from "./chunk-DFHP75HV.js";
131
- import {
132
- argentWallet
133
- } from "./chunk-XSDTNMQY.js";
134
131
  import {
135
132
  bifrostWallet
136
- } from "./chunk-TM7UBV3Q.js";
137
- import {
138
- bitgetWallet
139
- } from "./chunk-USLZMUJ3.js";
133
+ } from "./chunk-ALGPGI6V.js";
140
134
  import {
141
135
  bitskiWallet
142
136
  } from "./chunk-NPITCCJE.js";
137
+ import {
138
+ argentWallet
139
+ } from "./chunk-XSDTNMQY.js";
143
140
  import {
144
141
  bloomWallet
145
142
  } from "./chunk-PNHDOC77.js";
@@ -147,10 +144,13 @@ import {
147
144
  bitverseWallet
148
145
  } from "./chunk-5AEWIKRA.js";
149
146
  import {
150
- bybitWallet
151
- } from "./chunk-IWPW26AL.js";
152
- import "./chunk-EYWGX5LT.js";
147
+ braveWallet
148
+ } from "./chunk-U2XXV45G.js";
149
+ import {
150
+ bitgetWallet
151
+ } from "./chunk-HOCKAU5H.js";
153
152
  import "./chunk-AALSJCUR.js";
153
+ import "./chunk-EYWGX5LT.js";
154
154
  import "./chunk-B454LLKJ.js";
155
155
  export {
156
156
  argentWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-ANODOMIN.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-RXRYHMRI.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  metaMaskWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-53MYTA42.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-CU5J53XR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  okxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-65ULY6OC.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-ZSSSLFQF.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  rainbowWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-RJF2YEZ5.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-IA5432IR.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  roninWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-MWB6LFSG.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-BBB2J3US.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  safepalWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-A5POD5SV.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-XODA5ESL.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  subWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-KE4CWI3A.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-NXWG6FG2.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  tokenPocketWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-PPQ6L4K2.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-SR5CZR3L.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  trustWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-OVDCDVFX.js";
5
- import "../chunk-EYWGX5LT.js";
4
+ } from "../chunk-34B7OJNT.js";
6
5
  import "../chunk-AALSJCUR.js";
6
+ import "../chunk-EYWGX5LT.js";
7
7
  import "../chunk-B454LLKJ.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "12.15.0",
3
+ "version": "12.15.2",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -119,11 +119,11 @@
119
119
  "ua-parser-js": "^1.0.37",
120
120
  "use-debounce": "^10.0.5",
121
121
  "uuid": "^11.1.1",
122
- "@funkit/api-base": "9.0.0",
122
+ "@funkit/api-base": "9.0.1",
123
123
  "@funkit/chains": "2.5.0",
124
- "@funkit/connect-core": "9.0.0",
125
- "@funkit/fun-relay": "3.1.3",
126
- "@funkit/utils": "5.0.2"
124
+ "@funkit/connect-core": "9.2.0",
125
+ "@funkit/utils": "5.0.2",
126
+ "@funkit/fun-relay": "3.1.3"
127
127
  },
128
128
  "repository": {
129
129
  "type": "git",
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- toWithdrawalAmountBaseUnit
4
- } from "./chunk-4DBUYTEE.js";
5
2
  import {
6
3
  isExpectedNadoWithdrawalFailure,
7
4
  toNadoWithdrawalErrorMessage
8
5
  } from "./chunk-BKK2BFIP.js";
6
+ import {
7
+ toWithdrawalAmountBaseUnit
8
+ } from "./chunk-4DBUYTEE.js";
9
9
  import {
10
10
  getAccount,
11
11
  signTypedData,
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
11
11
  import { isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/clvWallet/clvWallet.ts
11
11
  var clvWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
11
11
  var safepalWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bybitWallet/bybitWallet.ts
11
11
  var bybitWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/okxWallet/okxWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/roninWallet/roninWallet.ts
11
11
  var roninWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
11
11
  import { isMobile } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
11
11
  var coin98Wallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
11
11
  import { isAndroid, isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/trustWallet/trustWallet.ts
11
11
  import { isMobile } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/coreWallet/coreWallet.ts
11
11
  var coreWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
11
  var foxWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/subWallet/subWallet.ts
11
11
  var subWallet = ({
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/gateWallet/gateWallet.ts
11
11
  import { isAndroid } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
+ import {
3
+ getWalletConnectConnector
4
+ } from "./chunk-AALSJCUR.js";
2
5
  import {
3
6
  getInjectedConnector,
4
7
  hasInjectedProvider
5
8
  } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
9
 
10
10
  // src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
11
11
  import { isAndroid, isIOS } from "@funkit/utils";