Skip to content

Commit e2729cf

Browse files
authored
Merge pull request #237 from lobotomoe/main
fix: unnecessary space in config; fix order schema removed unnecessary fields
2 parents 11a5bd9 + 9002b45 commit e2729cf

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@orionprotocol/sdk",
3-
"version": "0.20.40",
3+
"version": "0.20.41",
44
"description": "Orion Protocol SDK",
55
"main": "./lib/index.cjs",
66
"module": "./lib/index.js",

src/config/chains.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"label": "BNB Chain",
1919
"shortName": "BSC",
2020
"code": "bsc",
21-
"rpc": " https://bsc-dataseed.bnbchain.org/",
21+
"rpc": "https://bsc-dataseed.bnbchain.org/",
2222
"baseCurrencyName": "BNB",
2323
"contracts": {
2424
"WETH": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",

src/services/Aggregator/schemas/orderSchema.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ const tradeInfoSchema = z.object({
4343
updateTime: z.number(),
4444
matchedBlockchainOrder: blockchainOrderSchema.optional(),
4545
matchedSubOrderId: z.number().int().nonnegative().optional(),
46-
exchangeTradeInfo: z.boolean(),
47-
poolTradeInfo: z.boolean(),
4846
});
4947

5048
const baseOrderSchema = z.object({

0 commit comments

Comments
 (0)