@funkit/connect 9.19.1 → 9.20.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 (110) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/clients/argentWallet-2WSTOUAO.js +7 -0
  3. package/dist/clients/bifrostWallet-5NQVDZ5P.js +7 -0
  4. package/dist/clients/bitgetWallet-CBQAJOIK.js +7 -0
  5. package/dist/clients/bitskiWallet-OLIYN3IU.js +7 -0
  6. package/dist/clients/bitverseWallet-AQMAJ2NN.js +7 -0
  7. package/dist/clients/bloomWallet-MJRQJYSG.js +7 -0
  8. package/dist/clients/braveWallet-T76TVZA6.js +7 -0
  9. package/dist/clients/bybitWallet-GOPAS32Q.js +7 -0
  10. package/dist/clients/chunk-4752IYY6.js +94 -0
  11. package/dist/clients/chunk-47AQXZQE.js +230 -0
  12. package/dist/clients/chunk-CSONEKIF.js +54 -0
  13. package/dist/clients/chunk-JOM2J5WB.js +2371 -0
  14. package/dist/clients/{chunk-TFZV2HO4.js → chunk-JVTKIEOP.js} +2 -223
  15. package/dist/clients/{polymarket.js → chunk-MOUTRRN3.js} +12 -4
  16. package/dist/clients/chunk-MRBN4XCA.js +96 -0
  17. package/dist/clients/chunk-UNCVGPTD.js +186 -0
  18. package/dist/clients/clvWallet-VVMLP7BK.js +7 -0
  19. package/dist/clients/coin98Wallet-I5CP5KYZ.js +7 -0
  20. package/dist/clients/coinbaseWallet-ICYEIYQD.js +7 -0
  21. package/dist/clients/coreWallet-RFVUHOVE.js +7 -0
  22. package/dist/clients/dawnWallet-QBFTQLS4.js +7 -0
  23. package/dist/clients/desigWallet-IBKYOHSY.js +7 -0
  24. package/dist/clients/enkryptWallet-ZVUZMI7H.js +7 -0
  25. package/dist/clients/fanatics.js +41 -82
  26. package/dist/clients/foxWallet-I7D5KIW4.js +7 -0
  27. package/dist/clients/frameWallet-UDD4OVZX.js +7 -0
  28. package/dist/clients/frontierWallet-5QV7ZACT.js +7 -0
  29. package/dist/clients/gateWallet-CJNGQQCV.js +7 -0
  30. package/dist/clients/imTokenWallet-UPA7ADZ2.js +7 -0
  31. package/dist/clients/injectedWallet-OIRJSVBZ.js +7 -0
  32. package/dist/clients/kresusWallet-7ROCNWAU.js +7 -0
  33. package/dist/clients/ledgerWallet-3FCEIKPD.js +7 -0
  34. package/dist/clients/lighter.js +9 -179
  35. package/dist/clients/metaMaskWallet-RMHEKBDR.js +7 -0
  36. package/dist/clients/mewWallet-ANFGVCZT.js +7 -0
  37. package/dist/clients/oktoWallet-Q5XCEOTD.js +7 -0
  38. package/dist/clients/okxWallet-GJMKZIND.js +7 -0
  39. package/dist/clients/omniWallet-YH4FEL6J.js +7 -0
  40. package/dist/clients/oneInchWallet-4S73ZPPN.js +7 -0
  41. package/dist/clients/oneKeyWallet-YVJDPHJS.js +7 -0
  42. package/dist/clients/phantomWallet-LZDJJ5XR.js +7 -0
  43. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +17293 -0
  44. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.d.ts +30 -0
  45. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +14 -0
  46. package/dist/clients/polymarket/createPolymarketDepositConfig.d.ts +54 -0
  47. package/dist/clients/polymarket/createPolymarketDepositConfig.js +15 -0
  48. package/dist/clients/polymarket/index.css +17293 -0
  49. package/dist/clients/polymarket/index.d.ts +8 -0
  50. package/dist/clients/polymarket/index.js +42 -0
  51. package/dist/clients/{polymarket.d.ts → polymarket/polymarket.d.ts} +59 -2
  52. package/dist/clients/polymarket/polymarket.js +24 -0
  53. package/dist/clients/polymarket/usePolymarketAccountBalances.d.ts +66 -0
  54. package/dist/clients/polymarket/usePolymarketAccountBalances.js +12 -0
  55. package/dist/clients/rabbyWallet-TYX2JDHU.js +7 -0
  56. package/dist/clients/rainbowWallet-MFJQCICF.js +7 -0
  57. package/dist/clients/ramperWallet-Q2XAH4WA.js +7 -0
  58. package/dist/clients/rolly.d.ts +2 -0
  59. package/dist/clients/rolly.js +6 -2
  60. package/dist/clients/roninWallet-SAB5ESVK.js +7 -0
  61. package/dist/clients/safeWallet-Y3VPODK2.js +7 -0
  62. package/dist/clients/safeheronWallet-MCFXLKO5.js +7 -0
  63. package/dist/clients/safepalWallet-7YULGM2L.js +7 -0
  64. package/dist/clients/subWallet-5WUZ4IIO.js +7 -0
  65. package/dist/clients/tahoWallet-U2VWWO76.js +7 -0
  66. package/dist/clients/talismanWallet-ZYTPIANG.js +7 -0
  67. package/dist/clients/tokenPocketWallet-FLFG3JUQ.js +7 -0
  68. package/dist/clients/tokenaryWallet-S3JS2IGK.js +7 -0
  69. package/dist/clients/trustWallet-2N5TZJGC.js +7 -0
  70. package/dist/clients/uniswapWallet-NJQBP5VM.js +7 -0
  71. package/dist/clients/walletConnectWallet-E4OQJ4DC.js +7 -0
  72. package/dist/clients/xdefiWallet-ZKBEFEOH.js +7 -0
  73. package/dist/clients/zealWallet-7VO3C4PM.js +7 -0
  74. package/dist/clients/zerionWallet-SEPREHKH.js +7 -0
  75. package/dist/components/Dropdown/AccountSelectDropdown.d.ts +45 -0
  76. package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
  77. package/dist/components/FreeUsdcBanner/FreeUsdcBanner.css.d.ts +15 -0
  78. package/dist/components/FreeUsdcBanner/FreeUsdcBanner.d.ts +5 -5
  79. package/dist/components/ModalHeightAnimationLayer/ModalHeightAnimationLayer.d.ts +8 -0
  80. package/dist/domains/aave.d.ts +28 -0
  81. package/dist/domains/dynamicRouting.d.ts +13 -1
  82. package/dist/domains/quote.d.ts +2 -2
  83. package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
  84. package/dist/hooks/useExchangeOptions.d.ts +11 -2
  85. package/dist/hooks/useTokenAndChainDropdown.d.ts +1 -1
  86. package/dist/index.css +1325 -88
  87. package/dist/index.js +4291 -3258
  88. package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +2 -1
  89. package/dist/modals/CheckoutModal/InputAmount/aaveClient.d.ts +3 -7
  90. package/dist/modals/CheckoutModal/InputAmount/useAaveNativeSupply.d.ts +2 -19
  91. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
  92. package/dist/modals/CheckoutModal/SourceChange/useSourceChangeLayout.d.ts +10 -0
  93. package/dist/modals/CheckoutModal/stepTransition.d.ts +27 -1
  94. package/dist/modals/PolymarketPerpsTransfer/DirectionSwapButton.d.ts +17 -0
  95. package/dist/modals/PolymarketPerpsTransfer/PerpsTransferBottomBar.d.ts +11 -0
  96. package/dist/modals/PolymarketPerpsTransfer/PerpsTransferRows.d.ts +10 -0
  97. package/dist/modals/PolymarketPerpsTransfer/PerpsTransferStep.d.ts +11 -0
  98. package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsTransferScreen.d.ts +52 -0
  99. package/dist/modals/PolymarketPerpsTransfer/TransferActionButton.d.ts +34 -0
  100. package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.css.d.ts +13 -0
  101. package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.d.ts +27 -0
  102. package/dist/modals/PolymarketPerpsTransfer/usePerpsTransferForm.d.ts +66 -0
  103. package/dist/providers/FunkitCheckoutContext/index.d.ts +10 -1
  104. package/dist/providers/FunkitCheckoutContext/types.d.ts +63 -3
  105. package/dist/providers/FunkitConfigContext.d.ts +13 -2
  106. package/dist/providers/FunkitQuoteContext.d.ts +16 -0
  107. package/dist/utils/freeUsdcBanner.d.ts +3 -0
  108. package/dist/utils/tokenMath.d.ts +6 -0
  109. package/dist/wallets/walletConnectors/index.js +43 -43
  110. package/package.json +7 -6
