@funkit/connect 11.4.1 → 11.5.0

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 (73) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/clients/{chunk-5MY7WMEJ.js → chunk-3U55HYGJ.js} +2 -2
  3. package/dist/clients/{chunk-BPDLF2R6.js → chunk-DSZHYQPX.js} +1 -1
  4. package/dist/clients/chunk-WCQ6HJ27.js +13 -0
  5. package/dist/clients/{chunk-BB5FHA47.js → chunk-ZEDRWRYA.js} +10 -9
  6. package/dist/clients/fanatics.js +4 -4
  7. package/dist/clients/internal/nado/withdrawalConfig.d.ts +4 -9
  8. package/dist/clients/internal/nado/withdrawalConfig.js +3 -6
  9. package/dist/clients/internal/nado/withdrawalForm.css +38 -38
  10. package/dist/clients/internal/nado/withdrawalForm.js +6 -31
  11. package/dist/clients/internal/nado/withdrawalStatus.d.ts +1 -15
  12. package/dist/clients/internal/nado/withdrawalStatus.js +8 -54
  13. package/dist/clients/lighter.css +216 -216
  14. package/dist/clients/lighter.js +1 -0
  15. package/dist/clients/nado.d.ts +1 -1
  16. package/dist/clients/nado.js +8 -6
  17. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +216 -216
  18. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +3 -3
  19. package/dist/clients/polymarket/index.css +216 -216
  20. package/dist/clients/polymarket/index.js +3 -3
  21. package/dist/consts/funkit.d.ts +2 -0
  22. package/dist/hooks/track/analytics/events.d.ts +21 -0
  23. package/dist/hooks/track/analytics/useWithdrawalAnalytics.d.ts +24 -1
  24. package/dist/hooks/useSwappedTheme.d.ts +3 -0
  25. package/dist/index.css +49 -49
  26. package/dist/index.js +12321 -12173
  27. package/dist/modals/WithdrawalModal/RecipientAddress.d.ts +3 -1
  28. package/dist/modals/WithdrawalModal/WithdrawAmountInput.d.ts +3 -1
  29. package/dist/providers/FunkitProvider.d.ts +1 -0
  30. package/dist/shadow/adoptStyles.d.ts +5 -0
  31. package/dist/shadow-css.d.ts +1 -0
  32. package/dist/shadow-css.js +2 -0
  33. package/dist/utils/swapped.d.ts +8 -6
  34. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  35. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  36. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  37. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  38. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  39. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  40. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  41. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  42. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  43. package/dist/wallets/walletConnectors/index.js +41 -41
  44. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  45. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  46. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  47. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  48. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  49. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  50. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  51. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  52. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  53. package/package.json +10 -5
  54. package/shadow-css/package.json +3 -0
  55. package/dist/clients/chunk-TYG42JRZ.js +0 -40
  56. package/dist/wallets/walletConnectors/{chunk-W2LCLDPX.js → chunk-2VP2F6EK.js} +3 -3
  57. package/dist/wallets/walletConnectors/{chunk-IULPZP2Q.js → chunk-4T6ZSRJF.js} +3 -3
  58. package/dist/wallets/walletConnectors/{chunk-WAHGI5L7.js → chunk-6BW3HLBG.js} +3 -3
  59. package/dist/wallets/walletConnectors/{chunk-YO2K4MBH.js → chunk-CCQV2ZET.js} +3 -3
  60. package/dist/wallets/walletConnectors/{chunk-TKB2OY6G.js → chunk-CPI4TD43.js} +3 -3
  61. package/dist/wallets/walletConnectors/{chunk-OX37G4YT.js → chunk-F5XEEVG6.js} +3 -3
  62. package/dist/wallets/walletConnectors/{chunk-JPN6TWIT.js → chunk-HNRB7KJU.js} +3 -3
  63. package/dist/wallets/walletConnectors/{chunk-WKNQMP4A.js → chunk-HTHAK6XB.js} +3 -3
  64. package/dist/wallets/walletConnectors/{chunk-GUQM4QSL.js → chunk-MIQTHJ6X.js} +3 -3
  65. package/dist/wallets/walletConnectors/{chunk-4NV5BYRP.js → chunk-RB3HR4R2.js} +3 -3
  66. package/dist/wallets/walletConnectors/{chunk-SWFF3TWJ.js → chunk-RVOY537T.js} +3 -3
  67. package/dist/wallets/walletConnectors/{chunk-KI5Y2BBF.js → chunk-STVVP43G.js} +3 -3
  68. package/dist/wallets/walletConnectors/{chunk-OEEGYENV.js → chunk-UK7C2JXW.js} +3 -3
  69. package/dist/wallets/walletConnectors/{chunk-YQFGVZGR.js → chunk-VAPGUPHO.js} +3 -3
  70. package/dist/wallets/walletConnectors/{chunk-XCNHV3HS.js → chunk-VTM6EECM.js} +3 -3
  71. package/dist/wallets/walletConnectors/{chunk-NR2OGDHQ.js → chunk-X6CGV36L.js} +3 -3
  72. package/dist/wallets/walletConnectors/{chunk-AVDUNQUW.js → chunk-YEZM4CK4.js} +3 -3
  73. package/dist/wallets/walletConnectors/{chunk-KCRO2AGO.js → chunk-ZNX4EMPB.js} +3 -3
