@cowprotocol/sdk-bridging 1.7.1 → 1.7.2

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,19 +1562,22 @@ 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-id-232
1566
- [import_sdk_config4.SupportedChainId.LENS]: "0xe7cb3e167e7475dE1331Cf6E0CEb187654619E12",
1565
+ // https://docs.across.to/reference/contract-addresses/lens-chain
1566
+ [import_sdk_config4.SupportedChainId.LENS]: "0xb234cA484866c811d0e6D3318866F583781ED045",
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]: "0xE0BCff426509723B18D6b2f0D8F4602d143bE3e0",
1570
+ [import_sdk_config4.SupportedChainId.LINEA]: "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75",
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",
1573
1577
  // Not supported chains
1574
1578
  // 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
1575
1579
  [import_sdk_config4.SupportedChainId.GNOSIS_CHAIN]: void 0,
1576
- [import_sdk_config4.SupportedChainId.AVALANCHE]: void 0,
1577
- [import_sdk_config4.AdditionalTargetChainId.OPTIMISM]: void 0
1580
+ [import_sdk_config4.SupportedChainId.AVALANCHE]: void 0
1578
1581
  };
1579
1582
  var ACROSS_MATH_CONTRACT_ADDRESSES = {
1580
1583
  [import_sdk_config4.SupportedChainId.MAINNET]: "0xf2ae6728b6f146556977Af0A68bFbf5bADA22863",
@@ -1593,7 +1596,9 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
1593
1596
  // TODO: confirm
1594
1597
  [import_sdk_config4.SupportedChainId.LINEA]: void 0,
1595
1598
  // TODO: confirm
1596
- [import_sdk_config4.SupportedChainId.PLASMA]: void 0
1599
+ [import_sdk_config4.SupportedChainId.PLASMA]: void 0,
1600
+ // TODO: confirm
1601
+ [import_sdk_config4.SupportedChainId.INK]: void 0
1597
1602
  // TODO: confirm
1598
1603
  };
1599
1604
 
@@ -4037,6 +4042,8 @@ var BungeeCowswapLibAddresses = {
4037
4042
  // TODO: confirm
4038
4043
  [import_sdk_config7.SupportedChainId.PLASMA]: void 0,
4039
4044
  // TODO: confirm
4045
+ [import_sdk_config7.SupportedChainId.INK]: void 0,
4046
+ // TODO: confirm
4040
4047
  [import_sdk_config7.SupportedChainId.SEPOLIA]: void 0,
4041
4048
  [import_sdk_config7.AdditionalTargetChainId.OPTIMISM]: BUNGEE_COWSWAP_LIB_ADDRESS
4042
4049
  };
@@ -4056,6 +4063,8 @@ var SocketVerifierAddresses = {
4056
4063
  // TODO: confirm
4057
4064
  [import_sdk_config7.SupportedChainId.PLASMA]: void 0,
4058
4065
  // TODO: confirm
4066
+ [import_sdk_config7.SupportedChainId.INK]: void 0,
4067
+ // TODO: confirm
4059
4068
  [import_sdk_config7.SupportedChainId.SEPOLIA]: void 0,
4060
4069
  [import_sdk_config7.AdditionalTargetChainId.OPTIMISM]: SOCKET_VERIFIER_ADDRESS
4061
4070
  };
@@ -4075,6 +4084,8 @@ var BungeeApproveAndBridgeV1Addresses = {
4075
4084
  // TODO: confirm
4076
4085
  [import_sdk_config7.SupportedChainId.PLASMA]: void 0,
4077
4086
  // TODO: confirm
4087
+ [import_sdk_config7.SupportedChainId.INK]: void 0,
4088
+ // TODO: confirm
4078
4089
  [import_sdk_config7.SupportedChainId.SEPOLIA]: void 0,
4079
4090
  [import_sdk_config7.AdditionalTargetChainId.OPTIMISM]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS
4080
4091
  };
