@cowprotocol/sdk-bridging 1.7.0 → 1.7.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/dist/index.js CHANGED
@@ -1562,22 +1562,19 @@ var ACROSS_SPOOK_CONTRACT_ADDRESSES = {
1562
1562
  [import_sdk_config4.SupportedChainId.SEPOLIA]: "0x5ef6C01E11889d86803e0B23e3cB3F9E9d97B662",
1563
1563
  // https://docs.across.to/reference/contract-addresses/polygon-chain-id-137
1564
1564
  [import_sdk_config4.SupportedChainId.POLYGON]: "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096",
1565
- // https://docs.across.to/reference/contract-addresses/lens-chain
1566
- [import_sdk_config4.SupportedChainId.LENS]: "0xb234cA484866c811d0e6D3318866F583781ED045",
1565
+ // https://docs.across.to/reference/contract-addresses/lens-chain-id-232
1566
+ [import_sdk_config4.SupportedChainId.LENS]: "0xe7cb3e167e7475dE1331Cf6E0CEb187654619E12",
1567
1567
  // https://docs.across.to/reference/contract-addresses/bnb-smart-chain
1568
1568
  [import_sdk_config4.SupportedChainId.BNB]: "0x4e8E101924eDE233C13e2D8622DC8aED2872d505",
1569
1569
  // https://docs.across.to/reference/contract-addresses/linea-chain-id-59144
1570
- [import_sdk_config4.SupportedChainId.LINEA]: "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75",
1570
+ [import_sdk_config4.SupportedChainId.LINEA]: "0xE0BCff426509723B18D6b2f0D8F4602d143bE3e0",
1571
1571
  // https://docs.across.to/reference/contract-addresses/plasma
1572
1572
  [import_sdk_config4.SupportedChainId.PLASMA]: "0x50039fAEfebef707cFD94D6d462fE6D10B39207a",
1573
- // https://docs.across.to/reference/contract-addresses/ink-chain-id-57073
1574
- [import_sdk_config4.SupportedChainId.INK]: "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4",
1575
- // https://docs.across.to/reference/contract-addresses/optimism-chain-id-10
1576
- [import_sdk_config4.AdditionalTargetChainId.OPTIMISM]: "0x6f26Bf09B1C792e3228e5467807a900A503c0281",
1577
1573
  // Not supported chains
1578
1574
  // TODO: This first integration is a draft, some of this chains might be supported, so we will need to update here as we iterate on the provider
1579
1575
  [import_sdk_config4.SupportedChainId.GNOSIS_CHAIN]: void 0,
1580
- [import_sdk_config4.SupportedChainId.AVALANCHE]: void 0
1576
+ [import_sdk_config4.SupportedChainId.AVALANCHE]: void 0,
1577
+ [import_sdk_config4.AdditionalTargetChainId.OPTIMISM]: void 0
1581
1578
  };
1582
1579
  var ACROSS_MATH_CONTRACT_ADDRESSES = {
1583
1580
  [import_sdk_config4.SupportedChainId.MAINNET]: "0xf2ae6728b6f146556977Af0A68bFbf5bADA22863",
@@ -1596,9 +1593,7 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
1596
1593
  // TODO: confirm
1597
1594
  [import_sdk_config4.SupportedChainId.LINEA]: void 0,
1598
1595
  // TODO: confirm
1599
- [import_sdk_config4.SupportedChainId.PLASMA]: void 0,
1600
- // TODO: confirm
1601
- [import_sdk_config4.SupportedChainId.INK]: void 0
1596
+ [import_sdk_config4.SupportedChainId.PLASMA]: void 0
1602
1597
  // TODO: confirm
1603
1598
  };
1604
1599
 
@@ -4042,8 +4037,6 @@ var BungeeCowswapLibAddresses = {
4042
4037
  // TODO: confirm
4043
4038
  [import_sdk_config7.SupportedChainId.PLASMA]: void 0,
4044
4039
  // TODO: confirm
4045
- [import_sdk_config7.SupportedChainId.INK]: void 0,
4046
- // TODO: confirm
4047
4040
  [import_sdk_config7.SupportedChainId.SEPOLIA]: void 0,
4048
4041
  [import_sdk_config7.AdditionalTargetChainId.OPTIMISM]: BUNGEE_COWSWAP_LIB_ADDRESS
4049
4042
  };
