@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
- farmId: z.ZodString;
3
+ applicationId: z.ZodString;
4
4
  expectedProduction_12Decimals: z.ZodString;
5
- txHash: z.ZodString;
5
+ protocolFeeUSDPrice_6Decimals: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
- farmId: string;
7
+ protocolFeeUSDPrice_6Decimals: string;
8
8
  expectedProduction_12Decimals: string;
9
- txHash: string;
9
+ applicationId: string;
10
10
  }, {
11
- farmId: string;
11
+ protocolFeeUSDPrice_6Decimals: string;
12
12
  expectedProduction_12Decimals: string;
13
- txHash: string;
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
- farmId: zod_1.z.string().uuid(),
7
+ applicationId: zod_1.z.string().uuid("UUID string"),
8
8
  expectedProduction_12Decimals: zod_1.z.string().regex(patterns_1.uint256),
9
- txHash: zod_1.z.string().regex(patterns_1.hexBytes32, "bytes32 hex string"),
9
+ protocolFeeUSDPrice_6Decimals: zod_1.z
10
+ .string()
11
+ .regex(patterns_1.uint256, "uint256 (decimal) − 6 implied decimals"),
10
12
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glowlabs-org/events-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Typed event SDK for Glow, powered by RabbitMQ and Zod.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",