@proton/wrap-constants 0.2.62 → 0.2.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.62",
8
+ "version": "0.2.63",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "resolutions": {
45
45
  "typescript": "4.5"
46
46
  },
47
- "gitHead": "d8a54e9d92ed81b8c81cc7e78c8b1a6ec6dd0704"
47
+ "gitHead": "4f01d9f21b867def99aa8d4f501bb1a3c61d0289"
48
48
  }
@@ -61,6 +61,13 @@ export const getOpenOrdersParser = z.object({
61
61
  })
62
62
  export type GetOpenOrders = z.infer<typeof getOpenOrdersParser>
63
63
 
64
+ export const getOpenOrdersResponseParser = z.object({
65
+ sync: z.number(),
66
+ count: z.number(),
67
+ data: z.array(orderHistoryParser)
68
+ })
69
+ export type GetOpenOrdersResponse = z.infer<typeof getOpenOrdersResponseParser>
70
+
64
71
  export const getOrderHistoryParser = z.object({
65
72
  account: z.string(),
66
73
  symbol: z.string().optional(),