@glowlabs-org/events-sdk 1.0.10 → 1.0.12

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/README.md CHANGED
@@ -209,7 +209,6 @@ export interface ApplicationPriceQuoteV2AlphaPayload {
209
209
 
210
210
  ```ts
211
211
  export interface GctlMintedV2AlphaPayload {
212
- usdcAmount_6Decimals: string; // uint256 (decimal) − 6 implied decimals
213
212
  gctlAmount_6Decimals: string; // uint256 (decimal) − 6 implied decimals
214
213
  timestamp: string; // ISO-8601 datetime string
215
214
  minter: string; // Ethereum address (0x...)
@@ -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
  });
@@ -1,19 +1,16 @@
1
1
  import { z } from "zod";
2
2
  export declare const gctlMintedV2AlphaPayloadZ: z.ZodObject<{
3
- usdcAmount_6Decimals: z.ZodString;
4
3
  gctlAmount_6Decimals: z.ZodString;
5
4
  timestamp: z.ZodString;
6
5
  minter: z.ZodString;
7
6
  txHash: z.ZodString;
8
7
  }, "strip", z.ZodTypeAny, {
9
8
  txHash: string;
10
- usdcAmount_6Decimals: string;
11
9
  gctlAmount_6Decimals: string;
12
10
  timestamp: string;
13
11
  minter: string;
14
12
  }, {
15
13
  txHash: string;
16
- usdcAmount_6Decimals: string;
17
14
  gctlAmount_6Decimals: string;
18
15
  timestamp: string;
19
16
  minter: string;
@@ -4,9 +4,6 @@ exports.gctlMintedV2AlphaPayloadZ = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const patterns_1 = require("../patterns");
6
6
  exports.gctlMintedV2AlphaPayloadZ = zod_1.z.object({
7
- usdcAmount_6Decimals: zod_1.z
8
- .string()
9
- .regex(patterns_1.uint256, "uint256 (decimal) − 6 implied decimals"),
10
7
  gctlAmount_6Decimals: zod_1.z
11
8
  .string()
12
9
  .regex(patterns_1.uint256, "uint256 (decimal) − 6 implied decimals"),
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.12",
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",