@funkit/connect 6.1.0 → 6.2.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.
@@ -12,5 +12,8 @@ interface InputAmountLoadedProps extends ModalStepComponentProps<FunCheckoutStep
12
12
  defaultFiatCurrency?: string;
13
13
  textCustomizations: FunkitTextCustomizationsConfig['confirmationScreen'];
14
14
  }
15
+ export declare function openMeldPopup(linkGetter: () => Promise<{
16
+ widgetUrl: string;
17
+ }>): Promise<void>;
15
18
  export declare function InputAmountLoaded({ checkoutConfig, modalState, onNext, sourceHolding, unitPrice, defaultFiatCurrency, textCustomizations, }: InputAmountLoadedProps): React.JSX.Element;
16
19
  export {};
@@ -34,31 +34,14 @@ export declare const flagConfig: {
34
34
  enable_token_transfer: {
35
35
  type: "boolean";
36
36
  default_value: false;
37
- overrides: ({
37
+ overrides: {
38
38
  if_any: {
39
39
  key: "apiKey";
40
40
  type: "isAnyOf";
41
41
  values: string[];
42
42
  }[];
43
43
  value: true;
44
- if_all?: undefined;
45
- } | {
46
- if_all: ({
47
- key: "userId";
48
- type: "isAnyOf";
49
- values: string[];
50
- } | {
51
- key: "apiKey";
52
- type: "isAnyOf";
53
- values: string[];
54
- })[];
55
- if_any: {
56
- key: "userId";
57
- type: "pctRollout";
58
- pct: number;
59
- }[];
60
- value: true;
61
- })[];
44
+ }[];
62
45
  };
63
46
  enable_fiat_deposit: {
64
47
  type: "boolean";
@@ -260,14 +243,6 @@ export declare const flagConfig: {
260
243
  }[];
261
244
  value: true;
262
245
  if_all?: undefined;
263
- } | {
264
- if_any: {
265
- key: "apiKey";
266
- type: "isAnyOf";
267
- values: string[];
268
- }[];
269
- value: false;
270
- if_all?: undefined;
271
246
  } | {
272
247
  if_any: {
273
248
  key: "userId";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
- xdefiWallet
4
- } from "./chunk-BOU4WKRZ.js";
3
+ walletConnectWallet
4
+ } from "./chunk-NP5QGWNL.js";
5
5
  import {
6
6
  zerionWallet
7
7
  } from "./chunk-SULRQO27.js";
@@ -9,14 +9,14 @@ import {
9
9
  zealWallet
10
10
  } from "./chunk-RNBEDQHF.js";
11
11
  import {
12
- tahoWallet
13
- } from "./chunk-ZZZRUXZE.js";
14
- import {
15
- trustWallet
16
- } from "./chunk-VYBAYMP3.js";
12
+ subWallet
13
+ } from "./chunk-JWFF4AAL.js";
17
14
  import {
18
15
  talismanWallet
19
16
  } from "./chunk-DRO6WYMM.js";
17
+ import {
18
+ tahoWallet
19
+ } from "./chunk-ZZZRUXZE.js";
20
20
  import {
21
21
  tokenPocketWallet
22
22
  } from "./chunk-2L43XSW3.js";
@@ -24,38 +24,38 @@ import {
24
24
  tokenaryWallet
25
25
  } from "./chunk-D6AOOO5F.js";
26
26
  import {
27
- safeheronWallet
28
- } from "./chunk-RZIO5TFF.js";
27
+ trustWallet
28
+ } from "./chunk-VYBAYMP3.js";
29
29
  import {
30
- walletConnectWallet
31
- } from "./chunk-NP5QGWNL.js";
30
+ xdefiWallet
31
+ } from "./chunk-BOU4WKRZ.js";
32
32
  import {
33
33
  uniswapWallet
34
34
  } from "./chunk-LH7BMNFZ.js";
35
+ import {
36
+ oneInchWallet
37
+ } from "./chunk-OESTDX6I.js";
35
38
  import {
36
39
  rabbyWallet
37
40
  } from "./chunk-BBOM42DL.js";
