@funkit/connect 9.19.0 → 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 (173) hide show
  1. package/CHANGELOG.md +62 -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-GSK3TMI5.js → chunk-JVTKIEOP.js} +2 -223
  15. package/dist/clients/{polymarket.js → chunk-MOUTRRN3.js} +15 -27
  16. package/dist/clients/chunk-MRBN4XCA.js +96 -0
  17. package/dist/clients/chunk-UNCVGPTD.js +186 -0
  18. package/dist/clients/chunk-UUHGOBKZ.js +51 -0
  19. package/dist/clients/clvWallet-VVMLP7BK.js +7 -0
  20. package/dist/clients/coin98Wallet-I5CP5KYZ.js +7 -0
  21. package/dist/clients/coinbaseWallet-ICYEIYQD.js +7 -0
  22. package/dist/clients/coreWallet-RFVUHOVE.js +7 -0
  23. package/dist/clients/dawnWallet-QBFTQLS4.js +7 -0
  24. package/dist/clients/desigWallet-IBKYOHSY.js +7 -0
  25. package/dist/clients/enkryptWallet-ZVUZMI7H.js +7 -0
  26. package/dist/clients/fanatics.js +42 -83
  27. package/dist/clients/foxWallet-I7D5KIW4.js +7 -0
  28. package/dist/clients/frameWallet-UDD4OVZX.js +7 -0
  29. package/dist/clients/frontierWallet-5QV7ZACT.js +7 -0
  30. package/dist/clients/gateWallet-CJNGQQCV.js +7 -0
  31. package/dist/clients/imTokenWallet-UPA7ADZ2.js +7 -0
  32. package/dist/clients/injectedWallet-OIRJSVBZ.js +7 -0
  33. package/dist/clients/kresusWallet-7ROCNWAU.js +7 -0
  34. package/dist/clients/ledgerWallet-3FCEIKPD.js +7 -0
  35. package/dist/clients/lighter.js +10 -180
  36. package/dist/clients/metaMaskWallet-RMHEKBDR.js +7 -0
  37. package/dist/clients/mewWallet-ANFGVCZT.js +7 -0
  38. package/dist/clients/oktoWallet-Q5XCEOTD.js +7 -0
  39. package/dist/clients/okxWallet-GJMKZIND.js +7 -0
  40. package/dist/clients/omniWallet-YH4FEL6J.js +7 -0
  41. package/dist/clients/oneInchWallet-4S73ZPPN.js +7 -0
  42. package/dist/clients/oneKeyWallet-YVJDPHJS.js +7 -0
  43. package/dist/clients/phantomWallet-LZDJJ5XR.js +7 -0
  44. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +17293 -0
  45. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.d.ts +30 -0
  46. package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +14 -0
  47. package/dist/clients/polymarket/createPolymarketDepositConfig.d.ts +54 -0
  48. package/dist/clients/polymarket/createPolymarketDepositConfig.js +15 -0
  49. package/dist/clients/polymarket/index.css +17293 -0
  50. package/dist/clients/polymarket/index.d.ts +8 -0
  51. package/dist/clients/polymarket/index.js +42 -0
  52. package/dist/clients/{polymarket.d.ts → polymarket/polymarket.d.ts} +59 -2
  53. package/dist/clients/polymarket/polymarket.js +24 -0
  54. package/dist/clients/polymarket/usePolymarketAccountBalances.d.ts +66 -0
  55. package/dist/clients/polymarket/usePolymarketAccountBalances.js +12 -0
  56. package/dist/clients/rabbyWallet-TYX2JDHU.js +7 -0
  57. package/dist/clients/rainbowWallet-MFJQCICF.js +7 -0
  58. package/dist/clients/ramperWallet-Q2XAH4WA.js +7 -0
  59. package/dist/clients/rolly.d.ts +2 -0
  60. package/dist/clients/rolly.js +6 -2
  61. package/dist/clients/roninWallet-SAB5ESVK.js +7 -0
  62. package/dist/clients/safeWallet-Y3VPODK2.js +7 -0
  63. package/dist/clients/safeheronWallet-MCFXLKO5.js +7 -0
  64. package/dist/clients/safepalWallet-7YULGM2L.js +7 -0
  65. package/dist/clients/subWallet-5WUZ4IIO.js +7 -0
  66. package/dist/clients/tahoWallet-U2VWWO76.js +7 -0
  67. package/dist/clients/talismanWallet-ZYTPIANG.js +7 -0
  68. package/dist/clients/tokenPocketWallet-FLFG3JUQ.js +7 -0
  69. package/dist/clients/tokenaryWallet-S3JS2IGK.js +7 -0
  70. package/dist/clients/trustWallet-2N5TZJGC.js +7 -0
  71. package/dist/clients/uniswapWallet-NJQBP5VM.js +7 -0
  72. package/dist/clients/walletConnectWallet-E4OQJ4DC.js +7 -0
  73. package/dist/clients/xdefiWallet-ZKBEFEOH.js +7 -0
  74. package/dist/clients/zealWallet-7VO3C4PM.js +7 -0
  75. package/dist/clients/zerionWallet-SEPREHKH.js +7 -0
  76. package/dist/components/Dropdown/AccountSelectDropdown.d.ts +45 -0
  77. package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
  78. package/dist/components/FreeUsdcBanner/FreeUsdcBanner.css.d.ts +15 -0
  79. package/dist/components/FreeUsdcBanner/FreeUsdcBanner.d.ts +5 -5
  80. package/dist/components/ModalHeightAnimationLayer/ModalHeightAnimationLayer.d.ts +8 -0
  81. package/dist/consts/customers.d.ts +13 -0
  82. package/dist/consts/funkit.d.ts +2 -0
  83. package/dist/consts/polymarket.d.ts +9 -0
  84. package/dist/domains/aave.d.ts +28 -0
  85. package/dist/domains/dynamicRouting.d.ts +13 -1
  86. package/dist/domains/paymentMethods.d.ts +8 -0
  87. package/dist/domains/quote.d.ts +2 -2
  88. package/dist/hooks/statsig/useDynamicConfig.d.ts +2 -5
  89. package/dist/hooks/statsig/useExperiment.d.ts +1 -33
  90. package/dist/hooks/statsig/useFeatureGate.d.ts +1 -4
  91. package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
  92. package/dist/hooks/useCheckoutTransferInit.d.ts +2 -17
  93. package/dist/hooks/useExchangeOptions.d.ts +11 -2
  94. package/dist/hooks/useTokenAndChainDropdown.d.ts +1 -1
  95. package/dist/hooks/useTokenTransfer.d.ts +3 -8
  96. package/dist/hooks/useUDAParams.d.ts +2 -10
  97. package/dist/index.css +1331 -94
  98. package/dist/index.js +4965 -5413
  99. package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +2 -1
  100. package/dist/modals/CheckoutModal/InputAmount/QuickOptions.d.ts +1 -0
  101. package/dist/modals/CheckoutModal/InputAmount/aaveClient.d.ts +3 -7
  102. package/dist/modals/CheckoutModal/InputAmount/state.d.ts +25 -1
  103. package/dist/modals/CheckoutModal/InputAmount/useAaveNativeSupply.d.ts +2 -19
  104. package/dist/modals/CheckoutModal/InputAmount/useCheckoutAmountLimits.d.ts +17 -0
  105. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
  106. package/dist/modals/CheckoutModal/SourceChange/useSourceChangeLayout.d.ts +10 -0
  107. package/dist/modals/CheckoutModal/stepTransition.d.ts +27 -1
  108. package/dist/modals/PolymarketPerpsTransfer/DirectionSwapButton.d.ts +17 -0
  109. package/dist/modals/PolymarketPerpsTransfer/PerpsTransferBottomBar.d.ts +11 -0
  110. package/dist/modals/PolymarketPerpsTransfer/PerpsTransferRows.d.ts +10 -0
  111. package/dist/modals/PolymarketPerpsTransfer/PerpsTransferStep.d.ts +11 -0
  112. package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsTransferScreen.d.ts +52 -0
  113. package/dist/modals/PolymarketPerpsTransfer/TransferActionButton.d.ts +34 -0
  114. package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.css.d.ts +13 -0
  115. package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.d.ts +27 -0
  116. package/dist/modals/PolymarketPerpsTransfer/usePerpsTransferForm.d.ts +66 -0
  117. package/dist/providers/FunkitCheckoutContext/index.d.ts +10 -1
  118. package/dist/providers/FunkitCheckoutContext/types.d.ts +63 -3
  119. package/dist/providers/FunkitConfigContext.d.ts +13 -2
  120. package/dist/providers/FunkitQuoteContext.d.ts +16 -0
  121. package/dist/providers/SwappedProvider.d.ts +1 -1
  122. package/dist/transports/iframeSwappedTransport.d.ts +1 -1
  123. package/dist/utils/consts.d.ts +1 -2
  124. package/dist/utils/datadogBrowserLogsTransport.d.ts +1 -1
  125. package/dist/utils/freeUsdcBanner.d.ts +3 -0
  126. package/dist/utils/funLogger.d.ts +1 -51
  127. package/dist/utils/statsig/checkFeatureGate.d.ts +1 -1
  128. package/dist/utils/swapped.d.ts +2 -2
  129. package/dist/utils/tokenMath.d.ts +6 -0
  130. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  131. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  132. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  133. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  134. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  135. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  136. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  137. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  138. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  139. package/dist/wallets/walletConnectors/index.js +48 -48
  140. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  141. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  142. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  143. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  144. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  145. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  146. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  147. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  148. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  149. package/package.json +8 -7
  150. package/dist/__generated__/default_configs.d.ts +0 -901
  151. package/dist/__generated__/default_feature_gates.d.ts +0 -20
  152. package/dist/clients/chunk-3QHYYLVM.js +0 -240
  153. package/dist/interfaces/logTransport.d.ts +0 -51
  154. package/dist/interfaces/swapped-transport.d.ts +0 -78
  155. package/dist/utils/flags/resolver.d.ts +0 -34
  156. package/dist/wallets/walletConnectors/{chunk-RB3HR4R2.js → chunk-4NV5BYRP.js} +3 -3
  157. package/dist/wallets/walletConnectors/{chunk-YEZM4CK4.js → chunk-AVDUNQUW.js} +3 -3
  158. package/dist/wallets/walletConnectors/{chunk-MIQTHJ6X.js → chunk-GUQM4QSL.js} +3 -3
  159. package/dist/wallets/walletConnectors/{chunk-4T6ZSRJF.js → chunk-IULPZP2Q.js} +3 -3
  160. package/dist/wallets/walletConnectors/{chunk-HNRB7KJU.js → chunk-JPN6TWIT.js} +3 -3
  161. package/dist/wallets/walletConnectors/{chunk-ZNX4EMPB.js → chunk-KCRO2AGO.js} +3 -3
  162. package/dist/wallets/walletConnectors/{chunk-STVVP43G.js → chunk-KI5Y2BBF.js} +3 -3
  163. package/dist/wallets/walletConnectors/{chunk-X6CGV36L.js → chunk-NR2OGDHQ.js} +3 -3
  164. package/dist/wallets/walletConnectors/{chunk-UK7C2JXW.js → chunk-OEEGYENV.js} +3 -3
  165. package/dist/wallets/walletConnectors/{chunk-F5XEEVG6.js → chunk-OX37G4YT.js} +3 -3
  166. package/dist/wallets/walletConnectors/{chunk-RVOY537T.js → chunk-SWFF3TWJ.js} +3 -3
  167. package/dist/wallets/walletConnectors/{chunk-CPI4TD43.js → chunk-TKB2OY6G.js} +3 -3
  168. package/dist/wallets/walletConnectors/{chunk-2VP2F6EK.js → chunk-W2LCLDPX.js} +3 -3
  169. package/dist/wallets/walletConnectors/{chunk-6BW3HLBG.js → chunk-WAHGI5L7.js} +3 -3
  170. package/dist/wallets/walletConnectors/{chunk-HTHAK6XB.js → chunk-WKNQMP4A.js} +3 -3
  171. package/dist/wallets/walletConnectors/{chunk-VTM6EECM.js → chunk-XCNHV3HS.js} +3 -3
  172. package/dist/wallets/walletConnectors/{chunk-CCQV2ZET.js → chunk-YO2K4MBH.js} +3 -3
  173. package/dist/wallets/walletConnectors/{chunk-VAPGUPHO.js → chunk-YQFGVZGR.js} +3 -3
