@cowprotocol/sdk-bridging 4.0.0 → 4.0.1

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
@@ -45,12 +45,12 @@ const parameters: QuoteBridgeRequest = {
45
45
 
46
46
  // Sell token (and source chain)
47
47
  sellTokenChainId: SupportedChainId.ARBITRUM_ONE,
48
- sellTokenAddress: '0xfff9976782d46cc05630d1f6ebab18b2324d6b14',
48
+ sellTokenAddress: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1',
49
49
  sellTokenDecimals: 18,
50
50
 
51
51
  // Buy token (and target chain)
52
52
  buyTokenChainId: SupportedChainId.BASE,
53
- buyTokenAddress: '0x0625afb445c3b6b7b929342a04a22599fd5dbb59',
53
+ buyTokenAddress: '0x4200000000000000000000000000000000000006',
54
54
  buyTokenDecimals: 18,
55
55
 
56
56
  // Amount to sell
@@ -115,12 +115,12 @@ const parameters: QuoteBridgeRequest = {
115
115
 
116
116
  // Sell token (and source chain)
117
117
  sellTokenChainId: SupportedChainId.ARBITRUM_ONE,
118
- sellTokenAddress: '0xfff9976782d46cc05630d1f6ebab18b2324d6b14',
118
+ sellTokenAddress: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1',
119
119
  sellTokenDecimals: 18,
120
120
 
121
121
  // Buy token (and target chain)
122
122
  buyTokenChainId: SupportedChainId.BASE,
123
- buyTokenAddress: '0x0625afb445c3b6b7b929342a04a22599fd5dbb59',
123
+ buyTokenAddress: '0x4200000000000000000000000000000000000006',
124
124
  buyTokenDecimals: 18,
125
125
 
126
126
  // Amount to sell
package/dist/index.js CHANGED
@@ -4387,7 +4387,8 @@ function isValidBungeeEventsResponse(response) {
4387
4387
  }
4388
4388
  const e = event;
4389
4389
  return "identifier" in e && "bridgeName" in e && "fromChainId" in e && "isCowswapTrade" in e && "orderId" in e && // 'recipient' in e &&
4390
- "sender" in e && "srcTxStatus" in e && "destTxStatus" in e;
4390
+ // 'sender' in e &&
4391
+ "srcTxStatus" in e && "destTxStatus" in e;
4391
4392
  });
4392
4393
  }
4393
4394
  function isValidAcrossStatusResponse(response) {
package/dist/index.mjs CHANGED
@@ -4337,7 +4337,8 @@ function isValidBungeeEventsResponse(response) {
4337
4337
  }
4338
4338
  const e = event;
4339
4339
  return "identifier" in e && "bridgeName" in e && "fromChainId" in e && "isCowswapTrade" in e && "orderId" in e && // 'recipient' in e &&
4340
- "sender" in e && "srcTxStatus" in e && "destTxStatus" in e;
4340
+ // 'sender' in e &&
4341
+ "srcTxStatus" in e && "destTxStatus" in e;
4341
4342
  });
4342
4343
  }
4343
4344
  function isValidAcrossStatusResponse(response) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-bridging",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Bridging for CoW Protocol",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,13 +22,13 @@
22
22
  "@defuse-protocol/one-click-sdk-typescript": "0.1.1-0.2",
23
23
  "json-stable-stringify": "^1.3.0",
24
24
  "@cowprotocol/sdk-app-data": "5.0.0",
25
+ "@cowprotocol/sdk-config": "2.0.0",
25
26
  "@cowprotocol/sdk-common": "0.10.2",
26
- "@cowprotocol/sdk-contracts-ts": "3.0.0",
27
+ "@cowprotocol/sdk-contracts-ts": "3.0.1",
28
+ "@cowprotocol/sdk-cow-shed": "0.3.8",
27
29
  "@cowprotocol/sdk-order-book": "3.0.0",
28
- "@cowprotocol/sdk-cow-shed": "0.3.7",
29
- "@cowprotocol/sdk-config": "2.0.0",
30
- "@cowprotocol/sdk-trading": "2.0.0",
31
- "@cowprotocol/sdk-weiroll": "0.1.30"
30
+ "@cowprotocol/sdk-weiroll": "0.1.30",
31
+ "@cowprotocol/sdk-trading": "2.0.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/jest": "^29.4.0",
@@ -43,11 +43,11 @@
43
43
  "tsup": "^7.2.0",
44
44
  "typescript": "^5.2.2",
45
45
  "viem": "^2.28.4",
46
- "@cowprotocol/sdk-ethers-v6-adapter": "0.4.4",
47
46
  "@cow-sdk/typescript-config": "0.0.0-beta.0",
48
47
  "@cowprotocol/sdk-ethers-v5-adapter": "0.4.4",
49
- "@cowprotocol/sdk-viem-adapter": "0.3.18",
50
- "@cowprotocol/sdk-order-signing": "1.0.0"
48
+ "@cowprotocol/sdk-ethers-v6-adapter": "0.4.4",
49
+ "@cowprotocol/sdk-order-signing": "1.0.1",
50
+ "@cowprotocol/sdk-viem-adapter": "0.3.18"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "tsup src/index.ts --format esm,cjs --dts",