38
41
  import {
39
- oneKeyWallet
40
- } from "./chunk-SHBUZ7U7.js";
42
+ rainbowWallet
43
+ } from "./chunk-2KUBG3S6.js";
41
44
  import {
42
45
  ramperWallet
43
46
  } from "./chunk-BYXPFMI7.js";
44
47
  import {
45
- rainbowWallet
46
- } from "./chunk-2KUBG3S6.js";
48
+ safeWallet
49
+ } from "./chunk-BQQQL6UD.js";
50
+ import {
51
+ safeheronWallet
52
+ } from "./chunk-RZIO5TFF.js";
47
53
  import {
48
54
  roninWallet
49
55
  } from "./chunk-NWIQNBJU.js";
50
- import {
51
- safeWallet
52
- } from "./chunk-BQQQL6UD.js";
53
56
  import {
54
57
  safepalWallet
55
58
  } from "./chunk-NT2HYJKW.js";
56
- import {
57
- subWallet
58
- } from "./chunk-JWFF4AAL.js";
59
59
  import {
60
60
  ledgerWallet
61
61
  } from "./chunk-BRBKM4PW.js";
@@ -63,17 +63,17 @@ import {
63
63
  metaMaskWallet
64
64
  } from "./chunk-2HYNUNAS.js";
65
65
  import {
66
- okxWallet
67
- } from "./chunk-TDIEHTMB.js";
66
+ mewWallet
67
+ } from "./chunk-OL5ZO7E4.js";
68
68
  import {
69
69
  oktoWallet
70
70
  } from "./chunk-ADIXAKUL.js";
71
71
  import {
72
- mewWallet
73
- } from "./chunk-OL5ZO7E4.js";
72
+ okxWallet
73
+ } from "./chunk-TDIEHTMB.js";
74
74
  import {
75
- oneInchWallet
76
- } from "./chunk-OESTDX6I.js";
75
+ oneKeyWallet
76
+ } from "./chunk-SHBUZ7U7.js";
77
77
  import {
78
78
  phantomWallet
79
79
  } from "./chunk-362NXNTM.js";