@@ -1,13 +1,10 @@
1
1
  "use client";
2
- import {
3
- zealWallet
4
- } from "./chunk-52QXXLDS.js";
5
2
  import {
6
3
  zerionWallet
7
4
  } from "./chunk-SWFF3TWJ.js";
8
5
  import {
9
- tahoWallet
10
- } from "./chunk-7ZYCBDQ4.js";
6
+ safeheronWallet
7
+ } from "./chunk-76S7R2ND.js";
11
8
  import {
12
9
  talismanWallet
13
10
  } from "./chunk-4DCO3TGL.js";
@@ -17,12 +14,12 @@ import {
17
14
  import {
18
15
  tokenaryWallet
19
16
  } from "./chunk-VH3THHJY.js";
20
- import {
21
- uniswapWallet
22
- } from "./chunk-Z3PPW6NC.js";
23
17
  import {
24
18
  trustWallet
25
19
  } from "./chunk-KCRO2AGO.js";
20
+ import {
21
+ uniswapWallet
22
+ } from "./chunk-Z3PPW6NC.js";
26
23
  import {
27
24
  walletConnectWallet
28
25
  } from "./chunk-3FCWJRI4.js";
@@ -30,8 +27,11 @@ import {
30
27
  xdefiWallet
31
28
  } from "./chunk-JN5I3DNC.js";
32
29
  import {
33
- phantomWallet
34
- } from "./chunk-QY53O7WG.js";
30
+ zealWallet
31
+ } from "./chunk-52QXXLDS.js";
32
+ import {
33
+ rabbyWallet
34
+ } from "./chunk-RB66PKPA.js";
35
35
  import {
36
36
  rainbowWallet
37
37
  } from "./chunk-W2LCLDPX.js";
