@funkit/connect 5.5.17 → 5.5.18

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 (25) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/hooks/useEnabledTokenTransferChainTokens.d.ts +1 -1
  3. package/dist/hooks/useTokenChain.d.ts +1 -1
  4. package/dist/index.js +50 -40
  5. package/dist/utils/flags/config.d.ts +4 -0
  6. package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
  7. package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
  8. package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
  9. package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
  10. package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
  11. package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
  12. package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
  13. package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
  14. package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
  15. package/dist/wallets/walletConnectors/index.js +66 -66
  16. package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
  17. package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
  18. package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
  19. package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
  20. package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
  21. package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
  22. package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
  23. package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
  24. package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
  25. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @funkit/connect
2
2
 
3
+ ## 5.5.18
4
+
5
+ ### Patch Changes
6
+
7
+ - 0760c27: remove unused expiraed timestamp check
8
+ - c9b1932: feat(connect): enable solana withdrawal
9
+ - 68b9b72: feat(connect): add new tokens for solana, bsc, and optimism
10
+ - 1f8a9b0: unify back button location
11
+ - 5e346c3: fix(connect): fix 1px scrollbar
12
+ - a58eacb: revert(connect): remove solana withdraw tokens
13
+ - Updated dependencies [aaac891]
14
+ - Updated dependencies [620d5ca]
15
+ - @funkit/chains@0.3.4
16
+ - @funkit/fun-relay@0.1.11
17
+ - @funkit/core@2.3.31
18
+ - @funkit/wagmi-tools@3.0.53
19
+
3
20
  ## 5.5.17
4
21
 
5
22
  ### Patch Changes
@@ -1,3 +1,3 @@
1
1
  import type { CheckoutInitTokenTransferResponse } from '@funkit/api-base';
2
2
  import type { TokenTransferSourceChainsAndAssets } from '~/modals/CheckoutModal/TransferToken/TransferToken';
