@funkit/connect 3.0.0-next.8 → 3.0.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 +29 -0
- package/dist/components/AccountModal/AccountModal.d.ts +3 -1
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunButton/FunIconButton.d.ts +1 -2
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -0
- package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +0 -6
- package/dist/components/FunkitProvider/ModalContext.d.ts +2 -1
- package/dist/components/Icons/Spinner.d.ts +2 -3
- package/dist/components/ProfileDetails/ProfileDetails.d.ts +3 -1
- package/dist/hooks/useAnimatedNavigation.d.ts +10 -0
- package/dist/hooks/useCheckoutModalTitle.d.ts +2 -0
- package/dist/hooks/useMesh.d.ts +1 -0
- package/dist/index.css +17 -14
- package/dist/index.js +731 -671
- package/dist/utils/mesh.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +65 -65
- package/package.json +4 -4
- package/dist/wallets/walletConnectors/chunk-45BGLKK3.js +0 -149
- package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +0 -81
- package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +0 -92
- package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +0 -60
- package/dist/wallets/walletConnectors/chunk-CW3DUKXK.js +0 -102
- package/dist/wallets/walletConnectors/chunk-E5XC6KBV.js +0 -95
- package/dist/wallets/walletConnectors/chunk-FCHEJLHR.js +0 -101
- package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
- package/dist/wallets/walletConnectors/chunk-HKN7647Q.js +0 -73
- package/dist/wallets/walletConnectors/chunk-IOQWKPOO.js +0 -71
- package/dist/wallets/walletConnectors/chunk-LPQBQIZL.js +0 -108
- package/dist/wallets/walletConnectors/chunk-LTIIUGMZ.js +0 -96
- package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +0 -60
- package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +0 -60
- package/dist/wallets/walletConnectors/chunk-VJ5C6RXN.js +0 -98
- package/dist/wallets/walletConnectors/chunk-WMLYUYMP.js +0 -94
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-23WIEY36.js";
|
|
5
|
-
import {
|
|
6
|
-
isAndroid
|
|
7
|
-
} from "./chunk-RETKWSKD.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/omniWallet/omniWallet.ts
|
|
10
|
-
var omniWallet = ({
|
|
11
|
-
projectId,
|
|
12
|
-
walletConnectParameters
|
|
13
|
-
}) => ({
|
|
14
|
-
id: "omni",
|
|
15
|
-
name: "Omni",
|
|
16
|
-
iconUrl: async () => (await import("./omniWallet-DEYUMT4A.js")).default,
|
|
17
|
-
iconBackground: "#000",
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
android: "https://play.google.com/store/apps/details?id=fi.steakwallet.app",
|
|
20
|
-
ios: "https://itunes.apple.com/us/app/id1569375204",
|
|
21
|
-
mobile: "https://omniwallet.app.link",
|
|
22
|
-
qrCode: "https://omniwallet.app.link"
|
|
23
|
-
},
|
|
24
|
-
mobile: {
|
|
25
|
-
getUri: (uri) => {
|
|
26
|
-
return isAndroid() ? uri : `omni://wc?uri=${encodeURIComponent(uri)}`;
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
qrCode: {
|
|
30
|
-
getUri: (uri) => uri,
|
|
31
|
-
instructions: {
|
|
32
|
-
learnMoreUrl: "https://omni.app/support",
|
|
33
|
-
steps: [
|
|
34
|
-
{
|
|
35
|
-
description: "wallet_connectors.omni.qr_code.step1.description",
|
|
36
|
-
step: "install",
|
|
37
|
-
title: "wallet_connectors.omni.qr_code.step1.title"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.omni.qr_code.step2.description",
|
|
41
|
-
step: "create",
|
|
42
|
-
title: "wallet_connectors.omni.qr_code.step2.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.omni.qr_code.step3.description",
|
|
46
|
-
step: "scan",
|
|
47
|
-
title: "wallet_connectors.omni.qr_code.step3.title"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
createConnector: getWalletConnectConnector({
|
|
53
|
-
projectId,
|
|
54
|
-
walletConnectParameters
|
|
55
|
-
})
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export {
|
|
59
|
-
omniWallet
|
|
60
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-23WIEY36.js";
|
|
5
|
-
import {
|
|
6
|
-
isAndroid
|
|
7
|
-
} from "./chunk-RETKWSKD.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/oktoWallet/oktoWallet.ts
|
|
10
|
-
var oktoWallet = ({
|
|
11
|
-
projectId,
|
|
12
|
-
walletConnectParameters
|
|
13
|
-
}) => ({
|
|
14
|
-
id: "Okto",
|
|
15
|
-
name: "Okto",
|
|
16
|
-
iconUrl: async () => (await import("./oktoWallet-GJFOPPEA.js")).default,
|
|
17
|
-
iconBackground: "#fff",
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
android: "https://play.google.com/store/apps/details?id=im.okto.contractwalletclient",
|
|
20
|
-
ios: "https://apps.apple.com/in/app/okto-wallet/id6450688229",
|
|
21
|
-
mobile: "https://okto.tech/",
|
|
22
|
-
qrCode: "https://okto.tech/"
|
|
23
|
-
},
|
|
24
|
-
mobile: {
|
|
25
|
-
getUri: (uri) => {
|
|
26
|
-
return isAndroid() ? uri : `okto://wc?uri=${encodeURIComponent(uri)}`;
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
qrCode: {
|
|
30
|
-
getUri: (uri) => uri,
|
|
31
|
-
instructions: {
|
|
32
|
-
learnMoreUrl: "https://okto.tech/",
|
|
33
|
-
steps: [
|
|
34
|
-
{
|
|
35
|
-
description: "wallet_connectors.okto.qr_code.step1.description",
|
|
36
|
-
step: "install",
|
|
37
|
-
title: "wallet_connectors.okto.qr_code.step1.title"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
description: "wallet_connectors.okto.qr_code.step2.description",
|
|
41
|
-
step: "create",
|
|
42
|
-
title: "wallet_connectors.okto.qr_code.step2.title"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.okto.qr_code.step3.description",
|
|
46
|
-
step: "scan",
|
|
47
|
-
title: "wallet_connectors.okto.qr_code.step3.title"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
createConnector: getWalletConnectConnector({
|
|
53
|
-
projectId,
|
|
54
|
-
walletConnectParameters
|
|
55
|
-
})
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export {
|
|
59
|
-
oktoWallet
|
|
60
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
import {
|
|
10
|
-
isAndroid
|
|
11
|
-
} from "./chunk-RETKWSKD.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
|
|
14
|
-
var frontierWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isFrontierInjected = hasInjectedProvider({
|
|
19
|
-
namespace: "frontier.ethereum",
|
|
20
|
-
flag: "isFrontier"
|
|
21
|
-
});
|
|
22
|
-
const shouldUseWalletConnect = !isFrontierInjected;
|
|
23
|
-
return {
|
|
24
|
-
id: "frontier",
|
|
25
|
-
name: "Frontier Wallet",
|
|
26
|
-
rdns: "xyz.frontier.wallet",
|
|
27
|
-
installed: isFrontierInjected,
|
|
28
|
-
iconUrl: async () => (await import("./frontierWallet-HNIG7QYQ.js")).default,
|
|
29
|
-
iconBackground: "#CC703C",
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
android: "https://play.google.com/store/apps/details?id=com.frontierwallet",
|
|
32
|
-
ios: "https://apps.apple.com/us/app/frontier-crypto-defi-wallet/id1482380988",
|
|
33
|
-
qrCode: "https://www.frontier.xyz/download",
|
|
34
|
-
chrome: "https://chrome.google.com/webstore/detail/frontier-wallet/kppfdiipphfccemcignhifpjkapfbihd",
|
|
35
|
-
browserExtension: "https://www.frontier.xyz/download"
|
|
36
|
-
},
|
|
37
|
-
mobile: {
|
|
38
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
39
|
-
return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
40
|
-
} : void 0
|
|
41
|
-
},
|
|
42
|
-
qrCode: shouldUseWalletConnect ? {
|
|
43
|
-
getUri: (uri) => {
|
|
44
|
-
return isAndroid() ? `frontier://wc?uri=${encodeURIComponent(uri)}` : uri;
|
|
45
|
-
},
|
|
46
|
-
instructions: {
|
|
47
|
-
learnMoreUrl: "https://help.frontier.xyz/en/",
|
|
48
|
-
steps: [
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.im_token.qr_code.step1.description",
|
|
51
|
-
step: "install",
|
|
52
|
-
title: "wallet_connectors.im_token.qr_code.step1.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.im_token.qr_code.step2.description",
|
|
56
|
-
step: "create",
|
|
57
|
-
title: "wallet_connectors.im_token.qr_code.step2.title"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
description: "wallet_connectors.im_token.qr_code.step3.description",
|
|
61
|
-
step: "scan",
|
|
62
|
-
title: "wallet_connectors.im_token.qr_code.step3.title"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
} : void 0,
|
|
67
|
-
extension: {
|
|
68
|
-
instructions: {
|
|
69
|
-
learnMoreUrl: "https://help.frontier.xyz/en/articles/6967236-setting-up-frontier-on-your-device",
|
|
70
|
-
steps: [
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.frontier.extension.step1.description",
|
|
73
|
-
step: "install",
|
|
74
|
-
title: "wallet_connectors.frontier.extension.step1.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.frontier.extension.step2.description",
|
|
78
|
-
step: "create",
|
|
79
|
-
title: "wallet_connectors.frontier.extension.step2.title"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
description: "wallet_connectors.frontier.extension.step3.description",
|
|
83
|
-
step: "refresh",
|
|
84
|
-
title: "wallet_connectors.frontier.extension.step3.title"
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({ projectId, walletConnectParameters }) : getInjectedConnector({
|
|
90
|
-
namespace: "frontier.ethereum",
|
|
91
|
-
flag: "isFrontier"
|
|
92
|
-
})
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export {
|
|
97
|
-
frontierWallet
|
|
98
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
import {
|
|
10
|
-
isAndroid
|
|
11
|
-
} from "./chunk-RETKWSKD.js";
|
|
12
|
-
|
|
13
|
-
// src/wallets/walletConnectors/gateWallet/gateWallet.ts
|
|
14
|
-
var gateWallet = ({
|
|
15
|
-
projectId,
|
|
16
|
-
walletConnectParameters
|
|
17
|
-
}) => {
|
|
18
|
-
const isGateInjected = hasInjectedProvider({ namespace: "gatewallet" });
|
|
19
|
-
const shouldUseWalletConnect = !isGateInjected;
|
|
20
|
-
return {
|
|
21
|
-
id: "gate",
|
|
22
|
-
name: "Gate Wallet",
|
|
23
|
-
rdns: "io.gate.wallet",
|
|
24
|
-
iconUrl: async () => (await import("./gateWallet-ZVEZILRP.js")).default,
|
|
25
|
-
iconAccent: "#fff",
|
|
26
|
-
iconBackground: "#fff",
|
|
27
|
-
downloadUrls: {
|
|
28
|
-
android: "https://play.google.com/store/apps/details?id=com.gateio.gateio",
|
|
29
|
-
ios: "https://apps.apple.com/us/app/gate-io-buy-bitcoin-crypto/id1294998195",
|
|
30
|
-
mobile: "https://www.gate.io/mobileapp",
|
|
31
|
-
qrCode: "https://www.gate.io/web3",
|
|
32
|
-
chrome: "https://chromewebstore.google.com/detail/gate-wallet/cpmkedoipcpimgecpmgpldfpohjplkpp",
|
|
33
|
-
browserExtension: "https://www.gate.io/web3"
|
|
34
|
-
},
|
|
35
|
-
mobile: {
|
|
36
|
-
getUri: shouldUseWalletConnect ? (uri) => {
|
|
37
|
-
return isAndroid() ? uri : `gtweb3wallet://wc?uri=${encodeURIComponent(uri)}`;
|
|
38
|
-
} : void 0
|
|
39
|
-
},
|
|
40
|
-
qrCode: shouldUseWalletConnect ? {
|
|
41
|
-
getUri: (uri) => uri,
|
|
42
|
-
instructions: {
|
|
43
|
-
learnMoreUrl: "https://www.gate.io/learn",
|
|
44
|
-
steps: [
|
|
45
|
-
{
|
|
46
|
-
description: "wallet_connectors.gate.qr_code.step1.description",
|
|
47
|
-
step: "install",
|
|
48
|
-
title: "wallet_connectors.gate.qr_code.step1.title"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
description: "wallet_connectors.gate.qr_code.step2.description",
|
|
52
|
-
step: "create",
|
|
53
|
-
title: "wallet_connectors.gate.qr_code.step2.title"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
description: "wallet_connectors.gate.qr_code.step3.description",
|
|
57
|
-
step: "scan",
|
|
58
|
-
title: "wallet_connectors.gate.qr_code.step3.title"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
} : void 0,
|
|
63
|
-
extension: {
|
|
64
|
-
instructions: {
|
|
65
|
-
learnMoreUrl: "https://www.gate.io/learn",
|
|
66
|
-
steps: [
|
|
67
|
-
{
|
|
68
|
-
description: "wallet_connectors.gate.extension.step1.description",
|
|
69
|
-
step: "install",
|
|
70
|
-
title: "wallet_connectors.gate.extension.step1.title"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
description: "wallet_connectors.gate.extension.step2.description",
|
|
74
|
-
step: "create",
|
|
75
|
-
title: "wallet_connectors.gate.extension.step2.title"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
description: "wallet_connectors.gate.extension.step3.description",
|
|
79
|
-
step: "refresh",
|
|
80
|
-
title: "wallet_connectors.gate.extension.step3.title"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
|
|
86
|
-
projectId,
|
|
87
|
-
walletConnectParameters
|
|
88
|
-
}) : getInjectedConnector({ namespace: "gatewallet" })
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
export {
|
|
93
|
-
gateWallet
|
|
94
|
-
};
|