@windrun-huaiin/backend-core 11.0.1 → 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-10-29.clover',
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-10-29.clover',
12
+ apiVersion: '2025-11-17.clover',
13
13
  });
14
14
  // Helper function to validate webhook signature
15
15
  const validateStripeWebhook = (payload, signature, secret) => {
@@ -1,5 +1,6 @@
1
1
  -- 第一步:彻底删除 nextai schema(连里面的表、序列、权限全炸)
2
- DROP SCHEMA IF EXISTS nextai CASCADE;
2
+ -- 为防止误操作,该SQL注释掉,只有初始化时才使用!
3
+ -- DROP SCHEMA IF EXISTS nextai CASCADE;
3
4
 
4
5
  -- 第二步:重新创建干净的 nextai schema
5
6
  CREATE SCHEMA nextai;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/backend-core",
3
- "version": "11.0.1",
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",
@@ -86,13 +86,13 @@
86
86
  "dependencies": {
87
87
  "@clerk/nextjs": "^6.19.4",
88
88
  "@prisma/client": "^6.17.1",
89
- "next": "16.0.0",
89
+ "next": "16.0.10",
90
90
  "prisma": "^6.17.1",
91
- "stripe": "19.3.0",
91
+ "stripe": "20.0.0",
92
92
  "svix": "^1.81.0",
93
93
  "zod": "^4.1.12",
94
- "@windrun-huaiin/lib": "^11.0.0",
95
- "@windrun-huaiin/third-ui": "^11.0.0"
94
+ "@windrun-huaiin/lib": "^11.0.1",
95
+ "@windrun-huaiin/third-ui": "^11.0.2"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@rollup/plugin-alias": "^5.1.1",
@@ -106,9 +106,9 @@
106
106
  "peerDependencies": {
107
107
  "@clerk/nextjs": "^6.19.4",
108
108
  "@prisma/client": "^6.17.1",
109
- "next": "16.0.0",
109
+ "next": "16.0.10",
110
110
  "prisma": "^6.17.1",
111
- "stripe": "19.3.0",
111
+ "stripe": "20.0.0",
112
112
  "svix": "^1.81.0"
113
113
  },
114
114
  "publishConfig": {
@@ -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-10-29.clover',
6
+ apiVersion: '2025-11-17.clover',
7
7
  });
8
8
 
9
9
  // Helper function to validate webhook signature