@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.
- package/dist/api.d.ts +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
|
|
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<
|
|
197
|
+
getTradeTxs(tradeResult: TradeResult): Promise<TradeTxs>;
|
|
198
198
|
}
|
|
199
199
|
export {};
|
package/package.json
CHANGED