mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-13 14:39:18 +03:00
anm field: schema
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@orionprotocol/sdk",
|
"name": "@orionprotocol/sdk",
|
||||||
"version": "0.19.30",
|
"version": "0.19.31",
|
||||||
"description": "Orion Protocol SDK",
|
"description": "Orion Protocol SDK",
|
||||||
"main": "./lib/index.cjs",
|
"main": "./lib/index.cjs",
|
||||||
"module": "./lib/index.js",
|
"module": "./lib/index.js",
|
||||||
@@ -108,4 +108,4 @@
|
|||||||
"overrides": {
|
"overrides": {
|
||||||
"tsconfig-paths": "^4.0.0"
|
"tsconfig-paths": "^4.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -33,6 +33,7 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
|
|||||||
sp: z.number(), // safe price (with safe deviation but without slippage)
|
sp: z.number(), // safe price (with safe deviation but without slippage)
|
||||||
}).optional(),
|
}).optional(),
|
||||||
as: alternativeSchema.array(),
|
as: alternativeSchema.array(),
|
||||||
|
anm: z.record(z.string()).optional(), // address to ERC20 names
|
||||||
});
|
});
|
||||||
|
|
||||||
const swapInfoSchemaByAmountIn = swapInfoSchemaBase.extend({
|
const swapInfoSchemaByAmountIn = swapInfoSchemaBase.extend({
|
||||||
|
|||||||
Reference in New Issue
Block a user