package/dist/index.mjs CHANGED
@@ -1505,19 +1505,22 @@ 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-id-232
1509
- [SupportedChainId2.LENS]: "0xe7cb3e167e7475dE1331Cf6E0CEb187654619E12",
1508
+ // https://docs.across.to/reference/contract-addresses/lens-chain
1509
+ [SupportedChainId2.LENS]: "0xb234cA484866c811d0e6D3318866F583781ED045",
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]: "0xE0BCff426509723B18D6b2f0D8F4602d143bE3e0",
1513
+ [SupportedChainId2.LINEA]: "0x7E63A5f1a8F0B4d0934B2f2327DAED3F6bb2ee75",
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",
1516
1520
  // Not supported chains
1517
1521
  // 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
1518
1522
  [SupportedChainId2.GNOSIS_CHAIN]: void 0,
1519
- [SupportedChainId2.AVALANCHE]: void 0,
1520
- [AdditionalTargetChainId.OPTIMISM]: void 0
1523
+ [SupportedChainId2.AVALANCHE]: void 0
1521
1524
  };
1522
1525
  var ACROSS_MATH_CONTRACT_ADDRESSES = {
1523
1526
  [SupportedChainId2.MAINNET]: "0xf2ae6728b6f146556977Af0A68bFbf5bADA22863",
@@ -1536,7 +1539,9 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
1536
1539
  // TODO: confirm
1537
1540
  [SupportedChainId2.LINEA]: void 0,
1538
1541
  // TODO: confirm
1539
- [SupportedChainId2.PLASMA]: void 0
1542
+ [SupportedChainId2.PLASMA]: void 0,
1543
+ // TODO: confirm
1544
+ [SupportedChainId2.INK]: void 0
1540
1545
  // TODO: confirm
1541
1546
  };
1542
1547
 
@@ -3986,6 +3991,8 @@ var BungeeCowswapLibAddresses = {
3986
3991
  // TODO: confirm
3987
3992
  [SupportedChainId5.PLASMA]: void 0,
3988
3993
  // TODO: confirm
3994
+ [SupportedChainId5.INK]: void 0,
3995
+ // TODO: confirm
3989
3996
  [SupportedChainId5.SEPOLIA]: void 0,
3990
3997
  [AdditionalTargetChainId2.OPTIMISM]: BUNGEE_COWSWAP_LIB_ADDRESS
3991
3998
  };
@@ -4005,6 +4012,8 @@ var SocketVerifierAddresses = {
4005
4012
  // TODO: confirm
4006
4013
  [SupportedChainId5.PLASMA]: void 0,
4007
4014
  // TODO: confirm
4015
+ [SupportedChainId5.INK]: void 0,
4016
+ // TODO: confirm
4008
4017
  [SupportedChainId5.SEPOLIA]: void 0,
4009
4018
  [AdditionalTargetChainId2.OPTIMISM]: SOCKET_VERIFIER_ADDRESS
4010
4019
  };
@@ -4024,6 +4033,8 @@ var BungeeApproveAndBridgeV1Addresses = {
4024
4033
  // TODO: confirm
4025
4034
  [SupportedChainId5.PLASMA]: void 0,
4026
4035
  // TODO: confirm
4036
+ [SupportedChainId5.INK]: void 0,
4037
+ // TODO: confirm
4027
4038
  [SupportedChainId5.SEPOLIA]: void 0,
4028
4039
  [AdditionalTargetChainId2.OPTIMISM]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS
4029
4040
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowprotocol/sdk-bridging",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
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-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"
19
+ "@cowprotocol/sdk-app-data": "4.6.2",
20
+ "@cowprotocol/sdk-common": "0.5.4",
21
+ "@cowprotocol/sdk-config": "0.7.3",
22
+ "@cowprotocol/sdk-contracts-ts": "1.4.2",
23
+ "@cowprotocol/sdk-cow-shed": "0.2.16",
24
+ "@cowprotocol/sdk-trading": "0.9.4",
25
+ "@cowprotocol/sdk-weiroll": "0.1.16",
26
+ "@cowprotocol/sdk-order-book": "0.6.3"
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-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"
42
+ "@cowprotocol/sdk-ethers-v5-adapter": "0.3.5",
43
+ "@cowprotocol/sdk-ethers-v6-adapter": "0.3.5",
44
+ "@cowprotocol/sdk-order-signing": "0.1.30",
45
+ "@cowprotocol/sdk-viem-adapter": "0.3.5"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsup src/index.ts --format esm,cjs --dts",