@windrun-huaiin/backend-core 11.0.2 → 11.0.3
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.
|
@@ -11,7 +11,7 @@ var apilog_service = require('../services/database/apilog.service.js');
|
|
|
11
11
|
|
|
12
12
|
// Stripe Configuration
|
|
13
13
|
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
|
|
14
|
-
apiVersion: '2025-
|
|
14
|
+
apiVersion: '2025-11-17.clover',
|
|
15
15
|
});
|
|
16
16
|
// Helper function to validate webhook signature
|
|
17
17
|
const validateStripeWebhook = (payload, signature, secret) => {
|
|
@@ -9,7 +9,7 @@ import { Apilogger } from '../services/database/apilog.service.mjs';
|
|
|
9
9
|
|
|
10
10
|
// Stripe Configuration
|
|
11
11
|
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY, {
|
|
12
|
-
apiVersion: '2025-
|
|
12
|
+
apiVersion: '2025-11-17.clover',
|
|
13
13
|
});
|
|
14
14
|
// Helper function to validate webhook signature
|
|
15
15
|
const validateStripeWebhook = (payload, signature, secret) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windrun-huaiin/backend-core",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.3",
|
|
4
4
|
"description": "Shared backend primitives: Prisma schema/client, database services, routing helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"@prisma/client": "^6.17.1",
|
|
89
89
|
"next": "16.0.10",
|
|
90
90
|
"prisma": "^6.17.1",
|
|
91
|
-
"stripe": "
|
|
91
|
+
"stripe": "20.0.0",
|
|
92
92
|
"svix": "^1.81.0",
|
|
93
93
|
"zod": "^4.1.12",
|
|
94
94
|
"@windrun-huaiin/lib": "^11.0.1",
|
|
95
|
-
"@windrun-huaiin/third-ui": "^11.0.
|
|
95
|
+
"@windrun-huaiin/third-ui": "^11.0.2"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"@rollup/plugin-alias": "^5.1.1",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@prisma/client": "^6.17.1",
|
|
109
109
|
"next": "16.0.10",
|
|
110
110
|
"prisma": "^6.17.1",
|
|
111
|
-
"stripe": "
|
|
111
|
+
"stripe": "20.0.0",
|
|
112
112
|
"svix": "^1.81.0"
|
|
113
113
|
},
|
|
114
114
|
"publishConfig": {
|
package/src/lib/stripe-config.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Apilogger, userService, subscriptionService } from '../services/databas
|
|
|
3
3
|
|
|
4
4
|
// Stripe Configuration
|
|
5
5
|
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
|
|
6
|
-
apiVersion: '2025-
|
|
6
|
+
apiVersion: '2025-11-17.clover',
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
// Helper function to validate webhook signature
|