@cowprotocol/sdk-contracts-ts 2.1.7-beta.0 → 2.2.0-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 CHANGED
@@ -30,8 +30,6 @@ npm install @cowprotocol/sdk-contracts-ts
30
30
 
31
31
  ## Usage
32
32
 
33
- ### Individual package usage
34
-
35
33
  ```typescript
36
34
  import { ContractsTs } from '@cowprotocol/sdk-contracts-ts'
37
35
  import { EthersV6Adapter } from '@cowprotocol/sdk-ethers-v6-adapter'
@@ -50,15 +48,13 @@ const settlementContract = contracts.settlement()
50
48
  const vaultRelayerContract = contracts.vaultRelayer()
51
49
  ```
52
50
 
53
- ### Usage with Umbrella SDK
51
+ ### Usage with CoW SDK
54
52
 
55
- When using the umbrella SDK, contract utilities are automatically available:
53
+ When using the CoW SDK, contract utilities are automatically available:
56
54
 
57
55
  ```typescript
58
56
  import {
59
57
  CowSdk,
60
- // Contract functions can be imported directly
61
- // when using umbrella SDK - adapter is already configured
62
58
  } from '@cowprotocol/cow-sdk'
63
59
  import { EthersV6Adapter } from '@cowprotocol/sdk-ethers-v6-adapter'
64
60
  import { JsonRpcProvider, Wallet } from 'ethers'
@@ -86,4 +82,4 @@ const vaultRelayerContract = sdk.contracts.vaultRelayer()
86
82
  - **Composable CoW** - Contract for conditional orders
87
83
  - **Extensible Fallback Handler** - Safe fallback handler for smart contract wallets
88
84
 
89
- > **Note:** This package is primarily designed to provide contract interfaces and is rarely used standalone. Most developers should use the umbrella `@cowprotocol/cow-sdk` package which includes all contract utilities with proper adapter configuration.
85
+ > **Note:** This package is primarily designed to provide contract interfaces and is rarely used standalone. Most developers should use `@cowprotocol/cow-sdk` package which includes all contract utilities with proper adapter configuration.
package/dist/index.d.mts CHANGED
@@ -1312,6 +1312,6 @@ declare function getTypedDataV3Signer(signer: Signer): AbstractSigner<unknown>;
1312
1312
  */
1313
1313
  declare function getIntChainIdTypedDataV4Signer(signer: Signer): AbstractSigner<unknown>;
1314
1314
 
1315
- declare const CONTRACTS_PKG_VERSION = "2.1.7-beta.0";
1315
+ declare const CONTRACTS_PKG_VERSION = "2.2.0-beta.0";
1316
1316
 
1317
1317
  export { AllowListReader, Api, type ApiCall, type ApiError, type ArtifactDeployment, BUY_ETH_ADDRESS, type BatchSwapStep, type BuyAmountAfterFee, CANCELLATIONS_TYPE_FIELDS, CONTRACTS_PKG_VERSION, CONTRACT_NAMES, type CallError, type CommonQuoteQuery, type ContractName, type EcdsaSignature as ContractsEcdsaSignature, type EcdsaSigningScheme as ContractsEcdsaSigningScheme, type Order as ContractsOrder, type OrderCancellations as ContractsOrderCancellations, OrderKind as ContractsOrderKind, type Signature as ContractsSignature, SigningScheme as ContractsSigningScheme, type Trade as ContractsTrade, ContractsTs, DEPLOYER_CONTRACT, type DeploymentArguments, EIP1271_MAGICVALUE, EIP173_PROXY_ABI, type Eip1271Signature, type Eip1271SignatureData, type EncodedSettlement, type EncodedSwap, Environment, type EstimateTradeAmountQuery, FLAG_MASKS, type FlagKey, type FlagOptions, type FlagValue, type GetExecutedSellAmountQuery, GetQuoteErrorType, type GetQuoteResponse, type HashLike, type Interaction, type InteractionLike, InteractionStage, LIMIT_CONCURRENT_REQUESTS, type MaybeNamedArtifactArtifactDeployment, type NamedArtifactDeployment, type NormalizedOrder, ORDER_TYPE_FIELDS, ORDER_TYPE_HASH, ORDER_UID_LENGTH, OrderBalance, type OrderDetailResponse, type OrderFlags, type OrderRefunds, type OrderUidParams, PRE_SIGNED, type PlaceOrderQuery, type PreSignSignature, type Prices, QuotePriceQuality, type QuoteQuery, SALT, type SellAmountAfterFee, type SellAmountBeforeFee, SettlementEncoder, SettlementReader, type Swap, SwapEncoder, type SwapExecution, type Timestamp, TokenRegistry, type TradeExecution, type TradeFlags, type TradeSimulation, type TradeSimulationBalanceDelta, type TradeSimulationResult, TradeSimulator, apiUrl, computeOrderUid, decodeEip1271SignatureData, decodeOrder, decodeOrderFlags, decodeSignatureOwner, decodeSigningScheme, decodeTradeFlags, deterministicDeploymentAddress, ecdsaSignTypedData, encodeEip1271SignatureData, encodeOrderFlags, encodeSignatureData, encodeSigningScheme, encodeSwapStep, encodeTrade, encodeTradeFlags, extractOrderUidParams, getIntChainIdTypedDataV4Signer, getTypedDataV3Signer, getTypedDataVersionedSigner, grantRequiredRoles, hashOrder, hashOrderCancellation, hashOrderCancellations, hashTypedData, hashify, implementationAddress, normalizeBuyTokenBalance, normalizeInteraction, normalizeInteractions, normalizeOrder, ownerAddress, packOrderUidParams, signOrder, signOrderCancellation, signOrderCancellations, timestamp };
package/dist/index.d.ts CHANGED
@@ -1312,6 +1312,6 @@ declare function getTypedDataV3Signer(signer: Signer): AbstractSigner<unknown>;
1312
1312
  */
1313
1313
  declare function getIntChainIdTypedDataV4Signer(signer: Signer): AbstractSigner<unknown>;
1314
1314
 
1315
- declare const CONTRACTS_PKG_VERSION = "2.1.7-beta.0";
1315
+ declare const CONTRACTS_PKG_VERSION = "2.2.0-beta.0";
1316
1316
 
1317
1317
  export { AllowListReader, Api, type ApiCall, type ApiError, type ArtifactDeployment, BUY_ETH_ADDRESS, type BatchSwapStep, type BuyAmountAfterFee, CANCELLATIONS_TYPE_FIELDS, CONTRACTS_PKG_VERSION, CONTRACT_NAMES, type CallError, type CommonQuoteQuery, type ContractName, type EcdsaSignature as ContractsEcdsaSignature, type EcdsaSigningScheme as ContractsEcdsaSigningScheme, type Order as ContractsOrder, type OrderCancellations as ContractsOrderCancellations, OrderKind as ContractsOrderKind, type Signature as ContractsSignature, SigningScheme as ContractsSigningScheme, type Trade as ContractsTrade, ContractsTs, DEPLOYER_CONTRACT, type DeploymentArguments, EIP1271_MAGICVALUE, EIP173_PROXY_ABI, type Eip1271Signature, type Eip1271SignatureData, type EncodedSettlement, type EncodedSwap, Environment, type EstimateTradeAmountQuery, FLAG_MASKS, type FlagKey, type FlagOptions, type FlagValue, type GetExecutedSellAmountQuery, GetQuoteErrorType, type GetQuoteResponse, type HashLike, type Interaction, type InteractionLike, InteractionStage, LIMIT_CONCURRENT_REQUESTS, type MaybeNamedArtifactArtifactDeployment, type NamedArtifactDeployment, type NormalizedOrder, ORDER_TYPE_FIELDS, ORDER_TYPE_HASH, ORDER_UID_LENGTH, OrderBalance, type OrderDetailResponse, type OrderFlags, type OrderRefunds, type OrderUidParams, PRE_SIGNED, type PlaceOrderQuery, type PreSignSignature, type Prices, QuotePriceQuality, type QuoteQuery, SALT, type SellAmountAfterFee, type SellAmountBeforeFee, SettlementEncoder, SettlementReader, type Swap, SwapEncoder, type SwapExecution, type Timestamp, TokenRegistry, type TradeExecution, type TradeFlags, type TradeSimulation, type TradeSimulationBalanceDelta, type TradeSimulationResult, TradeSimulator, apiUrl, computeOrderUid, decodeEip1271SignatureData, decodeOrder, decodeOrderFlags, decodeSignatureOwner, decodeSigningScheme, decodeTradeFlags, deterministicDeploymentAddress, ecdsaSignTypedData, encodeEip1271SignatureData, encodeOrderFlags, encodeSignatureData, encodeSigningScheme, encodeSwapStep, encodeTrade, encodeTradeFlags, extractOrderUidParams, getIntChainIdTypedDataV4Signer, getTypedDataV3Signer, getTypedDataVersionedSigner, grantRequiredRoles, hashOrder, hashOrderCancellation, hashOrderCancellations, hashTypedData, hashify, implementationAddress, normalizeBuyTokenBalance, normalizeInteraction, normalizeInteractions, normalizeOrder, ownerAddress, packOrderUidParams, signOrder, signOrderCancellation, signOrderCancellations, timestamp };
package/dist/index.js CHANGED
@@ -1177,7 +1177,7 @@ function getIntChainIdTypedDataV4Signer(signer) {
1177
1177
  }
1178
1178
 
1179
1179
  // src/generated/packageVersion.ts
1180
- var CONTRACTS_PKG_VERSION = "2.1.7-beta.0";
1180
+ var CONTRACTS_PKG_VERSION = "2.2.0-beta.0";
1181
1181
  // Annotate the CommonJS export names for ESM import in node:
1182
1182
  0 && (module.exports = {
1183
1183
  AllowListReader,
package/dist/index.mjs CHANGED
@@ -1090,7 +1090,7 @@ function getIntChainIdTypedDataV4Signer(signer) {
1090
1090
  }
1091
1091
 
1092
1092
  // src/generated/packageVersion.ts
1093
- var CONTRACTS_PKG_VERSION = "2.1.7-beta.0";
1093
+ var CONTRACTS_PKG_VERSION = "2.2.0-beta.0";
1094
1094
  export {
1095
1095
  AllowListReader,
1096
1096
  Api,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-contracts-ts",
3
- "version": "2.1.7-beta.0",
3
+ "version": "2.2.0-beta.0",
4
4
  "description": "TypeScript contract bindings for CoW Protocol SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -14,8 +14,8 @@
14
14
  "access": "public"
15
15
  },
16
16
  "dependencies": {
17
- "@cowprotocol/sdk-common": "0.3.0-beta.0",
18
- "@cowprotocol/sdk-config": "0.3.2-beta.0"
17
+ "@cowprotocol/sdk-config": "0.3.3-beta.0",
18
+ "@cowprotocol/sdk-common": "0.4.0-beta.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/jest": "^29.5.5",
@@ -29,9 +29,9 @@
29
29
  "typescript": "^5.2.2",
30
30
  "viem": "^2.28.4",
31
31
  "@cow-sdk/typescript-config": "0.0.0-beta.0",
32
- "@cowprotocol/sdk-ethers-v6-adapter": "0.2.2-beta.0",
33
- "@cowprotocol/sdk-viem-adapter": "0.2.2-beta.0",
34
- "@cowprotocol/sdk-ethers-v5-adapter": "0.2.2-beta.0"
32
+ "@cowprotocol/sdk-ethers-v5-adapter": "0.2.3-beta.0",
33
+ "@cowprotocol/sdk-ethers-v6-adapter": "0.2.3-beta.0",
34
+ "@cowprotocol/sdk-viem-adapter": "0.3.0-beta.0"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "tsup src/index.ts --format esm,cjs --dts",