@@ -2,14 +2,16 @@ import type { SwappedTheme } from '@funkit/connect-core';
2
2
  import type { ThemeVars } from '../css/sprinkles.css';
3
3
  export { getFormOfPaymentDisplayName, getSavedFormOfPaymentDisplayName, getSavedFormOfPaymentIcon, getSwappedIcon, getSwappedOrigin, isSavedFormOfPaymentType, isSwappedOrigin, SWAPPED_CARD_BRANDS, } from '@funkit/connect-core';
4
4
  export type { SwappedTheme };
5
- export declare function resolveCssValue(value: string): string;
6
- export declare function resolveObjectCssVars<T extends object>(obj: T): T;
5
+ export declare function resolveCssValue(value: string, scope: Element | null): string;
6
+ export declare function resolveObjectCssVars<T extends object>(obj: T, scope: Element | null): T;
7
7
  /**
8
8
  * Builds the SwappedTheme payload from a ThemeVars object. Pure — it does not
9
- * touch the DOM, so it is safe to share across platforms. The returned values
10
- * may still contain `var(...)` / `calc(var(...))` references: web callers must
11
- * resolve them with {@link resolveObjectCssVars} before sending to the Swapped
12
- * embed; non-web callers must pass already-concrete values.
9
+ * touch the DOM, so it is safe to share across platforms.
10
+ *
11
+ * Pass an already-resolved theme: `topbarPaddingX` is composed as
12
+ * `calc(<token> + 6px)`, and {@link resolveCssValue} only matches values that
13
+ * are entirely a `var(...)` ref, so anything wrapped in `calc()` here can no
14
+ * longer be resolved afterwards. Web callers use {@link resolveObjectCssVars}.
13
15
  */