@@ -1,6 +1,6 @@
1
1
  import { type FormOfPaymentType } from '@funkit/api-base';
2
+ import type { SwappedTransport } from '@funkit/connect-core';
2
3
  import React from 'react';
3
- import type { SwappedTransport } from '../interfaces/swapped-transport';
4
4
  import { type SwappedTheme } from '../utils/swapped';
5
5
  interface SwappedContextValue {
6
6
  iframeUrl: string | null;
@@ -1,4 +1,4 @@
1
- import type { SwappedTransport } from '../interfaces/swapped-transport';
1
+ import type { SwappedTransport } from '@funkit/connect-core';
2
2
  interface IframeSwappedTransportOptions {
3
3
  /** The embed's content window, or `null` if it isn't mounted/loaded yet. */
4
4
  getContentWindow: () => Window | null;
@@ -1,6 +1,5 @@
1
1
  export declare const MIN_CHECKOUT_AMOUNT_USD = 1;
2
- export declare const MIN_MOONPAY_AMOUNT_USD = 35;
3
- export declare const MAX_MOONPAY_AMOUNT_USD = 10000;
2
+ export declare const MAX_BTC_LIGHTNING_AMOUNT_USD = 10000;
4
3
  export declare const LOW_BALANCE = "Low Balance";
5
4
  export declare const CONTACT_US_LINK = "https://intercom.help/funxyz/en/articles/10732578-contact-us";
6
5
  export declare const DEFAULT_CHECKOUT_HISTORY_DETAIL_TITLE = "Your Purchase";
@@ -1,4 +1,4 @@
1
- import type { LogRecord, LogTransport, TrackingConsent } from '../interfaces/logTransport';
1
+ import type { LogRecord, LogTransport, TrackingConsent } from '@funkit/connect-core';
2
2
  /**
3
3
  * Web `LogTransport` backed by `@datadog/browser-logs`. Owns Datadog
4
4
  * initialization, global-context/consent wiring, and the browser-only emit.
@@ -0,0 +1,3 @@
1
+ export declare const STORAGE_KEY = "fkc-free-usdc-dismissed";
2
+ export declare function isFreeUsdcBannerDismissed(): boolean;
3
+ export declare function dismissFreeUsdcBanner(): void;
@@ -1,53 +1,3 @@
1
- import type { LogTransport } from '../interfaces/logTransport';
2
- declare class FunLogger {
3
- protected apiKey: string | null;
4
- protected isDebugMode: boolean;
5
- protected userId: string | null;
6
- protected userAddress: string | null;
7
- protected userName: string | null;
8
- protected userLoginType: string | null;
9
- protected typeLabel: string | null;
10
- protected sdkVersion: string | null;
11
- protected l2Address: string | null;
12
- private isConfigured;
13
- private logQueue;
14
- private disableLogging;
15
- private readonly transport;
16
- constructor(transport: LogTransport);
17
- private getFunLogEnv;
18
- /** Merge caller data with the logger's resolved context for the transport. */
19
- private buildLogContext;
20
- private processLog;
21
- private onDebug;
22
- private onInfo;
23
- private onWarn;
24
- private onError;
25
- private extractError;
26
- /**========================
27
- * PUBLIC LOGGER FUNCTIONS
28
- *=========================*/
29
- log(title: string, data?: object): void;
30
- info(title: string, data?: object): void;
31
- debug(title: string, data?: object): void;
32
- warn(title: string, data?: object): void;
33
- /**
34
- * @param errorOrData -
35
- * Previously was called "error" but since in the {@link Logger} interface, error is defined as object (which is the same thing as "any"), we treat it as of unknown type here for safety.
36
- * In a lot of places it's actually being used as a "data" prop, which also usually has an `.error` property representing an actual {@link Error} object.
37
- */
38
- error(title: string, errorOrData: unknown, _data?: object): void;
39
- private flushLogQueue;
40
- configure(apiKey: string | null, isDebug: boolean, sdkVersion: string, disableLogging?: boolean): void;
41
- getUserId(): string | null;
42
- getUserAddress(): string | null;
43
- getUserName(): string | null;
44
- getUserLoginType(): string | null;
45
- getTypeLabel(): string | null;
46
- getL2Address(): string | null;
47
- setUserInfo(userId: string, userAddress: string, userName: string, userLoginType: string, typeLabel: string, l2Address?: string): void;
48
- }
49
- /**===============================
50
- * INITIALIZATION
51
- *================================*/
1
+ import { FunLogger } from '@funkit/connect-core';
52
2
  declare const logger: FunLogger;
53
3
  export { logger, FunLogger };
@@ -1,4 +1,4 @@
1
- import fallbackFeatureGates from '../../__generated__/default_feature_gates';
1
+ import { defaultFeatureGates as fallbackFeatureGates } from '@funkit/connect-core';
2
2
  type FeatureGateName = keyof typeof fallbackFeatureGates;
3
3
  /**
4
4
  * Synchronous, non-hook variant of {@link useFeatureGate}. Reads the gate
@@ -9,7 +9,7 @@ export declare function resolveObjectCssVars<T extends object>(obj: T): T;
9
9
  * touch the DOM, so it is safe to share across platforms. The returned values
10
10
  * may still contain `var(...)` / `calc(var(...))` references: web callers must
11
11
  * resolve them with {@link resolveObjectCssVars} before sending to the Swapped
12
- * embed, while RN passes already-concrete values from `useFunkitTheme()`.
12
+ * embed; non-web callers must pass already-concrete values.
13
13
  */
14
14
  export declare function buildSwappedTheme(theme: ThemeVars & {
15
15
  customFontFamily?: {
@@ -21,6 +21,6 @@ export declare function buildSwappedTheme(theme: ThemeVars & {
21
21
  * Maps a *resolved* ThemeVars into Swapped's theme query params. Pure — it does
22
22
  * not touch the DOM. Web callers must pass a theme whose CSS vars are already
23
23
  * resolved (via {@link resolveObjectCssVars}) so colors are concrete hex and the
24
- * leading `#` can be stripped; RN passes concrete values from `useFunkitTheme()`.
24
+ * leading `#` can be stripped; non-web callers must pass concrete values.
25
25
  */
26
26
  export declare function buildSwappedThemeQueryParams(resolvedTheme: ThemeVars): Record<string, string>;
@@ -31,6 +31,12 @@ export declare function toDisplayNumber(amount: Dnum): number;
31
31
  * @example floorToDecimals(6.999, 2) → 6.99
32
32
  */
33
33
  export declare function floorToDecimals(value: number, decimals: number): number;
34
+ /**
35
+ * Format a USD balance floored to the cent (`196.867461` → `"$196.86"`) so the
36
+ * display never overstates what the user holds — plain 2-decimal currency
37
+ * formatting would round `196.867461` *up* to `$196.87`.
38
+ */
39
+ export declare function formatUsdFlooredToCent(balanceUsd: number): string;
34
40
  /**
35
41
  * Compare two token amounts. Returns true if a > b.
36
42
  * Handles different decimal representations.
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-4T6ZSRJF.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-IULPZP2Q.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-CPI4TD43.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-TKB2OY6G.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-F5XEEVG6.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-OX37G4YT.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-UK7C2JXW.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-OEEGYENV.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-6BW3HLBG.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-WAHGI5L7.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-RB3HR4R2.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-4NV5BYRP.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-MIQTHJ6X.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-GUQM4QSL.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-YEZM4CK4.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-AVDUNQUW.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-HNRB7KJU.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-JPN6TWIT.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  gateWallet
@@ -1,25 +1,22 @@
1
1
  "use client";
2
- import {
3
- zealWallet
4
- } from "./chunk-52QXXLDS.js";
5
2
  import {
6
3
  zerionWallet
7
- } from "./chunk-RVOY537T.js";
4
+ } from "./chunk-SWFF3TWJ.js";
5
+ import {
6
+ safeheronWallet
7
+ } from "./chunk-76S7R2ND.js";
8
8
  import {
9
9
  talismanWallet
10
10
  } from "./chunk-4DCO3TGL.js";
11
11
  import {
12
12
  tokenPocketWallet
13
- } from "./chunk-HTHAK6XB.js";
13
+ } from "./chunk-WKNQMP4A.js";
14
14
  import {
15
15
  tokenaryWallet
16
16
  } from "./chunk-VH3THHJY.js";
17
17
  import {
18
18
  trustWallet
19
- } from "./chunk-ZNX4EMPB.js";
20
- import {
21
- ramperWallet
22
- } from "./chunk-OQB55QXP.js";
19
+ } from "./chunk-KCRO2AGO.js";
23
20
  import {
24
21
  uniswapWallet
25
22
  } from "./chunk-Z3PPW6NC.js";
@@ -30,59 +27,59 @@ import {
30
27
  xdefiWallet
31
28
  } from "./chunk-JN5I3DNC.js";
32
29
  import {
33
- oneKeyWallet
34
- } from "./chunk-WVT6BBJH.js";
30
+ zealWallet
31
+ } from "./chunk-52QXXLDS.js";
32
+ import {
33
+ rabbyWallet
34
+ } from "./chunk-RB66PKPA.js";
35
35
  import {
36
36
  rainbowWallet
37
- } from "./chunk-2VP2F6EK.js";
37
+ } from "./chunk-W2LCLDPX.js";
38
+ import {
39
+ ramperWallet
40
+ } from "./chunk-OQB55QXP.js";
38
41
  import {
39
42
  roninWallet
40
- } from "./chunk-VAPGUPHO.js";
43
+ } from "./chunk-YQFGVZGR.js";
41
44
  import {
42
45
  safeWallet
43
46
  } from "./chunk-RCY66YHF.js";
44
- import {
45
- safeheronWallet
46
- } from "./chunk-76S7R2ND.js";
47
47
  import {
48
48
  safepalWallet
49
- } from "./chunk-VTM6EECM.js";
49
+ } from "./chunk-XCNHV3HS.js";
50
50
  import {
51
51
  subWallet
52
- } from "./chunk-X6CGV36L.js";
52
+ } from "./chunk-NR2OGDHQ.js";
53
53
  import {
54
54
  tahoWallet
55
55
  } from "./chunk-7ZYCBDQ4.js";
56
56
  import {
57
57
  metaMaskWallet
58
- } from "./chunk-CCQV2ZET.js";
58
+ } from "./chunk-YO2K4MBH.js";
59
+ import {
60
+ mewWallet
61
+ } from "./chunk-MQM45ADF.js";
59
62
  import {
60
63
  oktoWallet
61
64
  } from "./chunk-YWOVAU6O.js";
62
65
  import {
63
66
  okxWallet
64
- } from "./chunk-STVVP43G.js";
65
- import {
66
- mewWallet
67
- } from "./chunk-MQM45ADF.js";
67
+ } from "./chunk-KI5Y2BBF.js";
68
68
  import {
69
69
  omniWallet
70
70
  } from "./chunk-2CX7LX4J.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
- import {
78
- rabbyWallet
79
- } from "./chunk-RB66PKPA.js";
80
- import {
81
- coin98Wallet
82
- } from "./chunk-6BW3HLBG.js";
83
80
  import {
84
81
  foxWallet
85
- } from "./chunk-MIQTHJ6X.js";
82
+ } from "./chunk-GUQM4QSL.js";
86
83
  import {
87
84
  frameWallet
88
85
  } from "./chunk-BU3ZAT5X.js";
@@ -91,7 +88,10 @@ import {
91
88
  } from "./chunk-WNAGGFMG.js";
92
89
  import {
93
90
  gateWallet
94
- } from "./chunk-HNRB7KJU.js";
91
+ } from "./chunk-JPN6TWIT.js";
92
+ import {
93
+ frontierWallet
94
+ } from "./chunk-AVDUNQUW.js";
95
95
  import {
96
96
  injectedWallet
97
97
  } from "./chunk-T6LGKC3F.js";
@@ -103,16 +103,16 @@ import {
103
103
  } from "./chunk-RPV27V2Y.js";
104
104
  import {
105
105
  clvWallet
106
- } from "./chunk-UK7C2JXW.js";
106
+ } from "./chunk-OEEGYENV.js";
107
107
  import {
108
108
  coinbaseWallet
109
109
  } from "./chunk-2DLDAZRH.js";
110
- import {
111
- braveWallet
112
- } from "./chunk-DS73TZ6O.js";
113
110
  import {
114
111
  coreWallet
115
- } from "./chunk-RB3HR4R2.js";
112
+ } from "./chunk-4NV5BYRP.js";
113
+ import {
114
+ bloomWallet
115
+ } from "./chunk-PJ7Y57EH.js";
116
116
  import {
117
117
  dawnWallet
118
118
  } from "./chunk-G2PHTVL6.js";
@@ -123,14 +123,17 @@ import {
123
123
  desigWallet
124
124
  } from "./chunk-FW3WZETT.js";
125
125
  import {
126
- frontierWallet
127
- } from "./chunk-YEZM4CK4.js";
128
- import {
129
- bitgetWallet
130
- } from "./chunk-CPI4TD43.js";
126
+ coin98Wallet
127
+ } from "./chunk-WAHGI5L7.js";
131
128
  import {
132
129
  argentWallet
133
130
  } from "./chunk-NTMBEOR2.js";
131
+ import {
132
+ bifrostWallet
133
+ } from "./chunk-IULPZP2Q.js";
134
+ import {
135
+ bitgetWallet
136
+ } from "./chunk-TKB2OY6G.js";
134
137
  import {
135
138
  bitskiWallet
136
139
  } from "./chunk-7HRFUZFX.js";
@@ -138,16 +141,13 @@ import {
138
141
  bitverseWallet
139
142
  } from "./chunk-NSK6A7TI.js";
140
143
  import {
141
- bifrostWallet
142
- } from "./chunk-4T6ZSRJF.js";
143
- import {
144
- bloomWallet
145
- } from "./chunk-PJ7Y57EH.js";
144
+ braveWallet
145
+ } from "./chunk-DS73TZ6O.js";
146
146
  import {
147
147
  bybitWallet
148
- } from "./chunk-F5XEEVG6.js";
149
- import "./chunk-OLZ7626J.js";
148
+ } from "./chunk-OX37G4YT.js";
150
149
  import "./chunk-N4IJLYFY.js";
150
+ import "./chunk-OLZ7626J.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-CCQV2ZET.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-YO2K4MBH.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-STVVP43G.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-KI5Y2BBF.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-2VP2F6EK.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-W2LCLDPX.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-VAPGUPHO.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-YQFGVZGR.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-VTM6EECM.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-XCNHV3HS.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-X6CGV36L.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-NR2OGDHQ.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-HTHAK6XB.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-WKNQMP4A.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-ZNX4EMPB.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-KCRO2AGO.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.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-RVOY537T.js";
5
- import "../chunk-OLZ7626J.js";
4
+ } from "../chunk-SWFF3TWJ.js";
6
5
  import "../chunk-N4IJLYFY.js";
6
+ import "../chunk-OLZ7626J.js";
7
7
  import "../chunk-IGKXZBTA.js";
8
8
  export {
9
9
  zerionWallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "9.19.0",
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/chains": "2.0.0",
115
- "@funkit/connect-core": "0.2.0",
116
- "@funkit/fun-relay": "2.8.0",
117
- "@funkit/utils": "3.0.2"
114
+ "@funkit/api-base": "4.5.1",
115
+ "@funkit/chains": "2.1.0",
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",