mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
Merge pull request #237 from lobotomoe/main
fix: unnecessary space in config; fix order schema removed unnecessary fields
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user