@shapeshiftoss/swapper 7.5.0 → 7.5.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/api.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -157,7 +157,7 @@ export declare enum SwapErrorTypes {
157
157
  PRICE_RATIO_FAILED = "PRICE_RATIO_FAILED",
158
158
  POOL_NOT_FOUND = "POOL_NOT_FOUND"
159
159
  }
160
- export interface Swapper<T extends ChainId, TxType = unknown> {
160
+ export interface Swapper<T extends ChainId> {
161
161
  /** perform any necessary async initialization */
162
162
  initialize(): Promise<void>;
163
163
  /** Returns the swapper type */
@@ -194,6 +194,6 @@ export interface Swapper<T extends ChainId, TxType = unknown> {
194
194
  * Get supported sell assetIds
195
195
  */
196
196
  filterAssetIdsBySellable(assetIds: AssetId[]): AssetId[];
197
- getTradeTxs(tradeResult: TradeResult): Promise<TxType>;
197
+ getTradeTxs(tradeResult: TradeResult): Promise<TradeTxs>;
198
198
  }
199
199
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/swapper",
3
- "version": "7.5.0",
3
+ "version": "7.5.1",
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",