@talken/talkenkit 2.3.6 → 2.3.7

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 (115) hide show
  1. package/dist/components/ChainIndicator/ChainIndicator.css.d.ts +4 -0
  2. package/dist/components/ChainIndicator/ChainIndicator.d.ts +53 -0
  3. package/dist/components/ChainIndicator/index.d.ts +2 -0
  4. package/dist/components/ChainSelector/ChainSelector.css.d.ts +5 -0
  5. package/dist/components/ChainSelector/ChainSelector.d.ts +38 -0
  6. package/dist/components/ChainSelector/index.d.ts +2 -0
  7. package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +9 -0
  8. package/dist/components/ConnectOptions/DesktopOptions.d.ts +5 -1
  9. package/dist/components/ConnectOptions/MultiChainConnectOptions.d.ts +31 -0
  10. package/dist/components/ConnectOptions/index.d.ts +3 -0
  11. package/dist/components/ModalSelection/ModalSelection.d.ts +2 -1
  12. package/dist/components/ProfileDetails/ProfileDetails.d.ts +1 -2
  13. package/dist/components/RainbowKitProvider/RainbowKitProvider.d.ts +8 -1
  14. package/dist/components/SolanaWalletList/SolanaWalletList.css.d.ts +7 -0
  15. package/dist/components/SolanaWalletList/SolanaWalletList.d.ts +32 -0
  16. package/dist/components/SolanaWalletList/index.d.ts +2 -0
  17. package/dist/contexts/MultiChainContext.d.ts +68 -0
  18. package/dist/contexts/index.d.ts +7 -0
  19. package/dist/index.css +105 -0
  20. package/dist/index.d.ts +12 -0
  21. package/dist/index.js +1432 -834
  22. package/dist/solana/SolanaWalletProvider.d.ts +38 -0
  23. package/dist/solana/config.d.ts +57 -0
  24. package/dist/solana/index.d.ts +11 -0
  25. package/dist/solana/utils/detection.d.ts +27 -0
  26. package/dist/solana/wallets/backpackWallet.d.ts +19 -0
  27. package/dist/solana/wallets/index.d.ts +8 -0
  28. package/dist/solana/wallets/phantomSolanaWallet.d.ts +17 -0
  29. package/dist/solana/wallets/solflareWallet.d.ts +17 -0
  30. package/dist/types/solana.d.ts +97 -0
  31. package/dist/wallets/recentSolanaWalletIds.d.ts +16 -0
  32. package/dist/wallets/walletConnectors/abcWallet/api/index.js +4 -4
  33. package/dist/wallets/walletConnectors/abcWallet/index.js +2 -2
  34. package/dist/wallets/walletConnectors/chunk-3SVPZCA6.js +71 -0
  35. package/dist/wallets/walletConnectors/chunk-5QEUEPNY.js +94 -0
  36. package/dist/wallets/walletConnectors/chunk-B6JLYR3I.js +66 -0
  37. package/dist/wallets/walletConnectors/chunk-HKWBR5B7.js +102 -0
  38. package/dist/wallets/walletConnectors/chunk-K4APJ4PE.js +96 -0
  39. package/dist/wallets/walletConnectors/chunk-LJ2B47VF.js +108 -0
  40. package/dist/wallets/walletConnectors/chunk-LXINMUQC.js +186 -0
  41. package/dist/wallets/walletConnectors/chunk-MORUEOYX.js +76 -0
  42. package/dist/wallets/walletConnectors/chunk-MQTXA63X.js +27 -0
  43. package/dist/wallets/walletConnectors/chunk-PMZJGS7X.js +73 -0
  44. package/dist/wallets/walletConnectors/chunk-WZZVA3LW.js +101 -0
  45. package/dist/wallets/walletConnectors/chunk-XEIKWKH7.js +63 -0
  46. package/dist/wallets/walletConnectors/chunk-XOQNQKZE.js +98 -0
  47. package/dist/wallets/walletConnectors/chunk-ZAGAF6PO.js +63 -0
  48. package/dist/wallets/walletConnectors/chunk-ZJ6OFFD5.js +95 -0
  49. package/dist/wallets/walletConnectors/index.js +9 -9
  50. package/package.json +6 -1
  51. package/dist/wallets/walletConnectors/chunk-2J66VMY5.js +0 -152
  52. package/dist/wallets/walletConnectors/chunk-2J6LHJAF.js +0 -228
  53. package/dist/wallets/walletConnectors/chunk-2ZPGPZCP.js +0 -228
  54. package/dist/wallets/walletConnectors/chunk-3DPCIDW6.js +0 -1730
  55. package/dist/wallets/walletConnectors/chunk-4HKJ53H3.js +0 -1742
  56. package/dist/wallets/walletConnectors/chunk-5EARL7FN.js +0 -39
  57. package/dist/wallets/walletConnectors/chunk-6JKWIEGA.js +0 -228
  58. package/dist/wallets/walletConnectors/chunk-7L33BY4P.js +0 -44
  59. package/dist/wallets/walletConnectors/chunk-7SXCH5TL.js +0 -1752
  60. package/dist/wallets/walletConnectors/chunk-7UZBDZZZ.js +0 -599
  61. package/dist/wallets/walletConnectors/chunk-BRM4ZVXZ.js +0 -44
  62. package/dist/wallets/walletConnectors/chunk-BUDWZAL7.js +0 -44
  63. package/dist/wallets/walletConnectors/chunk-CSWWNAYR.js +0 -44
  64. package/dist/wallets/walletConnectors/chunk-E4N7SPPU.js +0 -39
  65. package/dist/wallets/walletConnectors/chunk-ENU7XLF5.js +0 -44
  66. package/dist/wallets/walletConnectors/chunk-ESRU5KCF.js +0 -151
  67. package/dist/wallets/walletConnectors/chunk-FF7ZIXKD.js +0 -39
  68. package/dist/wallets/walletConnectors/chunk-FJCL2YPU.js +0 -1737
  69. package/dist/wallets/walletConnectors/chunk-FSU3WBH3.js +0 -63
  70. package/dist/wallets/walletConnectors/chunk-G2IHR6PW.js +0 -63
  71. package/dist/wallets/walletConnectors/chunk-HD6YCICR.js +0 -228
  72. package/dist/wallets/walletConnectors/chunk-HDYBRMYW.js +0 -194
  73. package/dist/wallets/walletConnectors/chunk-HIZCIW5L.js +0 -228
  74. package/dist/wallets/walletConnectors/chunk-JRNBDHFL.js +0 -44
  75. package/dist/wallets/walletConnectors/chunk-KIQDE4N6.js +0 -39
  76. package/dist/wallets/walletConnectors/chunk-KOT7JYJR.js +0 -39
  77. package/dist/wallets/walletConnectors/chunk-KRAIITU7.js +0 -39
  78. package/dist/wallets/walletConnectors/chunk-KZOSE2PI.js +0 -228
  79. package/dist/wallets/walletConnectors/chunk-L7I5I4CZ.js +0 -44
  80. package/dist/wallets/walletConnectors/chunk-LNZJLKFB.js +0 -39
  81. package/dist/wallets/walletConnectors/chunk-LV765WZL.js +0 -1748
  82. package/dist/wallets/walletConnectors/chunk-MSI2BPP5.js +0 -1722
  83. package/dist/wallets/walletConnectors/chunk-MX2IY5CD.js +0 -44
  84. package/dist/wallets/walletConnectors/chunk-NLX2EV7O.js +0 -44
  85. package/dist/wallets/walletConnectors/chunk-NVAZ3B3V.js +0 -228
  86. package/dist/wallets/walletConnectors/chunk-OEWU3ZMN.js +0 -39
  87. package/dist/wallets/walletConnectors/chunk-P2MTINFI.js +0 -280
  88. package/dist/wallets/walletConnectors/chunk-PNMSIVVT.js +0 -44
  89. package/dist/wallets/walletConnectors/chunk-PZNYT2HC.js +0 -1722
  90. package/dist/wallets/walletConnectors/chunk-QPAE4SDS.js +0 -39
  91. package/dist/wallets/walletConnectors/chunk-QZRNNI3E.js +0 -39
  92. package/dist/wallets/walletConnectors/chunk-R4UYVU5X.js +0 -1721
  93. package/dist/wallets/walletConnectors/chunk-R6JCHV55.js +0 -39
  94. package/dist/wallets/walletConnectors/chunk-RLBGBBIO.js +0 -309
  95. package/dist/wallets/walletConnectors/chunk-RWIZ25FJ.js +0 -1684
  96. package/dist/wallets/walletConnectors/chunk-TUUNSVKZ.js +0 -345
  97. package/dist/wallets/walletConnectors/chunk-U2CUEL35.js +0 -240
  98. package/dist/wallets/walletConnectors/chunk-V6NRLREB.js +0 -44
  99. package/dist/wallets/walletConnectors/chunk-VM7AEC7H.js +0 -39
  100. package/dist/wallets/walletConnectors/chunk-VPNKJ7PB.js +0 -1674
  101. package/dist/wallets/walletConnectors/chunk-W2VDZD74.js +0 -478
  102. package/dist/wallets/walletConnectors/chunk-WAO3KL5U.js +0 -285
  103. package/dist/wallets/walletConnectors/chunk-WPHTIILX.js +0 -228
  104. package/dist/wallets/walletConnectors/chunk-WR7HSVMH.js +0 -228
  105. package/dist/wallets/walletConnectors/chunk-WSCJY2QD.js +0 -228
  106. package/dist/wallets/walletConnectors/chunk-X3JQB5QL.js +0 -44
  107. package/dist/wallets/walletConnectors/chunk-X4CDP7L7.js +0 -228
  108. package/dist/wallets/walletConnectors/chunk-XETOVXYM.js +0 -228
  109. package/dist/wallets/walletConnectors/chunk-XYPR4BAF.js +0 -436
  110. package/dist/wallets/walletConnectors/chunk-YZBFKVTX.js +0 -1675
  111. package/dist/wallets/walletConnectors/chunk-Z2ZRPTPX.js +0 -1726
  112. package/dist/wallets/walletConnectors/{chunk-47TQ23J4.js → chunk-6TLWAEJV.js} +8 -8
  113. package/dist/wallets/walletConnectors/{chunk-LTBQU2GW.js → chunk-74ALNZG4.js} +3 -3
  114. package/dist/wallets/walletConnectors/{chunk-66SCJ77O.js → chunk-CM5OGUJV.js} +6 -6
  115. package/dist/wallets/walletConnectors/{chunk-VCBVYFLJ.js → chunk-NLKL4KD2.js} +8 -8
