@shapeshiftoss/types 3.1.0 → 3.1.1

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.
Files changed (2) hide show
  1. package/dist/base.d.ts +1 -18
  2. package/package.json +1 -1
package/dist/base.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { HDWallet } from '@shapeshiftoss/hdwallet-core';
2
- import { QuoteFeeData, SignTxInput } from './chain-adapters';
2
+ import { QuoteFeeData } from './chain-adapters';
3
3
  /** Common */
4
4
  export declare type BIP44Params = {
5
5
  purpose: number;
@@ -82,11 +82,9 @@ export declare type SwapSource = {
82
82
  export interface MinMaxOutput {
83
83
  minimum: string;
84
84
  maximum: string;
85
- minimumPrice?: string;
86
85
  }
87
86
  export declare type QuoteResponse = {
88
87
  price: string;
89
- guaranteedPrice: string;
90
88
  to: string;
91
89
  data?: string;
92
90
  value?: string;
@@ -102,15 +100,8 @@ export declare type QuoteResponse = {
102
100
  allowanceTarget?: string;
103
101
  sources?: Array<SwapSource>;
104
102
  };
105
- export declare type ThorVaultInfo = {
106
- routerContractAddress?: string;
107
- vaultAddress: string;
108
- timestamp: string;
109
- };
110
- export declare type BuildThorTradeOutput = SignTxInput<unknown> & ThorVaultInfo;
111
103
  export declare type Quote<C extends ChainTypes> = {
112
104
  success: boolean;
113
- statusCode?: number;
114
105
  statusReason?: string;
115
106
  sellAssetAccountId?: string;
116
107
  buyAssetAccountId?: string;
@@ -124,17 +115,11 @@ export declare type Quote<C extends ChainTypes> = {
124
115
  sellAmount?: string;
125
116
  minimum?: string | null;
126
117
  maximum?: string | null;
127
- guaranteedPrice?: string;
128
- slipScore?: string;
129
118
  txData?: string;
130
119
  value?: string;
131
120
  allowanceContract?: string;
132
- allowanceGrantRequired?: boolean;
133
121
  slippage?: string;
134
- priceImpact?: string;
135
- orderId?: string;
136
122
  sources?: Array<SwapSource>;
137
- timestamp?: number;
138
123
  };
139
124
  export declare type GetQuoteInput = {
140
125
  sellAsset: Asset;
@@ -144,9 +129,7 @@ export declare type GetQuoteInput = {
144
129
  sellAssetAccountId?: string;
145
130
  buyAssetAccountId?: string;
146
131
  slippage?: string;
147
- priceImpact?: string;
148
132
  sendMax?: boolean;
149
- minimumPrice?: string;
150
133
  minimum?: string;
151
134
  };
152
135
  export declare type BuildQuoteTxInput = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/types",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Common types shared across packages",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",