@funkit/connect 6.0.5 → 6.0.7

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.
@@ -1,11 +1,10 @@
1
1
  import React from 'react';
2
2
  import type { FunkitActiveCheckoutItem } from '~/providers/FunkitCheckoutContext';
3
3
  interface DisclaimerTextProps {
4
- showDydxDisclaimer: boolean;
5
4
  checkoutItem: FunkitActiveCheckoutItem | null;
6
5
  continueText: string;
7
6
  isCardPayment?: boolean;
8
7
  finalConvertedAssetName?: string;
9
8
  }
10
- export declare const DisclaimerText: ({ showDydxDisclaimer, continueText, isCardPayment, finalConvertedAssetName, checkoutItem, }: DisclaimerTextProps) => React.JSX.Element;
9
+ export declare const DisclaimerText: ({ continueText, isCardPayment, finalConvertedAssetName, checkoutItem, }: DisclaimerTextProps) => React.JSX.Element;
11
10
  export {};
@@ -52,7 +52,6 @@ export declare const useActiveTheme: () => {
52
52
  mediumStroke: string;
53
53
  heavyStroke: string;
54
54
  strokeColor: string;
55
- dydxSwitchActiveBackground: string;
56
55
  primaryText: string;
57
56
  secondaryText: string;
58
57
  tertiaryText: string;
@@ -266,7 +265,6 @@ export declare const useActiveTheme: () => {
266
265
  mediumStroke: string;
267
266
  heavyStroke: string;
268
267
  strokeColor: string;
269
- dydxSwitchActiveBackground: string;
270
268
  primaryText: string;
271
269
  secondaryText: string;
272
270
  tertiaryText: string;
@@ -478,7 +476,6 @@ export declare const useActiveTheme: () => {
478
476
  mediumStroke: string;
479
477
  heavyStroke: string;
480
478
  strokeColor: string;
481
- dydxSwitchActiveBackground: string;
482
479
  primaryText: string;
483
480
  secondaryText: string;
484
481
  tertiaryText: string;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  darkTheme
4
- } from "../chunk-VQOGHHW2.js";
4
+ } from "../chunk-WDHT73AM.js";
5
5
  import "../chunk-7HKC2KCK.js";
6
6
  export {
7
7
  darkTheme
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  lightTheme
4
- } from "../chunk-ZAZGUX6Z.js";
4
+ } from "../chunk-ZDHRMKMT.js";
5
5
  import "../chunk-7HKC2KCK.js";