14
16
  export declare function buildSwappedTheme(theme: ThemeVars & {
15
17
  customFontFamily?: {
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-IULPZP2Q.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-4T6ZSRJF.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  bifrostWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-TKB2OY6G.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-CPI4TD43.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  bitgetWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-OX37G4YT.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-F5XEEVG6.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  bybitWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-OEEGYENV.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-UK7C2JXW.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  clvWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-WAHGI5L7.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-6BW3HLBG.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  coin98Wallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-4NV5BYRP.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-RB3HR4R2.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  coreWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-GUQM4QSL.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-MIQTHJ6X.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  foxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-AVDUNQUW.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-YEZM4CK4.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  frontierWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-JPN6TWIT.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-HNRB7KJU.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  gateWallet
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-52QXXLDS.js";
5
5
  import {
6
6
  zerionWallet
7
- } from "./chunk-SWFF3TWJ.js";
7
+ } from "./chunk-RVOY537T.js";
8
8
  import {
9
9
  tahoWallet
10
10
  } from "./chunk-7ZYCBDQ4.js";
@@ -13,13 +13,13 @@ import {
13
13
  } from "./chunk-4DCO3TGL.js";
14
14
  import {
15
15
  tokenPocketWallet
16
- } from "./chunk-WKNQMP4A.js";
16
+ } from "./chunk-HTHAK6XB.js";
17
17
  import {
18
18
  tokenaryWallet
19
19
  } from "./chunk-VH3THHJY.js";
20
20
  import {
21
21
  trustWallet
22
- } from "./chunk-KCRO2AGO.js";
22
+ } from "./chunk-ZNX4EMPB.js";
23
23
  import {
24
24
  uniswapWallet
25
25
  } from "./chunk-Z3PPW6NC.js";
@@ -34,13 +34,13 @@ import {
34
34
  } from "./chunk-RB66PKPA.js";
35
35
  import {
36
36
  rainbowWallet
37
- } from "./chunk-W2LCLDPX.js";
37
+ } from "./chunk-2VP2F6EK.js";
38
38
  import {
39
39
  ramperWallet
40
40
  } from "./chunk-OQB55QXP.js";
41
41
  import {
42
42
  roninWallet
43
- } from "./chunk-YQFGVZGR.js";
43
+ } from "./chunk-VAPGUPHO.js";
44
44
  import {
45
45
  safeWallet
46
46
  } from "./chunk-RCY66YHF.js";
@@ -49,70 +49,73 @@ import {
49
49
  } from "./chunk-76S7R2ND.js";
50
50
  import {
51
51
  safepalWallet
52
- } from "./chunk-XCNHV3HS.js";
52
+ } from "./chunk-VTM6EECM.js";
53
53
  import {
54
54
  subWallet
55
- } from "./chunk-NR2OGDHQ.js";
55
+ } from "./chunk-X6CGV36L.js";
56
56
  import {
57
- ledgerWallet
58
- } from "./chunk-RPV27V2Y.js";
57
+ metaMaskWallet
58
+ } from "./chunk-CCQV2ZET.js";
59
59
  import {
60
60
  mewWallet
61
61
  } from "./chunk-MQM45ADF.js";
62
62
  import {
63
63
  oktoWallet
64
64
  } from "./chunk-YWOVAU6O.js";
65
+ import {
66
+ okxWallet
67
+ } from "./chunk-STVVP43G.js";
65
68
  import {
66
69
  omniWallet
67
70
  } from "./chunk-2CX7LX4J.js";
68
- import {
69
- okxWallet
70
- } from "./chunk-KI5Y2BBF.js";
71
71
  import {
72
72
  oneInchWallet
73
73
  } from "./chunk-QG6ZHI7B.js";
74
+ import {
75
+ oneKeyWallet
76
+ } from "./chunk-WVT6BBJH.js";
74
77
  import {
75
78
  phantomWallet
76
79
  } from "./chunk-QY53O7WG.js";
77
80
  import {
78
- oneKeyWallet
79
- } from "./chunk-WVT6BBJH.js";
81
+ foxWallet
82
+ } from "./chunk-MIQTHJ6X.js";
80
83
  import {
81
84
  frameWallet
82
85
  } from "./chunk-BU3ZAT5X.js";
83
86
  import {
84
87
  frontierWallet
85
- } from "./chunk-AVDUNQUW.js";
88
+ } from "./chunk-YEZM4CK4.js";
86
89
  import {
87
90
  gateWallet
88
- } from "./chunk-JPN6TWIT.js";
91
+ } from "./chunk-HNRB7KJU.js";
89
92
  import {
90
- coinbaseWallet
91
- } from "./chunk-2DLDAZRH.js";
93
+ imTokenWallet
94
+ } from "./chunk-WNAGGFMG.js";
92
95
  import {
93
96
  injectedWallet
94
97
  } from "./chunk-T6LGKC3F.js";
