@funkit/connect 12.7.0 → 12.8.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/__private__/index.d.ts +3 -0
  3. package/dist/clients/chunk-YD27ZAJB.js +296 -0
  4. package/dist/clients/internal/nado/withdrawalCallback.js +2 -2
  5. package/dist/clients/internal/nado/withdrawalForm.css +81 -81
  6. package/dist/clients/lighter.css +81 -81
  7. package/dist/clients/nado.js +2 -2
  8. package/dist/components/ModalHeightAnimationLayer/FunCheckoutModalHeightAnimationWrapper.d.ts +1 -1
  9. package/dist/index.css +159 -159
  10. package/dist/index.js +20053 -20049
  11. package/dist/modals/CheckoutModal/Brokerage/BrokerageTwoFA.d.ts +2 -1
  12. package/dist/modals/CheckoutModal/Brokerage/ConnectExchange.d.ts +2 -1
  13. package/dist/modals/CheckoutModal/Brokerage/SelectBrokerage.d.ts +2 -1
  14. package/dist/modals/CheckoutModal/CheckoutComplete/CheckoutComplete.d.ts +2 -1
  15. package/dist/modals/CheckoutModal/ConfirmationStep/ConfirmationStep.d.ts +2 -1
  16. package/dist/modals/CheckoutModal/InputAmount/InputAmount.d.ts +2 -1
  17. package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +2 -1
  18. package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +2 -1
  19. package/dist/modals/CheckoutModal/LightningInvoice/LightningInvoice.d.ts +2 -1
  20. package/dist/modals/CheckoutModal/LoadingAccount.d.ts +2 -1
  21. package/dist/modals/CheckoutModal/MeldCurrencySelect/MeldCurrencySelect.d.ts +2 -1
  22. package/dist/modals/CheckoutModal/MeldQuotes/MeldQuotes.d.ts +2 -1
  23. package/dist/modals/CheckoutModal/MeldRedirect/MeldRedirect.d.ts +2 -1
  24. package/dist/modals/CheckoutModal/SelectAsset/SelectAsset.d.ts +2 -1
  25. package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +2 -1
  26. package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeController.d.ts +2 -1
  27. package/dist/modals/CheckoutModal/TransferToken/TransferToken.d.ts +2 -1
  28. package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeCustomer.d.ts +2 -1
  29. package/dist/modals/CheckoutModal/VirtualFiatAccount/BridgeKyc.d.ts +2 -1
  30. package/dist/modals/CheckoutModal/VirtualFiatAccount/ErrorScreen.d.ts +2 -1
  31. package/dist/modals/CheckoutModal/VirtualFiatAccount/FiatAccountDetail.d.ts +2 -1
  32. package/dist/modals/CheckoutModal/VirtualFiatAccount/KycIframe.d.ts +2 -1
  33. package/dist/modals/CheckoutModal/VirtualFiatAccount/VirtualFiatAccount.d.ts +2 -1
  34. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalComplete.d.ts +2 -1
  35. package/dist/modals/CheckoutModal/Withdrawal/WithdrawalEnterAmount.d.ts +2 -1
  36. package/dist/modals/CheckoutModal/stepTransition.d.ts +1 -13
  37. package/dist/modals/CheckoutModal/stepTransition.shared.d.ts +16 -0
  38. package/dist/shadow-css.js +1 -1
  39. package/dist/wallets/walletConnectors/index.js +50 -50
  40. package/package.json +5 -5
  41. package/dist/wallets/walletConnectors/chunk-53MYTA42.js +0 -94
  42. package/dist/wallets/walletConnectors/chunk-65ULY6OC.js +0 -70
  43. package/dist/wallets/walletConnectors/chunk-A5POD5SV.js +0 -103
  44. package/dist/wallets/walletConnectors/chunk-ANODOMIN.js +0 -218
  45. package/dist/wallets/walletConnectors/chunk-ASTCNVJC.js +0 -96
  46. package/dist/wallets/walletConnectors/chunk-F45CUFRR.js +0 -66
  47. package/dist/wallets/walletConnectors/chunk-FYPQ3HP4.js +0 -92
  48. package/dist/wallets/walletConnectors/chunk-IWPW26AL.js +0 -98
  49. package/dist/wallets/walletConnectors/chunk-JJBLW4IU.js +0 -87
  50. package/dist/wallets/walletConnectors/chunk-KE4CWI3A.js +0 -93
  51. package/dist/wallets/walletConnectors/chunk-MWB6LFSG.js +0 -110
  52. package/dist/wallets/walletConnectors/chunk-OVDCDVFX.js +0 -100
  53. package/dist/wallets/walletConnectors/chunk-PPQ6L4K2.js +0 -106
  54. package/dist/wallets/walletConnectors/chunk-RJF2YEZ5.js +0 -92
  55. package/dist/wallets/walletConnectors/chunk-RQYEGJKL.js +0 -96
  56. package/dist/wallets/walletConnectors/chunk-TIHTQ3OB.js +0 -95
  57. package/dist/wallets/walletConnectors/chunk-TM7UBV3Q.js +0 -69
  58. package/dist/wallets/walletConnectors/chunk-USLZMUJ3.js +0 -99
