@funkit/connect 1.2.6 → 1.3.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 +34 -0
- package/dist/components/Box/Box.d.ts +3 -3
- package/dist/components/CloseButton/CloseButton.d.ts +1 -1
- package/dist/components/FunButton/FunIconButton.d.ts +7 -7
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +1 -1
- package/dist/components/FunNotification/FunCheckoutNotification.d.ts +1 -1
- package/dist/components/FunTransactionSummary/FunTxSummaryHistory.d.ts +1 -1
- package/dist/components/FunkitProvider/AppContext.d.ts +3 -3
- package/dist/components/FunkitProvider/CoolModeContext.d.ts +0 -1
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +2 -7
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +1 -1
- package/dist/components/FunkitProvider/FunkitSandboxContext.d.ts +0 -1
- package/dist/components/FunkitProvider/FunkitWeb2Provider.d.ts +2 -15
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +8 -8
- package/dist/components/FunkitProvider/ShowRecentTransactionsContext.d.ts +0 -1
- package/dist/components/FunkitProvider/provideFunkitConnectChains.d.ts +1 -1
- package/dist/components/FunkitProvider/useCoolMode.d.ts +0 -1
- package/dist/components/InfoButton/InfoButton.d.ts +1 -1
- package/dist/config/getDefaultConfig.d.ts +510 -510
- package/dist/consts/funkit.d.ts +30 -9
- package/dist/css/atoms.d.ts +0 -1
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +10 -10
- package/dist/hooks/useCheckoutStateBooleans.d.ts +1 -1
- package/dist/index.css +3 -3
- package/dist/index.d.ts +1 -2
- package/dist/index.js +547 -191
- package/dist/themes/baseTheme.d.ts +1 -1
- package/dist/utils/checkout.d.ts +25 -25
- package/dist/utils/flags/config.d.ts +24 -0
- package/dist/utils/flags/endpoint.d.ts +22 -0
- package/dist/utils/flags/hash.d.ts +13 -0
- package/dist/utils/flags/impl.d.ts +26 -0
- package/dist/utils/flags/index.d.ts +9 -0
- package/dist/utils/flags/types.d.ts +39 -0
- package/dist/utils/funLogger.d.ts +7 -1
- package/dist/utils/memoize.d.ts +3 -0
- package/dist/utils/mesh.d.ts +0 -1
- package/dist/wallets/computeWalletConnectMetaData.d.ts +1 -1
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-2DWBVWFI.js +87 -0
- package/dist/wallets/walletConnectors/chunk-32KBKKGT.js +182 -0
- package/dist/wallets/walletConnectors/chunk-3CLNL7LR.js +73 -0
- package/dist/wallets/walletConnectors/chunk-5L2OLU3J.js +102 -0
- package/dist/wallets/walletConnectors/chunk-7GGRZNT3.js +96 -0
- package/dist/wallets/walletConnectors/chunk-7YDZTPO4.js +100 -0
- package/dist/wallets/walletConnectors/chunk-BCXBFAL4.js +98 -0
- package/dist/wallets/walletConnectors/chunk-CMXZK5RR.js +94 -0
- package/dist/wallets/walletConnectors/chunk-F4EJ42XO.js +105 -0
- package/dist/wallets/walletConnectors/chunk-FL2VIO76.js +71 -0
- package/dist/wallets/walletConnectors/chunk-IIJOJ6AD.js +102 -0
- package/dist/wallets/walletConnectors/chunk-KZFAL4RZ.js +27 -0
- package/dist/wallets/walletConnectors/chunk-LJRV5JY7.js +95 -0
- package/dist/wallets/walletConnectors/chunk-M4SPCKW4.js +66 -0
- package/dist/wallets/walletConnectors/chunk-MSRKKVDE.js +98 -0
- package/dist/wallets/walletConnectors/chunk-NK3DYIAB.js +92 -0
- package/dist/wallets/walletConnectors/chunk-OMKARG6Y.js +94 -0
- package/dist/wallets/walletConnectors/chunk-R5GNFRXW.js +96 -0
- package/dist/wallets/walletConnectors/chunk-XB2GFXBL.js +107 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.js +4 -5
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +72 -72
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +11 -7
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getInjectedConnector,
|
|
4
|
+
hasInjectedProvider
|
|
5
|
+
} from "./chunk-F3VCNZXS.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-ZDU3JFGR.js";
|
|
9
|
+
|
|
10
|
+
// src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
|
|
11
|
+
var safepalWallet = ({
|
|
12
|
+
projectId,
|
|
13
|
+
walletConnectParameters
|
|
14
|
+
}) => {
|
|
15
|
+
const isSafePalWalletInjected = hasInjectedProvider({
|
|
16
|
+
namespace: "safepalProvider",
|
|
17
|
+
flag: "isSafePal"
|
|
18
|
+
});
|
|
19
|
+
const shouldUseWalletConnect = !isSafePalWalletInjected;
|
|
20
|
+
const getUriMobile = (uri) => {
|
|
21
|
+
return `safepalwallet://wc?uri=${encodeURIComponent(uri)}`;
|
|
22
|
+
};
|
|
23
|
+
const getUriQR = async (uri) => {
|
|
24
|
+
return uri;
|
|
25
|
+
};
|
|
26
|
+
const mobileConnector = {
|
|
27
|
+
getUri: shouldUseWalletConnect ? getUriMobile : void 0
|
|
28
|
+
};
|
|
29
|
+
let qrConnector = void 0;
|
|
30
|
+
if (shouldUseWalletConnect) {
|
|
31
|
+
qrConnector = {
|
|
32
|
+
getUri: getUriQR,
|
|
33
|
+
instructions: {
|
|
34
|
+
learnMoreUrl: "https://safepal.com/",
|
|
35
|
+
steps: [
|
|
36
|
+
{
|
|
37
|
+
description: "wallet_connectors.safepal.qr_code.step1.description",
|
|
38
|
+
step: "install",
|
|
39
|
+
title: "wallet_connectors.safepal.qr_code.step1.title"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
description: "wallet_connectors.safepal.qr_code.step2.description",
|
|
43
|
+
step: "create",
|
|
44
|
+
title: "wallet_connectors.safepal.qr_code.step2.title"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
description: "wallet_connectors.safepal.qr_code.step3.description",
|
|
48
|
+
step: "scan",
|
|
49
|
+
title: "wallet_connectors.safepal.qr_code.step3.title"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
const extensionConnector = {
|
|
56
|
+
instructions: {
|
|
57
|
+
learnMoreUrl: "https://www.safepal.com/download?product=2",
|
|
58
|
+
steps: [
|
|
59
|
+
{
|
|
60
|
+
description: "wallet_connectors.safepal.extension.step1.description",
|
|
61
|
+
step: "install",
|
|
62
|
+
title: "wallet_connectors.safepal.extension.step1.title"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
description: "wallet_connectors.safepal.extension.step2.description",
|
|
66
|
+
step: "create",
|
|
67
|
+
title: "wallet_connectors.safepal.extension.step2.title"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
description: "wallet_connectors.safepal.extension.step3.description",
|
|
71
|
+
step: "refresh",
|
|
72
|
+
title: "wallet_connectors.safepal.extension.step3.title"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
return {
|
|
78
|
+
id: "safepal",
|
|
79
|
+
name: "SafePal Wallet",
|
|
80
|
+
iconUrl: async () => (await import("./safepalWallet-FDJRNZUU.js")).default,
|
|
81
|
+
installed: isSafePalWalletInjected,
|
|
82
|
+
iconAccent: "#3375BB",
|
|
83
|
+
iconBackground: "#fff",
|
|
84
|
+
downloadUrls: {
|
|
85
|
+
android: "https://play.google.com/store/apps/details?id=io.safepal.wallet&referrer=utm_source%3Drainbowkit%26utm_medium%3Ddisplay%26utm_campaign%3Ddownload",
|
|
86
|
+
ios: "https://apps.apple.com/app/apple-store/id1548297139?pt=122504219&ct=rainbowkit&mt=8",
|
|
87
|
+
mobile: "https://www.safepal.com/en/download",
|
|
88
|
+
qrCode: "https://www.safepal.com/en/download",
|
|
89
|
+
chrome: "https://chrome.google.com/webstore/detail/safepal-extension-wallet/lgmpcpglpngdoalbgeoldeajfclnhafa",
|
|
90
|
+
browserExtension: "https://www.safepal.com/download?product=2"
|
|
91
|
+
},
|
|
92
|
+
mobile: mobileConnector,
|
|
93
|
+
...qrConnector ? qrConnector : {},
|
|
94
|
+
extension: extensionConnector,
|
|
95
|
+
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
96
|
+
projectId,
|
|
97
|
+
walletConnectParameters
|
|
98
|
+
}) : getInjectedConnector({
|
|
99
|
+
namespace: "safepalProvider",
|
|
100
|
+
flag: "isSafePal"
|
|
101
|
+
})
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export {
|
|
106
|
+
safepalWallet
|
|
107
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MSRKKVDE.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
10
10
|
};
|
|
@@ -4,10 +4,8 @@ import { funkitWagmiConnectorWallet } from "@funkit/wagmi-tools";
|
|
|
4
4
|
import { createConnector } from "wagmi";
|
|
5
5
|
|
|
6
6
|
// src/consts/funkit.ts
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS
|
|
10
|
-
} from "@funkit/core";
|
|
7
|
+
import { CheckoutState } from "@funkit/api-base";
|
|
8
|
+
import { FUNKIT_CONNECT_CHECKOUT_NATIVE_CURRENCY_ADDRESS } from "@funkit/core";
|
|
11
9
|
var FUNKIT_CONNECT_WALLET_ID = "funkitConnectWallet";
|
|
12
10
|
var FROM_PROGRESS_CHECKOUT_STATES = [
|
|
13
11
|
CheckoutState.FROM_UNFUNDED,
|
|
@@ -28,7 +26,8 @@ var IN_PROGRESS_CHECKOUT_STATES = [
|
|
|
28
26
|
var TERMINAL_CHECKOUT_STATES = [
|
|
29
27
|
CheckoutState.EXPIRED,
|
|
30
28
|
CheckoutState.CHECKOUT_ERROR,
|
|
31
|
-
CheckoutState.COMPLETED
|
|
29
|
+
CheckoutState.COMPLETED,
|
|
30
|
+
CheckoutState.CANCELLED
|
|
32
31
|
];
|
|
33
32
|
|
|
34
33
|
// src/wallets/walletConnectors/funkitConnectWallet/funkitConnectWallet.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
gateWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CMXZK5RR.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
gateWallet
|
|
10
10
|
};
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
tokenaryWallet
|
|
4
|
+
} from "./chunk-MD5OPFAT.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
zerionWallet
|
|
7
|
+
} from "./chunk-IIJOJ6AD.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
walletConnectWallet
|
|
10
|
+
} from "./chunk-ASPRR7T3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
talismanWallet
|
|
13
|
+
} from "./chunk-R2GYJ376.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
tokenPocketWallet
|
|
16
|
+
} from "./chunk-LJRV5JY7.js";
|
|
17
17
|
import {
|
|
18
18
|
trustWallet
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-F4EJ42XO.js";
|
|
20
|
+
import {
|
|
21
|
+
safeWallet
|
|
22
|
+
} from "./chunk-D3DCQ72J.js";
|
|
20
23
|
import {
|
|
21
24
|
uniswapWallet
|
|
22
25
|
} from "./chunk-XRSY4JVH.js";
|
|
26
|
+
import {
|
|
27
|
+
rabbyWallet
|
|
28
|
+
} from "./chunk-5SIHQ5GA.js";
|
|
23
29
|
import {
|
|
24
30
|
xdefiWallet
|
|
25
31
|
} from "./chunk-JNZ3EYC7.js";
|
|
26
|
-
import {
|
|
27
|
-
walletConnectWallet
|
|
28
|
-
} from "./chunk-ASPRR7T3.js";
|
|
29
|
-
import {
|
|
30
|
-
zerionWallet
|
|
31
|
-
} from "./chunk-G4DNQN67.js";
|
|
32
32
|
import {
|
|
33
33
|
zealWallet
|
|
34
34
|
} from "./chunk-Z5QFIFDP.js";
|
|
35
|
+
import {
|
|
36
|
+
phantomWallet
|
|
37
|
+
} from "./chunk-4PTY6XNU.js";
|
|
35
38
|
import {
|
|
36
39
|
ramperWallet
|
|
37
40
|
} from "./chunk-XEZPRJPV.js";
|
|
38
41
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import {
|
|
42
|
-
rabbyWallet
|
|
43
|
-
} from "./chunk-5SIHQ5GA.js";
|
|
42
|
+
roninWallet
|
|
43
|
+
} from "./chunk-NK3DYIAB.js";
|
|
44
44
|
import {
|
|
45
45
|
safeheronWallet
|
|
46
46
|
} from "./chunk-FQDX6QIP.js";
|
|
47
|
-
import {
|
|
48
|
-
subWallet
|
|
49
|
-
} from "./chunk-WS4EM7AZ.js";
|
|
50
47
|
import {
|
|
51
48
|
safepalWallet
|
|
52
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XB2GFXBL.js";
|
|
50
|
+
import {
|
|
51
|
+
injectedWallet
|
|
52
|
+
} from "./chunk-GUJHPWTU.js";
|
|
53
|
+
import {
|
|
54
|
+
subWallet
|
|
55
|
+
} from "./chunk-5L2OLU3J.js";
|
|
53
56
|
import {
|
|
54
57
|
tahoWallet
|
|
55
58
|
} from "./chunk-PILSRRPJ.js";
|
|
56
|
-
import {
|
|
57
|
-
talismanWallet
|
|
58
|
-
} from "./chunk-R2GYJ376.js";
|
|
59
59
|
import {
|
|
60
60
|
mewWallet
|
|
61
61
|
} from "./chunk-ZCSUP7CX.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
omniWallet
|
|
67
|
-
} from "./chunk-SVN7OEQR.js";
|
|
63
|
+
oktoWallet
|
|
64
|
+
} from "./chunk-WKHTUEF5.js";
|
|
68
65
|
import {
|
|
69
66
|
okxWallet
|
|
70
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-7GGRZNT3.js";
|
|
68
|
+
import {
|
|
69
|
+
ledgerWallet
|
|
70
|
+
} from "./chunk-Y6VY6E3L.js";
|
|
71
71
|
import {
|
|
72
72
|
oneInchWallet
|
|
73
73
|
} from "./chunk-LCPIZUR3.js";
|
|
@@ -75,80 +75,80 @@ import {
|
|
|
75
75
|
oneKeyWallet
|
|
76
76
|
} from "./chunk-QS2J6MWB.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./chunk-
|
|
80
|
-
import {
|
|
81
|
-
phantomWallet
|
|
82
|
-
} from "./chunk-4PTY6XNU.js";
|
|
78
|
+
omniWallet
|
|
79
|
+
} from "./chunk-SVN7OEQR.js";
|
|
83
80
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./chunk-
|
|
81
|
+
rainbowWallet
|
|
82
|
+
} from "./chunk-3CLNL7LR.js";
|
|
86
83
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
84
|
+
bitverseWallet
|
|
85
|
+
} from "./chunk-NL4I7WOT.js";
|
|
89
86
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
87
|
+
enkryptWallet
|
|
88
|
+
} from "./chunk-SJWHYD45.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-CMXZK5RR.js";
|
|
95
92
|
import {
|
|
96
93
|
imTokenWallet
|
|
97
94
|
} from "./chunk-5MVV7OVS.js";
|
|
95
|
+
import {
|
|
96
|
+
frontierWallet
|
|
97
|
+
} from "./chunk-MSRKKVDE.js";
|
|
98
98
|
import {
|
|
99
99
|
kresusWallet
|
|
100
100
|
} from "./chunk-X6T3CICZ.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
102
|
+
metaMaskWallet
|
|
103
|
+
} from "./chunk-32KBKKGT.js";
|
|
104
104
|
import {
|
|
105
105
|
coin98Wallet
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import {
|
|
108
|
-
bloomWallet
|
|
109
|
-
} from "./chunk-NTGZF5BY.js";
|
|
106
|
+
} from "./chunk-R5GNFRXW.js";
|
|
110
107
|
import {
|
|
111
108
|
coinbaseWallet
|
|
112
109
|
} from "./chunk-O77H3VWW.js";
|
|
113
|
-
import {
|
|
114
|
-
bitverseWallet
|
|
115
|
-
} from "./chunk-NL4I7WOT.js";
|
|
116
110
|
import {
|
|
117
111
|
dawnWallet
|
|
118
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-KZFAL4RZ.js";
|
|
113
|
+
import {
|
|
114
|
+
coreWallet
|
|
115
|
+
} from "./chunk-OMKARG6Y.js";
|
|
119
116
|
import {
|
|
120
117
|
desigWallet
|
|
121
118
|
} from "./chunk-P4C7ZHIS.js";
|
|
122
119
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
120
|
+
clvWallet
|
|
121
|
+
} from "./chunk-2DWBVWFI.js";
|
|
125
122
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
123
|
+
frameWallet
|
|
124
|
+
} from "./chunk-HXGBE5AH.js";
|
|
125
|
+
import {
|
|
126
|
+
foxWallet
|
|
127
|
+
} from "./chunk-M4SPCKW4.js";
|
|
128
128
|
import {
|
|
129
129
|
argentWallet
|
|
130
130
|
} from "./chunk-NZ5G23JP.js";
|
|
131
131
|
import {
|
|
132
132
|
bitgetWallet
|
|
133
|
-
} from "./chunk-
|
|
134
|
-
import {
|
|
135
|
-
bifrostWallet
|
|
136
|
-
} from "./chunk-AFONKDII.js";
|
|
137
|
-
import "./chunk-ZOLACFTK.js";
|
|
133
|
+
} from "./chunk-7YDZTPO4.js";
|
|
138
134
|
import {
|
|
139
135
|
bitskiWallet
|
|
140
136
|
} from "./chunk-IMZRCMZR.js";
|
|
137
|
+
import {
|
|
138
|
+
braveWallet
|
|
139
|
+
} from "./chunk-KJWMF6GZ.js";
|
|
141
140
|
import {
|
|
142
141
|
bybitWallet
|
|
143
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-BCXBFAL4.js";
|
|
144
143
|
import {
|
|
145
|
-
|
|
146
|
-
} from "./chunk-
|
|
147
|
-
import "./chunk-ZDU3JFGR.js";
|
|
144
|
+
bloomWallet
|
|
145
|
+
} from "./chunk-NTGZF5BY.js";
|
|
148
146
|
import {
|
|
149
|
-
|
|
150
|
-
} from "./chunk-
|
|
147
|
+
bifrostWallet
|
|
148
|
+
} from "./chunk-FL2VIO76.js";
|
|
151
149
|
import "./chunk-F3VCNZXS.js";
|
|
150
|
+
import "./chunk-ZOLACFTK.js";
|
|
151
|
+
import "./chunk-ZDU3JFGR.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
154
154
|
bifrostWallet,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-32KBKKGT.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
okxWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7GGRZNT3.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
okxWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3CLNL7LR.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LJRV5JY7.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-F4EJ42XO.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-IIJOJ6AD.js";
|
|
5
|
+
import "../chunk-F3VCNZXS.js";
|
|
5
6
|
import "../chunk-ZOLACFTK.js";
|
|
6
7
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
-
import "../chunk-F3VCNZXS.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"wagmi": "2.x"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
+
"@aws-sdk/client-s3": "^3.600.0",
|
|
46
47
|
"@funkit/eslint-config": "^1.1.1",
|
|
47
48
|
"@testing-library/jest-dom": "^6.2.0",
|
|
48
49
|
"@testing-library/react": "^14.1.2",
|
|
@@ -57,7 +58,8 @@
|
|
|
57
58
|
"nock": "^13.4.0",
|
|
58
59
|
"postcss": "^8.4.32",
|
|
59
60
|
"react": "^18.3.0",
|
|
60
|
-
"
|
|
61
|
+
"tsx": "^4.15.7",
|
|
62
|
+
"vitest": "^1.6.0"
|
|
61
63
|
},
|
|
62
64
|
"dependencies": {
|
|
63
65
|
"@datadog/browser-logs": "^5.12.0",
|
|
@@ -65,19 +67,21 @@
|
|
|
65
67
|
"@moonpay/moonpay-react": "^1.6.1",
|
|
66
68
|
"@privy-io/js-sdk-core": "^0.21.0",
|
|
67
69
|
"@tanstack/react-query": "^5.28.8",
|
|
70
|
+
"@types/node-fetch": "^2.6.4",
|
|
68
71
|
"@types/uuid": "^9.0.8",
|
|
69
|
-
"@vanilla-extract/css": "1.
|
|
72
|
+
"@vanilla-extract/css": "1.15.3",
|
|
70
73
|
"@vanilla-extract/dynamic": "2.1.0",
|
|
71
74
|
"@vanilla-extract/sprinkles": "1.6.1",
|
|
72
75
|
"@wagmi/core": "^2.10.2",
|
|
73
|
-
"clsx": "2.1.
|
|
76
|
+
"clsx": "2.1.1",
|
|
77
|
+
"node-fetch": "^2.7.0",
|
|
74
78
|
"qrcode": "1.5.3",
|
|
75
79
|
"react-remove-scroll": "2.5.7",
|
|
76
80
|
"ua-parser-js": "^1.0.37",
|
|
77
81
|
"uuid": "^9.0.1",
|
|
78
|
-
"@funkit/
|
|
79
|
-
"@funkit/
|
|
80
|
-
"@funkit/
|
|
82
|
+
"@funkit/wagmi-tools": "2.0.3",
|
|
83
|
+
"@funkit/api-base": "0.0.5",
|
|
84
|
+
"@funkit/core": "1.0.18"
|
|
81
85
|
},
|
|
82
86
|
"repository": {
|
|
83
87
|
"type": "git",
|