@@ -4063,8 +4056,6 @@ var SocketVerifierAddresses = {
4063
4056
  // TODO: confirm
4064
4057
  [import_sdk_config7.SupportedChainId.PLASMA]: void 0,
4065
4058
  // TODO: confirm
4066
- [import_sdk_config7.SupportedChainId.INK]: void 0,
4067
- // TODO: confirm
4068
4059
  [import_sdk_config7.SupportedChainId.SEPOLIA]: void 0,
4069
4060
  [import_sdk_config7.AdditionalTargetChainId.OPTIMISM]: SOCKET_VERIFIER_ADDRESS
4070
4061
  };
@@ -4084,8 +4075,6 @@ var BungeeApproveAndBridgeV1Addresses = {
4084
4075
  // TODO: confirm
4085
4076
  [import_sdk_config7.SupportedChainId.PLASMA]: void 0,
4086
4077
  // TODO: confirm
4087
- [import_sdk_config7.SupportedChainId.INK]: void 0,
4088
- // TODO: confirm
4089
4078
  [import_sdk_config7.SupportedChainId.SEPOLIA]: void 0,
4090
4079
  [import_sdk_config7.AdditionalTargetChainId.OPTIMISM]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS
4091
4080
  };
package/dist/index.mjs CHANGED
@@ -1505,22 +1505,19 @@ var ACROSS_SPOOK_CONTRACT_ADDRESSES = {
1505
1505
  [SupportedChainId2.SEPOLIA]: "0x5ef6C01E11889d86803e0B23e3cB3F9E9d97B662",
1506
1506
  // https://docs.across.to/reference/contract-addresses/polygon-chain-id-137
1507
1507
  [SupportedChainId2.POLYGON]: "0x9295ee1d8C5b022Be115A2AD3c30C72E34e7F096",
1508
- // https://docs.across.to/reference/contract-addresses/lens-chain
1509
- [SupportedChainId2.LENS]: "0xb234cA484866c811d0e6D3318866F583781ED045",
1508
+ // https://docs.across.to/reference/contract-addresses/lens-chain-id-232
1509
+ [SupportedChainId2.LENS]: "0xe7cb3e167e7475dE1331Cf6E0CEb187654619E12",
1510
1510
  // https://docs.across.to/reference/contract-addresses/bnb-smart-chain
1511
1511
  [SupportedChainId2.BNB]: "0x4e8E101924eDE233C13e2D8622DC8aED2872d505",
1512
1512
  // https://docs.across.to/reference/contract-addresses/linea-chain-id-59144
1513
- [SupportedChainId2.LINEA]: "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75",
1513
+ [SupportedChainId2.LINEA]: "0xE0BCff426509723B18D6b2f0D8F4602d143bE3e0",
1514
1514
  // https://docs.across.to/reference/contract-addresses/plasma
1515
1515
  [SupportedChainId2.PLASMA]: "0x50039fAEfebef707cFD94D6d462fE6D10B39207a",
1516
- // https://docs.across.to/reference/contract-addresses/ink-chain-id-57073
1517
- [SupportedChainId2.INK]: "0xeF684C38F94F48775959ECf2012D7E864ffb9dd4",
1518
- // https://docs.across.to/reference/contract-addresses/optimism-chain-id-10
1519
- [AdditionalTargetChainId.OPTIMISM]: "0x6f26Bf09B1C792e3228e5467807a900A503c0281",
1520
1516
  // Not supported chains
1521
1517
  // TODO: This first integration is a draft, some of this chains might be supported, so we will need to update here as we iterate on the provider
1522
1518
  [SupportedChainId2.GNOSIS_CHAIN]: void 0,
1523
- [SupportedChainId2.AVALANCHE]: void 0
1519
+ [SupportedChainId2.AVALANCHE]: void 0,
1520
+ [AdditionalTargetChainId.OPTIMISM]: void 0
1524
1521
  };
1525
1522
  var ACROSS_MATH_CONTRACT_ADDRESSES = {
1526
1523
  [SupportedChainId2.MAINNET]: "0xf2ae6728b6f146556977Af0A68bFbf5bADA22863",
@@ -1539,9 +1536,7 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
1539
1536
  // TODO: confirm
1540
1537
  [SupportedChainId2.LINEA]: void 0,
1541
1538
  // TODO: confirm
1542
- [SupportedChainId2.PLASMA]: void 0,
1543
- // TODO: confirm
1544
- [SupportedChainId2.INK]: void 0
1539
+ [SupportedChainId2.PLASMA]: void 0
1545
1540
  // TODO: confirm
1546
1541
  };
