@keplr-wallet/types 0.11.47 → 0.11.48
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 +0 -4
- package/build/currency.d.ts +1 -5
- package/package.json +2 -2
- package/src/chain-info.ts +0 -5
- package/src/currency.ts +1 -7
package/build/chain-info.d.ts
CHANGED
@@ -55,10 +55,6 @@ export interface ChainInfo {
|
|
55
55
|
* If the blockchain is in an early stage, please set it as beta.
|
56
56
|
*/
|
57
57
|
readonly beta?: boolean;
|
58
|
-
/**
|
59
|
-
* If the chain is EVM-enabled, set an Ethereum JSON-RPC endpoint here, to be used for ERC-20 token balances.
|
60
|
-
*/
|
61
|
-
readonly ethereumJsonRpc?: string;
|
62
58
|
readonly chainSymbolImageUrl?: string;
|
63
59
|
}
|
64
60
|
export declare type ChainInfoWithoutEndpoints = Omit<ChainInfo, "rest" | "rpc" | "nodeProvider">;
|
package/build/currency.d.ts
CHANGED
@@ -26,10 +26,6 @@ export interface Secret20Currency extends Currency {
|
|
26
26
|
readonly contractAddress: string;
|
27
27
|
readonly viewingKey: string;
|
28
28
|
}
|
29
|
-
export interface ERC20Currency extends Currency {
|
30
|
-
readonly type: "erc20";
|
31
|
-
readonly contractAddress: string;
|
32
|
-
}
|
33
29
|
/**
|
34
30
|
* IBCCurrency is the currency that is sent from the other chain via IBC.
|
35
31
|
* This will be handled as similar to the native currency.
|
@@ -50,7 +46,7 @@ export interface IBCCurrency extends Currency {
|
|
50
46
|
/**
|
51
47
|
* Any type of currency that Kepler applications can support.
|
52
48
|
*/
|
53
|
-
export declare type AppCurrency = Currency | CW20Currency | Secret20Currency | IBCCurrency
|
49
|
+
export declare type AppCurrency = Currency | CW20Currency | Secret20Currency | IBCCurrency;
|
54
50
|
export interface FiatCurrency {
|
55
51
|
readonly currency: string;
|
56
52
|
readonly symbol: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@keplr-wallet/types",
|
3
|
-
"version": "0.11.
|
3
|
+
"version": "0.11.48",
|
4
4
|
"main": "build/index.js",
|
5
5
|
"author": "chainapsis",
|
6
6
|
"license": "Apache-2.0",
|
@@ -20,5 +20,5 @@
|
|
20
20
|
"axios": "^0.27.2",
|
21
21
|
"long": "^4.0.0"
|
22
22
|
},
|
23
|
-
"gitHead": "
|
23
|
+
"gitHead": "9cf3967546ce189a4391d1c472221cad5556e79a"
|
24
24
|
}
|
package/src/chain-info.ts
CHANGED
@@ -60,11 +60,6 @@ export interface ChainInfo {
|
|
60
60
|
*/
|
61
61
|
readonly beta?: boolean;
|
62
62
|
|
63
|
-
/**
|
64
|
-
* If the chain is EVM-enabled, set an Ethereum JSON-RPC endpoint here, to be used for ERC-20 token balances.
|
65
|
-
*/
|
66
|
-
readonly ethereumJsonRpc?: string;
|
67
|
-
|
68
63
|
readonly chainSymbolImageUrl?: string;
|
69
64
|
}
|
70
65
|
|
package/src/currency.ts
CHANGED
@@ -29,11 +29,6 @@ export interface Secret20Currency extends Currency {
|
|
29
29
|
readonly viewingKey: string;
|
30
30
|
}
|
31
31
|
|
32
|
-
export interface ERC20Currency extends Currency {
|
33
|
-
readonly type: "erc20";
|
34
|
-
readonly contractAddress: string;
|
35
|
-
}
|
36
|
-
|
37
32
|
/**
|
38
33
|
* IBCCurrency is the currency that is sent from the other chain via IBC.
|
39
34
|
* This will be handled as similar to the native currency.
|
@@ -63,8 +58,7 @@ export type AppCurrency =
|
|
63
58
|
| Currency
|
64
59
|
| CW20Currency
|
65
60
|
| Secret20Currency
|
66
|
-
| IBCCurrency
|
67
|
-
| ERC20Currency;
|
61
|
+
| IBCCurrency;
|
68
62
|
|
69
63
|
export interface FiatCurrency {
|
70
64
|
readonly currency: string;
|