This commit is contained in:
Aleksandr Kraiz
2023-08-21 18:51:48 +04:00
parent ae0f5cd00d
commit d40bed2bca
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -22,7 +22,7 @@ const swapInfoBase = z.object({
minAmountOut: z.number(),
minAmountIn: z.number(),
marketPrice: z.number().nullable(), // spending asset market price
exchangeContractPaths: z.array(z.object({
exchangeContractPath: z.array(z.object({
pool: z.string(),
assetIn: z.string(),
assetOut: z.string(),
@@ -30,7 +30,7 @@ const swapInfoBase = z.object({
})),
alternatives: z.object({ // execution alternatives
exchanges: z.array(z.string()),
path: z.string().array(),
path: z.array(z.string()),
marketAmountOut: z.number().nullable(),
marketAmountIn: z.number().nullable(),
marketPrice: z.number(),