@cowprotocol/cow-sdk 6.0.0-RC.21 → 6.0.0-RC.22
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/bridging/types.d.ts +2 -2
- package/dist/common/index.d.ts +1 -0
- package/dist/index-d6f10d00.js +29 -0
- package/dist/index-d6f10d00.js.map +1 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.module.js +4 -4
- package/dist/index.module.js.map +1 -1
- package/dist/package.json +2 -1
- package/dist/schemas/trading/QuoterParameters.ts +8 -0
- package/dist/trading/appDataUtils.d.ts +2 -1
- package/dist/trading/postCoWProtocolTrade.d.ts +2 -2
- package/dist/trading/postLimitOrder.d.ts +2 -2
- package/dist/trading/postSellNativeCurrencyOrder.d.ts +2 -5
- package/dist/trading/postSwapOrder.d.ts +3 -3
- package/dist/trading/tradingSdk.d.ts +3 -3
- package/dist/trading/types.d.ts +9 -2
- package/dist/utils-3ca5d46a.js +2 -0
- package/dist/{utils-9fd8cef1.js.map → utils-3ca5d46a.js.map} +1 -1
- package/dist/utils-c0c46490.js +2 -0
- package/dist/{utils-6de4f3cb.js.map → utils-c0c46490.js.map} +1 -1
- package/dist/utils-fb9209bd.js +2 -0
- package/dist/{utils-924c0ea0.js.map → utils-fb9209bd.js.map} +1 -1
- package/package.json +2 -1
- package/dist/index-a83e1800.js +0 -29
- package/dist/index-a83e1800.js.map +0 -1
- package/dist/utils-6de4f3cb.js +0 -2
- package/dist/utils-924c0ea0.js +0 -2
- package/dist/utils-9fd8cef1.js +0 -2
package/dist/bridging/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ChainInfo, SupportedChainId, TargetChainId } from '../chains';
|
|
|
3
3
|
import { TokenInfo } from '../common/types/tokens';
|
|
4
4
|
import { Address, Amounts, OrderKind } from '../order-book';
|
|
5
5
|
import { EvmCall } from '../common/types/ethereum';
|
|
6
|
-
import { QuoteAndPost, QuoteResults, QuoterParameters, TradeOptionalParameters, TraderParameters } from '../trading';
|
|
6
|
+
import { OrderPostingResult, QuoteAndPost, QuoteResults, QuoterParameters, TradeOptionalParameters, TraderParameters } from '../trading';
|
|
7
7
|
import { Signer } from '@ethersproject/abstract-signer';
|
|
8
8
|
export interface BridgeProviderInfo {
|
|
9
9
|
name: string;
|
|
@@ -187,7 +187,7 @@ export interface BridgeQuoteAndPost {
|
|
|
187
187
|
/**
|
|
188
188
|
* Callback to post the swap order.
|
|
189
189
|
*/
|
|
190
|
-
postSwapOrderFromQuote(): Promise<
|
|
190
|
+
postSwapOrderFromQuote(): Promise<OrderPostingResult>;
|
|
191
191
|
}
|
|
192
192
|
export interface BridgeCosts<T = bigint> {
|
|
193
193
|
bridgingFee: {
|
package/dist/common/index.d.ts
CHANGED