@proton/wrap-constants 0.2.75 → 0.2.77

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/dist/index.d.ts CHANGED
@@ -6866,11 +6866,24 @@ declare const submitOrderParser: z.ZodObject<{
6866
6866
  }>;
6867
6867
  declare type SubmitOrderParser = z.infer<typeof submitOrderParser>;
6868
6868
  declare const submitOrderResponseParser: z.ZodObject<{
6869
- order_ids: z.ZodArray<z.ZodString, "many">;
6869
+ sync: z.ZodNumber;
6870
+ data: z.ZodObject<{
6871
+ order_ids: z.ZodArray<z.ZodNumber, "many">;
6872
+ }, "strip", z.ZodTypeAny, {
6873
+ order_ids: number[];
6874
+ }, {
6875
+ order_ids: number[];
6876
+ }>;
6870
6877
  }, "strip", z.ZodTypeAny, {
6871
- order_ids: string[];
6878
+ data: {
6879
+ order_ids: number[];
6880
+ };
6881
+ sync: number;
6872
6882
  }, {
6873
- order_ids: string[];
6883
+ data: {
6884
+ order_ids: number[];
6885
+ };
6886
+ sync: number;
6874
6887
  }>;
6875
6888
  declare type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
6876
6889
  /**
package/dist/index.js CHANGED
@@ -1875,7 +1875,10 @@ var submitOrderParser = z11.object({
1875
1875
  signatures: z11.array(z11.string())
1876
1876
  });
1877
1877
  var submitOrderResponseParser = z11.object({
1878
- order_ids: z11.array(z11.string())
1878
+ sync: z11.number(),
1879
+ data: z11.object({
1880
+ order_ids: z11.array(z11.number())
1881
+ })
1879
1882
  });
1880
1883
  var depthParser = z11.object({
1881
1884
  level: z11.number(),
package/dist/index.mjs CHANGED
@@ -1745,7 +1745,10 @@ var submitOrderParser = z11.object({
1745
1745
  signatures: z11.array(z11.string())
1746
1746
  });
1747
1747
  var submitOrderResponseParser = z11.object({
1748
- order_ids: z11.array(z11.string())
1748
+ sync: z11.number(),
1749
+ data: z11.object({
1750
+ order_ids: z11.array(z11.number())
1751
+ })
1749
1752
  });
1750
1753
  var depthParser = z11.object({
1751
1754
  level: z11.number(),
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.75",
8
+ "version": "0.2.77",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "resolutions": {
41
41
  "typescript": "4.5"
42
42
  },
43
- "gitHead": "383d73297f09075287b9f1a3141be9b9096d7b6d"
43
+ "gitHead": "4005705b793187515fefd098c1e0fc3392e2b580"
44
44
  }
@@ -114,7 +114,10 @@ export const submitOrderParser = z.object({
114
114
  export type SubmitOrderParser = z.infer<typeof submitOrderParser>;
115
115
 
116
116
  export const submitOrderResponseParser = z.object({
117
- order_ids: z.array(z.string()),
117
+ sync: z.number(),
118
+ data: z.object({
119
+ order_ids: z.array(z.number()),
120
+ }),
118
121
  });
119
122
  export type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
120
123