@funkit/connect 1.0.18 → 1.0.19
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 +7 -0
- package/dist/index.js +66 -31
- 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-4FQLUQNA.js +96 -0
- package/dist/wallets/walletConnectors/chunk-JLQ5HJYV.js +94 -0
- package/dist/wallets/walletConnectors/chunk-LVRXH33E.js +92 -0
- package/dist/wallets/walletConnectors/chunk-MIWCKFYE.js +87 -0
- package/dist/wallets/walletConnectors/chunk-Q4RLUJJD.js +66 -0
- package/dist/wallets/walletConnectors/chunk-SYELB4QO.js +107 -0
- package/dist/wallets/walletConnectors/chunk-ZBAQFL6G.js +102 -0
- package/dist/wallets/walletConnectors/chunk-ZUAHWUEL.js +98 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.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/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +66 -66
- 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 +1 -1
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +0 -27
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +0 -98
- package/dist/wallets/walletConnectors/{chunk-OR3PU2W4.js → chunk-2UXZAUWT.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-X255T3C4.js → chunk-3WZRNEZH.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-SL4VH23R.js → chunk-6LTLPR2Q.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-SQGFKNNZ.js → chunk-7CQPABJG.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-N3VZE65M.js → chunk-AM4SSLAP.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-XSSD5ZVD.js → chunk-NGXIHASN.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-FDIIMYTB.js → chunk-O5NKWWEG.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2PC2XXUH.js → chunk-V45EXW7A.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-OAEJQOAV.js → chunk-Z2DGDHHZ.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-75A2U7T7.js → chunk-ZNXQ4V6G.js} +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-2UXZAUWT.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.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-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-Z2DGDHHZ.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.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-
|
|
5
|
-
import "../chunk-QII6PY2D.js";
|
|
4
|
+
} from "../chunk-7CQPABJG.js";
|
|
6
5
|
import "../chunk-ZOLACFTK.js";
|
|
7
6
|
import "../chunk-ZDU3JFGR.js";
|
|
7
|
+
import "../chunk-QII6PY2D.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
|
10
10
|
};
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
|
-
import {
|
|
7
|
-
isIOS
|
|
8
|
-
} from "./chunk-ZOLACFTK.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/dawnWallet/dawnWallet.ts
|
|
11
|
-
var dawnWallet = () => ({
|
|
12
|
-
id: "dawn",
|
|
13
|
-
name: "Dawn",
|
|
14
|
-
iconUrl: async () => (await import("./dawnWallet-MN7QMTX3.js")).default,
|
|
15
|
-
iconBackground: "#000000",
|
|
16
|
-
installed: hasInjectedProvider({ flag: "isDawn" }),
|
|
17
|
-
hidden: () => !isIOS(),
|
|
18
|
-
downloadUrls: {
|
|
19
|
-
ios: "https://apps.apple.com/us/app/dawn-ethereum-wallet/id1673143782",
|
|
20
|
-
mobile: "https://dawnwallet.xyz"
|
|
21
|
-
},
|
|
22
|
-
createConnector: getInjectedConnector({ flag: "isDawn" })
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export {
|
|
26
|
-
dawnWallet
|
|
27
|
-
};
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
hasInjectedProvider
|
|
4
|
-
} from "./chunk-QII6PY2D.js";
|
|
5
|
-
import {
|
|
6
|
-
isIOS
|
|
7
|
-
} from "./chunk-ZOLACFTK.js";
|
|
8
|
-
|
|
9
|
-
// src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts
|
|
10
|
-
import { createConnector } from "wagmi";
|
|
11
|
-
import { coinbaseWallet as coinbaseWagmiWallet } from "wagmi/connectors";
|
|
12
|
-
var coinbaseWallet = ({
|
|
13
|
-
appName,
|
|
14
|
-
appIcon
|
|
15
|
-
}) => {
|
|
16
|
-
const isCoinbaseWalletInjected = hasInjectedProvider({
|
|
17
|
-
flag: "isCoinbaseWallet"
|
|
18
|
-
});
|
|
19
|
-
const getUri = (uri) => uri;
|
|
20
|
-
const ios = isIOS();
|
|
21
|
-
return {
|
|
22
|
-
id: "coinbase",
|
|
23
|
-
name: "Coinbase Wallet",
|
|
24
|
-
shortName: "Coinbase",
|
|
25
|
-
rdns: "com.coinbase.wallet",
|
|
26
|
-
iconUrl: async () => (await import("./coinbaseWallet-2OUR5TUP.js")).default,
|
|
27
|
-
iconAccent: "#2c5ff6",
|
|
28
|
-
iconBackground: "#2c5ff6",
|
|
29
|
-
installed: isCoinbaseWalletInjected || void 0,
|
|
30
|
-
downloadUrls: {
|
|
31
|
-
android: "https://play.google.com/store/apps/details?id=org.toshi",
|
|
32
|
-
ios: "https://apps.apple.com/us/app/coinbase-wallet-store-crypto/id1278383455",
|
|
33
|
-
mobile: "https://coinbase.com/wallet/downloads",
|
|
34
|
-
qrCode: "https://coinbase-wallet.onelink.me/q5Sx/fdb9b250",
|
|
35
|
-
chrome: "https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad",
|
|
36
|
-
browserExtension: "https://coinbase.com/wallet"
|
|
37
|
-
},
|
|
38
|
-
...ios ? {} : {
|
|
39
|
-
qrCode: {
|
|
40
|
-
getUri,
|
|
41
|
-
instructions: {
|
|
42
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-mobile",
|
|
43
|
-
steps: [
|
|
44
|
-
{
|
|
45
|
-
description: "wallet_connectors.coinbase.qr_code.step1.description",
|
|
46
|
-
step: "install",
|
|
47
|
-
title: "wallet_connectors.coinbase.qr_code.step1.title"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
description: "wallet_connectors.coinbase.qr_code.step2.description",
|
|
51
|
-
step: "create",
|
|
52
|
-
title: "wallet_connectors.coinbase.qr_code.step2.title"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
description: "wallet_connectors.coinbase.qr_code.step3.description",
|
|
56
|
-
step: "scan",
|
|
57
|
-
title: "wallet_connectors.coinbase.qr_code.step3.title"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
extension: {
|
|
63
|
-
instructions: {
|
|
64
|
-
learnMoreUrl: "https://coinbase.com/wallet/articles/getting-started-extension",
|
|
65
|
-
steps: [
|
|
66
|
-
{
|
|
67
|
-
description: "wallet_connectors.coinbase.extension.step1.description",
|
|
68
|
-
step: "install",
|
|
69
|
-
title: "wallet_connectors.coinbase.extension.step1.title"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
description: "wallet_connectors.coinbase.extension.step2.description",
|
|
73
|
-
step: "create",
|
|
74
|
-
title: "wallet_connectors.coinbase.extension.step2.title"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
description: "wallet_connectors.coinbase.extension.step3.description",
|
|
78
|
-
step: "refresh",
|
|
79
|
-
title: "wallet_connectors.coinbase.extension.step3.title"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
createConnector: (walletDetails) => createConnector((config) => ({
|
|
86
|
-
...coinbaseWagmiWallet({
|
|
87
|
-
appName,
|
|
88
|
-
appLogoUrl: appIcon,
|
|
89
|
-
headlessMode: true
|
|
90
|
-
})(config),
|
|
91
|
-
...walletDetails
|
|
92
|
-
}))
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export {
|
|
97
|
-
coinbaseWallet
|
|
98
|
-
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isMobile
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.ts
|
|
14
14
|
var tokenPocketWallet = ({
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid,
|
|
8
4
|
isIOS
|
|
@@ -10,6 +6,10 @@ import {
|
|
|
10
6
|
import {
|
|
11
7
|
getWalletConnectConnector
|
|
12
8
|
} from "./chunk-ZDU3JFGR.js";
|
|
9
|
+
import {
|
|
10
|
+
getInjectedConnector,
|
|
11
|
+
hasInjectedProvider
|
|
12
|
+
} from "./chunk-QII6PY2D.js";
|
|
13
13
|
|
|
14
14
|
// src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
|
|
15
15
|
function isMetaMask(ethereum) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
|
|
14
14
|
var bifrostWallet = ({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isIOS
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/zerionWallet/zerionWallet.ts
|
|
14
14
|
var zerionWallet = ({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
|
|
14
14
|
var frontierWallet = ({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/okxWallet/okxWallet.ts
|
|
14
14
|
var okxWallet = ({
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid,
|
|
8
4
|
isIOS
|
|
@@ -10,6 +6,10 @@ import {
|
|
|
10
6
|
import {
|
|
11
7
|
getWalletConnectConnector
|
|
12
8
|
} from "./chunk-ZDU3JFGR.js";
|
|
9
|
+
import {
|
|
10
|
+
getInjectedConnector,
|
|
11
|
+
hasInjectedProvider
|
|
12
|
+
} from "./chunk-QII6PY2D.js";
|
|
13
13
|
|
|
14
14
|
// src/wallets/walletConnectors/rainbowWallet/rainbowWallet.ts
|
|
15
15
|
var rainbowWallet = ({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/gateWallet/gateWallet.ts
|
|
14
14
|
var gateWallet = ({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isMobile
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/trustWallet/trustWallet.ts
|
|
14
14
|
var trustWallet = ({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-QII6PY2D.js";
|
|
6
2
|
import {
|
|
7
3
|
isAndroid
|
|
8
4
|
} from "./chunk-ZOLACFTK.js";
|
|
9
5
|
import {
|
|
10
6
|
getWalletConnectConnector
|
|
11
7
|
} from "./chunk-ZDU3JFGR.js";
|
|
8
|
+
import {
|
|
9
|
+
getInjectedConnector,
|
|
10
|
+
hasInjectedProvider
|
|
11
|
+
} from "./chunk-QII6PY2D.js";
|
|
12
12
|
|
|
13
13
|
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
14
14
|
var bitgetWallet = ({
|