6
6
  export {
7
7
  lightTheme
@@ -1,11 +1,5 @@
1
1
  import type { FunkitTextCustomizationsConfig } from '../providers/FunkitConfigContext';
2
2
  export declare const getWalletLabel: (textCustomizations: FunkitTextCustomizationsConfig, walletAddress?: string) => string;
3
- /**
4
- * Replicated from @dydxprotocol/v4-client-js https://github.com/dydxprotocol/v4-clients/blob/main/v4-client-js/src/lib/validation.ts#L145C1-L158
5
- * Not importing the sdk in the interest of space.
6
- */
7
- export declare function verifyIsBech32(address: string): Error | undefined;
8
- export declare function isDydxAddress(address: string): boolean;
9
3
  export declare function isAddressSupported(address: string): boolean;
10
4
  /**
11
5
  * Check if the recipient address is compatible with selected chain
@@ -5,6 +5,6 @@ export declare const getNormalizedTokenBalance: (tokenBalance: bigint | number |
5
5
  *
6
6
  * @param {FunkitCheckoutConfig} checkoutConfig
7
7
  * @param mockedChains optional array of additional chains we want to replace with FALLBACK_CHAIN_ID
8
- * @returns targetChain either from the provided config or arbitrum chainId for dydxChain since that's a non evm chain processed with evm tech
8
+ * @returns targetChain either from the provided config or Base chainId for non-evm chains processed with evm tech
9
9
  */
10
10
  export declare const getMockedTargetChainId: ({ targetChain }: FunkitCheckoutConfig, mockedChains?: string[]) => string;
@@ -102,21 +102,14 @@ export declare const flagConfig: {
102
102
  max_checkout_usd: {
103
103
  type: "string";
104
104
  default_value: string;
105
- overrides: ({
106
- if_any: {
107
- key: "apiKey";
108
- type: "isAnyOf";
109
- values: string[];
110
- }[];
111
- value: string;
112
- } | {
105
+ overrides: {
113
106
  if_any: {
114
107
  key: "userId";
115
108
  type: "isAnyOf";
116
109
  values: string[];
117
110
  }[];
118
111
  value: string;
119
- })[];
112
+ }[];
120
113
  };
121
114
  enable_frog_proxy_server: {
122
115
  type: "boolean";
@@ -1,67 +1,67 @@
1
1
  "use client";
2
2
  import {
3
- zerionWallet
4
- } from "./chunk-SULRQO27.js";
3
+ zealWallet
4
+ } from "./chunk-RNBEDQHF.js";
5
5
  import {
6
6
  walletConnectWallet
7
7
  } from "./chunk-NP5QGWNL.js";
8
8
  import {
9
- xdefiWallet
10
- } from "./chunk-BOU4WKRZ.js";
9
+ zerionWallet
10
+ } from "./chunk-SULRQO27.js";
11
11
  import {
12
12
  tahoWallet
13
13
  } from "./chunk-ZZZRUXZE.js";
14
14
  import {
15
- tokenPocketWallet
16
- } from "./chunk-2L43XSW3.js";
15
+ talismanWallet
16
+ } from "./chunk-DRO6WYMM.js";
17
17
  import {
18
18
  subWallet
19
19
  } from "./chunk-JWFF4AAL.js";
20
+ import {
21
+ tokenPocketWallet
22
+ } from "./chunk-2L43XSW3.js";
20
23
  import {
21
24
  tokenaryWallet
22
25
  } from "./chunk-D6AOOO5F.js";
23
26
  import {
24
27
  trustWallet
25
28
  } from "./chunk-VYBAYMP3.js";
26
- import {
27
- talismanWallet
28
- } from "./chunk-DRO6WYMM.js";
29
29
  import {
30
30
  uniswapWallet
31
31
  } from "./chunk-LH7BMNFZ.js";
32
32
  import {
33
- zealWallet
34
- } from "./chunk-RNBEDQHF.js";
35
- import {
36
- omniWallet
37
- } from "./chunk-7CUY5G6R.js";
33
+ xdefiWallet
34
+ } from "./chunk-BOU4WKRZ.js";
38
35
  import {
39
36
  rainbowWallet
40
37
  } from "./chunk-2KUBG3S6.js";
38
+ import {
39
+ roninWallet
40
+ } from "./chunk-NWIQNBJU.js";
41
41
  import {
42
42
  rabbyWallet
43
43
  } from "./chunk-BBOM42DL.js";
44
44
  import {
45
- ramperWallet
46
- } from "./chunk-BYXPFMI7.js";
47
- import {
48
- safeWallet
49
- } from "./chunk-BQQQL6UD.js";
45
+ oneKeyWallet
46
+ } from "./chunk-SHBUZ7U7.js";
50
47
  import {
51
48
  safeheronWallet
52
49
  } from "./chunk-RZIO5TFF.js";
53
50
  import {
54
- roninWallet
55
- } from "./chunk-NWIQNBJU.js";
51
+ safeWallet
52
+ } from "./chunk-BQQQL6UD.js";
53
+ import {
54
+ ramperWallet
55
+ } from "./chunk-BYXPFMI7.js";
56
56
  import {
57
57
  safepalWallet
58
58
  } from "./chunk-NT2HYJKW.js";
59
- import {
60
- ledgerWallet
61
- } from "./chunk-BRBKM4PW.js";
62
59
  import {
63
60
  metaMaskWallet
64
61
  } from "./chunk-2HYNUNAS.js";
62
+ import {
63
+ ledgerWallet
64
+ } from "./chunk-BRBKM4PW.js";
65
65
  import {
66
66
  mewWallet
67
67
  } from "./chunk-OL5ZO7E4.js";