95
- import {
96
- imTokenWallet
97
- } from "./chunk-WNAGGFMG.js";
98
98
  import {
99
99
  kresusWallet
100
100
  } from "./chunk-RICTB3FA.js";
101
101
  import {
102
- metaMaskWallet
103
- } from "./chunk-YO2K4MBH.js";
102
+ ledgerWallet
103
+ } from "./chunk-RPV27V2Y.js";
104
104
  import {
105
105
  clvWallet
106
- } from "./chunk-OEEGYENV.js";
106
+ } from "./chunk-UK7C2JXW.js";
107
+ import {
108
+ braveWallet
109
+ } from "./chunk-DS73TZ6O.js";
107
110
  import {
108
111
  coin98Wallet
109
- } from "./chunk-WAHGI5L7.js";
112
+ } from "./chunk-6BW3HLBG.js";
110
113
  import {
111
- bybitWallet
112
- } from "./chunk-OX37G4YT.js";
114
+ coinbaseWallet
115
+ } from "./chunk-2DLDAZRH.js";
113
116
  import {
114
117
  coreWallet
115
- } from "./chunk-4NV5BYRP.js";
118
+ } from "./chunk-RB3HR4R2.js";
116
119
  import {
117
120
  dawnWallet
118
121
  } from "./chunk-G2PHTVL6.js";
@@ -122,32 +125,29 @@ import {
122
125
  import {
123
126
  enkryptWallet
124
127
  } from "./chunk-HBQK5RD5.js";
125
- import {
126
- foxWallet
127
- } from "./chunk-GUQM4QSL.js";
128
- import {
129
- bitgetWallet
130
- } from "./chunk-TKB2OY6G.js";
131
128
  import {
132
129
  argentWallet
133
130
  } from "./chunk-NTMBEOR2.js";
134
- import {
135
- bitskiWallet
136
- } from "./chunk-7HRFUZFX.js";
137
131
  import {
138
132
  bifrostWallet
139
- } from "./chunk-IULPZP2Q.js";
133
+ } from "./chunk-4T6ZSRJF.js";
134
+ import {
135
+ bitgetWallet
136
+ } from "./chunk-CPI4TD43.js";
140
137
  import {
141
138
  bitverseWallet
142
139
  } from "./chunk-NSK6A7TI.js";
140
+ import {
141
+ bitskiWallet
142
+ } from "./chunk-7HRFUZFX.js";
143
143
  import {
144
144
  bloomWallet
145
145
  } from "./chunk-PJ7Y57EH.js";
146
- import "./chunk-N4IJLYFY.js";
147
146
  import {
148
- braveWallet
149
- } from "./chunk-DS73TZ6O.js";
147
+ bybitWallet
148
+ } from "./chunk-F5XEEVG6.js";
150
149
  import "./chunk-OLZ7626J.js";
150
+ import "./chunk-N4IJLYFY.js";
151
151
  import "./chunk-IGKXZBTA.js";
152
152
  export {
153
153
  argentWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-YO2K4MBH.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-CCQV2ZET.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  metaMaskWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-KI5Y2BBF.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-STVVP43G.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  okxWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-W2LCLDPX.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-2VP2F6EK.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  rainbowWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-YQFGVZGR.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-VAPGUPHO.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  roninWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-XCNHV3HS.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-VTM6EECM.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  safepalWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-NR2OGDHQ.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-X6CGV36L.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  subWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-WKNQMP4A.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-HTHAK6XB.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  tokenPocketWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-KCRO2AGO.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-ZNX4EMPB.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  trustWallet
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-SWFF3TWJ.js";
5
- import "../chunk-N4IJLYFY.js";
4
+ } from "../chunk-RVOY537T.js";
6
5
  import "../chunk-OLZ7626J.js";
