@deiondz/better-auth-razorpay 2.0.14 → 2.0.15

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.
@@ -35,6 +35,8 @@ type SubscriptionStatus = 'created' | 'active' | 'pending' | 'halted' | 'cancell
35
35
  interface SubscriptionRecord {
36
36
  id: string;
37
37
  plan: string;
38
+ /** Razorpay plan ID (e.g. plan_xxx) for the subscription. */
39
+ planId?: string | null;
38
40
  referenceId: string;
39
41
  razorpayCustomerId?: string | null;
40
42
  razorpaySubscriptionId?: string | null;
@@ -1,4 +1,4 @@
1
- import { P as PlanPriceDetail, S as SubscriptionRecord } from './types-3dNrA0qB.js';
1
+ import { P as PlanPriceDetail, S as SubscriptionRecord } from './types-CpjgfbVJ.js';
2
2
 
3
3
  /**
4
4
  * Client-side types for Razorpay plugin hooks and API responses.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deiondz/better-auth-razorpay",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "Better Auth plugin for Razorpay subscriptions and payments",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",