@funkit/connect 3.4.3 → 3.4.4
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.
- package/CHANGELOG.md +8 -0
- package/dist/hooks/useWalletAssets.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +756 -738
- package/dist/providers/GeneralWalletProvider.d.ts +1 -0
- package/dist/utils/assets.d.ts +1 -0
- package/dist/wallets/walletConnectors/index.js +59 -59
- package/package.json +3 -3
package/dist/utils/assets.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PaymentMethod } from '../domains/paymentMethods';
|
|
2
2
|
import { FunkitActiveCheckoutItem, FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
3
3
|
import { FlagValues } from '../providers/FunkitFlagsProvider';
|
|
4
|
+
export declare const ASSETS_LOW_VALUE_THRESHOLD = 0.1;
|
|
4
5
|
export declare const getNormalizedTokenBalance: (tokenBalance: bigint | number, decimals: number) => number;
|
|
5
6
|
export declare const isAssetUsableToPayForCheckout: (flags: FlagValues, checkoutItem: FunkitActiveCheckoutItem, paymentMethod: PaymentMethod, assetChainId: string, assetTokenAddress: string, isWeb2Login: boolean, isWeb3Login: boolean) => {
|
|
6
7
|
isUsable: boolean;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
xdefiWallet
|
|
4
|
-
} from "./chunk-RVIZMVFR.js";
|
|
5
2
|
import {
|
|
6
3
|
zerionWallet
|
|
7
4
|
} from "./chunk-DBP432DI.js";
|
|
@@ -9,44 +6,47 @@ import {
|
|
|
9
6
|
zealWallet
|
|
10
7
|
} from "./chunk-BUUV6BS4.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
talismanWallet
|
|
16
|
-
} from "./chunk-OTXHQMSG.js";
|
|
9
|
+
uniswapWallet
|
|
10
|
+
} from "./chunk-QFRZGNNV.js";
|
|
17
11
|
import {
|
|
18
12
|
subWallet
|
|
19
13
|
} from "./chunk-N3ELQYCY.js";
|
|
20
14
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
15
|
+
tahoWallet
|
|
16
|
+
} from "./chunk-6AYBA6IH.js";
|
|
23
17
|
import {
|
|
24
18
|
tokenaryWallet
|
|
25
19
|
} from "./chunk-FAYEL4JP.js";
|
|
26
20
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
21
|
+
tokenPocketWallet
|
|
22
|
+
} from "./chunk-ISJYPD3T.js";
|
|
29
23
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
24
|
+
talismanWallet
|
|
25
|
+
} from "./chunk-OTXHQMSG.js";
|
|
32
26
|
import {
|
|
33
27
|
trustWallet
|
|
34
28
|
} from "./chunk-X45WXZDO.js";
|
|
35
29
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
30
|
+
walletConnectWallet
|
|
31
|
+
} from "./chunk-OFU3PEVT.js";
|
|
38
32
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
33
|
+
xdefiWallet
|
|
34
|
+
} from "./chunk-RVIZMVFR.js";
|
|
35
|
+
import {
|
|
36
|
+
oneInchWallet
|
|
37
|
+
} from "./chunk-I7MKK24W.js";
|
|
41
38
|
import {
|
|
42
39
|
rainbowWallet
|
|
43
40
|
} from "./chunk-OHJBALD3.js";
|
|
44
|
-
import {
|
|
45
|
-
safeheronWallet
|
|
46
|
-
} from "./chunk-FCIRHRFH.js";
|
|
47
41
|
import {
|
|
48
42
|
ramperWallet
|
|
49
43
|
} from "./chunk-TKXQYHWJ.js";
|
|
44
|
+
import {
|
|
45
|
+
rabbyWallet
|
|
46
|
+
} from "./chunk-H5LLXNOI.js";
|
|
47
|
+
import {
|
|
48
|
+
safeheronWallet
|
|
49
|
+
} from "./chunk-FCIRHRFH.js";
|
|
50
50
|
import {
|
|
51
51
|
safeWallet
|
|
52
52
|
} from "./chunk-Z2QCE6O6.js";
|
|
@@ -56,18 +56,24 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
safepalWallet
|
|
58
58
|
} from "./chunk-AKAT37SI.js";
|
|
59
|
-
import {
|
|
60
|
-
enkryptWallet
|
|
61
|
-
} from "./chunk-JJ4DXD7R.js";
|
|
62
59
|
import {
|
|
63
60
|
mewWallet
|
|
64
61
|
} from "./chunk-CVYXTHZ6.js";
|
|
65
62
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
63
|
+
frontierWallet
|
|
64
|
+
} from "./chunk-LCOUKF2U.js";
|
|
65
|
+
import {
|
|
66
|
+
oktoWallet
|
|
67
|
+
} from "./chunk-MBQTOALG.js";
|
|
68
68
|
import {
|
|
69
69
|
okxWallet
|
|
70
70
|
} from "./chunk-5HXH52SO.js";
|
|
71
|
+
import {
|
|
72
|
+
omniWallet
|
|
73
|
+
} from "./chunk-II6YBG2B.js";
|
|
74
|
+
import {
|
|
75
|
+
desigWallet
|
|
76
|
+
} from "./chunk-44CHUPEQ.js";
|
|
71
77
|
import {
|
|
72
78
|
oneKeyWallet
|
|
73
79
|
} from "./chunk-ZP2SV6KN.js";
|
|
@@ -75,35 +81,26 @@ import {
|
|
|
75
81
|
phantomWallet
|
|
76
82
|
} from "./chunk-KEVUI6AA.js";
|
|
77
83
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
84
|
+
imTokenWallet
|
|
85
|
+
} from "./chunk-BMJOLT2N.js";
|
|
80
86
|
import {
|
|
81
87
|
gateWallet
|
|
82
88
|
} from "./chunk-YIJ5ULO3.js";
|
|
83
|
-
import {
|
|
84
|
-
kresusWallet
|
|
85
|
-
} from "./chunk-QQJKQCII.js";
|
|
86
|
-
import {
|
|
87
|
-
desigWallet
|
|
88
|
-
} from "./chunk-44CHUPEQ.js";
|
|
89
|
-
import {
|
|
90
|
-
ledgerWallet
|
|
91
|
-
} from "./chunk-ZMHCZCGS.js";
|
|
92
|
-
import {
|
|
93
|
-
frontierWallet
|
|
94
|
-
} from "./chunk-LCOUKF2U.js";
|
|
95
89
|
import {
|
|
96
90
|
injectedWallet
|
|
97
91
|
} from "./chunk-E5NYR4SS.js";
|
|
92
|
+
import {
|
|
93
|
+
bitverseWallet
|
|
94
|
+
} from "./chunk-BQEOIDHP.js";
|
|
95
|
+
import {
|
|
96
|
+
kresusWallet
|
|
97
|
+
} from "./chunk-QQJKQCII.js";
|
|
98
98
|
import {
|
|
99
99
|
metaMaskWallet
|
|
100
100
|
} from "./chunk-ODRDT73B.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import {
|
|
105
|
-
bloomWallet
|
|
106
|
-
} from "./chunk-J64P6XK3.js";
|
|
102
|
+
ledgerWallet
|
|
103
|
+
} from "./chunk-ZMHCZCGS.js";
|
|
107
104
|
import {
|
|
108
105
|
coin98Wallet
|
|
109
106
|
} from "./chunk-ZXGMW3OS.js";
|
|
@@ -111,20 +108,23 @@ import {
|
|
|
111
108
|
coinbaseWallet
|
|
112
109
|
} from "./chunk-PNEDRY6O.js";
|
|
113
110
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import {
|
|
117
|
-
frameWallet
|
|
118
|
-
} from "./chunk-KPVNJO3R.js";
|
|
111
|
+
clvWallet
|
|
112
|
+
} from "./chunk-UHHA5V52.js";
|
|
119
113
|
import {
|
|
120
114
|
dawnWallet
|
|
121
115
|
} from "./chunk-KCTWDMQP.js";
|
|
122
116
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
117
|
+
coreWallet
|
|
118
|
+
} from "./chunk-MOOW2AOC.js";
|
|
119
|
+
import {
|
|
120
|
+
enkryptWallet
|
|
121
|
+
} from "./chunk-JJ4DXD7R.js";
|
|
125
122
|
import {
|
|
126
123
|
foxWallet
|
|
127
124
|
} from "./chunk-WAOREEBE.js";
|
|
125
|
+
import {
|
|
126
|
+
frameWallet
|
|
127
|
+
} from "./chunk-KPVNJO3R.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-ZHFISYEQ.js";
|
|
@@ -132,22 +132,22 @@ import {
|
|
|
132
132
|
bifrostWallet
|
|
133
133
|
} from "./chunk-KL5Z3XHJ.js";
|
|
134
134
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-IEVZW3XR.js";
|
|
137
137
|
import {
|
|
138
138
|
bitskiWallet
|
|
139
139
|
} from "./chunk-OCCT5PIN.js";
|
|
140
140
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
141
|
+
bloomWallet
|
|
142
|
+
} from "./chunk-J64P6XK3.js";
|
|
143
143
|
import "./chunk-RETKWSKD.js";
|
|
144
|
+
import {
|
|
145
|
+
braveWallet
|
|
146
|
+
} from "./chunk-NUEOWEZS.js";
|
|
144
147
|
import {
|
|
145
148
|
bybitWallet
|
|
146
149
|
} from "./chunk-3AZNOY75.js";
|
|
147
150
|
import "./chunk-23WIEY36.js";
|
|
148
|
-
import {
|
|
149
|
-
braveWallet
|
|
150
|
-
} from "./chunk-NUEOWEZS.js";
|
|
151
151
|
import "./chunk-WRA2DVJ7.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"ua-parser-js": "^1.0.37",
|
|
93
93
|
"uuid": "^9.0.1",
|
|
94
94
|
"@funkit/api-base": "1.3.1",
|
|
95
|
-
"@funkit/
|
|
96
|
-
"@funkit/
|
|
95
|
+
"@funkit/core": "2.2.3",
|
|
96
|
+
"@funkit/wagmi-tools": "3.0.14"
|
|
97
97
|
},
|
|
98
98
|
"repository": {
|
|
99
99
|
"type": "git",
|