@cowprotocol/cow-sdk 5.5.1 → 5.6.0

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.
@@ -1,5 +1,4 @@
1
1
  import type { BigUint } from './BigUint';
2
- import type { CallData } from './CallData';
3
2
  import type { UID } from './UID';
4
3
  export type SolverSettlement = {
5
4
  /**
@@ -40,18 +39,4 @@ export type SolverSettlement = {
40
39
  id?: UID;
41
40
  executedAmount?: BigUint;
42
41
  }>;
43
- /**
44
- * Transaction `calldata` that is executed on-chain if the settlement is executed.
45
- */
46
- callData?: CallData;
47
- /**
48
- * Full `calldata` as generated from the original solver output.
49
- *
50
- * It can be different from the executed transaction if part of the settlements are internalised
51
- * (use internal liquidity in lieu of trading against on-chain liquidity).
52
- *
53
- * This field is omitted in case it coincides with `callData`.
54
- *
55
- */
56
- uninternalizedCallData?: CallData;
57
42
  };
@@ -1,6 +1,6 @@
1
1
  import type { Address } from './Address';
2
2
  import type { BigUint } from './BigUint';
3
- import type { FeePolicy } from './FeePolicy';
3
+ import type { ExecutedProtocolFee } from './ExecutedProtocolFee';
4
4
  import type { TokenAmount } from './TokenAmount';
5
5
  import type { TransactionHash } from './TransactionHash';
6
6
  import type { UID } from './UID';
@@ -50,8 +50,8 @@ export type Trade = {
50
50
  */
51
51
  txHash: TransactionHash | null;
52
52
  /**
53
- * The fee policies that were used to compute the fees for this trade. Listed in the order they got applied.
53
+ * Executed protocol fees for this trade, together with the fee policies used. Listed in the order they got applied.
54
54
  *
55
55
  */
56
- feePolicies?: Array<FeePolicy>;
56
+ executedProtocolFees?: Array<ExecutedProtocolFee>;
57
57
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/cow-sdk",
3
- "version": "5.5.1",
3
+ "version": "5.6.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "files": [
6
6
  "/dist"
@@ -27,7 +27,7 @@
27
27
  "prepare": "npm run build",
28
28
  "prepublishOnly": "npm test && npm run lint",
29
29
  "graphql:codegen": "graphql-codegen --config graphql-codegen.yml",
30
- "swagger:codegen": " openapi --input https://raw.githubusercontent.com/cowprotocol/services/v2.272.1/crates/orderbook/openapi.yml --output src/order-book/generated --exportServices false --exportCore false",
30
+ "swagger:codegen": " openapi --input https://raw.githubusercontent.com/cowprotocol/services/v2.281.0/crates/orderbook/openapi.yml --output src/order-book/generated --exportServices false --exportCore false",
31
31
  "typechain:codegen": "typechain --target ethers-v5 --out-dir ./src/common/generated './abi/*.json'"
32
32
  },
33
33
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/cow-sdk",
3
- "version": "5.5.1",
3
+ "version": "5.6.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "files": [
6
6
  "/dist"
@@ -27,7 +27,7 @@
27
27
  "prepare": "npm run build",
28
28
  "prepublishOnly": "npm test && npm run lint",
29
29
  "graphql:codegen": "graphql-codegen --config graphql-codegen.yml",
30
- "swagger:codegen": " openapi --input https://raw.githubusercontent.com/cowprotocol/services/v2.272.1/crates/orderbook/openapi.yml --output src/order-book/generated --exportServices false --exportCore false",
30
+ "swagger:codegen": " openapi --input https://raw.githubusercontent.com/cowprotocol/services/v2.281.0/crates/orderbook/openapi.yml --output src/order-book/generated --exportServices false --exportCore false",
31
31
  "typechain:codegen": "typechain --target ethers-v5 --out-dir ./src/common/generated './abi/*.json'"
32
32
  },
33
33
  "dependencies": {