@keplr-wallet/types 0.12.240 → 0.12.241-rc.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.
@@ -42,6 +42,7 @@ export interface ChainInfo {
42
42
  readonly chainSymbolImageUrl?: string;
43
43
  readonly hideInUI?: boolean;
44
44
  readonly evm?: EVMInfo;
45
+ readonly isTestnet?: boolean;
45
46
  }
46
47
  export type ChainInfoWithoutEndpoints = Omit<ChainInfo, "rest" | "rpc" | "nodeProvider" | "evm"> & {
47
48
  readonly rest: undefined;
@@ -70,16 +71,19 @@ export type ModularChainInfo = {
70
71
  readonly chainId: string;
71
72
  readonly chainName: string;
72
73
  readonly chainSymbolImageUrl?: string;
74
+ readonly isTestnet?: boolean;
73
75
  readonly cosmos: ChainInfo;
74
76
  } | {
75
77
  readonly chainId: string;
76
78
  readonly chainName: string;
77
79
  readonly chainSymbolImageUrl?: string;
80
+ readonly isTestnet?: boolean;
78
81
  readonly starknet: StarknetChainInfo;
79
82
  } | {
80
83
  readonly chainId: string;
81
84
  readonly chainName: string;
82
85
  readonly chainSymbolImageUrl?: string;
83
86
  readonly linkedChainKey: string;
87
+ readonly isTestnet?: boolean;
84
88
  readonly bitcoin: BitcoinChainInfo;
85
89
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keplr-wallet/types",
3
- "version": "0.12.240",
3
+ "version": "0.12.241-rc.0",
4
4
  "main": "build/index.js",
5
5
  "author": "chainapsis",
6
6
  "license": "Apache-2.0",
@@ -21,5 +21,5 @@
21
21
  "peerDependencies": {
22
22
  "starknet": "^7"
23
23
  },
24
- "gitHead": "056bcec43193f6d249bb8d343c46191b1485106b"
24
+ "gitHead": "5327d4a24a3c9f5ae9fde0fac58af0ae4b787a01"
25
25
  }
package/src/chain-info.ts CHANGED
@@ -49,6 +49,8 @@ export interface ChainInfo {
49
49
  readonly hideInUI?: boolean;
50
50
 
51
51
  readonly evm?: EVMInfo;
52
+
53
+ readonly isTestnet?: boolean;
52
54
  }
53
55
 
54
56
  export type ChainInfoWithoutEndpoints = Omit<
@@ -86,12 +88,14 @@ export type ModularChainInfo =
86
88
  readonly chainId: string;
87
89
  readonly chainName: string;
88
90
  readonly chainSymbolImageUrl?: string;
91
+ readonly isTestnet?: boolean;
89
92
  readonly cosmos: ChainInfo;
90
93
  }
91
94
  | {
92
95
  readonly chainId: string;
93
96
  readonly chainName: string;
94
97
  readonly chainSymbolImageUrl?: string;
98
+ readonly isTestnet?: boolean;
95
99
  readonly starknet: StarknetChainInfo;
96
100
  }
97
101
  | {
@@ -99,5 +103,6 @@ export type ModularChainInfo =
99
103
  readonly chainName: string;
100
104
  readonly chainSymbolImageUrl?: string;
101
105
  readonly linkedChainKey: string;
106
+ readonly isTestnet?: boolean;
102
107
  readonly bitcoin: BitcoinChainInfo;
103
108
  };