@cowprotocol/cow-sdk 6.0.0-RC.25 → 6.0.0-RC.27
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 +3 -1
- package/dist/{index-2bee2b46.js → index-ee37a7a1.js} +5 -5
- package/dist/index-ee37a7a1.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/{utils-57f54171.js → utils-2426a555.js} +1 -1
- package/dist/{utils-57f54171.js.map → utils-2426a555.js.map} +1 -1
- package/dist/{utils-c4e8cee6.js → utils-9bb3d1df.js} +2 -2
- package/dist/{utils-c4e8cee6.js.map → utils-9bb3d1df.js.map} +1 -1
- package/dist/{utils-7746961c.js → utils-df10e15d.js} +1 -1
- package/dist/{utils-7746961c.js.map → utils-df10e15d.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-2bee2b46.js.map +0 -1
package/dist/bridging/types.d.ts
CHANGED
|
@@ -3,6 +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 type { AccountAddress } from '../common/types/wallets';
|
|
6
7
|
import { OrderPostingResult, QuoteAndPost, QuoteResults, QuoterParameters, TradeOptionalParameters, TraderParameters } from '../trading';
|
|
7
8
|
import { Signer } from '@ethersproject/abstract-signer';
|
|
8
9
|
export interface BridgeProviderInfo {
|
|
@@ -25,8 +26,9 @@ type WithTrader = Pick<TraderParameters, 'signer'>;
|
|
|
25
26
|
* Parameters for getting a bridge quote
|
|
26
27
|
*/
|
|
27
28
|
export type QuoteBridgeRequest = {
|
|
28
|
-
kind: OrderKind
|
|
29
|
+
kind: OrderKind;
|
|
29
30
|
amount: bigint;
|
|
31
|
+
owner?: AccountAddress;
|
|
30
32
|
} & WithSellToken & WithBuyToken & WithQuoter & WithTrader & TradeOptionalParameters;
|
|
31
33
|
export type QuoteBridgeRequestWithoutAmount = Omit<QuoteBridgeRequest, 'amount'>;
|
|
32
34
|
export interface BridgeQuoteResult {
|