@funkit/connect 7.1.1 → 8.0.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.
@@ -35,7 +35,7 @@ export declare const flagConfig: {
35
35
  readonly if_any: [{
36
36
  readonly key: "apiKey";
37
37
  readonly type: "isAnyOf";
38
- readonly values: ["di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe"];
38
+ readonly values: ["di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG"];
39
39
  }];
40
40
  readonly value: true;
41
41
  }, Override<boolean>];
@@ -47,7 +47,7 @@ export declare const flagConfig: {
47
47
  readonly if_any: [{
48
48
  readonly key: "apiKey";
49
49
  readonly type: "isAnyOf";
50
- readonly values: ["di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe"];
50
+ readonly values: ["di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG"];
51
51
  }];
52
52
  readonly value: true;
53
53
  }, Override<boolean>];
@@ -56,6 +56,13 @@ export declare const flagConfig: {
56
56
  readonly type: "string";
57
57
  readonly default_value: string;
58
58
  readonly overrides: [{
59
+ readonly if_any: [{
60
+ readonly key: "userId";
61
+ readonly type: "isAnyOf";
62
+ readonly values: string[];
63
+ }];
64
+ readonly value: string;
65
+ }, {
59
66
  readonly if_any: [{
60
67
  readonly key: "apiKey";
61
68
  readonly type: "isAnyOf";
@@ -194,6 +201,13 @@ export declare const flagConfig: {
194
201
  readonly values: string[];
195
202
  }];
196
203
  readonly value: true;
204
+ }, {
205
+ readonly if_any: [{
206
+ readonly key: "apiKey";
207
+ readonly type: "isAnyOf";
208
+ readonly values: ["di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG"];
209
+ }];
210
+ readonly value: true;
197
211
  }, Override<boolean>, {
198
212
  readonly if_any: [{
199
213
  readonly key: "apiKey";
@@ -210,7 +224,7 @@ export declare const flagConfig: {
210
224
  readonly if_any: [{
211
225
  readonly key: "apiKey";
212
226
  readonly type: "isAnyOf";
213
- readonly values: ["di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe"];
227
+ readonly values: ["di9ZSqn1Ya68Y2XpBPUV1rCtNGXh8Xe5MGWzb1Xe", "57G91zNoew4nYxIoqSCpS1vWr8JT3gGVasNqMwgG"];
214
228
  }];
215
229
  readonly value: true;
216
230
  }, Override<boolean>, {
@@ -1,9 +1,9 @@
1
1
  import type { FunAddress } from '@funkit/api-base';
2
- export type TransferTokenQrCodeType = 'ethereum' | 'solana' | 'bitcoin';
2
+ export type TransferTokenQrCodeType = 'ethereum' | 'solana' | 'bitcoin' | 'tron';
3
3
  interface TransferTokenQrCodeUriParams {
4
4
  depositAddress: FunAddress;
5
5
  type: TransferTokenQrCodeType;
6
6
  }
7
- export type QRCodeUri = `ethereum:${FunAddress}` | `solana:${FunAddress}` | `bitcoin:${FunAddress}`;
7
+ export type QRCodeUri = `ethereum:${FunAddress}` | `solana:${FunAddress}` | `bitcoin:${FunAddress}` | FunAddress;
8
8
  export declare const getTransferTokenQrCodeUri: (props: TransferTokenQrCodeUriParams) => QRCodeUri;
9
9
  export {};
@@ -92,12 +92,12 @@ import {
92
92
  import {
93
93
  imTokenWallet
94
94
  } from "./chunk-COZ7MIQS.js";
95
- import {
96
- injectedWallet
97
- } from "./chunk-MQSCN4BO.js";
98
95
  import {
99
96
  kresusWallet
100
97
  } from "./chunk-MJXPRJZT.js";
98
+ import {
99
+ injectedWallet
100
+ } from "./chunk-MQSCN4BO.js";
101
101
  import {
102
102
  ledgerWallet
103
103
  } from "./chunk-BRBKM4PW.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funkit/connect",
3
- "version": "7.1.1",
3
+ "version": "8.0.0",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -71,7 +71,7 @@
71
71
  "postcss-prefix-selector": "^1.16.0",
72
72
  "process": "^0.11.10",
73
73
  "react": "^18.3.0",
74
- "storybook": "^9.1.3",
74
+ "storybook": "^9.1.17",
75
75
  "stream-browserify": "^3.0.0",
76
76
  "tsx": "^4.19.2",
77
77
  "tsc-alias": "1.8.16",
@@ -102,9 +102,9 @@
102
102
  "ua-parser-js": "^1.0.37",
103
103
  "use-debounce": "^10.0.5",
104
104
  "uuid": "^9.0.1",
105
- "@funkit/api-base": "1.12.23",
106
- "@funkit/chains": "0.5.3",
107
- "@funkit/fun-relay": "2.2.1",
105
+ "@funkit/api-base": "2.0.0",
106
+ "@funkit/chains": "1.0.0",
107
+ "@funkit/fun-relay": "2.2.2",
108
108
  "@funkit/utils": "1.1.22"
109
109
  },
110
110
  "repository": {