@funkit/connect 12.13.0 → 12.15.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 (56) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/dist/clients/axiom.d.ts +12 -0
  3. package/dist/clients/axiom.js +27 -0
  4. package/dist/clients/{chunk-YMBIRJQF.js → chunk-6IH7AWFA.js} +1 -1
  5. package/dist/clients/{chunk-P6UM36G5.js → chunk-7JYLS7IF.js} +32 -0
  6. package/dist/clients/{chunk-ZOQQL2QX.js → chunk-BKK2BFIP.js} +1 -1
  7. package/dist/clients/{chunk-I75AI3N7.js → chunk-C3BTAVJA.js} +6 -6
  8. package/dist/clients/{chunk-R6E3NH5A.js → chunk-FLREOB24.js} +1 -1
  9. package/dist/clients/{chunk-U33QNTIA.js → chunk-IUVVGGP4.js} +66 -5
  10. package/dist/clients/{chunk-5GX6G7JR.js → chunk-OB5GKTP2.js} +1 -1
  11. package/dist/clients/{chunk-I5GSXPFE.js → chunk-TKEBGMVW.js} +1 -7
  12. package/dist/clients/fanatics.js +2 -2
  13. package/dist/clients/internal/nado/withdrawalCallback.js +4 -4
  14. package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
  15. package/dist/clients/internal/nado/withdrawalForm.js +3 -3
  16. package/dist/clients/internal/nado/withdrawalStatus.js +3 -3
  17. package/dist/clients/lighter.css +271 -225
  18. package/dist/clients/lighter.js +3 -3
  19. package/dist/clients/mallard.js +2 -2
  20. package/dist/clients/nado.js +4 -4
  21. package/dist/clients/polymarket/createPolymarketDepositConfig.d.ts +5 -5
  22. package/dist/clients/polymarket/createPolymarketDepositConfig.js +3 -3
  23. package/dist/clients/polymarket/index.js +3 -3
  24. package/dist/clients/polymarket/polymarket.js +2 -2
  25. package/dist/components/TokenSwapWidget/AmountUnitToggle/AmountUnitToggle.d.ts +2 -1
  26. package/dist/components/TokenSwapWidget/TokenSwapCard/TokenSwapCard.d.ts +17 -6
  27. package/dist/components/TokenSwapWidget/TokenSwapWidget.d.ts +9 -7
  28. package/dist/consts/animation.d.ts +8 -0
  29. package/dist/consts/customers.d.ts +2 -2
  30. package/dist/domains/asset.d.ts +2 -3
  31. package/dist/domains/checkoutTransfer.d.ts +8 -0
  32. package/dist/domains/clientMetadata.d.ts +4 -3
  33. package/dist/domains/savedFopsCache.d.ts +15 -0
  34. package/dist/domains/tokenAddress.d.ts +7 -0
  35. package/dist/hooks/queries/useHasSavedFops.d.ts +2 -1
  36. package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
  37. package/dist/hooks/track/analytics/events.d.ts +1 -1
  38. package/dist/hooks/track/analytics/useTrackExecutionProgressEvents.d.ts +17 -2
  39. package/dist/hooks/useAnimatedNavigation.d.ts +2 -2
  40. package/dist/hooks/useCheckoutTransferInit.d.ts +3 -3
  41. package/dist/index.css +46 -0
  42. package/dist/index.js +45373 -44823
  43. package/dist/modals/CheckoutModal/Convert/ConvertStep.d.ts +6 -0
  44. package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +1 -0
  45. package/dist/modals/CheckoutModal/HeaderTabs/CheckoutHeaderTabs.d.ts +12 -0
  46. package/dist/modals/CheckoutModal/HeaderTabs/headerTabs.d.ts +8 -0
  47. package/dist/modals/CheckoutModal/HeaderTabs/useCheckoutHeaderTabsState.d.ts +4 -0
  48. package/dist/modals/CheckoutModal/stepTransition.d.ts +3 -0
  49. package/dist/modals/PolymarketPerpsTransfer/usePerpsHeaderTabsState.d.ts +1 -21
  50. package/dist/providers/FunkitCheckoutContext/types.d.ts +44 -4
  51. package/dist/shadow-css.js +1 -1
  52. package/dist/utils/hypercoreRelayWallet.d.ts +12 -0
  53. package/dist/wallets/walletConnectors/index.js +45 -45
  54. package/package.json +6 -6
  55. package/dist/clients/internal/nado/withdrawalForm.css +0 -17587
  56. package/dist/modals/PolymarketPerpsTransfer/PerpsHeaderTabs.d.ts +0 -29
