@lunora/react 1.0.0-alpha.305 → 1.0.0-alpha.306

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.
@@ -21,6 +21,8 @@ interface Subscription {
21
21
  readonly id: string;
22
22
  /** When the provider says the last applied event happened (epoch ms); older redeliveries are ignored. */
23
23
  readonly lastEventAt?: number;
24
+ /** When the stored plan was last set (epoch ms); a stale event newer than this may still replace it. */
25
+ readonly priceEventAt?: number;
24
26
  readonly priceId: string;
25
27
  /**
26
28
  * EVERY price/product id the subscription bills, not just the primary one. A Stripe
package/dist/payment.d.ts CHANGED
@@ -21,6 +21,8 @@ interface Subscription {
21
21
  readonly id: string;
22
22
  /** When the provider says the last applied event happened (epoch ms); older redeliveries are ignored. */
23
23
  readonly lastEventAt?: number;
24
+ /** When the stored plan was last set (epoch ms); a stale event newer than this may still replace it. */
25
+ readonly priceEventAt?: number;
24
26
  readonly priceId: string;
25
27
  /**
26
28
  * EVERY price/product id the subscription bills, not just the primary one. A Stripe
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/react",
3
- "version": "1.0.0-alpha.305",
3
+ "version": "1.0.0-alpha.306",
4
4
  "description": "React hooks for Lunora: useQuery, useMutation, useSubscription, and useAuth",
5
5
  "keywords": [
6
6
  "cloudflare",