@funkit/connect 8.1.0 → 8.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.
- package/CHANGELOG.md +33 -0
- package/dist/__generated__/default_configs.d.ts +7 -6
- package/dist/{chunk-IVO7KGHT.js → chunk-JIC2XXGY.js} +7 -2
- package/dist/{chunk-5GV4UXWB.js → chunk-QHRAQNOB.js} +7 -2
- package/dist/{chunk-RJAD5CZH.js → chunk-WIDI2TYC.js} +28 -2
- package/dist/clients/fanatics.css +10067 -0
- package/dist/clients/fanatics.d.ts +31 -0
- package/dist/clients/fanatics.js +525 -0
- package/dist/components/Box/Box.d.ts +47 -46
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/FunBottomBar/FunBottomBar.d.ts +2 -1
- package/dist/components/FunButton/FunIconButton.d.ts +1 -1
- package/dist/components/FunInfoBanner/FunInfoBanner.d.ts +5 -1
- package/dist/components/FunInput/FunInput.d.ts +1 -0
- package/dist/components/FunOptionBox/FunOptionBox.css.d.ts +1 -1
- package/dist/components/FunOptionBox/FunOptionBox.d.ts +2 -1
- package/dist/components/Icons/BitcoinIcon.d.ts +4 -0
- package/dist/components/Icons/New/CashIcon.d.ts +4 -0
- package/dist/components/Tabs/Tabs.d.ts +10 -0
- package/dist/consts/customers.d.ts +1 -0
- package/dist/css/sprinkles.css.d.ts +136 -49
- package/dist/hooks/queries/useWithdrawalQuote.d.ts +2 -1
- package/dist/hooks/usePaymentSources.d.ts +3 -1
- package/dist/index.css +3710 -3090
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3450 -3157
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -0
- package/dist/modals/CheckoutModal/SourceChange/CryptoCashToggle.d.ts +9 -0
- package/dist/modals/CheckoutModal/SourceChange/DefaultSourceList.d.ts +12 -0
- package/dist/modals/CheckoutModal/SourceChange/FanaticsSourceList.d.ts +15 -0
- package/dist/modals/CheckoutModal/SourceChange/PayPal.d.ts +2 -0
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/sourceChange.css.d.ts +1 -0
- package/dist/providers/FunkitConfigContext.d.ts +43 -4
- package/dist/providers/FunkitThemeProvider.d.ts +132 -3
- package/dist/themes/baseTheme.d.ts +2 -1
- package/dist/themes/baseTheme.js +1 -1
- package/dist/themes/darkTheme.js +2 -2
- package/dist/themes/lightTheme.js +2 -2
- package/dist/utils/flags/config.d.ts +3 -42
- package/dist/utils/flags/resolver.d.ts +34 -0
- package/dist/utils/funLogger.d.ts +2 -1
- package/dist/wallets/walletConnectors/index.js +21 -21
- package/package.json +5 -4
- package/dist/utils/flags/patches/enable-bitcoin-patch.d.ts +0 -13
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
zerionWallet
|
|
7
7
|
} from "./chunk-CZYUE3AR.js";
|
|
8
|
+
import {
|
|
9
|
+
tahoWallet
|
|
10
|
+
} from "./chunk-TNZJRXUQ.js";
|
|
8
11
|
import {
|
|
9
12
|
talismanWallet
|
|
10
13
|
} from "./chunk-JTLLKY2O.js";
|
|
11
|
-
import {
|
|
12
|
-
subWallet
|
|
13
|
-
} from "./chunk-2E4PDCEJ.js";
|
|
14
14
|
import {
|
|
15
15
|
tokenPocketWallet
|
|
16
16
|
} from "./chunk-47QF6EET.js";
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
xdefiWallet
|
|
31
31
|
} from "./chunk-TMFH6GXS.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
rabbyWallet
|
|
34
|
+
} from "./chunk-LW6S43RE.js";
|
|
35
35
|
import {
|
|
36
36
|
rainbowWallet
|
|
37
37
|
} from "./chunk-77UTBHGP.js";
|
|
@@ -51,8 +51,8 @@ import {
|
|
|
51
51
|
safepalWallet
|
|
52
52
|
} from "./chunk-W7Y6I22Y.js";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
54
|
+
subWallet
|
|
55
|
+
} from "./chunk-2E4PDCEJ.js";
|
|
56
56
|
import {
|
|
57
57
|
metaMaskWallet
|
|
58
58
|
} from "./chunk-RA7MCWF4.js";
|
|
@@ -75,8 +75,8 @@ import {
|
|
|
75
75
|
oneKeyWallet
|
|
76
76
|
} from "./chunk-35Q4HKAM.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
78
|
+
phantomWallet
|
|
79
|
+
} from "./chunk-3IYE623P.js";
|
|
80
80
|
import {
|
|
81
81
|
foxWallet
|
|
82
82
|
} from "./chunk-YLJDPTYF.js";
|
|
@@ -92,24 +92,24 @@ import {
|
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-COZ7MIQS.js";
|
|
95
|
-
import {
|
|
96
|
-
kresusWallet
|
|
97
|
-
} from "./chunk-MJXPRJZT.js";
|
|
98
95
|
import {
|
|
99
96
|
injectedWallet
|
|
100
97
|
} from "./chunk-MQSCN4BO.js";
|
|
98
|
+
import {
|
|
99
|
+
kresusWallet
|
|
100
|
+
} from "./chunk-MJXPRJZT.js";
|
|
101
101
|
import {
|
|
102
102
|
ledgerWallet
|
|
103
103
|
} from "./chunk-BRBKM4PW.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import {
|
|
108
|
-
coin98Wallet
|
|
109
|
-
} from "./chunk-RLRQYUYC.js";
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-5EAOMOTO.js";
|
|
110
107
|
import {
|
|
111
108
|
clvWallet
|
|
112
109
|
} from "./chunk-HPHADOYD.js";
|
|
110
|
+
import {
|
|
111
|
+
coin98Wallet
|
|
112
|
+
} from "./chunk-RLRQYUYC.js";
|
|
113
113
|
import {
|
|
114
114
|
coinbaseWallet
|
|
115
115
|
} from "./chunk-H4IRCEZN.js";
|
|
@@ -140,13 +140,13 @@ import {
|
|
|
140
140
|
import {
|
|
141
141
|
bitverseWallet
|
|
142
142
|
} from "./chunk-3HZRRP4Y.js";
|
|
143
|
+
import {
|
|
144
|
+
bloomWallet
|
|
145
|
+
} from "./chunk-S27IADFU.js";
|
|
146
|
+
import "./chunk-23WIEY36.js";
|
|
143
147
|
import {
|
|
144
148
|
braveWallet
|
|
145
149
|
} from "./chunk-4ZXII3UA.js";
|
|
146
|
-
import {
|
|
147
|
-
bybitWallet
|
|
148
|
-
} from "./chunk-5EAOMOTO.js";
|
|
149
|
-
import "./chunk-23WIEY36.js";
|
|
150
150
|
import "./chunk-ARYAYQ7Z.js";
|
|
151
151
|
export {
|
|
152
152
|
argentWallet,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.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",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": "./dist/index.js",
|
|
14
14
|
"./styles.css": "./dist/index.css",
|
|
15
|
-
"./wallets": "./dist/wallets/walletConnectors/index.js"
|
|
15
|
+
"./wallets": "./dist/wallets/walletConnectors/index.js",
|
|
16
|
+
"./clients/*": "./dist/clients/*.js"
|
|
16
17
|
},
|
|
17
18
|
"main": "./dist/index.js",
|
|
18
19
|
"types": "./dist/index.d.ts",
|
|
@@ -102,10 +103,10 @@
|
|
|
102
103
|
"ua-parser-js": "^1.0.37",
|
|
103
104
|
"use-debounce": "^10.0.5",
|
|
104
105
|
"uuid": "^9.0.1",
|
|
105
|
-
"@funkit/api-base": "2.1.
|
|
106
|
+
"@funkit/api-base": "2.1.1",
|
|
106
107
|
"@funkit/chains": "1.1.0",
|
|
107
108
|
"@funkit/fun-relay": "2.2.2",
|
|
108
|
-
"@funkit/utils": "1.1.
|
|
109
|
+
"@funkit/utils": "1.1.24"
|
|
109
110
|
},
|
|
110
111
|
"repository": {
|
|
111
112
|
"type": "git",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TODO: Delete once all customers are using @funkit/connect supporting bitcoin
|
|
3
|
-
*/
|
|
4
|
-
import { type FlagKey } from '@funkit/utils';
|
|
5
|
-
import type { FlagMiddleware } from '../../../providers/FunkitFlagsProvider';
|
|
6
|
-
/**
|
|
7
|
-
* Adds {8253038: ["BTC"]} to the newTokens if not already present
|
|
8
|
-
*/
|
|
9
|
-
export declare const addBitcoinToNewTokens: FlagMiddleware<FlagKey.TokenTransferNewTokens>;
|
|
10
|
-
/**
|
|
11
|
-
* Adds {8253038: ["BTC"]} to the sourceChainsAndAssets if not already present
|
|
12
|
-
*/
|
|
13
|
-
export declare const addBitcoinToSourceChainsAndAssets: FlagMiddleware<FlagKey.TokenTransferSourceChainsAndAssets>;
|