@plyaz/types 1.18.2 → 1.18.4

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.
@@ -66,9 +66,11 @@ export interface PaymentStatusResult<TMetadata extends object = object> {
66
66
  * incoming events from any payment provider.
67
67
  */
68
68
  export interface WebhookPayload {
69
- event: string;
69
+ event?: unknown;
70
70
  /** Raw body of the webhook request */
71
71
  rawBody: string;
72
+ /** Optional raw buffer if a provider requires exact bytes (e.g., Stripe) */
73
+ rawBuffer?: globalThis.Buffer;
72
74
  /** Headers of the webhook request (for signature validation) */
73
75
  headers: Record<string, string | string[]>;
74
76
  /** Signature extracted from headers */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plyaz/types",
3
- "version": "1.18.2",
3
+ "version": "1.18.4",
4
4
  "author": "Redeemer Pace",
5
5
  "license": "ISC",
6
6
  "description": "Provides shared TypeScript types and schema utilities for validation and parsing in the @playz ecosystem.",