@@ -0,0 +1,12 @@
1
+ import type { HypercoreWallet } from '@funkit/fun-relay';
2
+ import type { WalletClient } from 'viem';
3
+ /**
4
+ * The connected EVM wallet as a relay wallet for a HyperCore-source deposit, or
5
+ * undefined for any other source. HyperCore accounts are the EVM key itself, so
6
+ * no chain switch: relay signs EIP-712 under whatever chain the wallet is on.
7
+ */
8
+ export declare function resolveHypercoreRelayWallet({ sourceChainId, walletClient, logPrefix, }: {
9
+ sourceChainId: string;
10
+ walletClient: WalletClient | undefined;
11
+ logPrefix: string;
12
+ }): HypercoreWallet | undefined;
@@ -1,46 +1,46 @@
1
1
  "use client";
2
2
  import {
3
- walletConnectWallet
4
- } from "./chunk-DUX4XCDV.js";
5
- import {
6
- zealWallet
7
- } from "./chunk-GLX5FULK.js";
3
+ tokenaryWallet
4
+ } from "./chunk-TPM5PUJD.js";
8
5
  import {
9
6
  zerionWallet
10
7
  } from "./chunk-OVDCDVFX.js";
11
8
  import {
12
- tahoWallet
13
- } from "./chunk-U74RFZOL.js";
9
+ zealWallet
10
+ } from "./chunk-GLX5FULK.js";
14
11
  import {
15
- subWallet
16
- } from "./chunk-A5POD5SV.js";
12
+ safeheronWallet
13
+ } from "./chunk-UN3ONVNC.js";
17
14
  import {
18
15
  talismanWallet
19
16
  } from "./chunk-IAYYWCVB.js";
17
+ import {
18
+ tahoWallet
19
+ } from "./chunk-U74RFZOL.js";
20
20
  import {
21
21
  tokenPocketWallet
22
22
  } from "./chunk-KE4CWI3A.js";
23
- import {
24
- tokenaryWallet
25
- } from "./chunk-TPM5PUJD.js";
26
23
  import {
27
24
  trustWallet
28
25
  } from "./chunk-PPQ6L4K2.js";
29
26
  import {
30
27
  uniswapWallet
31
28
  } from "./chunk-UNDWHCDH.js";
29
+ import {
30
+ walletConnectWallet
31
+ } from "./chunk-DUX4XCDV.js";
32
32
  import {
33
33
  xdefiWallet
34
34
  } from "./chunk-HXX4PRE2.js";
35
- import {
36
- phantomWallet
37
- } from "./chunk-Q27YVDDH.js";
38
35
  import {
39
36
  rabbyWallet
40
37
  } from "./chunk-RQ2GXOJL.js";
41
38
  import {
42
39
  rainbowWallet
43
40
  } from "./chunk-65ULY6OC.js";
41
+ import {
42
+ oneInchWallet
43
+ } from "./chunk-GFS2AVAH.js";
44
44
  import {
45
45
  ramperWallet
46
46
  } from "./chunk-GPXIBTWN.js";
