@keplr-wallet/types 0.11.18-alpha.2 → 0.11.18-alpha.4
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.
- package/build/chain-info.d.ts +11 -0
- package/package.json +2 -2
- package/src/chain-info.ts +11 -0
package/build/chain-info.d.ts
CHANGED
@@ -4,9 +4,20 @@ import { AxiosRequestConfig } from "axios";
|
|
4
4
|
import { Bech32Config } from "./bech32";
|
5
5
|
export interface ChainInfo {
|
6
6
|
readonly rpc: string;
|
7
|
+
/**
|
8
|
+
* @deprecated Do not use
|
9
|
+
*/
|
7
10
|
readonly rpcConfig?: AxiosRequestConfig;
|
8
11
|
readonly rest: string;
|
12
|
+
/**
|
13
|
+
* @deprecated Do not use
|
14
|
+
*/
|
9
15
|
readonly restConfig?: AxiosRequestConfig;
|
16
|
+
readonly nodeProvider?: {
|
17
|
+
readonly name: string;
|
18
|
+
readonly email: string;
|
19
|
+
readonly website?: string;
|
20
|
+
};
|
10
21
|
readonly chainId: string;
|
11
22
|
readonly chainName: string;
|
12
23
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@keplr-wallet/types",
|
3
|
-
"version": "0.11.18-alpha.
|
3
|
+
"version": "0.11.18-alpha.4",
|
4
4
|
"main": "build/index.js",
|
5
5
|
"author": "chainapsis",
|
6
6
|
"license": "Apache-2.0",
|
@@ -21,5 +21,5 @@
|
|
21
21
|
"long": "^4.0.0",
|
22
22
|
"secretjs": "0.17.7"
|
23
23
|
},
|
24
|
-
"gitHead": "
|
24
|
+
"gitHead": "decd2d9d351139de2f2c977e34316bb8a446513e"
|
25
25
|
}
|
package/src/chain-info.ts
CHANGED
@@ -5,9 +5,20 @@ import { Bech32Config } from "./bech32";
|
|
5
5
|
|
6
6
|
export interface ChainInfo {
|
7
7
|
readonly rpc: string;
|
8
|
+
/**
|
9
|
+
* @deprecated Do not use
|
10
|
+
*/
|
8
11
|
readonly rpcConfig?: AxiosRequestConfig;
|
9
12
|
readonly rest: string;
|
13
|
+
/**
|
14
|
+
* @deprecated Do not use
|
15
|
+
*/
|
10
16
|
readonly restConfig?: AxiosRequestConfig;
|
17
|
+
readonly nodeProvider?: {
|
18
|
+
readonly name: string;
|
19
|
+
readonly email: string;
|
20
|
+
readonly website?: string;
|
21
|
+
};
|
11
22
|
readonly chainId: string;
|
12
23
|
readonly chainName: string;
|
13
24
|
/**
|