@@ -83,15 +83,15 @@ import {
83
83
  import {
84
84
  frameWallet
85
85
  } from "./chunk-IFON7E6U.js";
86
+ import {
87
+ frontierWallet
88
+ } from "./chunk-TCAGNB4B.js";
86
89
  import {
87
90
  foxWallet
88
91
  } from "./chunk-7QONTUXT.js";
89
92
  import {
90
93
  imTokenWallet
91
94
  } from "./chunk-COZ7MIQS.js";
92
- import {
93
- frontierWallet
94
- } from "./chunk-TCAGNB4B.js";
95
95
  import {
96
96
  gateWallet
97
97
  } from "./chunk-FKJJQNKX.js";
@@ -101,30 +101,30 @@ import {
101
101
  import {
102
102
  injectedWallet
103
103
  } from "./chunk-XWUJE7MW.js";
104
+ import {
105
+ clvWallet
106
+ } from "./chunk-M3NZ6R2E.js";
104
107
  import {
105
108
  bybitWallet
106
109
  } from "./chunk-2STUC6QL.js";
107
- import {
108
- coinbaseWallet
109
- } from "./chunk-H4IRCEZN.js";
110
- import {
111
- bitskiWallet
112
- } from "./chunk-HS3C7OQV.js";
113
110
  import {
114
111
  coin98Wallet
115
112
  } from "./chunk-OBOVHCEI.js";
116
113
  import {
117
- desigWallet
118
- } from "./chunk-OPAZMNA7.js";
119
- import {
120
- dawnWallet
121
- } from "./chunk-HWPKCIBE.js";
114
+ coinbaseWallet
115
+ } from "./chunk-H4IRCEZN.js";
122
116
  import {
123
117
  coreWallet
124
118
  } from "./chunk-VR4TBQ6S.js";
119
+ import {
120
+ dawnWallet
121
+ } from "./chunk-HWPKCIBE.js";
125
122
  import {
126
123
  enkryptWallet
127
124
  } from "./chunk-OLOIXTYS.js";
125
+ import {
126
+ desigWallet
127
+ } from "./chunk-OPAZMNA7.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
@@ -134,19 +134,19 @@ import {
134
134
  import {
135
135
  bitgetWallet
136
136
  } from "./chunk-TDAVGY5F.js";
137
+ import {
138
+ bloomWallet
139
+ } from "./chunk-S27IADFU.js";
137
140
  import {
138
141
  bitverseWallet
139
142
  } from "./chunk-3HZRRP4Y.js";
143
+ import "./chunk-23WIEY36.js";
140
144
  import {
141
- bloomWallet
142
- } from "./chunk-S27IADFU.js";
145
+ bitskiWallet
146
+ } from "./chunk-HS3C7OQV.js";
143
147
  import {
144
148
  braveWallet
145
149
  } from "./chunk-BPZ2XJO2.js";
146
- import {
147
- clvWallet
148
- } from "./chunk-M3NZ6R2E.js";
149
- import "./chunk-23WIEY36.js";
150
150
  import "./chunk-DNSG5Q7V.js";
151
151
  export {
152
152
  argentWallet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "6.1.0",
3
+ "version": "6.2.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -46,10 +46,11 @@
46
46
  "devDependencies": {
47
47
  "@aws-sdk/client-cloudfront": "3.858.0",
48
48
  "@aws-sdk/client-s3": "3.840.0",
49
- "@chromatic-com/storybook": "^4.0.1",
49
+ "@chromatic-com/storybook": "^4.1.1",
50
50
  "@meshconnect/node-api": "2.0.14",
51
- "@storybook/addon-links": "^9.0.15",
52
- "@storybook/react-vite": "^9.0.15",
51
+ "@storybook/addon-docs": "^9.1.3",
52
+ "@storybook/addon-links": "^9.1.3",
53
+ "@storybook/react-vite": "^9.1.3",
53
54
  "@testing-library/jest-dom": "^6.2.0",
54
55
  "@testing-library/react": "^16.0.1",
55
56
  "@testing-library/user-event": "^14.5.2",
@@ -60,13 +61,17 @@
60
61
  "@vanilla-extract/vite-plugin": "^5.0.3",
61
62
  "@vitejs/plugin-react": "^4.3.1",
62
63
  "autoprefixer": "^10.4.16",
64
+ "buffer": "^6.0.3",
63
65
  "jsdom": "^26.1.0",
64
66
  "postcss": "^8.4.33",
67
+ "process": "^0.11.10",
65
68
  "react": "^18.3.0",
66
- "storybook": "^9.0.15",
69
+ "storybook": "^9.1.3",
70
+ "stream-browserify": "^3.0.0",
67
71
  "tsx": "^4.19.2",
68
- "vitest": "^3.0.9",
69
- "@storybook/addon-docs": "^9.0.15"
72
+ "util": "^0.12.5",
73
+ "vite-plugin-node-polyfills": "^0.24.0",
74
+ "vitest": "^3.0.9"
70
75
  },
71
76
  "dependencies": {
72
77
  "@datadog/browser-logs": "5.22.0",
@@ -89,12 +94,12 @@
89
94
  "ua-parser-js": "^1.0.37",
90
95
  "use-debounce": "^10.0.5",
91
96
  "uuid": "^9.0.1",
92
- "@funkit/api-base": "1.9.15",
93
- "@funkit/utils": "1.1.8",
97
+ "@funkit/api-base": "1.9.16",
98
+ "@funkit/core": "2.3.40",
94
99
  "@funkit/chains": "0.3.8",
95
- "@funkit/core": "2.3.39",
96
100
  "@funkit/fun-relay": "1.0.1",
97
- "@funkit/wagmi-tools": "3.0.61"
101
+ "@funkit/wagmi-tools": "3.0.62",
102
+ "@funkit/utils": "1.1.8"
98
103
  },
99
104
  "repository": {
100
105
  "type": "git",
@@ -114,6 +119,8 @@
114
119
  "lint": "biome check",
115
120
  "lint:fix": "biome check --fix",
116
121
  "storybook": "storybook dev -p 6006",
122
+ "storybook:fast": "NODE_OPTIONS='--max-old-space-size=4096' storybook dev -p 6006 --no-open",
123
+ "storybook:clean": "rm -rf node_modules/.vite && npm run storybook",
117
124
  "build-storybook": "storybook build"
118
125
  }
119
126
  }