feat: added fee to eps in swapInfoSchema.ts

This commit is contained in:
Mikhail Gladchenko
2024-05-23 10:13:22 +01:00
parent ac90d4981c
commit 495313546d
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -42,6 +42,7 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
f: factorySchema, // factory f: factorySchema, // factory
aai: z.string(), // asset address in aai: z.string(), // asset address in
aao: z.string(), // asset address out aao: z.string(), // asset address out
fee: z.number(), // fee
})), })),
usd: z.object({ // USD info of this swap, nullable usd: z.object({ // USD info of this swap, nullable
aa: z.number().optional(), // available amount in, USD aa: z.number().optional(), // available amount in, USD