@@ -44,9 +44,6 @@ import {
44
44
  import {
45
45
  safeWallet
46
46
  } from "./chunk-RCY66YHF.js";
47
- import {
48
- safeheronWallet
49
- } from "./chunk-76S7R2ND.js";
50
47
  import {
51
48
  safepalWallet
52
49
  } from "./chunk-XCNHV3HS.js";
@@ -54,20 +51,23 @@ import {
54
51
  subWallet
55
52
  } from "./chunk-NR2OGDHQ.js";
56
53
  import {
57
- kresusWallet
58
- } from "./chunk-RICTB3FA.js";
54
+ tahoWallet
55
+ } from "./chunk-7ZYCBDQ4.js";
56
+ import {
57
+ metaMaskWallet
58
+ } from "./chunk-YO2K4MBH.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
- omniWallet
67
- } from "./chunk-2CX7LX4J.js";
68
65
  import {
69
66
  okxWallet
70
67
  } from "./chunk-KI5Y2BBF.js";
68
+ import {
69
+ omniWallet
70
+ } from "./chunk-2CX7LX4J.js";
71
71
  import {
72
72
  oneInchWallet
73
73
  } from "./chunk-QG6ZHI7B.js";
@@ -75,47 +75,47 @@ import {
75
75
  oneKeyWallet
76
76
  } from "./chunk-WVT6BBJH.js";
77
77
  import {
78
- rabbyWallet
79
- } from "./chunk-RB66PKPA.js";
78
+ phantomWallet
79
+ } from "./chunk-QY53O7WG.js";
80
80
  import {
81
- frontierWallet
82
- } from "./chunk-AVDUNQUW.js";
81
+ foxWallet
82
+ } from "./chunk-GUQM4QSL.js";
83
83
  import {
84
- gateWallet
85
- } from "./chunk-JPN6TWIT.js";
84
+ frameWallet
85
+ } from "./chunk-BU3ZAT5X.js";
86
86
  import {
87
87
  imTokenWallet
88
88
  } from "./chunk-WNAGGFMG.js";