3
- export declare function useEnabledTokenTransferChainTokens(transferInit?: CheckoutInitTokenTransferResponse | null): TokenTransferSourceChainsAndAssets;
3
+ export declare function useEnabledTokenTransferChainTokens(transferInit?: CheckoutInitTokenTransferResponse | null, isWithdrawal?: boolean): TokenTransferSourceChainsAndAssets;
@@ -16,5 +16,5 @@ interface UseTokenChainResult {
16
16
  * ensures token&chain dropdown preselection logic is reusable
17
17
  * @param transferInit - used for chain&token solana filtering, can be omitted if not needed
18
18
  */
19
- export declare const useTokenAndChainSelection: (transferInit: CheckoutInitTokenTransferResponse | undefined, defaultValues?: TransferTokenDefault) => UseTokenChainResult;
19
+ export declare const useTokenAndChainSelection: (transferInit: CheckoutInitTokenTransferResponse | undefined, defaultValues?: TransferTokenDefault, isWithdrawal?: boolean) => UseTokenChainResult;
20
20
  export {};
package/dist/index.js CHANGED
@@ -2577,7 +2577,7 @@ var DEFAULT_BLOCKED_COUNTRIES = [
2577
2577
  "VE"
2578
2578
  // Venezuela
2579
2579
  ];
2580
- var QR_CODE_EVM = {
2580
+ var COMMON_SUPPORT_CHAINS_AND_ASSETS = {
2581
2581
  // mainnet
2582
2582
  1: ["USDC", "DAI", "USDT", "ETH", "WETH", "POL", "MATIC", "CBBTC"],
2583
2583
  // base
@@ -2587,10 +2587,20 @@ var QR_CODE_EVM = {
2587
2587
  // polygon
2588
2588
  137: ["USDC", "USDC.e", "USDT", "POL", "MATIC", "DAI", "WETH"]
2589
2589
  };
2590
+ var QR_CODE_EVM = {
2591
+ ...COMMON_SUPPORT_CHAINS_AND_ASSETS,
2592
+ // optimism
2593
+ 10: ["USDC", "USDT", "DAI", "ETH", "WETH"],
2594
+ // bsc
2595
+ 56: ["BNB", "WBNB", "ETH", "USDC", "USDT", "DAI", "BUSD", "BTCB"]
2596
+ };
2590
2597
  var QR_CODE_WITH_SOLANA = {
2591
2598
  ...QR_CODE_EVM,
2592
2599
  // solana - only enable once customers are on v5.0.11, anything prior will break
2593
- 1151111081099710: ["SOL", "USDC"]
2600
+ 1151111081099710: ["SOL", "USDC", "USDT", "TRUMP"]
2601
+ };
2602
+ var WITHDRAWAL_CHAINS_AND_ASSETS = {
2603
+ ...COMMON_SUPPORT_CHAINS_AND_ASSETS
2594
2604
  };
2595
2605
  var flagConfig = {
2596
2606
  [FlagKey.SupportedExchangesV2]: {
@@ -2738,6 +2748,10 @@ var flagConfig = {
2738
2748
  }
2739
2749
  ]
2740
2750
  },
2751
+ [FlagKey.WithdrawalChainsAndAssets]: {
2752
+ type: "string",
2753
+ default_value: JSON.stringify(WITHDRAWAL_CHAINS_AND_ASSETS)
2754
+ },
2741
2755
  [FlagKey.EnableTokenTransferUniversalDepositAddress]: {
2742
2756
  type: "boolean",
2743
2757
  default_value: true
@@ -2959,7 +2973,8 @@ var flagConfig = {
2959
2973
  42161: ["*"],
2960
2974
  10: ["*"],
2961
2975
  56: ["*"],
2962
- 747474: ["*"]
2976
+ 747474: ["*"],
2977
+ 999: ["*"]
2963
2978
  })
2964
2979
  },
2965
2980
  [FlagKey.RelayBypassTargetChainsAndAssets]: {
@@ -3000,7 +3015,12 @@ var flagConfig = {
3000
3015
  "0x476eaCd417cD65421bD34fca054377658BB5E02b"
3001
3016
  // YFI
3002
3017
  ],
3003
- 999: ["0x5555555555555555555555555555555555555555"]
3018
+ 999: ["*"],
3019
+ 1151111081099710: [
3020
+ "11111111111111111111111111111111",
3021
+ "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
3022
+ "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"
3023
+ ]
3004
3024
  })
3005
3025
  },
3006
3026
  [FlagKey.HelpTutorialUrl]: {
@@ -4026,8 +4046,6 @@ function isDydxAddress(address) {
4026
4046
  }
4027
4047
 
4028
4048
  // src/utils/checkout.ts
4029
- var CHECKOUT_EXPIRATION_TIMESTAMP_UPPERBOUND = 36e5;
4030
- var CHECKOUT_EXPIRATION_TIMESTAMP_LOWERBOUND = 3e5;
4031
4049
  var MOONPAY_TIME_ESTIMATE_MS = 12e4;
4032
4050
  var MESH_TIME_ESTIMATE_MS = 3e5;
4033
4051
  var BANK_TIME_ESTIMATE_MS = 0;
@@ -4049,18 +4067,6 @@ async function validateCheckoutConfig(config) {
4049
4067
  message: "Invalid targetAssetAmount configuration: Missing value, must be set for defi mode."
4050
4068
  };
4051
4069
  }
