Merge pull request #237 from lobotomoe/main

fix: unnecessary space in config; fix order schema removed unnecessary fields
This commit is contained in:
Mikhail Gladchenko
2024-01-09 09:42:05 +00:00
committed by GitHub
3 changed files with 2 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.20.40",
"version": "0.20.41",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -18,7 +18,7 @@
"label": "BNB Chain",
"shortName": "BSC",
"code": "bsc",
"rpc": " https://bsc-dataseed.bnbchain.org/",
"rpc": "https://bsc-dataseed.bnbchain.org/",
"baseCurrencyName": "BNB",
"contracts": {
"WETH": "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",

View File

@@ -43,8 +43,6 @@ const tradeInfoSchema = z.object({
updateTime: z.number(),
matchedBlockchainOrder: blockchainOrderSchema.optional(),
matchedSubOrderId: z.number().int().nonnegative().optional(),
exchangeTradeInfo: z.boolean(),
poolTradeInfo: z.boolean(),
});
const baseOrderSchema = z.object({