1547
1542
 
@@ -3991,8 +3986,6 @@ var BungeeCowswapLibAddresses = {
3991
3986
  // TODO: confirm
3992
3987
  [SupportedChainId5.PLASMA]: void 0,
3993
3988
  // TODO: confirm
3994
- [SupportedChainId5.INK]: void 0,
3995
- // TODO: confirm
3996
3989
  [SupportedChainId5.SEPOLIA]: void 0,
3997
3990
  [AdditionalTargetChainId2.OPTIMISM]: BUNGEE_COWSWAP_LIB_ADDRESS
3998
3991
  };
@@ -4012,8 +4005,6 @@ var SocketVerifierAddresses = {
4012
4005
  // TODO: confirm
4013
4006
  [SupportedChainId5.PLASMA]: void 0,
4014
4007
  // TODO: confirm
4015
- [SupportedChainId5.INK]: void 0,
4016
- // TODO: confirm
4017
4008
  [SupportedChainId5.SEPOLIA]: void 0,
4018
4009
  [AdditionalTargetChainId2.OPTIMISM]: SOCKET_VERIFIER_ADDRESS
4019
4010
  };
@@ -4033,8 +4024,6 @@ var BungeeApproveAndBridgeV1Addresses = {
4033
4024
  // TODO: confirm
4034
4025
  [SupportedChainId5.PLASMA]: void 0,
4035
4026
  // TODO: confirm
4036
- [SupportedChainId5.INK]: void 0,
4037
- // TODO: confirm
4038
4027
  [SupportedChainId5.SEPOLIA]: void 0,
4039
4028
  [AdditionalTargetChainId2.OPTIMISM]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS
4040
4029
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-bridging",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Bridging for CoW Protocol",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -16,14 +16,14 @@
16
16
  "dependencies": {
17
17
  "@defuse-protocol/one-click-sdk-typescript": "0.1.1-0.2",
18
18
  "json-stable-stringify": "^1.3.0",
19
- "@cowprotocol/sdk-app-data": "4.6.0",
20
- "@cowprotocol/sdk-common": "0.5.2",
21
- "@cowprotocol/sdk-config": "0.7.1",
22
- "@cowprotocol/sdk-contracts-ts": "1.4.0",
23
- "@cowprotocol/sdk-cow-shed": "0.2.14",
24
- "@cowprotocol/sdk-order-book": "0.6.1",
25
- "@cowprotocol/sdk-weiroll": "0.1.14",
26
- "@cowprotocol/sdk-trading": "0.9.2"
19
+ "@cowprotocol/sdk-config": "0.7.2",
20
+ "@cowprotocol/sdk-contracts-ts": "1.4.1",
21
+ "@cowprotocol/sdk-app-data": "4.6.1",
22
+ "@cowprotocol/sdk-cow-shed": "0.2.15",
23
+ "@cowprotocol/sdk-common": "0.5.3",
24
+ "@cowprotocol/sdk-trading": "0.9.3",
25
+ "@cowprotocol/sdk-weiroll": "0.1.15",
26
+ "@cowprotocol/sdk-order-book": "0.6.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/jest": "^29.4.0",
@@ -39,10 +39,10 @@
39
39
  "typescript": "^5.2.2",
40
40
  "viem": "^2.28.4",
41
41
  "@cow-sdk/typescript-config": "0.0.0-beta.0",
42
- "@cowprotocol/sdk-ethers-v5-adapter": "0.3.3",
43
- "@cowprotocol/sdk-order-signing": "0.1.28",
44
- "@cowprotocol/sdk-viem-adapter": "0.3.3",
45
- "@cowprotocol/sdk-ethers-v6-adapter": "0.3.3"
42
+ "@cowprotocol/sdk-ethers-v6-adapter": "0.3.4",
43
+ "@cowprotocol/sdk-ethers-v5-adapter": "0.3.4",
44
+ "@cowprotocol/sdk-order-signing": "0.1.29",
45
+ "@cowprotocol/sdk-viem-adapter": "0.3.4"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsup src/index.ts --format esm,cjs --dts",