4052
- if (!config.expirationTimestampMs) {
4053
- return {
4054
- isValid: false,
4055
- message: "Invalid expirationTimestampMs configuration: Missing value."
4056
- };
4057
- }
4058
- if (config.expirationTimestampMs < CHECKOUT_EXPIRATION_TIMESTAMP_LOWERBOUND || config.expirationTimestampMs > CHECKOUT_EXPIRATION_TIMESTAMP_UPPERBOUND) {
4059
- return {
4060
- isValid: false,
4061
- message: `Invalid expirationTimestampMs configuration: Does not exist within bounds of ${CHECKOUT_EXPIRATION_TIMESTAMP_LOWERBOUND} and ${CHECKOUT_EXPIRATION_TIMESTAMP_UPPERBOUND}.`
4062
- };
4063
- }
4064
4070
  if (!config.targetChain) {
4065
4071
  return {
4066
4072
  isValid: false,
@@ -6887,7 +6893,7 @@ var useScrollDivider = () => {
6887
6893
  const handleScrollPositionChange = () => {
6888
6894
  const { scrollTop, scrollHeight, clientHeight } = content2;
6889
6895
  setIsTop(scrollTop === 0);
6890
- setIsScrollable(scrollHeight > clientHeight);
6896
+ setIsScrollable(scrollHeight > clientHeight + 1);
6891
6897
  };
6892
6898
  const onScrollChange = () => {
6893
6899
  handleScrollPositionChange();
@@ -8164,7 +8170,7 @@ var DialogContent = ({
8164
8170
  withoutInternalPadding = false,
8165
8171
  ...boxProps
8166
8172
  }) => {
8167
- const { ref, hasTopDivider, hasBottomDivider, isScrolling } = useScrollDivider();
8173
+ const { ref, hasTopDivider, hasBottomDivider, isScrollable, isScrolling } = useScrollDivider();
8168
8174
  const paddingRight = withoutInternalPadding ? 0 : Number(boxProps.paddingRight ?? paddingLeft) - // Discount scrollbar width, except on Safari
8169
8175
  (isSafari() ? 0 : SCROLL_BAR_WIDTH);
8170
8176
  const displayTopDivider = withTopDivider !== "never" && (withTopDivider === "always" || hasTopDivider) && !withoutInternalPadding;
@@ -8195,7 +8201,11 @@ var DialogContent = ({
8195
8201
  !isScrolling && scrollbarHidden
8196
8202
  ),
8197
8203
  ...boxProps,
8198
- style: { paddingRight, flex: "1 1 auto" },
8204
+ style: {
8205
+ paddingRight,
8206
+ flex: "1 1 auto",
8207
+ overflowY: isScrollable ? "auto" : "hidden"
8208
+ },
8199
8209
  id
8200
8210
  },
8201
8211
  children
@@ -11378,9 +11388,11 @@ function useIsUsKatanaUser() {
11378
11388
  }
11379
11389
 
11380
11390
  // src/hooks/useEnabledTokenTransferChainTokens.ts
11381
- function useEnabledTokenTransferChainTokens(transferInit) {
11391
+ function useEnabledTokenTransferChainTokens(transferInit, isWithdrawal) {
11382
11392
  const isBankrUsUser = useIsUsBankrUser();
11383
- const assetsJsonString = useFlag(FlagKey11.TokenTransferSourceChainsAndAssets);
11393
+ const depositAssets = useFlag(FlagKey11.TokenTransferSourceChainsAndAssets);
11394
+ const withdrawalAssets = useFlag(FlagKey11.WithdrawalChainsAndAssets);
11395
+ const assetsJsonString = isWithdrawal ? withdrawalAssets : depositAssets;
11384
11396
  const assets = safeJSONParse(assetsJsonString);
11385
11397
  if (!assets) return {};
11386
11398
  const hasSolanaAddress = !!transferInit?.solanaAddr;
@@ -11388,7 +11400,7 @@ function useEnabledTokenTransferChainTokens(transferInit) {
11388
11400
  (acc, curChainIdString) => {
11389
11401
  const chainId = Number(curChainIdString);
11390
11402
  const isSolana = chainId === solanaChain.id;
11391
- if (isSolana && transferInit !== void 0 && !hasSolanaAddress) {
11403
+ if (isSolana && !hasSolanaAddress && !isWithdrawal) {
11392
11404
  return acc;
11393
11405
  }
11394
11406
  if (isBankrUsUser && chainId !== base4.id) {
@@ -11404,9 +11416,10 @@ function useEnabledTokenTransferChainTokens(transferInit) {
11404
11416
  }
11405
11417
 
11406
11418
  // src/hooks/useTokenChain.ts
11407
- var useTokenAndChainSelection = (transferInit, defaultValues) => {
11419
+ var useTokenAndChainSelection = (transferInit, defaultValues, isWithdrawal) => {
11408
11420
  const filteredAssets = useEnabledTokenTransferChainTokens(
11409
- transferInit ?? null
11421
+ transferInit ?? null,
11422
+ isWithdrawal
11410
11423
  );
11411
11424
  const defaultChainIdFlag = useFlag(FlagKey12.TokenTransferDefaultChainId);
11412
11425
  const defaultChainId = defaultValues?.chainId ?? Number(defaultChainIdFlag);
@@ -12007,19 +12020,16 @@ function useWithdrawalAssets(config) {
12007
12020
  handleChainChange,
12008
12021
  selectedToken,
12009
12022
  handleTokenChange
12010
- } = useTokenAndChainSelection(void 0, {
12011
- chainId: Number.parseInt(config.sourceChainId),
12012
- token: config.sourceTokenSymbol
12013
- });
12023
+ } = useTokenAndChainSelection(
12024
+ void 0,
12025
+ {
12026
+ chainId: Number.parseInt(config.sourceChainId),
12027
+ token: config.sourceTokenSymbol
12028
+ },
12029
+ true
12030
+ );
12014
12031
  const excludedTokenStr = useFlag(FlagKey15.WithdrawalExcludeTokens);
12015
12032
  const excludedTokens = safeJSONParse(excludedTokenStr);
12016
- const excludedChainIds = useFlag(FlagKey15.WithdrawalExcludeChains);
12017
- const excludedChainIdsArray = safeJSONParse(excludedChainIds);
12018
- if (excludedChainIdsArray && !!excludedChainIdsArray?.length) {
12019
- for (const chainId of excludedChainIdsArray) {
12020
- delete assets[chainId];
12021
- }
12022
- }
12023
12033
  if (excludedTokens) {
12024
12034
  for (const chainIdStr of Object.keys(excludedTokens)) {
12025
12035
  const chainId = Number.parseInt(chainIdStr);
@@ -24853,7 +24863,7 @@ var getMaxSlippage = (sourceToken, targetToken, isSameChain) => {
24853
24863
  // src/modals/CheckoutModal/TransferToken/TransferToken.tsx
24854
24864
  var TransferTokenInfo = {
24855
24865
  Component: TransferToken,
24856
- disableBack: ({ apiKey, state }) => !isOstiumCustomer(apiKey) && !state.newUser,
24866
+ disableBack: ({ apiKey, state, isDefiMode }) => !isDefiMode && !isOstiumCustomer(apiKey) && !state.newUser,
24857
24867
  onNext: (state) => {
24858
24868
  const common = extractCommonState(state);
24859
24869
  return {
@@ -24936,7 +24946,7 @@ function TransferToken({
24936
24946
  justifyContent: "center",
24937
24947
  gap: "18"
24938
24948
  },
24939
- (!isDefiMode || !isOstiumCustomer(apiKey) && !newUser) && /* @__PURE__ */ React209.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React209.createElement(
24949
+ !isDefiMode && !isOstiumCustomer(apiKey) && !newUser && /* @__PURE__ */ React209.createElement(Box, { display: "flex", flexDirection: "column", width: "full" }, /* @__PURE__ */ React209.createElement(
24940
24950
  SourcePaymentMethodItem,
24941
24951
  {
24942
24952
  type: "token_transfer" /* TOKEN_TRANSFER */,
@@ -32104,7 +32114,7 @@ function setFunkitConnectVersion({ version }) {
32104
32114
  localStorage.setItem(storageKey5, version);
32105
32115
  }
32106
32116
  function getCurrentSdkVersion() {
32107
- return "5.5.17";
32117
+ return "5.5.18";
32108
32118
  }
32109
32119
  function useFingerprint() {
32110
32120
  const fingerprint = useCallback50(() => {
@@ -74,6 +74,10 @@ export declare const flagConfig: {
74
74
  }[];
75
75
  }[];
76
76
  };
77
+ withdrawal_chains_and_assets: {
78
+ type: "string";
79
+ default_value: string;
80
+ };
77
81
  enable_token_transfer_universal_deposit_address: {
78
82
  type: "boolean";
79
83
  default_value: true;
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bifrostWallet
4
- } from "../chunk-W6N74MS3.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-545L7Y4M.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  bifrostWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bitgetWallet
4
- } from "../chunk-A5APNTGL.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-7GSNBOD3.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  bitgetWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  bybitWallet
4
- } from "../chunk-6ONTSPEY.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-W5O4YSZN.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  bybitWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  clvWallet
4
- } from "../chunk-KR6JBW5E.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-LEXSM5KI.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  clvWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coin98Wallet
4
- } from "../chunk-DTRYS3MO.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-KFFJPS5R.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  coin98Wallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  coreWallet
4
- } from "../chunk-HBA36GW3.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-JXP2QPW7.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  coreWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  foxWallet
4
- } from "../chunk-LMZMXEXL.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-XYBEMO3C.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  foxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  frontierWallet
4
- } from "../chunk-3S2U24BJ.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-HKV7EMYZ.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  frontierWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  gateWallet
4
- } from "../chunk-GSOYKKIS.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-3NC26XLM.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  gateWallet
9
9
  };
@@ -1,97 +1,97 @@
1
1
  "use client";
2
+ import {
3
+ uniswapWallet
4
+ } from "./chunk-LH7BMNFZ.js";
2
5
  import {
3
6
  xdefiWallet
4
7
  } from "./chunk-NO7XMBB5.js";
5
- import {
6
- zealWallet
7
- } from "./chunk-JROWU5BP.js";
8
8
  import {
9
9
  zerionWallet
10
- } from "./chunk-AXWP3GD4.js";
10
+ } from "./chunk-ETTNDQQG.js";
11
11
  import {
12
- subWallet
13
- } from "./chunk-AD2KIJB6.js";
14
- import {
15
- safeheronWallet
16
- } from "./chunk-R6RWZRFF.js";
12
+ safepalWallet
13
+ } from "./chunk-6LPM6LUQ.js";
17
14
  import {
18
15
  talismanWallet
19
16
  } from "./chunk-ABFSXBE6.js";
20
17
  import {
21
- tokenPocketWallet
22
- } from "./chunk-IDKVN5CF.js";
18
+ tahoWallet
19
+ } from "./chunk-6P2EMPZI.js";
23
20
  import {
24
- tokenaryWallet
25
- } from "./chunk-SLOIIJGP.js";
21
+ tokenPocketWallet
22
+ } from "./chunk-FRGSRLTS.js";
26
23
  import {
27
24
  trustWallet
28
- } from "./chunk-ISIBREBO.js";
25
+ } from "./chunk-IPOC2VJX.js";
29
26
  import {
30
- uniswapWallet
31
- } from "./chunk-LH7BMNFZ.js";
27
+ tokenaryWallet
28
+ } from "./chunk-SLOIIJGP.js";
32
29
  import {
33
30
  walletConnectWallet
34
31
  } from "./chunk-NP5QGWNL.js";
35
32
  import {
36
- phantomWallet
37
- } from "./chunk-ZSVTX6EK.js";
33
+ zealWallet
34
+ } from "./chunk-JROWU5BP.js";
38
35
  import {
39
36
  rabbyWallet
40
37
  } from "./chunk-BVX4XGNP.js";
41
38
  import {
42
39
  rainbowWallet
43
- } from "./chunk-2UCNRD7H.js";
40
+ } from "./chunk-MOOBCMMB.js";
41
+ import {
42
+ oneKeyWallet
43
+ } from "./chunk-4AD7VI2P.js";
44
+ import {
45
+ roninWallet
46
+ } from "./chunk-25VW5TZP.js";
44
47
  import {
45
48
  ramperWallet
46
49
  } from "./chunk-PIUNLQJG.js";
47
50
  import {
48
- roninWallet
49
- } from "./chunk-63YLN6R5.js";
51
+ safeheronWallet
52
+ } from "./chunk-R6RWZRFF.js";
50
53
  import {
51
54
  safeWallet
52
55
  } from "./chunk-BQQQL6UD.js";
53
56
  import {
54
- tahoWallet
55
- } from "./chunk-6P2EMPZI.js";
56
- import {
57
- safepalWallet
58
- } from "./chunk-MSFKSQBY.js";
57
+ subWallet
58
+ } from "./chunk-4UM4GTKZ.js";
59
59
  import {
60
60
  metaMaskWallet
61
- } from "./chunk-G73C6P5P.js";
62
- import {
63
- ledgerWallet
64
- } from "./chunk-BRBKM4PW.js";
65
- import {
66
- oktoWallet
67
- } from "./chunk-ADIXAKUL.js";
61
+ } from "./chunk-N2NIIUW6.js";
68
62
  import {
69
63
  mewWallet
70
64
  } from "./chunk-V57WLZEE.js";
71
65
  import {
72
- okxWallet
73
- } from "./chunk-4WEHDI4Y.js";
66
+ kresusWallet
67
+ } from "./chunk-MJXPRJZT.js";
74
68
  import {
75
- omniWallet
76
- } from "./chunk-7CUY5G6R.js";
69
+ okxWallet
70
+ } from "./chunk-3U3BMEH5.js";
77
71
  import {
78
72
  oneInchWallet
79
73
  } from "./chunk-OESTDX6I.js";
80
74
  import {
81
- oneKeyWallet
82
- } from "./chunk-4AD7VI2P.js";
75
+ omniWallet
76
+ } from "./chunk-7CUY5G6R.js";
83
77
  import {
84
- foxWallet
85
- } from "./chunk-LMZMXEXL.js";
78
+ oktoWallet
79
+ } from "./chunk-ADIXAKUL.js";
80
+ import {
81
+ phantomWallet
82
+ } from "./chunk-ZSVTX6EK.js";
86
83
  import {
87
84
  frameWallet
88
85
  } from "./chunk-ZMYVTWDF.js";
