@shapeshiftoss/types 1.20.0 → 1.23.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.
package/dist/base.d.ts CHANGED
@@ -16,13 +16,18 @@ export declare enum ContractTypes {
16
16
  }
17
17
  export declare enum ChainTypes {
18
18
  Ethereum = "ethereum",
19
- Bitcoin = "bitcoin"
19
+ Bitcoin = "bitcoin",
20
+ Cosmos = "cosmos"
20
21
  }
21
22
  export declare enum NetworkTypes {
22
23
  MAINNET = "MAINNET",
23
24
  TESTNET = "TESTNET",
24
25
  ETH_ROPSTEN = "ETH_ROPSTEN",
25
- ETH_RINKEBY = "ETH_RINKEBY"
26
+ ETH_RINKEBY = "ETH_RINKEBY",
27
+ COSMOSHUB_MAINNET = "COSMOSHUB_MAINNET",
28
+ COSMOSHUB_VEGA = "COSMOSHUB_VEGA",
29
+ OSMOSIS_MAINNET = "OSMOSIS_MAINNET",
30
+ OSMOSIS_TESTNET = "OSMOSIS_TESTNET"
26
31
  }
27
32
  export declare enum UtxoAccountType {
28
33
  SegwitNative = "SegwitNative",
@@ -38,6 +43,7 @@ declare type AbstractAsset = {
38
43
  caip2: string;
39
44
  chain: ChainTypes;
40
45
  description?: string;
46
+ isTrustedDescription?: boolean;
41
47
  dataSource: AssetDataSource;
42
48
  network: NetworkTypes;
43
49
  symbol: string;
package/dist/base.js CHANGED
@@ -12,6 +12,7 @@ var ChainTypes;
12
12
  (function (ChainTypes) {
13
13
  ChainTypes["Ethereum"] = "ethereum";
14
14
  ChainTypes["Bitcoin"] = "bitcoin";
15
+ ChainTypes["Cosmos"] = "cosmos";
15
16
  })(ChainTypes = exports.ChainTypes || (exports.ChainTypes = {}));
16
17
  var NetworkTypes;
17
18
  (function (NetworkTypes) {
@@ -19,6 +20,10 @@ var NetworkTypes;
19
20
  NetworkTypes["TESTNET"] = "TESTNET";
20
21
  NetworkTypes["ETH_ROPSTEN"] = "ETH_ROPSTEN";
21
22
  NetworkTypes["ETH_RINKEBY"] = "ETH_RINKEBY";
23
+ NetworkTypes["COSMOSHUB_MAINNET"] = "COSMOSHUB_MAINNET";
24
+ NetworkTypes["COSMOSHUB_VEGA"] = "COSMOSHUB_VEGA";
25
+ NetworkTypes["OSMOSIS_MAINNET"] = "OSMOSIS_MAINNET";
26
+ NetworkTypes["OSMOSIS_TESTNET"] = "OSMOSIS_TESTNET";
22
27
  })(NetworkTypes = exports.NetworkTypes || (exports.NetworkTypes = {}));
23
28
  var UtxoAccountType;
24
29
  (function (UtxoAccountType) {
@@ -6,6 +6,8 @@ export declare type Account = {
6
6
  export declare type FeeData = {
7
7
  gasPrice: string;
8
8
  gasLimit: string;
9
+ maxFeePerGas: string;
10
+ maxPriorityFeePerGas: string;
9
11
  };
10
12
  export declare type QuoteFeeData = {
11
13
  /**
package/dist/market.d.ts CHANGED
@@ -14,7 +14,7 @@ export declare enum HistoryTimeframe {
14
14
  }
15
15
  export declare type HistoryData = {
16
16
  price: number;
17
- date: string;
17
+ date: number;
18
18
  };
19
19
  export declare type PriceHistoryArgs = {
20
20
  caip19: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "1.20.0",
3
+ "version": "1.23.0",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",