@@ -1,69 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
-
10
- // src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
11
- import { isAndroid } from "@funkit/utils";
12
- var bifrostWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isBifrostInjected = hasInjectedProvider({ flag: "isBifrost" });
17
- const shouldUseWalletConnect = !isBifrostInjected;
18
- const getUri = (uri) => {
19
- return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
20
- };
21
- return {
22
- id: "bifrostWallet",
23
- name: "Bifrost Wallet",
24
- iconUrl: async () => (await import("./bifrostWallet-5NQVDZ5P.js")).default,
25
- iconBackground: "#fff",
26
- installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
27
- downloadUrls: {
28
- android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
29
- ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
30
- qrCode: "https://bifrostwallet.com/#download-app"
31
- },
32
- mobile: {
33
- getUri: shouldUseWalletConnect ? getUri : void 0
34
- },
35
- qrCode: shouldUseWalletConnect ? {
36
- getUri: (uri) => uri,
37
- instructions: {
38
- learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
39
- steps: [
40
- {
41
- description: "wallet_connectors.bifrost.qr_code.step1.description",
42
- step: "install",
43
- title: "wallet_connectors.bifrost.qr_code.step1.title"
44
- },
45
- {
46
- description: "wallet_connectors.bifrost.qr_code.step2.description",
47
- step: "create",
48
- title: "wallet_connectors.bifrost.qr_code.step2.title"
49
- },
50
- {
51
- description: "wallet_connectors.bifrost.qr_code.step3.description",
52
- step: "scan",
53
- title: "wallet_connectors.bifrost.qr_code.step3.title"
54
- }
55
- ]
56
- }
57
- } : void 0,
58
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
59
- projectId,
60
- walletConnectParameters
61
- }) : getInjectedConnector({
62
- flag: "isBifrost"
63
- })
64
- };
65
- };
66
-
67
- export {
68
- bifrostWallet
69
- };
@@ -1,99 +0,0 @@
1
- "use client";
2
- import {
3
- getInjectedConnector,
4
- hasInjectedProvider
5
- } from "./chunk-EYWGX5LT.js";
6
- import {
7
- getWalletConnectConnector
8
- } from "./chunk-AALSJCUR.js";
9
-
10
- // src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
11
- import { isAndroid } from "@funkit/utils";
12
- var bitgetWallet = ({
13
- projectId,
14
- walletConnectParameters
15
- }) => {
16
- const isBitKeepInjected = hasInjectedProvider({
17
- namespace: "bitkeep.ethereum",
18
- flag: "isBitKeep"
19
- });
20
- const shouldUseWalletConnect = !isBitKeepInjected;
21
- return {
22
- id: "bitget",
23
- name: "Bitget Wallet",
24
- rdns: "com.bitget.web3",
25
- iconUrl: async () => (await import("./bitgetWallet-CBQAJOIK.js")).default,
26
- iconAccent: "#f6851a",
27
- iconBackground: "#fff",
28
- installed: !shouldUseWalletConnect ? isBitKeepInjected : void 0,
29
- downloadUrls: {
30
- android: "https://web3.bitget.com/en/wallet-download?type=0",
31
- ios: "https://apps.apple.com/app/bitkeep/id1395301115",
32
- mobile: "https://web3.bitget.com/en/wallet-download?type=2",
33
- qrCode: "https://web3.bitget.com/en/wallet-download",
34
- chrome: "https://chrome.google.com/webstore/detail/bitkeep-crypto-nft-wallet/jiidiaalihmmhddjgbnbgdfflelocpak",
35
- browserExtension: "https://web3.bitget.com/en/wallet-download"
36
- },
37
- extension: {
38
- instructions: {
39
- learnMoreUrl: "https://web3.bitget.com/en/academy",
40
- steps: [
41
- {
42
- description: "wallet_connectors.bitget.extension.step1.description",
43
- step: "install",
44
- title: "wallet_connectors.bitget.extension.step1.title"
45
- },
46
- {
47
- description: "wallet_connectors.bitget.extension.step2.description",
48
- step: "create",
49
- title: "wallet_connectors.bitget.extension.step2.title"
50
- },
51
- {
52
- description: "wallet_connectors.bitget.extension.step3.description",
53
- step: "refresh",
54
- title: "wallet_connectors.bitget.extension.step3.description"
55
- }
56
- ]
57
- }
58
- },
59
- mobile: {
60
- getUri: shouldUseWalletConnect ? (uri) => {
61
- return isAndroid() ? uri : `bitkeep://wc?uri=${encodeURIComponent(uri)}`;
62
- } : void 0
63
- },
64
- qrCode: shouldUseWalletConnect ? {
65
- getUri: (uri) => uri,
66
- instructions: {
67
- learnMoreUrl: "https://web3.bitget.com/en/academy",
68
- steps: [
69
- {
70
- description: "wallet_connectors.bitget.qr_code.step1.description",
71
- step: "install",
72
- title: "wallet_connectors.bitget.qr_code.step1.title"
73
- },
74
- {
75
- description: "wallet_connectors.bitget.qr_code.step2.description",
76
- step: "create",
77
- title: "wallet_connectors.bitget.qr_code.step2.title"
78
- },
79
- {
80
- description: "wallet_connectors.bitget.qr_code.step3.description",
81
- step: "scan",
82
- title: "wallet_connectors.bitget.qr_code.step3.title"
83
- }
84
- ]
85
- }
86
- } : void 0,
87
- createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
88
- projectId,
89
- walletConnectParameters
90
- }) : getInjectedConnector({
91
- namespace: "bitkeep.ethereum",
92
- flag: "isBitKeep"
93
- })
94
- };
95
- };
96
-
97
- export {
98
- bitgetWallet
99
- };