89
89
  import {
90
- foxWallet
91
- } from "./chunk-GUQM4QSL.js";
90
+ gateWallet
91
+ } from "./chunk-JPN6TWIT.js";
92
92
  import {
93
- frameWallet
94
- } from "./chunk-BU3ZAT5X.js";
93
+ frontierWallet
94
+ } from "./chunk-AVDUNQUW.js";
95
95
  import {
96
96
  injectedWallet
97
97
  } from "./chunk-T6LGKC3F.js";
98
+ import {
99
+ kresusWallet
100
+ } from "./chunk-RICTB3FA.js";
98
101
  import {
99
102
  ledgerWallet
100
103
  } from "./chunk-RPV27V2Y.js";
101
- import {
102
- metaMaskWallet
103
- } from "./chunk-YO2K4MBH.js";
104
104
  import {
105
105
  clvWallet
106
106
  } from "./chunk-OEEGYENV.js";
107
- import {
108
- bybitWallet
109
- } from "./chunk-OX37G4YT.js";
110
107
  import {
111
108
  coinbaseWallet
112
109
  } from "./chunk-2DLDAZRH.js";
113
- import {
114
- coin98Wallet
115
- } from "./chunk-WAHGI5L7.js";
116
110
  import {
117
111
  coreWallet
118
112
  } from "./chunk-4NV5BYRP.js";
113
+ import {
114
+ bloomWallet
115
+ } from "./chunk-PJ7Y57EH.js";
116
+ import {
117
+ dawnWallet
118
+ } from "./chunk-G2PHTVL6.js";
119
119
  import {
120
120
  enkryptWallet
121
121
  } from "./chunk-HBQK5RD5.js";
@@ -123,8 +123,8 @@ import {
123
123
  desigWallet
124
124
  } from "./chunk-FW3WZETT.js";
125
125
  import {
126
- dawnWallet
127
- } from "./chunk-G2PHTVL6.js";
126
+ coin98Wallet
127
+ } from "./chunk-WAHGI5L7.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-NTMBEOR2.js";
@@ -140,13 +140,13 @@ import {
140
140
  import {
141
141
  bitverseWallet
142
142
  } from "./chunk-NSK6A7TI.js";
143
- import {
144
- bloomWallet
145
- } from "./chunk-PJ7Y57EH.js";
146
- import "./chunk-N4IJLYFY.js";
147
143
  import {
148
144
  braveWallet
149
145
  } from "./chunk-DS73TZ6O.js";
146
+ import {
147
+ bybitWallet
148
+ } from "./chunk-OX37G4YT.js";
149
+ import "./chunk-N4IJLYFY.js";
150
150
  import "./chunk-OLZ7626J.js";
151
151
  import "./chunk-IGKXZBTA.js";
152
152
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "9.19.1",
3
+ "version": "9.20.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -13,7 +13,8 @@
13
13
  ".": "./dist/index.js",
14
14
  "./styles.css": "./dist/index.css",
15
15
  "./wallets": "./dist/wallets/walletConnectors/index.js",
16
- "./clients/*": "./dist/clients/*.js"
16
+ "./clients/*": "./dist/clients/*.js",
17
+ "./clients/polymarket": "./dist/clients/polymarket/index.js"
17
18
  },
18
19
  "main": "./dist/index.js",
19
20
  "types": "./dist/index.d.ts",
@@ -110,11 +111,11 @@
110
111
  "ua-parser-js": "^1.0.37",
111
112
  "use-debounce": "^10.0.5",
112
113
  "uuid": "^11.1.1",
113
- "@funkit/api-base": "4.5.0",
114
+ "@funkit/api-base": "4.5.1",
114
115
  "@funkit/chains": "2.1.0",
115
- "@funkit/connect-core": "0.3.0",
116
- "@funkit/fun-relay": "2.8.0",
117
- "@funkit/utils": "3.0.2"
116
+ "@funkit/connect-core": "0.3.1",
117
+ "@funkit/fun-relay": "2.8.1",
118
+ "@funkit/utils": "3.1.0"
118
119
  },
119
120
  "repository": {
120
121
  "type": "git",