@cowprotocol/cow-sdk 7.1.2-beta.0 → 7.1.3-beta.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.
- package/README.md +10 -10
- package/dist/CHANGELOG.md +19 -0
- package/dist/README.md +10 -10
- package/dist/package.json +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ The SDK supports all CoW Protocol enabled networks:
|
|
|
32
32
|
- **[CoW Protocol Documentation](https://docs.cow.fi/)**
|
|
33
33
|
- **[API Reference](https://api.cow.fi/docs/)**
|
|
34
34
|
- **[CoW Protocol Website](https://cow.fi/)**
|
|
35
|
-
- **[Examples Repository](
|
|
35
|
+
- **[Examples Repository](https://github.com/cowprotocol/cow-sdk/tree/main/examples)**
|
|
36
36
|
- **Issues**: [GitHub Issues](https://github.com/cowprotocol/cow-sdk/issues)
|
|
37
37
|
- **Discord**: [CoW Protocol Discord](https://discord.com/invite/cowprotocol)
|
|
38
38
|
- **Documentation**: [docs.cow.fi](https://docs.cow.fi/)
|
|
@@ -67,20 +67,20 @@ yarn add @cowprotocol/cow-sdk
|
|
|
67
67
|
Using CoW Protocol, you can perform swaps, limit orders, TWAP orders, and many other operations.
|
|
68
68
|
The `@cowprotocol/cow-sdk` provides tools at different abstraction levels, allowing you to conveniently implement basic scenarios while maintaining the flexibility to control all possible cases.
|
|
69
69
|
|
|
70
|
-
> In most cases, you will only need to use the **[Trading SDK](
|
|
70
|
+
> In most cases, you will only need to use the **[Trading SDK](https://github.com/cowprotocol/cow-sdk/tree/main/packages/trading/README.md)**
|
|
71
71
|
|
|
72
72
|
## SDK Components
|
|
73
73
|
|
|
74
74
|
### Core
|
|
75
|
-
- **[`TradingSdk`](
|
|
76
|
-
- **[`OrderSigningUtils`](
|
|
77
|
-
- **[`OrderBookApi`](
|
|
78
|
-
- **[`MetadataApi`](
|
|
75
|
+
- **[`TradingSdk`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/trading/README.md)** - Main tool for swap and limit orders with built-in quote fetching, order signing, and posting
|
|
76
|
+
- **[`OrderSigningUtils`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/order-signing/README.md)** - Utilities for signing orders and cancellations using cryptographic algorithms
|
|
77
|
+
- **[`OrderBookApi`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/order-book/README.md)** - Provides the ability to retrieve orders and trades from the CoW Protocol order book, as well as add and cancel them
|
|
78
|
+
- **[`MetadataApi`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/app-data/README.md)** - API for accessing order metadata and additional information
|
|
79
79
|
|
|
80
80
|
### Advanced
|
|
81
|
-
- **[`BridgingSdk`](
|
|
82
|
-
- **[`ConditionalOrder`](
|
|
83
|
-
- **[`CowShedSdk`](
|
|
81
|
+
- **[`BridgingSdk`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/bridging/README.md)** - Cross-chain token transfers and bridging functionality
|
|
82
|
+
- **[`ConditionalOrder`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/composable/README.md)** - SDK for Programmatic Orders such as TWAP ([Read more](https://docs.cow.fi/cow-protocol/concepts/order-types/programmatic-orders))
|
|
83
|
+
- **[`CowShedSdk`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/cow-shed/README.md)** - Account abstraction that leverages EOA with smart contract capabilities
|
|
84
84
|
|
|
85
85
|
## v6 → v7 Migration Guide
|
|
86
86
|
The versions are 99% backward compatible. The only difference is that in v7 you need to set an adapter corresponding to the library you use: `Viem`, `Ethers6`, or `Ethers5`.
|
|
@@ -232,7 +232,7 @@ if (confirm(`You will receive at least: ${buyAmount}. Proceed?`)) {
|
|
|
232
232
|
This example demonstrates the simplest way to trade on CoW Protocol.
|
|
233
233
|
|
|
234
234
|
For more advanced use cases, you can use additional parameters such as `receiver`, `partiallyFillable`, `validTo`, and others.
|
|
235
|
-
Refer to the [Trading SDK documentation](packages/trading/README.md) for comprehensive details.
|
|
235
|
+
Refer to the [Trading SDK documentation](https://github.com/cowprotocol/cow-sdk/tree/main/packages/trading/README.md) for comprehensive details.
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
## Adapters
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [7.1.3-beta.0](https://github.com/cowprotocol/cow-sdk/compare/cow-sdk-v7.1.2-beta.0...cow-sdk-v7.1.3-beta.0) (2025-09-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🔧 Miscellaneous
|
|
7
|
+
|
|
8
|
+
* make doc links absolute ([f03aabb](https://github.com/cowprotocol/cow-sdk/commit/f03aabb745e0cf51e3c9d5d8464f733e2668d544))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @cowprotocol/sdk-app-data bumped to 4.1.7-beta.0
|
|
16
|
+
* @cowprotocol/sdk-common bumped to 0.5.0-beta.0
|
|
17
|
+
* @cowprotocol/sdk-contracts-ts bumped to 2.3.0-beta.0
|
|
18
|
+
* @cowprotocol/sdk-order-book bumped to 0.3.1-beta.0
|
|
19
|
+
* @cowprotocol/sdk-order-signing bumped to 0.2.8-beta.0
|
|
20
|
+
* @cowprotocol/sdk-trading bumped to 0.3.2-beta.0
|
|
21
|
+
|
|
3
22
|
## [7.1.2-beta.0](https://github.com/cowprotocol/cow-sdk/compare/cow-sdk-v7.1.1-beta.0...cow-sdk-v7.1.2-beta.0) (2025-09-16)
|
|
4
23
|
|
|
5
24
|
|
package/dist/README.md
CHANGED
|
@@ -32,7 +32,7 @@ The SDK supports all CoW Protocol enabled networks:
|
|
|
32
32
|
- **[CoW Protocol Documentation](https://docs.cow.fi/)**
|
|
33
33
|
- **[API Reference](https://api.cow.fi/docs/)**
|
|
34
34
|
- **[CoW Protocol Website](https://cow.fi/)**
|
|
35
|
-
- **[Examples Repository](
|
|
35
|
+
- **[Examples Repository](https://github.com/cowprotocol/cow-sdk/tree/main/examples)**
|
|
36
36
|
- **Issues**: [GitHub Issues](https://github.com/cowprotocol/cow-sdk/issues)
|
|
37
37
|
- **Discord**: [CoW Protocol Discord](https://discord.com/invite/cowprotocol)
|
|
38
38
|
- **Documentation**: [docs.cow.fi](https://docs.cow.fi/)
|
|
@@ -67,20 +67,20 @@ yarn add @cowprotocol/cow-sdk
|
|
|
67
67
|
Using CoW Protocol, you can perform swaps, limit orders, TWAP orders, and many other operations.
|
|
68
68
|
The `@cowprotocol/cow-sdk` provides tools at different abstraction levels, allowing you to conveniently implement basic scenarios while maintaining the flexibility to control all possible cases.
|
|
69
69
|
|
|
70
|
-
> In most cases, you will only need to use the **[Trading SDK](
|
|
70
|
+
> In most cases, you will only need to use the **[Trading SDK](https://github.com/cowprotocol/cow-sdk/tree/main/packages/trading/README.md)**
|
|
71
71
|
|
|
72
72
|
## SDK Components
|
|
73
73
|
|
|
74
74
|
### Core
|
|
75
|
-
- **[`TradingSdk`](
|
|
76
|
-
- **[`OrderSigningUtils`](
|
|
77
|
-
- **[`OrderBookApi`](
|
|
78
|
-
- **[`MetadataApi`](
|
|
75
|
+
- **[`TradingSdk`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/trading/README.md)** - Main tool for swap and limit orders with built-in quote fetching, order signing, and posting
|
|
76
|
+
- **[`OrderSigningUtils`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/order-signing/README.md)** - Utilities for signing orders and cancellations using cryptographic algorithms
|
|
77
|
+
- **[`OrderBookApi`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/order-book/README.md)** - Provides the ability to retrieve orders and trades from the CoW Protocol order book, as well as add and cancel them
|
|
78
|
+
- **[`MetadataApi`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/app-data/README.md)** - API for accessing order metadata and additional information
|
|
79
79
|
|
|
80
80
|
### Advanced
|
|
81
|
-
- **[`BridgingSdk`](
|
|
82
|
-
- **[`ConditionalOrder`](
|
|
83
|
-
- **[`CowShedSdk`](
|
|
81
|
+
- **[`BridgingSdk`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/bridging/README.md)** - Cross-chain token transfers and bridging functionality
|
|
82
|
+
- **[`ConditionalOrder`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/composable/README.md)** - SDK for Programmatic Orders such as TWAP ([Read more](https://docs.cow.fi/cow-protocol/concepts/order-types/programmatic-orders))
|
|
83
|
+
- **[`CowShedSdk`](https://github.com/cowprotocol/cow-sdk/tree/main/packages/cow-shed/README.md)** - Account abstraction that leverages EOA with smart contract capabilities
|
|
84
84
|
|
|
85
85
|
## v6 → v7 Migration Guide
|
|
86
86
|
The versions are 99% backward compatible. The only difference is that in v7 you need to set an adapter corresponding to the library you use: `Viem`, `Ethers6`, or `Ethers5`.
|
|
@@ -232,7 +232,7 @@ if (confirm(`You will receive at least: ${buyAmount}. Proceed?`)) {
|
|
|
232
232
|
This example demonstrates the simplest way to trade on CoW Protocol.
|
|
233
233
|
|
|
234
234
|
For more advanced use cases, you can use additional parameters such as `receiver`, `partiallyFillable`, `validTo`, and others.
|
|
235
|
-
Refer to the [Trading SDK documentation](packages/trading/README.md) for comprehensive details.
|
|
235
|
+
Refer to the [Trading SDK documentation](https://github.com/cowprotocol/cow-sdk/tree/main/packages/trading/README.md) for comprehensive details.
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
## Adapters
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cowprotocol/cow-sdk",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.3-beta.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"description": "CoW Protocol SDK - get quote, configure your order, and trade",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"@cow-sdk/typescript-config": "0.0.0-beta.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@cowprotocol/sdk-app-data": "4.1.
|
|
34
|
-
"@cowprotocol/sdk-
|
|
35
|
-
"@cowprotocol/sdk-order-book": "0.3.0-beta.0",
|
|
33
|
+
"@cowprotocol/sdk-app-data": "4.1.7-beta.0",
|
|
34
|
+
"@cowprotocol/sdk-common": "0.5.0-beta.0",
|
|
36
35
|
"@cowprotocol/sdk-config": "0.3.3-beta.0",
|
|
37
|
-
"@cowprotocol/sdk-
|
|
38
|
-
"@cowprotocol/sdk-
|
|
39
|
-
"@cowprotocol/sdk-
|
|
36
|
+
"@cowprotocol/sdk-contracts-ts": "2.3.0-beta.0",
|
|
37
|
+
"@cowprotocol/sdk-order-book": "0.3.1-beta.0",
|
|
38
|
+
"@cowprotocol/sdk-trading": "0.3.2-beta.0",
|
|
39
|
+
"@cowprotocol/sdk-order-signing": "0.2.8-beta.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@openzeppelin/merkle-tree": "^1.x",
|