@@ -0,0 +1,38 @@
1
+ /**
2
+ * SolanaWalletProvider - Wrapper for @solana/wallet-adapter-react
3
+ *
4
+ * This component provides Solana wallet connection functionality by wrapping
5
+ * the standard Solana wallet adapter. It supports multiple Solana wallets
6
+ * including Phantom, Solflare, Backpack, and ABC WaaS.
7
+ *
8
+ * @module SolanaWalletProvider
9
+ */
10
+ import React, { ReactNode } from 'react';
11
+ import type { Adapter } from '@solana/wallet-adapter-base';
12
+ export interface SolanaWalletProviderProps {
13
+ children: ReactNode;
14
+ /**
15
+ * Custom wallet adapters to use
16
+ * If not provided, defaults to Phantom, Solflare, Backpack
17
+ */
18
+ wallets?: Adapter[];
19
+ /**
20
+ * Auto-connect to previously connected wallet
21
+ * @default false
22
+ */
23
+ autoConnect?: boolean;
24
+ }
25
+ /**
26
+ * SolanaWalletProvider component
27
+ *
28
+ * Wraps the Solana wallet adapter to provide wallet connection functionality
29
+ * for Solana external wallets (browser extensions).
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * <SolanaWalletProvider autoConnect={false}>
34
+ * <App />
35
+ * </SolanaWalletProvider>
36
+ * ```
37
+ */
38
+ export declare function SolanaWalletProvider({ children, wallets: customWallets, autoConnect, }: SolanaWalletProviderProps): React.JSX.Element;
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Solana Configuration
3
+ *
4
+ * Helper functions and types for configuring Solana wallet support in TalkenKit.
5
+ *
6
+ * @module solana/config
7
+ */
8
+ import type { Adapter } from '@solana/wallet-adapter-base';
9
+ /**
10
+ * Solana network types
11
+ */
12
+ export type SolanaNetwork = 'mainnet-beta' | 'devnet' | 'testnet';
13
+ /**
14
+ * Predefined wallet identifiers
15
+ */
16
+ export type SolanaWalletId = 'phantom' | 'solflare' | 'backpack' | 'magicEden' | 'abc';
17
+ /**
18
+ * Configuration options for Solana support
19
+ */
20
+ export interface SolanaConfig {
21
+ /**
22
+ * Solana network to connect to
23
+ * @default 'mainnet-beta'
24
+ */
25
+ network: SolanaNetwork;
26
+ /**
27
+ * Wallet adapters to enable
28
+ * Can be wallet IDs (strings) or custom Adapter instances
29
+ */
30
+ wallets: Array<SolanaWalletId | Adapter>;
31
+ /**
32
+ * Custom RPC endpoint URL
33
+ * If not provided, uses default public endpoints
34
+ */
35
+ rpcEndpoint?: string;
36
+ /**
37
+ * Auto-connect to previously connected wallet
38
+ * @default false
39
+ */
40
+ autoConnect?: boolean;
41
+ }
42
+ /**
43
+ * Get RPC endpoint URL for a given network
44
+ */
45
+ export declare function getDefaultRpcEndpoint(network: SolanaNetwork): string;
46
+ /**
47
+ * Create a Solana configuration object
48
+ *
49
+ * @example
50
+ * ```ts
51
+ * const solanaConfig = getSolanaConfig({
52
+ * network: 'mainnet-beta',
53
+ * wallets: ['phantom', 'solflare', 'backpack'],
54
+ * });
55
+ * ```
56
+ */
57
+ export declare function getSolanaConfig(options?: Partial<SolanaConfig>): SolanaConfig;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Solana Wallet Support
3
+ *
4
+ * This module provides Solana external wallet integration for TalkenKit.
5
+ *
6
+ * @module solana
7
+ */
8
+ export { SolanaWalletProvider } from './SolanaWalletProvider';
9
+ export type { SolanaWalletProviderProps } from './SolanaWalletProvider';
10
+ export { getSolanaConfig, getDefaultRpcEndpoint, } from './config';
11
+ export type { SolanaConfig, SolanaNetwork, SolanaWalletId, } from './config';
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Wallet Detection Utilities
3
+ *
4
+ * Helper functions for detecting installed Solana wallets
5
+ *
6
+ * @module solana/utils/detection
7
+ */
8
+ /**
9
+ * Check if running in browser environment
10
+ */
11
+ export declare function isBrowser(): boolean;
12
+ /**
13
+ * Check if Phantom Solana wallet is installed
14
+ */
15
+ export declare function hasPhantomSolana(): boolean;
16
+ /**
17
+ * Check if Solflare wallet is installed
18
+ */
19
+ export declare function hasSolflare(): boolean;
20
+ /**
21
+ * Check if Backpack wallet is installed
22
+ */
23
+ export declare function hasBackpack(): boolean;
24
+ /**
25
+ * Get list of all installed Solana wallets
26
+ */
27
+ export declare function getInstalledSolanaWallets(): string[];
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Backpack Wallet Adapter
3
+ *
4
+ * Connector for Backpack wallet
5
+ *
6
+ * @module solana/wallets/backpackWallet
7
+ */
8
+ import type { SolanaWallet } from '../../types/solana';
9
+ /**
10
+ * Backpack wallet connector (placeholder)
11
+ *
12
+ * NOTE: BackpackWalletAdapter not yet available - this is a placeholder
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const wallet = backpackWallet();
17
+ * ```
18
+ */
19
+ export declare const backpackWallet: () => SolanaWallet;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Solana Wallet Connectors
3
+ *
4
+ * @module solana/wallets
5
+ */
6
+ export { phantomSolanaWallet } from './phantomSolanaWallet';
7
+ export { solflareWallet } from './solflareWallet';
8
+ export { backpackWallet } from './backpackWallet';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Phantom Solana Wallet Adapter
3
+ *
4
+ * Connector for Phantom wallet's Solana interface
5
+ *
6
+ * @module solana/wallets/phantomSolanaWallet
7
+ */
8
+ import type { SolanaWallet } from '../../types/solana';
9
+ /**
10
+ * Phantom Solana wallet connector
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const wallet = phantomSolanaWallet();
15
+ * ```
16
+ */
17
+ export declare const phantomSolanaWallet: () => SolanaWallet;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Solflare Wallet Adapter
3
+ *
4
+ * Connector for Solflare wallet
5
+ *
6
+ * @module solana/wallets/solflareWallet
7
+ */
8
+ import type { SolanaWallet } from '../../types/solana';
9
+ /**
10
+ * Solflare wallet connector
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const wallet = solflareWallet();
15
+ * ```
16
+ */
17
+ export declare const solflareWallet: () => SolanaWallet;
@@ -0,0 +1,97 @@
1
+ /**
2
+ * Solana Wallet Types
3
+ *
4
+ * Type definitions for Solana wallet integration
5
+ *
6
+ * @module types/solana
7
+ */
8
+ import type { Adapter } from '@solana/wallet-adapter-base';
9
+ /**
10
+ * Solana wallet definition
11
+ */
12
+ export interface SolanaWallet {
13
+ /**
14
+ * Unique identifier for the wallet
15
+ */
16
+ id: string;
17
+ /**
18
+ * Display name for the wallet
19
+ */
20
+ name: string;
21
+ /**
22
+ * Chain type (always 'solana' for Solana wallets)
23
+ */
24
+ chain: 'solana';
25
+ /**
26
+ * Icon URL or SVG import
27
+ */
28
+ iconUrl: string | (() => Promise<string>);
29
+ /**
30
+ * Background color for wallet icon
31
+ */
32
+ iconBackground?: string;
33
+ /**
34
+ * Check if wallet is installed
35
+ */
36
+ installed: () => boolean;
37
+ /**
38
+ * Create wallet adapter instance
39
+ */
40
+ createAdapter: () => Adapter;
41
+ /**
42
+ * Download URL if wallet is not installed
43
+ */
44
+ downloadUrl?: string;
45
+ }
46
+ /**
47
+ * Window interface extensions for Solana wallets
48
+ */
49
+ declare global {
50
+ interface Window {
51
+ phantom?: {
52
+ solana?: {
53
+ isPhantom?: boolean;
54
+ connect: () => Promise<{
55
+ publicKey: {
56
+ toString: () => string;
57
+ };
58
+ }>;
59
+ disconnect: () => Promise<void>;
60
+ signTransaction: (tx: unknown) => Promise<unknown>;
61
+ signAllTransactions: (txs: unknown[]) => Promise<unknown[]>;
62
+ signMessage: (msg: Uint8Array) => Promise<{
63
+ signature: Uint8Array;
64
+ }>;
65
+ };
66
+ ethereum?: unknown;
67
+ };
68
+ solflare?: {
69
+ isSolflare?: boolean;
70
+ connect: () => Promise<{
71
+ publicKey: {
72
+ toString: () => string;
73
+ };
74
+ }>;
75
+ disconnect: () => Promise<void>;
76
+ signTransaction: (tx: unknown) => Promise<unknown>;
77
+ signAllTransactions: (txs: unknown[]) => Promise<unknown[]>;
78
+ signMessage: (msg: Uint8Array) => Promise<{
79
+ signature: Uint8Array;
80
+ }>;
81
+ };
82
+ backpack?: {
83
+ isBackpack?: boolean;
84
+ connect: () => Promise<{
85
+ publicKey: {
86
+ toString: () => string;
87
+ };
88
+ }>;
89
+ disconnect: () => Promise<void>;
90
+ signTransaction: (tx: unknown) => Promise<unknown>;
91
+ signAllTransactions: (txs: unknown[]) => Promise<unknown[]>;
92
+ signMessage: (msg: Uint8Array) => Promise<{
93
+ signature: Uint8Array;
94
+ }>;
95
+ };
96
+ }
97
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Solana Recent Wallet Tracking
3
+ *
4
+ * Tracks recently used Solana wallets in localStorage.
5
+ * Pattern follows recentWalletIds.ts for EVM wallets.
6
+ */
7
+ /**
8
+ * Get list of recently used Solana wallet names
9
+ * @returns Array of wallet names (e.g., ['Phantom', 'Solflare'])
10
+ */
11
+ export declare function getRecentSolanaWalletIds(): string[];
12
+ /**
13
+ * Add a Solana wallet name to recent list
14
+ * @param walletName - Wallet adapter name (e.g., 'Phantom', 'Solflare')
15
+ */
16
+ export declare function addRecentSolanaWalletId(walletName: string): void;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AbcWaasApiClient,
4
4
  createAbcWaasApiClient
5
- } from "../../chunk-LTBQU2GW.js";
5
+ } from "../../chunk-BC2UIAF7.js";
6
6
  import {
7
7
  WalletApi
8
8
  } from "../../chunk-JBRW4UTW.js";