6
+ import "../chunk-N4IJLYFY.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,17 +1,22 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "11.4.1",
3
+ "version": "11.5.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
7
7
  "styles.css",
8
8
  "wallets",
9
+ "shadow-css",
9
10
  "CHANGELOG.md"
10
11
  ],
11
12
  "type": "module",
12
13
  "exports": {
13
14
  ".": "./dist/index.js",
14
15
  "./styles.css": "./dist/index.css",
16
+ "./shadow-css": {
17
+ "types": "./dist/shadow-css.d.ts",
18
+ "default": "./dist/shadow-css.js"
19
+ },
15
20
  "./wallets": "./dist/wallets/walletConnectors/index.js",
16
21
  "./clients/internal/*": null,
17
22
  "./clients/*": "./dist/clients/*.js",
@@ -106,11 +111,11 @@
106
111
  "ua-parser-js": "^1.0.37",
107
112
  "use-debounce": "^10.0.5",
108
113
  "uuid": "^11.1.1",
109
- "@funkit/api-base": "7.1.1",
114
+ "@funkit/api-base": "7.1.2",
110
115
  "@funkit/chains": "2.2.0",
111
- "@funkit/connect-core": "4.0.0",
112
- "@funkit/fun-relay": "2.13.0",
113
- "@funkit/utils": "4.0.1"
116
+ "@funkit/connect-core": "4.1.0",
117
+ "@funkit/utils": "4.0.1",
118
+ "@funkit/fun-relay": "2.14.0"
114
119
  },
115
120
  "repository": {
116
121
  "type": "git",
@@ -0,0 +1,3 @@
1
+ {
2
+ "main": "../dist/shadow-css.js"
3
+ }
@@ -1,40 +0,0 @@
1
- "use client";
2
- import {
3
- isCustomWithdrawalConfig
4
- } from "./chunk-B7UU2ETA.js";
5
- import {
6
- logger
7
- } from "./chunk-AHYOV7AV.js";
8
-
9
- // src/clients/internal/nado/withdrawalConfig.ts
10
- import {
11
- buildNadoSubaccountId
12
- } from "@funkit/connect-core/clients/nado";
13
- var HEX_SHAPED_SUBACCOUNT_NAME = /^(?:[0-9a-f]{2})+$/i;
14
- function isNadoWithdrawalConfig(config) {
15
- return !!config && isCustomWithdrawalConfig(config) && config.customerConfig?.customerName === "nado";
16
- }
17
- function resolveNadoSubaccount(walletAddress, subaccountName) {
18
- if (!walletAddress) {
19
- return void 0;
20
- }
21
- if (subaccountName && HEX_SHAPED_SUBACCOUNT_NAME.test(subaccountName)) {
22
- logger.warn("nado:withdrawal:hexShapedSubaccountName", {
23
- name: subaccountName
24
- });
25
- }
26
- try {
27
- return buildNadoSubaccountId(walletAddress, subaccountName);
28
- } catch (err) {
29
- const error = err instanceof Error ? err : new Error(String(err));
30
- logger.error("nado:withdrawal:invalidSubaccountName", error, {
31
- name: subaccountName
32
- });
33
- return void 0;
34
- }
35
- }
36
-
37
- export {
38
- isNadoWithdrawalConfig,
39
- resolveNadoSubaccount
40
- };
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
11
11
  import { isAndroid, isIOS } from "@funkit/utils";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import {
3
- getWalletConnectConnector
4
- } from "./chunk-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.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-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.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-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.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-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.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-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.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-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.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-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.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-N4IJLYFY.js";
5
2
  import {
6
3
  getInjectedConnector,
7
4
  hasInjectedProvider
8
5
  } from "./chunk-OLZ7626J.js";
6
+ import {
7
+ getWalletConnectConnector
8
+ } from "./chunk-N4IJLYFY.js";
9
9
 
10
10
  // src/wallets/walletConnectors/foxWallet/foxWallet.ts
11
11
  var foxWallet = ({