@funkit/connect 6.14.18 → 6.14.19

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,8 +1,3 @@
1
- import React, { type ReactNode } from 'react';
2
- export declare function FunkitMoonpayProvider({ children, }: {
3
- children: ReactNode;
4
- debug: boolean;
5
- }): React.JSX.Element;
6
1
  export interface UserIpInfoFromMoonpay {
7
2
  /** https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 */
8
3
  alpha2: 'AU' | 'CA' | 'US' | string;
@@ -77,7 +77,6 @@ export type TokenInfo = {
77
77
  * @returns List of tokenItem objects
78
78
  */
79
79
  export declare function decorateTokenList(tokensChainMap: Record<string, Set<string>>, targetChainId: string, apiKey: string): Promise<TokenInfo[]>;
80
- export declare function formatTokenAmountForMoonpay(amount: number, mpCurrencyCode: string): string;
81
80
  export declare function getTimeFromNowSeconds(startTimeMs: number, durationMs: number): number;
82
81
  export declare function getCheckoutReceivedAmount({ config, quote, }: {
83
82
  config: FunkitCheckoutConfig | ServerCheckoutConfig;
@@ -1,152 +1,152 @@
1
1
  "use client";
2
- import {
3
- zealWallet
4
- } from "./chunk-RNBEDQHF.js";
5
2
  import {
6
3
  zerionWallet
7
4
  } from "./chunk-Q3H3TRBS.js";
8
5
  import {
9
- trustWallet
10
- } from "./chunk-RKPCWHXL.js";
6
+ walletConnectWallet
7
+ } from "./chunk-NP5QGWNL.js";
11
8
  import {
12
- tokenPocketWallet
13
- } from "./chunk-J3LI3FYZ.js";
9
+ zealWallet
10
+ } from "./chunk-RNBEDQHF.js";
14
11
  import {
15
- injectedWallet
16
- } from "./chunk-XWUJE7MW.js";
12
+ talismanWallet
13
+ } from "./chunk-DRO6WYMM.js";
17
14
  import {
18
- subWallet
19
- } from "./chunk-ZSI5N4VV.js";
15
+ ledgerWallet
16
+ } from "./chunk-BRBKM4PW.js";
20
17
  import {
21
18
  tokenaryWallet
22
19
  } from "./chunk-D6AOOO5F.js";
23
20
  import {
24
- uniswapWallet
25
- } from "./chunk-LH7BMNFZ.js";
21
+ tahoWallet
22
+ } from "./chunk-ZZZRUXZE.js";
26
23
  import {
27
- talismanWallet
28
- } from "./chunk-DRO6WYMM.js";
24
+ trustWallet
25
+ } from "./chunk-RKPCWHXL.js";
29
26
  import {
30
- walletConnectWallet
31
- } from "./chunk-NP5QGWNL.js";
27
+ tokenPocketWallet
28
+ } from "./chunk-J3LI3FYZ.js";
29
+ import {
30
+ uniswapWallet
31
+ } from "./chunk-LH7BMNFZ.js";
32
32
  import {
33
33
  xdefiWallet
34
34
  } from "./chunk-BOU4WKRZ.js";
35
- import {
36
- ramperWallet
37
- } from "./chunk-BYXPFMI7.js";
38
- import {
39
- roninWallet
40
- } from "./chunk-QLVVUKYB.js";
41
35
  import {
42
36
  rabbyWallet
43
37
  } from "./chunk-BBOM42DL.js";
44
38
  import {
45
39
  rainbowWallet
46
40
  } from "./chunk-3CICVJUN.js";
41
+ import {
42
+ ramperWallet
43
+ } from "./chunk-BYXPFMI7.js";
44
+ import {
45
+ subWallet
46
+ } from "./chunk-ZSI5N4VV.js";
47
47
  import {
48
48
  safeWallet
49
49
  } from "./chunk-BQQQL6UD.js";
50
+ import {
51
+ safepalWallet
52
+ } from "./chunk-EC6CHBSZ.js";
50
53
  import {
51
54
  safeheronWallet
52
55
  } from "./chunk-RZIO5TFF.js";
53
56
  import {
54
- safepalWallet
55
- } from "./chunk-EC6CHBSZ.js";
57
+ roninWallet
58
+ } from "./chunk-QLVVUKYB.js";
56
59
  import {
57
- tahoWallet
58
- } from "./chunk-ZZZRUXZE.js";
60
+ mewWallet
61
+ } from "./chunk-OL5ZO7E4.js";
59
62
  import {
60
63
  kresusWallet
61
64
  } from "./chunk-MJXPRJZT.js";
62
65
  import {
63
- oktoWallet
64
- } from "./chunk-ADIXAKUL.js";
66
+ imTokenWallet
67
+ } from "./chunk-COZ7MIQS.js";
65
68
  import {
66
69
  omniWallet
67
70
  } from "./chunk-7CUY5G6R.js";
68
71
  import {
69
- oneInchWallet
70
- } from "./chunk-OESTDX6I.js";
71
- import {
72
- ledgerWallet
73
- } from "./chunk-BRBKM4PW.js";
72
+ oktoWallet
73
+ } from "./chunk-ADIXAKUL.js";
74
74
  import {
75
75
  oneKeyWallet
76
76
  } from "./chunk-SHBUZ7U7.js";
77
77
  import {
78
- okxWallet
79
- } from "./chunk-AFXHGWBH.js";
78
+ oneInchWallet
79
+ } from "./chunk-OESTDX6I.js";
80
80
  import {
81
81
  phantomWallet
82
82
  } from "./chunk-362NXNTM.js";
