mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-01 10:38:04 +03:00
update au schema
This commit is contained in:
@@ -86,7 +86,7 @@ export const fullOrderSchema = z.object({
|
||||
ro: z.boolean().optional(), // is reversed order
|
||||
sc: z.string().optional(), // source chain
|
||||
tc: z.string().optional(), // target chain
|
||||
ir: z.string().optional(), // is refundable
|
||||
ir: z.boolean().optional(), // is refundable
|
||||
sh: z.string().optional(), // secret hash
|
||||
}).transform((val) => ({
|
||||
...val,
|
||||
@@ -112,6 +112,7 @@ export const fullOrderSchema = z.object({
|
||||
sourceChain: o.sc,
|
||||
targetChain: o.tc,
|
||||
isRefundable: o.ir,
|
||||
secretHash: o.sh,
|
||||
subOrders: o.c.map((so) => ({
|
||||
pair: so.P,
|
||||
exchange: so.e,
|
||||
|
||||
Reference in New Issue
Block a user