@deiondz/better-auth-razorpay 2.0.7 → 2.0.9
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/dist/client/hooks.d.ts +2 -2
- package/dist/client.d.ts +26 -8
- package/dist/client.js +44 -26
- package/dist/client.js.map +1 -1
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/{types-JYoruGio.d.ts → types-C0_Sreb6.d.ts} +1 -1
- package/package.json +67 -67
|
@@ -143,4 +143,4 @@ interface VerifyPaymentResponse {
|
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
export type { CreateOrUpdateSubscriptionInput as C, GetPlansResponse as G, ListSubscriptionsInput as L, PlanSummary as P, RazorpayApiResult as R, VerifyPaymentInput as V,
|
|
146
|
+
export type { CreateOrUpdateSubscriptionInput as C, GetPlansResponse as G, ListSubscriptionsInput as L, PlanSummary as P, RazorpayApiResult as R, VerifyPaymentInput as V, CancelSubscriptionInput as a, RestoreSubscriptionInput as b, RazorpayAuthClient as c, CancelSubscriptionResponse as d, CreateOrUpdateSubscriptionResponse as e, RestoreSubscriptionResponse as f, ListSubscriptionsResponse as g, VerifyPaymentResponse as h, RazorpayApiError as i, RazorpayClientActions as j };
|
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@deiondz/better-auth-razorpay",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Better Auth plugin for Razorpay subscriptions and payments",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"default": "./dist/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./client": {
|
|
15
|
-
"types": "./dist/client.d.ts",
|
|
16
|
-
"import": "./dist/client.js",
|
|
17
|
-
"default": "./dist/client.js"
|
|
18
|
-
},
|
|
19
|
-
"./hooks": {
|
|
20
|
-
"types": "./dist/client/hooks.d.ts",
|
|
21
|
-
"import": "./dist/client/hooks.js",
|
|
22
|
-
"default": "./dist/client/hooks.js"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"README.md",
|
|
28
|
-
"RAZORPAY_PLUGIN.md"
|
|
29
|
-
],
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "tsup",
|
|
32
|
-
"typecheck": "tsc --noEmit",
|
|
33
|
-
"prepublishOnly": "npm run build && npm run typecheck"
|
|
34
|
-
},
|
|
35
|
-
"keywords": [
|
|
36
|
-
"better-auth",
|
|
37
|
-
"razorpay",
|
|
38
|
-
"plugin",
|
|
39
|
-
"subscriptions",
|
|
40
|
-
"payments",
|
|
41
|
-
"authentication"
|
|
42
|
-
],
|
|
43
|
-
"license": "MIT",
|
|
44
|
-
"repository": {
|
|
45
|
-
"type": "git",
|
|
46
|
-
"url": "git+https://github.com/deiondz/better-auth-razorpay.git"
|
|
47
|
-
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@tanstack/react-query": "^5.0.0",
|
|
50
|
-
"better-auth": "^1.0.0",
|
|
51
|
-
"react": "^18.0.0 || ^19.0.0"
|
|
52
|
-
},
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"razorpay": "^2.9.2",
|
|
55
|
-
"zod": "^3.23.0"
|
|
56
|
-
},
|
|
57
|
-
"devDependencies": {
|
|
58
|
-
"@tanstack/react-query": "^5.0.0",
|
|
59
|
-
"@types/react": "^19.2.10",
|
|
60
|
-
"react": "^18.0.0",
|
|
61
|
-
"tsup": "^8.0.0",
|
|
62
|
-
"typescript": "^5.0.0"
|
|
63
|
-
},
|
|
64
|
-
"engines": {
|
|
65
|
-
"node": ">=18"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@deiondz/better-auth-razorpay",
|
|
3
|
+
"version": "2.0.9",
|
|
4
|
+
"description": "Better Auth plugin for Razorpay subscriptions and payments",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./client": {
|
|
15
|
+
"types": "./dist/client.d.ts",
|
|
16
|
+
"import": "./dist/client.js",
|
|
17
|
+
"default": "./dist/client.js"
|
|
18
|
+
},
|
|
19
|
+
"./hooks": {
|
|
20
|
+
"types": "./dist/client/hooks.d.ts",
|
|
21
|
+
"import": "./dist/client/hooks.js",
|
|
22
|
+
"default": "./dist/client/hooks.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md",
|
|
28
|
+
"RAZORPAY_PLUGIN.md"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsup",
|
|
32
|
+
"typecheck": "tsc --noEmit",
|
|
33
|
+
"prepublishOnly": "npm run build && npm run typecheck"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"better-auth",
|
|
37
|
+
"razorpay",
|
|
38
|
+
"plugin",
|
|
39
|
+
"subscriptions",
|
|
40
|
+
"payments",
|
|
41
|
+
"authentication"
|
|
42
|
+
],
|
|
43
|
+
"license": "MIT",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/deiondz/better-auth-razorpay.git"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"@tanstack/react-query": "^5.0.0",
|
|
50
|
+
"better-auth": "^1.0.0",
|
|
51
|
+
"react": "^18.0.0 || ^19.0.0"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"razorpay": "^2.9.2",
|
|
55
|
+
"zod": "^3.23.0"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@tanstack/react-query": "^5.0.0",
|
|
59
|
+
"@types/react": "^19.2.10",
|
|
60
|
+
"react": "^18.0.0",
|
|
61
|
+
"tsup": "^8.0.0",
|
|
62
|
+
"typescript": "^5.0.0"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=18"
|
|
66
|
+
}
|
|
67
|
+
}
|