@cowprotocol/sdk-bridging 0.5.2 → 0.6.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 +21 -1
- package/dist/index.mjs +21 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1295,6 +1295,10 @@ var ACROSS_SPOOK_CONTRACT_ADDRESSES = {
|
|
|
1295
1295
|
[import_sdk_config3.SupportedChainId.LENS]: "0xe7cb3e167e7475dE1331Cf6E0CEb187654619E12",
|
|
1296
1296
|
// https://docs.across.to/reference/contract-addresses/bnb-smart-chain
|
|
1297
1297
|
[import_sdk_config3.SupportedChainId.BNB]: "0x4e8E101924eDE233C13e2D8622DC8aED2872d505",
|
|
1298
|
+
// https://docs.across.to/reference/contract-addresses/linea-chain-id-59144
|
|
1299
|
+
[import_sdk_config3.SupportedChainId.LINEA]: "0xE0BCff426509723B18D6b2f0D8F4602d143bE3e0",
|
|
1300
|
+
// https://docs.across.to/reference/contract-addresses/plasma
|
|
1301
|
+
[import_sdk_config3.SupportedChainId.PLASMA]: "0x50039fAEfebef707cFD94D6d462fE6D10B39207a",
|
|
1298
1302
|
// Not supported chains
|
|
1299
1303
|
// 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
|
|
1300
1304
|
[import_sdk_config3.SupportedChainId.GNOSIS_CHAIN]: void 0,
|
|
@@ -1314,7 +1318,11 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
|
|
|
1314
1318
|
[import_sdk_config3.SupportedChainId.AVALANCHE]: void 0,
|
|
1315
1319
|
[import_sdk_config3.SupportedChainId.LENS]: void 0,
|
|
1316
1320
|
// TODO: confirm
|
|
1317
|
-
[import_sdk_config3.SupportedChainId.BNB]: void 0
|
|
1321
|
+
[import_sdk_config3.SupportedChainId.BNB]: void 0,
|
|
1322
|
+
// TODO: confirm
|
|
1323
|
+
[import_sdk_config3.SupportedChainId.LINEA]: void 0,
|
|
1324
|
+
// TODO: confirm
|
|
1325
|
+
[import_sdk_config3.SupportedChainId.PLASMA]: void 0
|
|
1318
1326
|
// TODO: confirm
|
|
1319
1327
|
};
|
|
1320
1328
|
|
|
@@ -3766,6 +3774,10 @@ var BungeeCowswapLibAddresses = {
|
|
|
3766
3774
|
// TODO: confirm
|
|
3767
3775
|
[import_sdk_config6.SupportedChainId.BNB]: void 0,
|
|
3768
3776
|
// TODO: confirm
|
|
3777
|
+
[import_sdk_config6.SupportedChainId.LINEA]: void 0,
|
|
3778
|
+
// TODO: confirm
|
|
3779
|
+
[import_sdk_config6.SupportedChainId.PLASMA]: void 0,
|
|
3780
|
+
// TODO: confirm
|
|
3769
3781
|
[import_sdk_config6.SupportedChainId.SEPOLIA]: void 0,
|
|
3770
3782
|
[import_sdk_config6.AdditionalTargetChainId.OPTIMISM]: BUNGEE_COWSWAP_LIB_ADDRESS
|
|
3771
3783
|
};
|
|
@@ -3781,6 +3793,10 @@ var SocketVerifierAddresses = {
|
|
|
3781
3793
|
// TODO: confirm
|
|
3782
3794
|
[import_sdk_config6.SupportedChainId.BNB]: void 0,
|
|
3783
3795
|
// TODO: confirm
|
|
3796
|
+
[import_sdk_config6.SupportedChainId.LINEA]: void 0,
|
|
3797
|
+
// TODO: confirm
|
|
3798
|
+
[import_sdk_config6.SupportedChainId.PLASMA]: void 0,
|
|
3799
|
+
// TODO: confirm
|
|
3784
3800
|
[import_sdk_config6.SupportedChainId.SEPOLIA]: void 0,
|
|
3785
3801
|
[import_sdk_config6.AdditionalTargetChainId.OPTIMISM]: SOCKET_VERIFIER_ADDRESS
|
|
3786
3802
|
};
|
|
@@ -3796,6 +3812,10 @@ var BungeeApproveAndBridgeV1Addresses = {
|
|
|
3796
3812
|
// TODO: confirm
|
|
3797
3813
|
[import_sdk_config6.SupportedChainId.BNB]: void 0,
|
|
3798
3814
|
// TODO: confirm
|
|
3815
|
+
[import_sdk_config6.SupportedChainId.LINEA]: void 0,
|
|
3816
|
+
// TODO: confirm
|
|
3817
|
+
[import_sdk_config6.SupportedChainId.PLASMA]: void 0,
|
|
3818
|
+
// TODO: confirm
|
|
3799
3819
|
[import_sdk_config6.SupportedChainId.SEPOLIA]: void 0,
|
|
3800
3820
|
[import_sdk_config6.AdditionalTargetChainId.OPTIMISM]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS
|
|
3801
3821
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1251,6 +1251,10 @@ var ACROSS_SPOOK_CONTRACT_ADDRESSES = {
|
|
|
1251
1251
|
[SupportedChainId2.LENS]: "0xe7cb3e167e7475dE1331Cf6E0CEb187654619E12",
|
|
1252
1252
|
// https://docs.across.to/reference/contract-addresses/bnb-smart-chain
|
|
1253
1253
|
[SupportedChainId2.BNB]: "0x4e8E101924eDE233C13e2D8622DC8aED2872d505",
|
|
1254
|
+
// https://docs.across.to/reference/contract-addresses/linea-chain-id-59144
|
|
1255
|
+
[SupportedChainId2.LINEA]: "0xE0BCff426509723B18D6b2f0D8F4602d143bE3e0",
|
|
1256
|
+
// https://docs.across.to/reference/contract-addresses/plasma
|
|
1257
|
+
[SupportedChainId2.PLASMA]: "0x50039fAEfebef707cFD94D6d462fE6D10B39207a",
|
|
1254
1258
|
// Not supported chains
|
|
1255
1259
|
// 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
|
|
1256
1260
|
[SupportedChainId2.GNOSIS_CHAIN]: void 0,
|
|
@@ -1270,7 +1274,11 @@ var ACROSS_MATH_CONTRACT_ADDRESSES = {
|
|
|
1270
1274
|
[SupportedChainId2.AVALANCHE]: void 0,
|
|
1271
1275
|
[SupportedChainId2.LENS]: void 0,
|
|
1272
1276
|
// TODO: confirm
|
|
1273
|
-
[SupportedChainId2.BNB]: void 0
|
|
1277
|
+
[SupportedChainId2.BNB]: void 0,
|
|
1278
|
+
// TODO: confirm
|
|
1279
|
+
[SupportedChainId2.LINEA]: void 0,
|
|
1280
|
+
// TODO: confirm
|
|
1281
|
+
[SupportedChainId2.PLASMA]: void 0
|
|
1274
1282
|
// TODO: confirm
|
|
1275
1283
|
};
|
|
1276
1284
|
|
|
@@ -3728,6 +3736,10 @@ var BungeeCowswapLibAddresses = {
|
|
|
3728
3736
|
// TODO: confirm
|
|
3729
3737
|
[SupportedChainId5.BNB]: void 0,
|
|
3730
3738
|
// TODO: confirm
|
|
3739
|
+
[SupportedChainId5.LINEA]: void 0,
|
|
3740
|
+
// TODO: confirm
|
|
3741
|
+
[SupportedChainId5.PLASMA]: void 0,
|
|
3742
|
+
// TODO: confirm
|
|
3731
3743
|
[SupportedChainId5.SEPOLIA]: void 0,
|
|
3732
3744
|
[AdditionalTargetChainId2.OPTIMISM]: BUNGEE_COWSWAP_LIB_ADDRESS
|
|
3733
3745
|
};
|
|
@@ -3743,6 +3755,10 @@ var SocketVerifierAddresses = {
|
|
|
3743
3755
|
// TODO: confirm
|
|
3744
3756
|
[SupportedChainId5.BNB]: void 0,
|
|
3745
3757
|
// TODO: confirm
|
|
3758
|
+
[SupportedChainId5.LINEA]: void 0,
|
|
3759
|
+
// TODO: confirm
|
|
3760
|
+
[SupportedChainId5.PLASMA]: void 0,
|
|
3761
|
+
// TODO: confirm
|
|
3746
3762
|
[SupportedChainId5.SEPOLIA]: void 0,
|
|
3747
3763
|
[AdditionalTargetChainId2.OPTIMISM]: SOCKET_VERIFIER_ADDRESS
|
|
3748
3764
|
};
|
|
@@ -3758,6 +3774,10 @@ var BungeeApproveAndBridgeV1Addresses = {
|
|
|
3758
3774
|
// TODO: confirm
|
|
3759
3775
|
[SupportedChainId5.BNB]: void 0,
|
|
3760
3776
|
// TODO: confirm
|
|
3777
|
+
[SupportedChainId5.LINEA]: void 0,
|
|
3778
|
+
// TODO: confirm
|
|
3779
|
+
[SupportedChainId5.PLASMA]: void 0,
|
|
3780
|
+
// TODO: confirm
|
|
3761
3781
|
[SupportedChainId5.SEPOLIA]: void 0,
|
|
3762
3782
|
[AdditionalTargetChainId2.OPTIMISM]: BUNGEE_APPROVE_AND_BRIDGE_V1_ADDRESS
|
|
3763
3783
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cowprotocol/sdk-bridging",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Bridging for CoW Protocol",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"access": "public"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@cowprotocol/sdk-app-data": "4.1.
|
|
18
|
-
"@cowprotocol/sdk-config": "0.2.0",
|
|
17
|
+
"@cowprotocol/sdk-app-data": "4.1.6",
|
|
19
18
|
"@cowprotocol/sdk-common": "0.3.0",
|
|
20
|
-
"@cowprotocol/sdk-
|
|
21
|
-
"@cowprotocol/sdk-
|
|
22
|
-
"@cowprotocol/sdk-
|
|
23
|
-
"@cowprotocol/sdk-
|
|
24
|
-
"@cowprotocol/sdk-
|
|
19
|
+
"@cowprotocol/sdk-config": "0.3.0",
|
|
20
|
+
"@cowprotocol/sdk-order-book": "0.2.0",
|
|
21
|
+
"@cowprotocol/sdk-contracts-ts": "0.4.4",
|
|
22
|
+
"@cowprotocol/sdk-cow-shed": "0.1.10",
|
|
23
|
+
"@cowprotocol/sdk-weiroll": "0.1.5",
|
|
24
|
+
"@cowprotocol/sdk-trading": "0.4.5"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"ethers-v5": "npm:ethers@^5.7.2",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"ts-jest": "^29.0.0",
|
|
37
37
|
"ethers": "^5.7.2",
|
|
38
38
|
"viem": "^2.28.4",
|
|
39
|
-
"@cowprotocol/sdk-order-signing": "0.1.
|
|
40
|
-
"@cowprotocol/sdk-ethers-v6-adapter": "0.2.0",
|
|
39
|
+
"@cowprotocol/sdk-order-signing": "0.1.10",
|
|
41
40
|
"@cowprotocol/sdk-ethers-v5-adapter": "0.2.0",
|
|
41
|
+
"@cowprotocol/sdk-ethers-v6-adapter": "0.2.0",
|
|
42
42
|
"@cowprotocol/sdk-viem-adapter": "0.2.0",
|
|
43
43
|
"@cow-sdk/typescript-config": "0.0.0-beta.0"
|
|
44
44
|
},
|