@shapeshiftoss/types 4.2.0 → 4.3.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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## ShapeShift Types
1
+ # @shapeshiftoss/types
2
2
 
3
3
  ## Getting Started
4
4
 
package/dist/base.d.ts CHANGED
@@ -73,24 +73,4 @@ export declare enum SwapperType {
73
73
  Thorchain = "Thorchain",
74
74
  Test = "Test"
75
75
  }
76
- export declare type SwapSource = {
77
- name: string;
78
- proportion: string;
79
- };
80
- export interface MinMaxOutput {
81
- minimum: string;
82
- maximum: string;
83
- }
84
- export declare type GetMinMaxInput = {
85
- sellAsset: Asset;
86
- buyAsset: Asset;
87
- };
88
- export declare type ExecQuoteOutput = {
89
- txid: string;
90
- };
91
- export declare type ApprovalNeededOutput = {
92
- approvalNeeded: boolean;
93
- gas?: string;
94
- gasPrice?: string;
95
- };
96
76
  export {};
package/dist/base.js CHANGED
@@ -45,6 +45,7 @@ var AssetDataSource;
45
45
  AssetDataSource["YearnFinance"] = "yearnfinance";
46
46
  })(AssetDataSource = exports.AssetDataSource || (exports.AssetDataSource = {}));
47
47
  // swapper
48
+ // TODO remove this once web is using the type from swapper
48
49
  var SwapperType;
49
50
  (function (SwapperType) {
50
51
  SwapperType["Zrx"] = "0x";
package/dist/market.d.ts CHANGED
@@ -3,6 +3,8 @@ export declare type MarketData = {
3
3
  marketCap: string;
4
4
  volume: string;
5
5
  changePercent24Hr: number;
6
+ supply?: string;
7
+ maxSupply?: string;
6
8
  };
7
9
  export declare enum HistoryTimeframe {
8
10
  HOUR = "1H",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "4.2.0",
3
+ "version": "4.3.2",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",