@bit-buccaneers/wallet-abstraction 0.0.4 → 0.0.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.
@@ -0,0 +1,4 @@
1
+ import type { EvmWalletConnector } from '../evm';
2
+ import type { SolanaWalletConnector } from '../solana';
3
+ export declare const createWalletConnectEvmConnector: () => EvmWalletConnector | null;
4
+ export declare const createWalletConnectSolanaConnector: () => SolanaWalletConnector | null;
@@ -33,7 +33,7 @@ export interface GroupedWallet {
33
33
  id: string;
34
34
  name: string;
35
35
  icon: string;
36
- chromeExtensionUrl: string;
36
+ chromeExtensionUrl?: string;
37
37
  evm?: EvmWalletConnector;
38
38
  solana?: SolanaWalletConnector;
39
39
  }
@@ -3,4 +3,4 @@ export { createEvmConfig, getEvmConfig, getEvmConnectors, watchEvmConnections, t
3
3
  export { getSolanaWallets, onSolanaWalletsChange, reconnectSolana, watchSolanaConnection, checkPhantomSignCallback, checkSolflareSignCallback, type SolanaConnection, type SolanaWallet, type SolanaWalletConnector, } from './solana';
4
4
  export { useWallet, WalletProvider, type WalletContextValue } from './context';
5
5
  export { WALLETS, type WalletConfig } from './wallets';
6
- export { initWalletConnect, type WalletConnectConfig } from './walletconnect';
6
+ export { getCurrentSession, initWalletConnect, onWalletConnectSessionChange, type WalletConnectConfig, type WalletConnectSession, } from './walletconnect';
@@ -1,9 +1,9 @@
1
- export declare const WALLET_IDS: readonly ["metamask", "phantom", "okx", "coinbase", "binance", "bitget", "solflare", "trust", "rabby", "rainbow", "exodus"];
1
+ export declare const WALLET_IDS: readonly ["walletconnect", "metamask", "phantom", "okx", "coinbase", "binance", "bitget", "solflare", "trust", "rabby", "rainbow", "exodus"];
2
2
  export type WalletId = (typeof WALLET_IDS)[number];
3
3
  export interface WalletConfig {
4
4
  id: WalletId;
5
5
  name: string;
6
6
  icon: string;
7
- chromeExtensionUrl: string;
7
+ chromeExtensionUrl?: string;
8
8
  }
9
9
  export declare const WALLETS: WalletConfig[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-buccaneers/wallet-abstraction",
3
- "version": "0.0.4",
3
+ "version": "0.0.7",
4
4
  "description": "Solid.js web3 wallet abstraction for EVM and Solana",
5
5
  "license": "MIT",
6
6
  "author": "Bit Buccaneers",