@@ -15,12 +15,12 @@ import {
15
15
  import {
16
16
  SigningApi
17
17
  } from "../../chunk-4UGXLYKP.js";
18
- import {
19
- TransactionApi
20
- } from "../../chunk-KD2OAMDA.js";
21
18
  import {
22
19
  SolanaApi
23
20
  } from "../../chunk-DMRM7XAS.js";
21
+ import {
22
+ TransactionApi
23
+ } from "../../chunk-KD2OAMDA.js";
24
24
  import {
25
25
  BaseApiClient
26
26
  } from "../../chunk-IOLHAU7H.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  AbcWaasApiClient,
4
4
  createAbcWaasApiClient
5
- } from "../chunk-LTBQU2GW.js";
5
+ } from "../chunk-BC2UIAF7.js";
6
6
  import "../chunk-JBRW4UTW.js";
7
7
  import {
8
8
  generateMpcWallets,
@@ -14,8 +14,8 @@ import {
14
14
  BitcoinApi
15
15
  } from "../chunk-BXCOGV3N.js";
16
16
  import "../chunk-4UGXLYKP.js";
17
- import "../chunk-KD2OAMDA.js";
18
17
  import "../chunk-DMRM7XAS.js";
18
+ import "../chunk-KD2OAMDA.js";
19
19
  import "../chunk-IOLHAU7H.js";
20
20
  import {
21
21
  abcSolanaWallet
@@ -0,0 +1,71 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isAndroid
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-PODFK4OS.js";
12
+
13
+ // src/wallets/walletConnectors/bifrostWallet/bifrostWallet.ts
14
+ var bifrostWallet = ({
15
+ projectId,
16
+ walletConnectParameters
17
+ }) => {
18
+ const isBifrostInjected = hasInjectedProvider({ flag: "isBifrost" });
19
+ const shouldUseWalletConnect = !isBifrostInjected;
20
+ const getUri = (uri) => {
21
+ return isAndroid() ? uri : `https://app.bifrostwallet.com/wc?uri=${encodeURIComponent(uri)}`;
22
+ };
23
+ return {
24
+ id: "bifrostWallet",
25
+ name: "Bifrost Wallet",
26
+ iconUrl: async () => (await import("./bifrostWallet-ORF3DABG.js")).default,
27
+ iconBackground: "#fff",
28
+ installed: !shouldUseWalletConnect ? isBifrostInjected : void 0,
29
+ downloadUrls: {
30
+ android: "https://play.google.com/store/apps/details?id=com.bifrostwallet.app",
31
+ ios: "https://apps.apple.com/us/app/bifrost-wallet/id1577198351",
32
+ qrCode: "https://bifrostwallet.com/#download-app"
33
+ },
34
+ mobile: {
35
+ getUri: shouldUseWalletConnect ? getUri : void 0
36
+ },
37
+ qrCode: shouldUseWalletConnect ? {
38
+ getUri: (uri) => uri,
39
+ instructions: {
40
+ learnMoreUrl: "https://support.bifrostwallet.com/en/articles/6886814-how-to-use-walletconnect",
41
+ steps: [
42
+ {
43
+ description: "wallet_connectors.bifrost.qr_code.step1.description",
44
+ step: "install",
45
+ title: "wallet_connectors.bifrost.qr_code.step1.title"
46
+ },
47
+ {
48
+ description: "wallet_connectors.bifrost.qr_code.step2.description",
49
+ step: "create",
50
+ title: "wallet_connectors.bifrost.qr_code.step2.title"
51
+ },
52
+ {
53
+ description: "wallet_connectors.bifrost.qr_code.step3.description",
54
+ step: "scan",
55
+ title: "wallet_connectors.bifrost.qr_code.step3.title"
56
+ }
57
+ ]
58
+ }
59
+ } : void 0,
60
+ createConnector: shouldUseWalletConnect ? getWalletConnectConnector({
61
+ projectId,
62
+ walletConnectParameters
63
+ }) : getInjectedConnector({
64
+ flag: "isBifrost"
65
+ })
66
+ };
67
+ };
68
+
69
+ export {
70
+ bifrostWallet
71
+ };
@@ -0,0 +1,94 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector,
4
+ hasInjectedProvider
5
+ } from "./chunk-MBBGZGXF.js";
6
+ import {
7
+ isAndroid
8
+ } from "./chunk-RETKWSKD.js";
9
+ import {
10
+ getWalletConnectConnector
11
+ } from "./chunk-PODFK4OS.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
+ };
@@ -0,0 +1,66 @@
1
+ "use client";
2
+ import {
3
+ getInjectedConnector
4
+ } from "./chunk-MBBGZGXF.js";
5
+ import {
6
+ isAndroid
7
+ } from "./chunk-RETKWSKD.js";
8
+ import {
9
+ getWalletConnectConnector
10
+ } from "./chunk-PODFK4OS.js";
11
+
12
+ // src/wallets/walletConnectors/iopayWallet/iopayWallet.ts
13
+ function isIoPayMobile() {
14
+ return typeof navigator !== "undefined" && typeof navigator.userAgent !== "undefined" && (navigator?.userAgent.includes("IoPayAndroid") || navigator?.userAgent.includes("IoPayiOs"));
15
+ }
16
+ var iopayWallet = ({
17
+ projectId,
18
+ walletConnectParameters
19
+ }) => ({
20
+ id: "iopay",
21
+ name: "ioPay Wallet",
22
+ iconUrl: async () => (await import("./iopayWallet-IJHJ7NYT.js")).default,
23
+ iconBackground: "#fff",
24
+ downloadUrls: {
25
+ android: "https://play.google.com/store/apps/details?id=io.iotex.iopay.gp&pli=1",
26
+ ios: "https://apps.apple.com/us/app/iopay-multichain-crypto-wallet/id1478086371",
27
+ qrCode: "https://iopay.me/",
28
+ browserExtension: "https://iopay.me/"
29
+ },
30
+ mobile: {
31
+ getUri: (uri) => {
32
+ return isAndroid() ? uri : `iopay://wc?uri=${encodeURIComponent(uri)}`;
33
+ }
34
+ },
35
+ qrCode: {
36
+ getUri: (uri) => uri,
37
+ instructions: {
38
+ learnMoreUrl: "https://iopay.me/",
39
+ steps: [
40
+ {
41
+ description: "wallet_connectors.iopay.qr_code.step1.description",
42
+ step: "install",
43
+ title: "wallet_connectors.iopay.qr_code.step1.title"
44
+ },
45
+ {
46
+ description: "wallet_connectors.iopay.qr_code.step2.description",
47
+ step: "create",
48
+ title: "wallet_connectors.iopay.qr_code.step2.title"
49
+ },
50
+ {
51
+ description: "wallet_connectors.iopay.qr_code.step3.description",
52
+ step: "scan",
53
+ title: "wallet_connectors.iopay.qr_code.step3.title"
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ createConnector: isIoPayMobile() ? getInjectedConnector({}) : getWalletConnectConnector({
59
+ projectId,
60
+ walletConnectParameters
61
+ })
62
+ });
63
+
64
+ export {
65
+ iopayWallet
66
+ };