@proton/wrap-constants 0.2.89 → 0.2.92
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 +12 -12
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
- package/src/parsers/dex.ts +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -6998,7 +6998,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
6998
6998
|
actor: string;
|
|
6999
6999
|
permission: string;
|
|
7000
7000
|
}>, "many">;
|
|
7001
|
-
data: z.
|
|
7001
|
+
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
7002
7002
|
}, "strip", z.ZodTypeAny, {
|
|
7003
7003
|
account: string;
|
|
7004
7004
|
name: string;
|
|
@@ -7006,7 +7006,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7006
7006
|
actor: string;
|
|
7007
7007
|
permission: string;
|
|
7008
7008
|
}[];
|
|
7009
|
-
data
|
|
7009
|
+
data: Record<string, any>;
|
|
7010
7010
|
}, {
|
|
7011
7011
|
account: string;
|
|
7012
7012
|
name: string;
|
|
@@ -7014,7 +7014,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7014
7014
|
actor: string;
|
|
7015
7015
|
permission: string;
|
|
7016
7016
|
}[];
|
|
7017
|
-
data
|
|
7017
|
+
data: Record<string, any>;
|
|
7018
7018
|
}>, "many">;
|
|
7019
7019
|
}, "strip", z.ZodTypeAny, {
|
|
7020
7020
|
actions: {
|
|
@@ -7024,7 +7024,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7024
7024
|
actor: string;
|
|
7025
7025
|
permission: string;
|
|
7026
7026
|
}[];
|
|
7027
|
-
data
|
|
7027
|
+
data: Record<string, any>;
|
|
7028
7028
|
}[];
|
|
7029
7029
|
}, {
|
|
7030
7030
|
actions: {
|
|
@@ -7034,7 +7034,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7034
7034
|
actor: string;
|
|
7035
7035
|
permission: string;
|
|
7036
7036
|
}[];
|
|
7037
|
-
data
|
|
7037
|
+
data: Record<string, any>;
|
|
7038
7038
|
}[];
|
|
7039
7039
|
}>;
|
|
7040
7040
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7046,7 +7046,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7046
7046
|
actor: string;
|
|
7047
7047
|
permission: string;
|
|
7048
7048
|
}[];
|
|
7049
|
-
data
|
|
7049
|
+
data: Record<string, any>;
|
|
7050
7050
|
}[];
|
|
7051
7051
|
};
|
|
7052
7052
|
}, {
|
|
@@ -7058,7 +7058,7 @@ declare const serializeOrderParser: z.ZodObject<{
|
|
|
7058
7058
|
actor: string;
|
|
7059
7059
|
permission: string;
|
|
7060
7060
|
}[];
|
|
7061
|
-
data
|
|
7061
|
+
data: Record<string, any>;
|
|
7062
7062
|
}[];
|
|
7063
7063
|
};
|
|
7064
7064
|
}>;
|
|
@@ -7067,24 +7067,24 @@ declare const serializeOrderResponseParser: z.ZodObject<{
|
|
|
7067
7067
|
sync: z.ZodNumber;
|
|
7068
7068
|
data: z.ZodObject<{
|
|
7069
7069
|
serialized_tx_hex: z.ZodString;
|
|
7070
|
-
|
|
7070
|
+
digest_hex: z.ZodString;
|
|
7071
7071
|
}, "strip", z.ZodTypeAny, {
|
|
7072
7072
|
serialized_tx_hex: string;
|
|
7073
|
-
|
|
7073
|
+
digest_hex: string;
|
|
7074
7074
|
}, {
|
|
7075
7075
|
serialized_tx_hex: string;
|
|
7076
|
-
|
|
7076
|
+
digest_hex: string;
|
|
7077
7077
|
}>;
|
|
7078
7078
|
}, "strip", z.ZodTypeAny, {
|
|
7079
7079
|
data: {
|
|
7080
7080
|
serialized_tx_hex: string;
|
|
7081
|
-
|
|
7081
|
+
digest_hex: string;
|
|
7082
7082
|
};
|
|
7083
7083
|
sync: number;
|
|
7084
7084
|
}, {
|
|
7085
7085
|
data: {
|
|
7086
7086
|
serialized_tx_hex: string;
|
|
7087
|
-
|
|
7087
|
+
digest_hex: string;
|
|
7088
7088
|
};
|
|
7089
7089
|
sync: number;
|
|
7090
7090
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -1933,7 +1933,7 @@ var serializeOrderParser = z11.object({
|
|
|
1933
1933
|
permission: z11.string()
|
|
1934
1934
|
})
|
|
1935
1935
|
),
|
|
1936
|
-
data: z11.
|
|
1936
|
+
data: z11.record(z11.any())
|
|
1937
1937
|
})
|
|
1938
1938
|
)
|
|
1939
1939
|
})
|
|
@@ -1942,7 +1942,7 @@ var serializeOrderResponseParser = z11.object({
|
|
|
1942
1942
|
sync: z11.number(),
|
|
1943
1943
|
data: z11.object({
|
|
1944
1944
|
serialized_tx_hex: z11.string(),
|
|
1945
|
-
|
|
1945
|
+
digest_hex: z11.string()
|
|
1946
1946
|
})
|
|
1947
1947
|
});
|
|
1948
1948
|
var depthParser = z11.object({
|
package/dist/index.mjs
CHANGED
|
@@ -1801,7 +1801,7 @@ var serializeOrderParser = z11.object({
|
|
|
1801
1801
|
permission: z11.string()
|
|
1802
1802
|
})
|
|
1803
1803
|
),
|
|
1804
|
-
data: z11.
|
|
1804
|
+
data: z11.record(z11.any())
|
|
1805
1805
|
})
|
|
1806
1806
|
)
|
|
1807
1807
|
})
|
|
@@ -1810,7 +1810,7 @@ var serializeOrderResponseParser = z11.object({
|
|
|
1810
1810
|
sync: z11.number(),
|
|
1811
1811
|
data: z11.object({
|
|
1812
1812
|
serialized_tx_hex: z11.string(),
|
|
1813
|
-
|
|
1813
|
+
digest_hex: z11.string()
|
|
1814
1814
|
})
|
|
1815
1815
|
});
|
|
1816
1816
|
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.
|
|
8
|
+
"version": "0.2.92",
|
|
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": "
|
|
43
|
+
"gitHead": "8d0f5772166d87dce3ff67e378f14c1b829c997d"
|
|
44
44
|
}
|
package/src/parsers/dex.ts
CHANGED
|
@@ -147,18 +147,19 @@ export const serializeOrderParser = z.object({
|
|
|
147
147
|
permission: z.string(),
|
|
148
148
|
})
|
|
149
149
|
),
|
|
150
|
-
data: z.
|
|
150
|
+
data: z.record(z.any()),
|
|
151
151
|
})
|
|
152
152
|
),
|
|
153
153
|
}),
|
|
154
154
|
});
|
|
155
|
+
|
|
155
156
|
export type SerializeOrderParser = z.infer<typeof serializeOrderParser>;
|
|
156
157
|
|
|
157
158
|
export const serializeOrderResponseParser = z.object({
|
|
158
159
|
sync: z.number(),
|
|
159
160
|
data: z.object({
|
|
160
161
|
serialized_tx_hex: z.string(),
|
|
161
|
-
|
|
162
|
+
digest_hex: z.string(),
|
|
162
163
|
}),
|
|
163
164
|
});
|
|
164
165
|
export type SerializeOrderResponse = z.infer<
|