89
- import {
90
- frontierWallet
91
- } from "./chunk-3S2U24BJ.js";
92
86
  import {
93
87
  gateWallet
94
- } from "./chunk-GSOYKKIS.js";
88
+ } from "./chunk-3NC26XLM.js";
89
+ import {
90
+ coin98Wallet
91
+ } from "./chunk-KFFJPS5R.js";
92
+ import {
93
+ frontierWallet
94
+ } from "./chunk-HKV7EMYZ.js";
95
95
  import {
96
96
  imTokenWallet
97
97
  } from "./chunk-COZ7MIQS.js";
@@ -99,55 +99,55 @@ import {
99
99
  injectedWallet
100
100
  } from "./chunk-VCVVV2K7.js";
101
101
  import {
102
- kresusWallet
103
- } from "./chunk-MJXPRJZT.js";
104
- import {
105
- bybitWallet
106
- } from "./chunk-6ONTSPEY.js";
102
+ ledgerWallet
103
+ } from "./chunk-BRBKM4PW.js";
107
104
  import {
108
105
  clvWallet
109
- } from "./chunk-KR6JBW5E.js";
106
+ } from "./chunk-LEXSM5KI.js";
110
107
  import {
111
- coin98Wallet
112
- } from "./chunk-DTRYS3MO.js";
108
+ bybitWallet
109
+ } from "./chunk-W5O4YSZN.js";
110
+ import {
111
+ coreWallet
112
+ } from "./chunk-JXP2QPW7.js";
113
113
  import {
114
114
  coinbaseWallet
115
115
  } from "./chunk-H4IRCEZN.js";
