@glowlabs-org/events-sdk 1.0.10 → 1.0.11
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.
@@ -1,15 +1,15 @@
|
|
1
1
|
import { z } from "zod";
|
2
2
|
export declare const auditPushedV2AlphaPayloadZ: z.ZodObject<{
|
3
|
-
|
3
|
+
applicationId: z.ZodString;
|
4
4
|
expectedProduction_12Decimals: z.ZodString;
|
5
|
-
|
5
|
+
protocolFeeUSDPrice_6Decimals: z.ZodString;
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
7
|
-
|
7
|
+
protocolFeeUSDPrice_6Decimals: string;
|
8
8
|
expectedProduction_12Decimals: string;
|
9
|
-
|
9
|
+
applicationId: string;
|
10
10
|
}, {
|
11
|
-
|
11
|
+
protocolFeeUSDPrice_6Decimals: string;
|
12
12
|
expectedProduction_12Decimals: string;
|
13
|
-
|
13
|
+
applicationId: string;
|
14
14
|
}>;
|
15
15
|
export type AuditPushedV2AlphaPayload = z.infer<typeof auditPushedV2AlphaPayloadZ>;
|
@@ -4,7 +4,9 @@ exports.auditPushedV2AlphaPayloadZ = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
5
5
|
const patterns_1 = require("../patterns");
|
6
6
|
exports.auditPushedV2AlphaPayloadZ = zod_1.z.object({
|
7
|
-
|
7
|
+
applicationId: zod_1.z.string().uuid("UUID string"),
|
8
8
|
expectedProduction_12Decimals: zod_1.z.string().regex(patterns_1.uint256),
|
9
|
-
|
9
|
+
protocolFeeUSDPrice_6Decimals: zod_1.z
|
10
|
+
.string()
|
11
|
+
.regex(patterns_1.uint256, "uint256 (decimal) − 6 implied decimals"),
|
10
12
|
});
|