@cowprotocol/sdk-bridging 2.1.1 → 3.0.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/dist/index.js CHANGED
@@ -1562,8 +1562,6 @@ 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",
1567
1565
  // https://docs.across.to/reference/contract-addresses/bnb-smart-chain
1568
1566
  [import_sdk_config4.SupportedChainId.BNB]: "0x4e8E101924eDE233C13e2D8622DC8aED2872d505",
1569
1567
  // https://docs.across.to/reference/contract-addresses/linea-chain-id-59144
@@ -1591,8 +1589,6 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
1591
1589
  [import_sdk_config4.SupportedChainId.SEPOLIA]: void 0,
1592
1590
  [import_sdk_config4.SupportedChainId.POLYGON]: void 0,
1593
1591
  [import_sdk_config4.SupportedChainId.AVALANCHE]: void 0,
1594
- [import_sdk_config4.SupportedChainId.LENS]: void 0,
1595
- // TODO: confirm
1596
1592
  [import_sdk_config4.SupportedChainId.BNB]: void 0,
1597
1593
  // TODO: confirm
1598
1594
  [import_sdk_config4.SupportedChainId.LINEA]: void 0,
@@ -4039,8 +4035,6 @@ var BungeeCowswapLibAddresses = {
4039
4035
  [import_sdk_config7.SupportedChainId.BASE]: BUNGEE_COWSWAP_LIB_ADDRESS,
4040
4036
  [import_sdk_config7.SupportedChainId.AVALANCHE]: BUNGEE_COWSWAP_LIB_ADDRESS,
4041
4037
  [import_sdk_config7.SupportedChainId.POLYGON]: BUNGEE_COWSWAP_LIB_ADDRESS,
4042
- [import_sdk_config7.SupportedChainId.LENS]: void 0,
4043
- // TODO: confirm
4044
4038
  [import_sdk_config7.SupportedChainId.BNB]: void 0,
4045
4039
  // TODO: confirm
4046
4040
  [import_sdk_config7.SupportedChainId.LINEA]: void 0,
@@ -4062,8 +4056,6 @@ var SocketVerifierAddresses = {
4062
4056
  [import_sdk_config7.SupportedChainId.BASE]: SOCKET_VERIFIER_ADDRESS,
4063
4057
  [import_sdk_config7.SupportedChainId.AVALANCHE]: SOCKET_VERIFIER_ADDRESS,
4064
4058
  [import_sdk_config7.SupportedChainId.POLYGON]: SOCKET_VERIFIER_ADDRESS,
4065
- [import_sdk_config7.SupportedChainId.LENS]: void 0,
4066
- // TODO: confirm
4067
4059
  [import_sdk_config7.SupportedChainId.BNB]: void 0,
4068
4060
  // TODO: confirm
4069
4061
  [import_sdk_config7.SupportedChainId.LINEA]: void 0,
@@ -4085,8 +4077,6 @@ var BungeeApproveAndBridgeV1Addresses = {
4085
4077
  [import_sdk_config7.SupportedChainId.BASE]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS,
4086
4078
  [import_sdk_config7.SupportedChainId.AVALANCHE]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS,
4087
4079
  [import_sdk_config7.SupportedChainId.POLYGON]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS,
4088
- [import_sdk_config7.SupportedChainId.LENS]: void 0,
4089
- // TODO: confirm
4090
4080
  [import_sdk_config7.SupportedChainId.BNB]: void 0,
4091
4081
  // TODO: confirm
4092
4082
  [import_sdk_config7.SupportedChainId.LINEA]: void 0,
package/dist/index.mjs CHANGED
@@ -1505,8 +1505,6 @@ 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",
1510
1508
  // https://docs.across.to/reference/contract-addresses/bnb-smart-chain
1511
1509
  [SupportedChainId2.BNB]: "0x4e8E101924eDE233C13e2D8622DC8aED2872d505",
1512
1510
  // https://docs.across.to/reference/contract-addresses/linea-chain-id-59144
@@ -1534,8 +1532,6 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
1534
1532
  [SupportedChainId2.SEPOLIA]: void 0,
1535
1533
  [SupportedChainId2.POLYGON]: void 0,
1536
1534
  [SupportedChainId2.AVALANCHE]: void 0,
1537
- [SupportedChainId2.LENS]: void 0,
1538
- // TODO: confirm
1539
1535
  [SupportedChainId2.BNB]: void 0,
1540
1536
  // TODO: confirm
1541
1537
  [SupportedChainId2.LINEA]: void 0,
@@ -3989,8 +3985,6 @@ var BungeeCowswapLibAddresses = {
3989
3985
  [SupportedChainId5.BASE]: BUNGEE_COWSWAP_LIB_ADDRESS,
3990
3986
  [SupportedChainId5.AVALANCHE]: BUNGEE_COWSWAP_LIB_ADDRESS,
3991
3987
  [SupportedChainId5.POLYGON]: BUNGEE_COWSWAP_LIB_ADDRESS,
3992
- [SupportedChainId5.LENS]: void 0,
3993
- // TODO: confirm
3994
3988
  [SupportedChainId5.BNB]: void 0,
3995
3989
  // TODO: confirm
3996
3990
  [SupportedChainId5.LINEA]: void 0,
@@ -4012,8 +4006,6 @@ var SocketVerifierAddresses = {
4012
4006
  [SupportedChainId5.BASE]: SOCKET_VERIFIER_ADDRESS,
4013
4007
  [SupportedChainId5.AVALANCHE]: SOCKET_VERIFIER_ADDRESS,
4014
4008
  [SupportedChainId5.POLYGON]: SOCKET_VERIFIER_ADDRESS,
4015
- [SupportedChainId5.LENS]: void 0,
4016
- // TODO: confirm
4017
4009
  [SupportedChainId5.BNB]: void 0,
4018
4010
  // TODO: confirm
4019
4011
  [SupportedChainId5.LINEA]: void 0,
@@ -4035,8 +4027,6 @@ var BungeeApproveAndBridgeV1Addresses = {
4035
4027
  [SupportedChainId5.BASE]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS,
4036
4028
  [SupportedChainId5.AVALANCHE]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS,
4037
4029
  [SupportedChainId5.POLYGON]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS,
4038
- [SupportedChainId5.LENS]: void 0,
4039
- // TODO: confirm
4040
4030
  [SupportedChainId5.BNB]: void 0,
4041
4031
  // TODO: confirm
4042
4032
  [SupportedChainId5.LINEA]: void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-bridging",
3
- "version": "2.1.1",
3
+ "version": "3.0.0",
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.7",
20
- "@cowprotocol/sdk-common": "0.7.0",
21
- "@cowprotocol/sdk-config": "0.10.0",
22
- "@cowprotocol/sdk-contracts-ts": "1.8.0",
23
- "@cowprotocol/sdk-order-book": "1.1.2",
24
- "@cowprotocol/sdk-cow-shed": "0.2.21",
25
- "@cowprotocol/sdk-trading": "1.0.3",
26
- "@cowprotocol/sdk-weiroll": "0.1.21"
19
+ "@cowprotocol/sdk-app-data": "4.6.8",
20
+ "@cowprotocol/sdk-config": "1.0.0",
21
+ "@cowprotocol/sdk-common": "0.7.1",
22
+ "@cowprotocol/sdk-contracts-ts": "2.0.0",
23
+ "@cowprotocol/sdk-cow-shed": "0.2.22",
24
+ "@cowprotocol/sdk-order-book": "2.0.0",
25
+ "@cowprotocol/sdk-trading": "1.0.4",
26
+ "@cowprotocol/sdk-weiroll": "0.1.22"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/jest": "^29.4.0",
@@ -38,11 +38,11 @@
38
38
  "tsup": "^7.2.0",
39
39
  "typescript": "^5.2.2",
40
40
  "viem": "^2.28.4",
41
- "@cowprotocol/sdk-ethers-v5-adapter": "0.3.10",
42
41
  "@cow-sdk/typescript-config": "0.0.0-beta.0",
43
- "@cowprotocol/sdk-ethers-v6-adapter": "0.3.10",
44
- "@cowprotocol/sdk-order-signing": "0.1.37",
45
- "@cowprotocol/sdk-viem-adapter": "0.3.10"
42
+ "@cowprotocol/sdk-ethers-v5-adapter": "0.3.11",
43
+ "@cowprotocol/sdk-ethers-v6-adapter": "0.3.11",
44
+ "@cowprotocol/sdk-order-signing": "0.1.38",
45
+ "@cowprotocol/sdk-viem-adapter": "0.3.11"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsup src/index.ts --format esm,cjs --dts",