83
83
  import {
84
- frontierWallet
85
- } from "./chunk-VWCLFMWJ.js";
84
+ desigWallet
85
+ } from "./chunk-OPAZMNA7.js";
86
86
  import {
87
- coreWallet
88
- } from "./chunk-JCHN6A47.js";
87
+ frameWallet
88
+ } from "./chunk-IFON7E6U.js";
89
89
  import {
90
- coin98Wallet
91
- } from "./chunk-KIDC67XJ.js";
90
+ frontierWallet
91
+ } from "./chunk-VWCLFMWJ.js";
92
92
  import {
93
- imTokenWallet
94
- } from "./chunk-COZ7MIQS.js";
93
+ injectedWallet
94
+ } from "./chunk-XWUJE7MW.js";
95
95
  import {
96
96
  gateWallet
97
97
  } from "./chunk-CJGUM55H.js";
98
- import {
99
- mewWallet
100
- } from "./chunk-OL5ZO7E4.js";
101
98
  import {
102
99
  metaMaskWallet
103
100
  } from "./chunk-UYGJO62F.js";
101
+ import {
102
+ okxWallet
103
+ } from "./chunk-AFXHGWBH.js";
104
+ import {
105
+ braveWallet
106
+ } from "./chunk-BPZ2XJO2.js";
104
107
  import {
105
108
  coinbaseWallet
106
109
  } from "./chunk-H4IRCEZN.js";
107
110
  import {
108
- bybitWallet
109
- } from "./chunk-LNEC5RNX.js";
111
+ dawnWallet
112
+ } from "./chunk-HWPKCIBE.js";
113
+ import {
114
+ bloomWallet
115
+ } from "./chunk-S27IADFU.js";
110
116
  import {
111
117
  enkryptWallet
112
118
  } from "./chunk-OLOIXTYS.js";
113
119
  import {
114
- foxWallet
115
- } from "./chunk-CNPKISHN.js";
116
- import {
117
- clvWallet
118
- } from "./chunk-2GJQ4XZQ.js";
119
- import {
120
- desigWallet
121
- } from "./chunk-OPAZMNA7.js";
120
+ coreWallet
121
+ } from "./chunk-JCHN6A47.js";
122
122
  import {
123
- dawnWallet
124
- } from "./chunk-HWPKCIBE.js";
123
+ coin98Wallet
124
+ } from "./chunk-KIDC67XJ.js";
125
125
  import {
126
- frameWallet
127
- } from "./chunk-IFON7E6U.js";
126
+ foxWallet
127
+ } from "./chunk-CNPKISHN.js";
128
128
  import {
129
129
  argentWallet
130
130
  } from "./chunk-WSQ2YJO2.js";
131
131
  import {
132
- bitgetWallet
133
- } from "./chunk-5W7VDOCL.js";
132
+ bifrostWallet
133
+ } from "./chunk-UIASLGLV.js";
134
134
  import {
135
135
  bitskiWallet
136
136
  } from "./chunk-HS3C7OQV.js";
137
137
  import {
138
- bifrostWallet
139
- } from "./chunk-UIASLGLV.js";
138
+ bitgetWallet
139
+ } from "./chunk-5W7VDOCL.js";
140
140
  import {
141
- braveWallet
142
- } from "./chunk-BPZ2XJO2.js";
141
+ clvWallet
142
+ } from "./chunk-2GJQ4XZQ.js";
143
+ import {
144
+ bybitWallet
145
+ } from "./chunk-LNEC5RNX.js";
143
146
  import "./chunk-DNSG5Q7V.js";
144
147
  import {
145
148
  bitverseWallet
146
149
  } from "./chunk-3HZRRP4Y.js";
147
- import {
148
- bloomWallet
149
- } from "./chunk-S27IADFU.js";
150
150
  import "./chunk-23WIEY36.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.14.18",
3
+ "version": "6.14.19",
4
4
  "description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
5
5
  "files": [
6
6
  "dist",
@@ -102,9 +102,9 @@
102
102
  "@funkit/api-base": "1.12.12",
103
103
  "@funkit/chains": "0.4.2",
104
104
  "@funkit/core": "2.3.57",
105
- "@funkit/wagmi-tools": "3.0.80",
105
+ "@funkit/fun-relay": "2.1.7",
106
106
  "@funkit/utils": "1.1.14",
107
- "@funkit/fun-relay": "2.1.6"
107
+ "@funkit/wagmi-tools": "3.0.80"
108
108
  },
109
109
  "repository": {
110
110
  "type": "git",
@@ -1,10 +0,0 @@
1
- export declare const MOONPAY_TOKENS_SUPPORTED_REGIONS: {
2
- [token: string]: {
3
- isSupportedInUS: boolean;
4
- notAllowedUSStates: string[];
5
- notAllowedCountries: string[];
6
- minBuyAmount: number;
7
- maxBuyAmount: number;
8
- precision: number;
9
- };
10
- };
@@ -1,10 +0,0 @@
1
- export declare const MINIMUM_MOONPAY_DEPOSIT_AMOUNT_USD = 35;
2
- export declare const MAXIMUM_MOONPAY_DEPOSIT_AMOUNT_USD = 10000;
3
- export declare const generateMoonpayCurrencyCode: (tokenSymbol: string, chainId: string) => string;
4
- export declare function checkAmountForMoonpay(amountUsd: number, isDefiMode?: boolean): {
5
- readonly isInvalid: true;
6
- readonly message: string;
7
- } | {
8
- readonly isInvalid: false;
9
- readonly message?: undefined;
10
- };