116
116
  import {
117
117
  dawnWallet
118
118
  } from "./chunk-LN7OD5EC.js";
119
- import {
120
- coreWallet
121
- } from "./chunk-HBA36GW3.js";
122
119
  import {
123
120
  desigWallet
124
121
  } from "./chunk-CTU6JCOK.js";
122
+ import {
123
+ foxWallet
124
+ } from "./chunk-XYBEMO3C.js";
125
125
  import {
126
126
  enkryptWallet
127
127
  } from "./chunk-SJTXS4ZW.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
131
- import {
132
- bifrostWallet
133
- } from "./chunk-W6N74MS3.js";
134
- import {
135
- bitverseWallet
136
- } from "./chunk-3HZRRP4Y.js";
137
- import {
138
- bitgetWallet
139
- } from "./chunk-A5APNTGL.js";
140
131
  import {
141
132
  bitskiWallet
142
133
  } from "./chunk-P74YPRF6.js";
143
134
  import {
144
135
  bloomWallet
145
136
  } from "./chunk-S27IADFU.js";
146
- import "./chunk-23WIEY36.js";
147
137
  import {
148
138
  braveWallet
149
139
  } from "./chunk-PB254NQ4.js";
140
+ import {
141
+ bitgetWallet
142
+ } from "./chunk-7GSNBOD3.js";
143
+ import {
144
+ bitverseWallet
145
+ } from "./chunk-3HZRRP4Y.js";
146
+ import {
147
+ bifrostWallet
148
+ } from "./chunk-545L7Y4M.js";
150
149
  import "./chunk-WRA2DVJ7.js";
