@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.
@@ -80,6 +80,7 @@ export declare const useFunkitAccount: () => {
80
80
  isDisconnected: false;
81
81
  status: "connecting";
82
82
  };
83
+ export declare const useFunkitUserInfo: () => FunkitUserInfo;
83
84
  /**
84
85
  * Replacement for wagmi's `disconnect` from `useDisconnect`
85
86
  */
@@ -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
- tahoWallet
13
- } from "./chunk-6AYBA6IH.js";
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
- tokenPocketWallet
22
- } from "./chunk-ISJYPD3T.js";
15
+ tahoWallet
16
+ } from "./chunk-6AYBA6IH.js";
23
17
  import {
24
18
  tokenaryWallet
25
19
  } from "./chunk-FAYEL4JP.js";
26
20
  import {
27
- uniswapWallet
28
- } from "./chunk-QFRZGNNV.js";
21
+ tokenPocketWallet
22
+ } from "./chunk-ISJYPD3T.js";
29
23
  import {
30
- walletConnectWallet
31
- } from "./chunk-OFU3PEVT.js";
24
+ talismanWallet
25
+ } from "./chunk-OTXHQMSG.js";
32
26
  import {
33
27
  trustWallet
34
28
  } from "./chunk-X45WXZDO.js";
35
29
  import {
36
- oktoWallet
37
- } from "./chunk-MBQTOALG.js";
30
+ walletConnectWallet
31
+ } from "./chunk-OFU3PEVT.js";
38
32
  import {
39
- rabbyWallet
40
- } from "./chunk-H5LLXNOI.js";
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
- omniWallet
67
- } from "./chunk-II6YBG2B.js";
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
- oneInchWallet
79
- } from "./chunk-I7MKK24W.js";
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
- imTokenWallet
103
- } from "./chunk-BMJOLT2N.js";
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
- coreWallet
115
- } from "./chunk-MOOW2AOC.js";
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
- clvWallet
124
- } from "./chunk-UHHA5V52.js";
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
- bitverseWallet
136
- } from "./chunk-BQEOIDHP.js";
135
+ bitgetWallet
136
+ } from "./chunk-IEVZW3XR.js";
137
137
  import {
138
138
  bitskiWallet
139
139
  } from "./chunk-OCCT5PIN.js";
140
140
  import {
141
- bitgetWallet
142
- } from "./chunk-IEVZW3XR.js";
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",
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/wagmi-tools": "3.0.14",
96
- "@funkit/core": "2.2.3"
95
+ "@funkit/core": "2.2.3",
96
+ "@funkit/wagmi-tools": "3.0.14"
97
97
  },
98
98
  "repository": {
99
99
  "type": "git",