@shapeshiftoss/swapper 11.0.2 → 11.0.3

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/api.d.ts CHANGED
@@ -108,7 +108,7 @@ interface TradeBase<C extends ChainId> {
108
108
  sellAmount: string;
109
109
  feeData: QuoteFeeData<C>;
110
110
  rate: string;
111
- sources: Array<SwapSource>;
111
+ sources: SwapSource[];
112
112
  buyAsset: Asset;
113
113
  sellAsset: Asset;
114
114
  sellAssetAccountNumber: number;
@@ -22,7 +22,7 @@ export declare type CowSwapGetOrdersResponse = {
22
22
  export declare type CowSwapGetTradesElement = {
23
23
  txHash: string;
24
24
  };
25
- export declare type CowSwapGetTradesResponse = Array<CowSwapGetTradesElement>;
25
+ export declare type CowSwapGetTradesResponse = CowSwapGetTradesElement[];
26
26
  export interface CowTrade<C extends ChainId> extends Trade<C> {
27
27
  feeAmountInSellToken: string;
28
28
  sellAmountWithoutFee: string;
@@ -8,7 +8,7 @@ export declare const ORDER_TYPE_FIELDS: {
8
8
  /**
9
9
  * EIP-712 typed data type definitions.
10
10
  */
11
- export declare type TypedDataTypes = Record<string, Array<TypedDataField>>;
11
+ export declare type TypedDataTypes = Record<string, TypedDataField[]>;
12
12
  export declare type CowSwapOrder = {
13
13
  sellToken: string;
14
14
  buyToken: string;
@@ -1,2 +1,2 @@
1
1
  import { AbiItem } from 'web3-utils';
2
- export declare const erc20Abi: Array<AbiItem>;
2
+ export declare const erc20Abi: AbiItem[];
@@ -7,7 +7,7 @@ export declare type ZrxCommonResponse = {
7
7
  buyAmount: string;
8
8
  sellAmount: string;
9
9
  allowanceTarget: string;
10
- sources: Array<SwapSource>;
10
+ sources: SwapSource[];
11
11
  };
12
12
  export declare type ZrxPriceResponse = ZrxCommonResponse & {
13
13
  estimatedGas: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/swapper",
3
- "version": "11.0.2",
3
+ "version": "11.0.3",
4
4
  "description": "An interface and implementations to trade coins via various protocols",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",