150
+ import "./chunk-23WIEY36.js";
151
151
  export {
152
152
  argentWallet,
153
153
  bifrostWallet,
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  metaMaskWallet
4
- } from "../chunk-G73C6P5P.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-N2NIIUW6.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  metaMaskWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  okxWallet
4
- } from "../chunk-4WEHDI4Y.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-3U3BMEH5.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  okxWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  rainbowWallet
4
- } from "../chunk-2UCNRD7H.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-MOOBCMMB.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  rainbowWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  roninWallet
4
- } from "../chunk-63YLN6R5.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-25VW5TZP.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  roninWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  safepalWallet
4
- } from "../chunk-MSFKSQBY.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-6LPM6LUQ.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  safepalWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  subWallet
4
- } from "../chunk-AD2KIJB6.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-4UM4GTKZ.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  subWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  tokenPocketWallet
4
- } from "../chunk-IDKVN5CF.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-FRGSRLTS.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  tokenPocketWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  trustWallet
4
- } from "../chunk-ISIBREBO.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-IPOC2VJX.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  trustWallet
9
9
  };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  zerionWallet
4
- } from "../chunk-AXWP3GD4.js";
5
- import "../chunk-23WIEY36.js";
4
+ } from "../chunk-ETTNDQQG.js";
6
5
  import "../chunk-WRA2DVJ7.js";
6
+ import "../chunk-23WIEY36.js";
7
7
  export {
8
8
  zerionWallet
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "5.5.17",
3
+ "version": "5.5.18",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -89,11 +89,11 @@
89
89
  "use-debounce": "^10.0.5",
90
90
  "uuid": "^9.0.1",
91
91
  "@funkit/api-base": "1.9.8",
92
+ "@funkit/core": "2.3.31",
92
93
  "@funkit/utils": "1.1.6",
93
- "@funkit/chains": "0.3.3",
94
- "@funkit/fun-relay": "0.1.10",
95
- "@funkit/core": "2.3.30",
96
- "@funkit/wagmi-tools": "3.0.52"
94
+ "@funkit/wagmi-tools": "3.0.53",
95
+ "@funkit/fun-relay": "0.1.11",
96
+ "@funkit/chains": "0.3.4"
97
97
  },
98
98
  "repository": {
99
99
  "type": "git",