@@ -50,12 +50,12 @@ import {
50
50
  import {
51
51
  safeWallet
52
52
  } from "./chunk-IR3PJMVM.js";
53
- import {
54
- safeheronWallet
55
- } from "./chunk-UN3ONVNC.js";
56
53
  import {
57
54
  safepalWallet
58
55
  } from "./chunk-MWB6LFSG.js";
56
+ import {
57
+ subWallet
58
+ } from "./chunk-A5POD5SV.js";
59
59
  import {
60
60
  metaMaskWallet
61
61
  } from "./chunk-ANODOMIN.js";
@@ -74,51 +74,51 @@ import {
74
74
  import {
75
75
  omniWallet
76
76
  } from "./chunk-2TAUCVX7.js";
77
- import {
78
- oneInchWallet
79
- } from "./chunk-GFS2AVAH.js";
80
77
  import {
81
78
  oneKeyWallet
82
79
  } from "./chunk-KN32ITJ7.js";
80
+ import {
81
+ phantomWallet
82
+ } from "./chunk-Q27YVDDH.js";
83
83
  import {
84
84
  enkryptWallet
85
85
  } from "./chunk-Z6LDN2AN.js";
86
- import {
87
- frameWallet
88
- } from "./chunk-B572YIAQ.js";
89
86
  import {
90
87
  foxWallet
91
88
  } from "./chunk-F45CUFRR.js";
92
- import {
93
- frontierWallet
94
- } from "./chunk-ASTCNVJC.js";
95
89
  import {
96
90
  gateWallet
97
91
  } from "./chunk-FYPQ3HP4.js";
92
+ import {
93
+ frameWallet
94
+ } from "./chunk-B572YIAQ.js";
95
+ import {
96
+ frontierWallet
97
+ } from "./chunk-ASTCNVJC.js";
98
98
  import {
99
99
  imTokenWallet
100
100
  } from "./chunk-YY2JA23M.js";
101
- import {
102
- injectedWallet
103
- } from "./chunk-M75V7OL3.js";
104
101
  import {
105
102
  kresusWallet
106
103
  } from "./chunk-V77ATGZT.js";
107
104
  import {
108
- bybitWallet
109
- } from "./chunk-IWPW26AL.js";
105
+ injectedWallet
106
+ } from "./chunk-M75V7OL3.js";
107
+ import {
108
+ clvWallet
109
+ } from "./chunk-JJBLW4IU.js";
110
110
  import {
111
111
  coin98Wallet
112
112
  } from "./chunk-RQYEGJKL.js";
113
113
  import {
114
- coinbaseWallet
115
- } from "./chunk-SM2A3OSG.js";
116
- import {
117
- bitverseWallet
118
- } from "./chunk-5AEWIKRA.js";
114
+ braveWallet
115
+ } from "./chunk-U2XXV45G.js";
119
116
  import {
120
117
  coreWallet
121
118
  } from "./chunk-TIHTQ3OB.js";
119
+ import {
120
+ coinbaseWallet
121
+ } from "./chunk-SM2A3OSG.js";
122
122
  import {
123
123
  customWallet
124
124
  } from "./chunk-VKM5M5UK.js";
@@ -131,24 +131,24 @@ import {
131
131
  import {
132
132
  argentWallet
133
133
  } from "./chunk-XSDTNMQY.js";
134
- import {
135
- bitgetWallet
136
- } from "./chunk-USLZMUJ3.js";
137
134
  import {
138
135
  bifrostWallet
139
136
  } from "./chunk-TM7UBV3Q.js";
137
+ import {
138
+ bitgetWallet
139
+ } from "./chunk-USLZMUJ3.js";
140
140
  import {
141
141
  bitskiWallet
142
142
  } from "./chunk-NPITCCJE.js";
143
- import {
144
- braveWallet
145
- } from "./chunk-U2XXV45G.js";
146
143
  import {
147
144
  bloomWallet
148
145
  } from "./chunk-PNHDOC77.js";
149
146
  import {
150
- clvWallet
151
- } from "./chunk-JJBLW4IU.js";
147
+ bitverseWallet
148
+ } from "./chunk-5AEWIKRA.js";
149
+ import {
150
+ bybitWallet
151
+ } from "./chunk-IWPW26AL.js";
152
152
  import "./chunk-EYWGX5LT.js";
153
153
  import "./chunk-AALSJCUR.js";
154
154
  import "./chunk-B454LLKJ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "12.13.0",
3
+ "version": "12.15.0",
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": "8.6.0",
123
- "@funkit/chains": "2.4.2",
124
- "@funkit/utils": "5.0.2",
125
- "@funkit/connect-core": "8.6.0",
126
- "@funkit/fun-relay": "3.1.2"
122
+ "@funkit/api-base": "9.0.0",
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"
127
127
  },
128
128
  "repository": {
129
129
  "type": "git",