@cowprotocol/sdk-order-book 0.5.1 → 0.6.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 +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -185,7 +185,8 @@ var ORDER_BOOK_PROD_CONFIG = {
|
|
|
185
185
|
[import_sdk_config2.SupportedChainId.LENS]: `${PROD_BASE_URL}/lens`,
|
|
186
186
|
[import_sdk_config2.SupportedChainId.BNB]: `${PROD_BASE_URL}/bnb`,
|
|
187
187
|
[import_sdk_config2.SupportedChainId.LINEA]: `${PROD_BASE_URL}/linea`,
|
|
188
|
-
[import_sdk_config2.SupportedChainId.PLASMA]: `${PROD_BASE_URL}/plasma
|
|
188
|
+
[import_sdk_config2.SupportedChainId.PLASMA]: `${PROD_BASE_URL}/plasma`,
|
|
189
|
+
[import_sdk_config2.SupportedChainId.INK]: `${PROD_BASE_URL}/ink`
|
|
189
190
|
};
|
|
190
191
|
var ORDER_BOOK_STAGING_CONFIG = {
|
|
191
192
|
[import_sdk_config2.SupportedChainId.MAINNET]: `${STAGING_BASE_URL}/mainnet`,
|
|
@@ -198,7 +199,8 @@ var ORDER_BOOK_STAGING_CONFIG = {
|
|
|
198
199
|
[import_sdk_config2.SupportedChainId.LENS]: `${STAGING_BASE_URL}/lens`,
|
|
199
200
|
[import_sdk_config2.SupportedChainId.BNB]: `${STAGING_BASE_URL}/bnb`,
|
|
200
201
|
[import_sdk_config2.SupportedChainId.LINEA]: `${STAGING_BASE_URL}/linea`,
|
|
201
|
-
[import_sdk_config2.SupportedChainId.PLASMA]: `${STAGING_BASE_URL}/plasma
|
|
202
|
+
[import_sdk_config2.SupportedChainId.PLASMA]: `${STAGING_BASE_URL}/plasma`,
|
|
203
|
+
[import_sdk_config2.SupportedChainId.INK]: `${STAGING_BASE_URL}/ink`
|
|
202
204
|
};
|
|
203
205
|
function cleanObjectFromUndefinedValues(obj) {
|
|
204
206
|
return Object.keys(obj).reduce(
|
package/dist/index.mjs
CHANGED
|
@@ -139,7 +139,8 @@ var ORDER_BOOK_PROD_CONFIG = {
|
|
|
139
139
|
[SupportedChainId.LENS]: `${PROD_BASE_URL}/lens`,
|
|
140
140
|
[SupportedChainId.BNB]: `${PROD_BASE_URL}/bnb`,
|
|
141
141
|
[SupportedChainId.LINEA]: `${PROD_BASE_URL}/linea`,
|
|
142
|
-
[SupportedChainId.PLASMA]: `${PROD_BASE_URL}/plasma
|
|
142
|
+
[SupportedChainId.PLASMA]: `${PROD_BASE_URL}/plasma`,
|
|
143
|
+
[SupportedChainId.INK]: `${PROD_BASE_URL}/ink`
|
|
143
144
|
};
|
|
144
145
|
var ORDER_BOOK_STAGING_CONFIG = {
|
|
145
146
|
[SupportedChainId.MAINNET]: `${STAGING_BASE_URL}/mainnet`,
|
|
@@ -152,7 +153,8 @@ var ORDER_BOOK_STAGING_CONFIG = {
|
|
|
152
153
|
[SupportedChainId.LENS]: `${STAGING_BASE_URL}/lens`,
|
|
153
154
|
[SupportedChainId.BNB]: `${STAGING_BASE_URL}/bnb`,
|
|
154
155
|
[SupportedChainId.LINEA]: `${STAGING_BASE_URL}/linea`,
|
|
155
|
-
[SupportedChainId.PLASMA]: `${STAGING_BASE_URL}/plasma
|
|
156
|
+
[SupportedChainId.PLASMA]: `${STAGING_BASE_URL}/plasma`,
|
|
157
|
+
[SupportedChainId.INK]: `${STAGING_BASE_URL}/ink`
|
|
156
158
|
};
|
|
157
159
|
function cleanObjectFromUndefinedValues(obj) {
|
|
158
160
|
return Object.keys(obj).reduce(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cowprotocol/sdk-order-book",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "CowProtocol Order Book package",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"cross-fetch": "^3.2.0",
|
|
32
32
|
"exponential-backoff": "^3.1.2",
|
|
33
33
|
"limiter": "^3.0.0",
|
|
34
|
-
"@cowprotocol/sdk-config": "0.
|
|
35
|
-
"@cowprotocol/sdk-common": "0.5.
|
|
34
|
+
"@cowprotocol/sdk-config": "0.7.1",
|
|
35
|
+
"@cowprotocol/sdk-common": "0.5.2"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|