@reown/appkit 1.5.0 → 1.5.2

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.
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "1.5.0";
1
+ export declare const PACKAGE_VERSION = "1.5.2";
@@ -83,7 +83,7 @@ export declare class AppKit {
83
83
  setAllAccounts: (typeof AccountController)['setAllAccounts'];
84
84
  addAddressLabel: (typeof AccountController)['addAddressLabel'];
85
85
  removeAddressLabel: (typeof AccountController)['removeAddressLabel'];
86
- getCaipAddress: (chainNamespace?: ChainNamespace) => `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | undefined;
86
+ getCaipAddress: (chainNamespace?: ChainNamespace) => `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}` | undefined;
87
87
  getAddressByChainNamespace: (chainNamespace: ChainNamespace) => string | undefined;
88
88
  getAddress: (chainNamespace?: ChainNamespace) => string | undefined;
89
89
  getProvider: () => Provider | UniversalProvider | import("@reown/appkit-core").CombinedProvider | undefined;
@@ -12,7 +12,7 @@ type OpenOptions = {
12
12
  };
13
13
  type ThemeModeOptions = AppKitOptions['themeMode'];
14
14
  type ThemeVariablesOptions = AppKitOptions['themeVariables'];
15
- declare module '@vue/runtime-core' {
15
+ declare module 'vue' {
16
16
  interface ComponentCustomProperties {
17
17
  AppKitButton: Pick<AppKitButton, 'size' | 'label' | 'loadingLabel' | 'disabled' | 'balance'>;
18
18
  AppKitConnectButton: Pick<AppKitConnectButton, 'size' | 'label' | 'loadingLabel'>;
@@ -57,6 +57,6 @@ export declare function useWalletInfo(): {
57
57
  };
58
58
  export declare function useAppKitState(): {
59
59
  open: boolean;
60
- selectedNetworkId: `eip155:${string}` | `eip155:${number}` | `solana:${string}` | `solana:${number}` | `polkadot:${string}` | `polkadot:${number}` | undefined;
60
+ selectedNetworkId: `eip155:${string}` | `eip155:${number}` | `solana:${string}` | `solana:${number}` | `polkadot:${string}` | `polkadot:${number}` | `bip122:${string}` | `bip122:${number}` | undefined;
61
61
  };
62
62
  export declare function useAppKitEvents(): AppKitEvent;
@@ -0,0 +1,47 @@
1
+ export declare const bitcoin: {
2
+ blockExplorers?: {
3
+ [key: string]: {
4
+ name: string;
5
+ url: string;
6
+ apiUrl?: string | undefined;
7
+ };
8
+ default: {
9
+ name: string;
10
+ url: string;
11
+ apiUrl?: string | undefined;
12
+ };
13
+ } | undefined;
14
+ contracts?: {
15
+ [x: string]: import("viem").ChainContract | {
16
+ [sourceId: number]: import("viem").ChainContract | undefined;
17
+ } | undefined;
18
+ ensRegistry?: import("viem").ChainContract | undefined;
19
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
20
+ multicall3?: import("viem").ChainContract | undefined;
21
+ universalSignatureVerifier?: import("viem").ChainContract | undefined;
22
+ } | undefined;
23
+ name: "Bitcoin";
24
+ nativeCurrency: {
25
+ readonly name: "Bitcoin";
26
+ readonly symbol: "BTC";
27
+ readonly decimals: 8;
28
+ };
29
+ rpcUrls: {
30
+ readonly default: {
31
+ readonly http: readonly ["https://rpc.walletconnect.org/v1"];
32
+ };
33
+ };
34
+ sourceId?: number | undefined;
35
+ testnet?: boolean | undefined;
36
+ custom?: Record<string, unknown> | undefined;
37
+ fees?: import("viem").ChainFees<undefined> | undefined;
38
+ formatters?: undefined;
39
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
40
+ id: "000000000019d6689c085ae165831e93";
41
+ chainNamespace: "bip122";
42
+ caipNetworkId: "bip122:000000000019d6689c085ae165831e93";
43
+ assets?: {
44
+ imageId: string | undefined;
45
+ imageUrl: string | undefined;
46
+ } | undefined;
47
+ };
@@ -1,4 +1,5 @@
1
1
  export * from 'viem/chains';
2
2
  export * from './solana/index.js';
3
+ export * from './bitcoin.js';
3
4
  export * from './utils.js';
4
5
  export type { AppKitNetwork } from '@reown/appkit-common';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/exports/index.js",
6
6
  "types": "./dist/types/exports/index.d.ts",
@@ -95,14 +95,14 @@
95
95
  "bs58": "6.0.0",
96
96
  "valtio": "1.11.2",
97
97
  "viem": "2.x",
98
- "@reown/appkit-common": "1.5.0",
99
- "@reown/appkit-core": "1.5.0",
100
- "@reown/appkit-polyfills": "1.5.0",
101
- "@reown/appkit-scaffold-ui": "1.5.0",
102
- "@reown/appkit-siwe": "1.5.0",
103
- "@reown/appkit-ui": "1.5.0",
104
- "@reown/appkit-utils": "1.5.0",
105
- "@reown/appkit-wallet": "1.5.0"
98
+ "@reown/appkit-common": "1.5.2",
99
+ "@reown/appkit-core": "1.5.2",
100
+ "@reown/appkit-polyfills": "1.5.2",
101
+ "@reown/appkit-scaffold-ui": "1.5.2",
102
+ "@reown/appkit-siwe": "1.5.2",
103
+ "@reown/appkit-ui": "1.5.2",
104
+ "@reown/appkit-utils": "1.5.2",
105
+ "@reown/appkit-wallet": "1.5.2"
106
106
  },
107
107
  "devDependencies": {
108
108
  "@types/react": "18.3.1",