mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-13 21:52:36 +03:00
Revert "feat: small updates in Swap info schema"
This reverts commit f4bf91eb36.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.76-rc112",
|
||||
"version": "0.20.76-rc111",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
|
||||
@@ -40,8 +40,8 @@ const swapInfoSchemaBase = baseMessageSchema.extend({
|
||||
ai: z.string().toUpperCase(), // asset in
|
||||
ao: z.string().toUpperCase(), // asset out
|
||||
f: factorySchema, // factory
|
||||
aai: z.string().optional(), // asset address in
|
||||
aao: z.string().optional(), // asset address out
|
||||
aai: z.string(), // asset address in
|
||||
aao: z.string(), // asset address out
|
||||
})),
|
||||
usd: z.object({ // USD info of this swap, nullable
|
||||
aa: z.number().optional(), // available amount in, USD
|
||||
|
||||
Reference in New Issue
Block a user