@proton/wrap-constants 0.2.92 → 0.2.94

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
@@ -6952,30 +6952,58 @@ declare type SubmitOrderParser = z.infer<typeof submitOrderParser>;
6952
6952
  declare const submitOrderResponseParser: z.ZodObject<{
6953
6953
  sync: z.ZodNumber;
6954
6954
  data: z.ZodObject<{
6955
- ordinal_order_ids: z.ZodArray<z.ZodString, "many">;
6956
- order_ids: z.ZodArray<z.ZodString, "many">;
6957
6955
  trx_id: z.ZodString;
6956
+ block_time: z.ZodString;
6957
+ orders: z.ZodArray<z.ZodObject<{
6958
+ ordinal_order_id: z.ZodString;
6959
+ order_id: z.ZodString;
6960
+ status: z.ZodString;
6961
+ }, "strip", z.ZodTypeAny, {
6962
+ status: string;
6963
+ order_id: string;
6964
+ ordinal_order_id: string;
6965
+ }, {
6966
+ status: string;
6967
+ order_id: string;
6968
+ ordinal_order_id: string;
6969
+ }>, "many">;
6958
6970
  }, "strip", z.ZodTypeAny, {
6971
+ block_time: string;
6959
6972
  trx_id: string;
6960
- ordinal_order_ids: string[];
6961
- order_ids: string[];
6973
+ orders: {
6974
+ status: string;
6975
+ order_id: string;
6976
+ ordinal_order_id: string;
6977
+ }[];
6962
6978
  }, {
6979
+ block_time: string;
6963
6980
  trx_id: string;
6964
- ordinal_order_ids: string[];
6965
- order_ids: string[];
6981
+ orders: {
6982
+ status: string;
6983
+ order_id: string;
6984
+ ordinal_order_id: string;
6985
+ }[];
6966
6986
  }>;
6967
6987
  }, "strip", z.ZodTypeAny, {
6968
6988
  data: {
6989
+ block_time: string;
6969
6990
  trx_id: string;
6970
- ordinal_order_ids: string[];
6971
- order_ids: string[];
6991
+ orders: {
6992
+ status: string;
6993
+ order_id: string;
6994
+ ordinal_order_id: string;
6995
+ }[];
6972
6996
  };
6973
6997
  sync: number;
6974
6998
  }, {
6975
6999
  data: {
7000
+ block_time: string;
6976
7001
  trx_id: string;
6977
- ordinal_order_ids: string[];
6978
- order_ids: string[];
7002
+ orders: {
7003
+ status: string;
7004
+ order_id: string;
7005
+ ordinal_order_id: string;
7006
+ }[];
6979
7007
  };
6980
7008
  sync: number;
6981
7009
  }>;
package/dist/index.js CHANGED
@@ -1916,9 +1916,15 @@ var submitOrderParser = z11.object({
1916
1916
  var submitOrderResponseParser = z11.object({
1917
1917
  sync: z11.number(),
1918
1918
  data: z11.object({
1919
- ordinal_order_ids: z11.array(z11.string()),
1920
- order_ids: z11.array(z11.string()),
1921
- trx_id: z11.string()
1919
+ trx_id: z11.string(),
1920
+ block_time: z11.string(),
1921
+ orders: z11.array(
1922
+ z11.object({
1923
+ ordinal_order_id: z11.string(),
1924
+ order_id: z11.string(),
1925
+ status: z11.string()
1926
+ })
1927
+ )
1922
1928
  })
1923
1929
  });
1924
1930
  var serializeOrderParser = z11.object({
package/dist/index.mjs CHANGED
@@ -1784,9 +1784,15 @@ var submitOrderParser = z11.object({
1784
1784
  var submitOrderResponseParser = z11.object({
1785
1785
  sync: z11.number(),
1786
1786
  data: z11.object({
1787
- ordinal_order_ids: z11.array(z11.string()),
1788
- order_ids: z11.array(z11.string()),
1789
- trx_id: z11.string()
1787
+ trx_id: z11.string(),
1788
+ block_time: z11.string(),
1789
+ orders: z11.array(
1790
+ z11.object({
1791
+ ordinal_order_id: z11.string(),
1792
+ order_id: z11.string(),
1793
+ status: z11.string()
1794
+ })
1795
+ )
1790
1796
  })
1791
1797
  });
1792
1798
  var serializeOrderParser = z11.object({
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.92",
8
+ "version": "0.2.94",
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": "8d0f5772166d87dce3ff67e378f14c1b829c997d"
43
+ "gitHead": "f1b4063af136e30ca0a5439692038a77ae125de8"
44
44
  }
@@ -125,9 +125,15 @@ export type SubmitOrderParser = z.infer<typeof submitOrderParser>;
125
125
  export const submitOrderResponseParser = z.object({
126
126
  sync: z.number(),
127
127
  data: z.object({
128
- ordinal_order_ids: z.array(z.string()),
129
- order_ids: z.array(z.string()),
130
128
  trx_id: z.string(),
129
+ block_time: z.string(),
130
+ orders: z.array(
131
+ z.object({
132
+ ordinal_order_id: z.string(),
133
+ order_id: z.string(),
134
+ status: z.string(),
135
+ })
136
+ ),
131
137
  }),
132
138
  });
133
139
  export type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;