@@ -72,8 +72,8 @@ import {
72
72
  okxWallet
73
73
  } from "./chunk-TDIEHTMB.js";
74
74
  import {
75
- oneKeyWallet
76
- } from "./chunk-SHBUZ7U7.js";
75
+ omniWallet
76
+ } from "./chunk-7CUY5G6R.js";
77
77
  import {
78
78
  oneInchWallet
79
79
  } from "./chunk-OESTDX6I.js";
@@ -83,30 +83,30 @@ import {
83
83
  import {
84
84
  foxWallet
85
85
  } from "./chunk-7QONTUXT.js";
86
- import {
87
- frameWallet
88
- } from "./chunk-IFON7E6U.js";
89
86
  import {
90
87
  frontierWallet
91
88
  } from "./chunk-TCAGNB4B.js";
92
- import {
93
- imTokenWallet
94
- } from "./chunk-COZ7MIQS.js";
95
89
  import {
96
90
  gateWallet
97
91
  } from "./chunk-FKJJQNKX.js";
92
+ import {
93
+ frameWallet
94
+ } from "./chunk-IFON7E6U.js";
95
+ import {
96
+ imTokenWallet
97
+ } from "./chunk-COZ7MIQS.js";
98
98
  import {
99
99
  injectedWallet
100
100
  } from "./chunk-XWUJE7MW.js";
101
101
  import {
102
102
  kresusWallet
103
103
  } from "./chunk-MJXPRJZT.js";
104
- import {
105
- bybitWallet
106
- } from "./chunk-2STUC6QL.js";
107
104
  import {
108
105
  clvWallet
109
106
  } from "./chunk-M3NZ6R2E.js";
107
+ import {
108
+ bybitWallet
109
+ } from "./chunk-2STUC6QL.js";
110
110
  import {
111
111
  coin98Wallet
112
112
  } from "./chunk-OBOVHCEI.js";
@@ -116,30 +116,30 @@ import {
116
116
  import {
117
117
  coinbaseWallet
118
118
  } from "./chunk-H4IRCEZN.js";
119
+ import {
120
+ enkryptWallet
121
+ } from "./chunk-OLOIXTYS.js";
119
122
  import {
120
123
  desigWallet
121
124
  } from "./chunk-OPAZMNA7.js";
122
125
  import {
123
126
  dawnWallet
124
127
  } from "./chunk-HWPKCIBE.js";
125
- import {
126
- enkryptWallet
127
- } from "./chunk-OLOIXTYS.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
131
131
  import {
132
132
  bifrostWallet
133
133
  } from "./chunk-A5N6B5UW.js";
134
+ import {
135
+ bitskiWallet
136
+ } from "./chunk-HS3C7OQV.js";
134
137
  import {
135
138
  bitgetWallet
136
139
  } from "./chunk-TDAVGY5F.js";
137
140
  import {
138
141
  bitverseWallet
139
142
  } from "./chunk-3HZRRP4Y.js";
140
- import {
141
- bitskiWallet
142
- } from "./chunk-HS3C7OQV.js";
143
143
  import {
144
144
  bloomWallet
145
145
  } from "./chunk-S27IADFU.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.0.5",
3
+ "version": "6.0.7",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -89,12 +89,12 @@
89
89
  "ua-parser-js": "^1.0.37",
90
90
  "use-debounce": "^10.0.5",
91
91
  "uuid": "^9.0.1",
92
- "@funkit/api-base": "1.9.13",
93
- "@funkit/fun-relay": "1.0.1",
94
- "@funkit/chains": "0.3.7",
95
- "@funkit/wagmi-tools": "3.0.59",
92
+ "@funkit/core": "2.3.39",
96
93
  "@funkit/utils": "1.1.8",
97
- "@funkit/core": "2.3.37"
94
+ "@funkit/api-base": "1.9.15",
95
+ "@funkit/wagmi-tools": "3.0.61",
96
+ "@funkit/chains": "0.3.8",
97
+ "@funkit/fun-relay": "1.0.1"
98
98
  },
99
99
  "repository": {
100
100
  "type": "git",