@proton/wrap-constants 0.2.55 → 0.2.57

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.55",
8
+ "version": "0.2.57",
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": "0ee45fc950a4a57c91d0cf37b72a4feb85debbd8"
47
+ "gitHead": "b80ac71b46c1e9eb427947f84f03bf820cfaaae4"
48
48
  }
@@ -68,6 +68,17 @@ export const getOrderHistoryResponseParser = z.object({
68
68
  })
69
69
  export type GetOrderHistoryResponse = z.infer<typeof getOrderHistoryResponseParser>
70
70
 
71
+ export const getOrder = z.object({
72
+ order_id: z.string()
73
+ })
74
+ export type GetOrder = z.infer<typeof getOrder>
75
+
76
+ export const getOrderResponse = z.object({
77
+ sync: z.number(),
78
+ data: z.array(orderHistoryParser)
79
+ })
80
+ export type GetOrderResponse = z.infer<typeof getOrderResponse>
81
+
71
82
  /**
72
83
  * Depth
73
84
  */
@@ -257,7 +268,7 @@ export const leaderboardParser = z.object({
257
268
  export type Leaderboard = z.infer<typeof leaderboardParser>
258
269
 
259
270
  export const getLeaderboardParser = z.object({
260
- symbol: z.string(),
271
+ market_ids: z.array(z.string()),
261
272
  from: z.string(),
262
273
  to: z.string(),
263
274
  })