Skip to content

Commit

Permalink
au update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJuze committed May 30, 2024
1 parent 2613e4a commit 0c2b95a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.22.0-rc14",
"version": "0.22.0-rc15",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/services/Aggregator/ws/schemas/addressUpdateSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export const fullOrderSchema = z.object({
E: z.enum(executionTypes).optional(),
C: z.string().optional(), // trigger condition
ro: z.boolean().optional(), // is reversed order
sc: z.boolean().optional(), // source chain
tc: z.boolean().optional(), // target chain
sc: z.string().optional(), // source chain
tc: z.string().optional(), // target chain
}).transform((val) => ({
...val,
k: 'full' as const,
Expand Down

0 comments on commit 0c2b95a

Please sign in to comment.