@proton/wrap-constants 0.2.91 → 0.2.93

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.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
+ }>;
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
  }>;
@@ -7067,24 +7095,24 @@ declare const serializeOrderResponseParser: z.ZodObject<{
7067
7095
  sync: z.ZodNumber;
7068
7096
  data: z.ZodObject<{
7069
7097
  serialized_tx_hex: z.ZodString;
7070
- digest: z.ZodString;
7098
+ digest_hex: z.ZodString;
7071
7099
  }, "strip", z.ZodTypeAny, {
7072
7100
  serialized_tx_hex: string;
7073
- digest: string;
7101
+ digest_hex: string;
7074
7102
  }, {
7075
7103
  serialized_tx_hex: string;
7076
- digest: string;
7104
+ digest_hex: string;
7077
7105
  }>;
7078
7106
  }, "strip", z.ZodTypeAny, {
7079
7107
  data: {
7080
7108
  serialized_tx_hex: string;
7081
- digest: string;
7109
+ digest_hex: string;
7082
7110
  };
7083
7111
  sync: number;
7084
7112
  }, {
7085
7113
  data: {
7086
7114
  serialized_tx_hex: string;
7087
- digest: string;
7115
+ digest_hex: string;
7088
7116
  };
7089
7117
  sync: number;
7090
7118
  }>;
package/dist/index.js CHANGED
@@ -1916,9 +1916,13 @@ 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.object({
1922
+ ordinal_order_id: z11.string(),
1923
+ order_id: z11.string(),
1924
+ status: z11.string()
1925
+ })
1922
1926
  })
1923
1927
  });
1924
1928
  var serializeOrderParser = z11.object({
@@ -1942,7 +1946,7 @@ var serializeOrderResponseParser = z11.object({
1942
1946
  sync: z11.number(),
1943
1947
  data: z11.object({
1944
1948
  serialized_tx_hex: z11.string(),
1945
- digest: z11.string()
1949
+ digest_hex: z11.string()
1946
1950
  })
1947
1951
  });
1948
1952
  var depthParser = z11.object({
package/dist/index.mjs CHANGED
@@ -1784,9 +1784,13 @@ 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.object({
1790
+ ordinal_order_id: z11.string(),
1791
+ order_id: z11.string(),
1792
+ status: z11.string()
1793
+ })
1790
1794
  })
1791
1795
  });
1792
1796
  var serializeOrderParser = z11.object({
@@ -1810,7 +1814,7 @@ var serializeOrderResponseParser = z11.object({
1810
1814
  sync: z11.number(),
1811
1815
  data: z11.object({
1812
1816
  serialized_tx_hex: z11.string(),
1813
- digest: z11.string()
1817
+ digest_hex: z11.string()
1814
1818
  })
1815
1819
  });
1816
1820
  var depthParser = z11.object({
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.91",
8
+ "version": "0.2.93",
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": "fc1e77c013cd68373eaebf326950d600e2a7b806"
43
+ "gitHead": "de7ee3f90e765dc83a91047e1ba34272f331f86e"
44
44
  }
@@ -125,9 +125,13 @@ 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.object({
131
+ ordinal_order_id: z.string(),
132
+ order_id: z.string(),
133
+ status: z.string(),
134
+ }),
131
135
  }),
132
136
  });
133
137
  export type SubmitOrderResponse = z.infer<typeof submitOrderResponseParser>;
@@ -159,7 +163,7 @@ export const serializeOrderResponseParser = z.object({
159
163
  sync: z.number(),
160
164
  data: z.object({
161
165
  serialized_tx_hex: z.string(),
162
- digest: z.string(),
166
+ digest_hex: z.string(),
163
167
  }),
164
168
  });
165
169
  export type SerializeOrderResponse = z.infer<