@proton/wrap-constants 0.2.56 → 0.2.58

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.56",
8
+ "version": "0.2.58",
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": "d867d6648cbff2a018bc77d3d21bb64789458151"
47
+ "gitHead": "7f71f6ad4699d0461f60c8bb7025a7ecefd043e8"
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 getOrderParser = z.object({
72
+ order_id: z.string()
73
+ })
74
+ export type GetOrder = z.infer<typeof getOrderParser>
75
+
76
+ export const getOrderResponseParser = z.object({
77
+ sync: z.number(),
78
+ data: z.array(orderHistoryParser)
79
+ })
80
+ export type GetOrderResponse = z.infer<typeof getOrderResponseParser>
81
+
71
82
  /**
72
83
  * Depth
73
84
  */