@nvwa-app/sdk-functions 6.13.0 → 6.14.0

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/index.d.mts CHANGED
@@ -19,7 +19,7 @@ interface AuthUser {
19
19
  declare function getRequestUser(req: Request, baseUrlOverride?: string): Promise<AuthUser | null>;
20
20
 
21
21
  /** 支付端类型:与 integrations/payment 中的 supportedPlatforms 一致,用于按端过滤可用 provider。 */
22
- type PaymentPlatform = "web" | "uniapp" | "wechat-miniprogram" | "alipay-miniprogram" | "douyin-miniprogram";
22
+ type PaymentPlatform = "web" | "uniapp" | "wechat-miniprogram" | "alipay-miniprogram";
23
23
  interface PaymentGatewayClientOptions {
24
24
  baseUrl: string;
25
25
  /** Project key (PAYMENT_PROJECT_KEY) for project-side auth; gateway validates via X-Payment-Project-Key */
package/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ interface AuthUser {
19
19
  declare function getRequestUser(req: Request, baseUrlOverride?: string): Promise<AuthUser | null>;
20
20
 
21
21
  /** 支付端类型:与 integrations/payment 中的 supportedPlatforms 一致,用于按端过滤可用 provider。 */
22
- type PaymentPlatform = "web" | "uniapp" | "wechat-miniprogram" | "alipay-miniprogram" | "douyin-miniprogram";
22
+ type PaymentPlatform = "web" | "uniapp" | "wechat-miniprogram" | "alipay-miniprogram";
23
23
  interface PaymentGatewayClientOptions {
24
24
  baseUrl: string;
25
25
  /** Project key (PAYMENT_PROJECT_KEY) for project-side auth; gateway validates via X-Payment-Project-Key */
package/dist/index.js CHANGED
@@ -105,7 +105,6 @@ var PROVIDER_SUPPORTED_PLATFORMS = {
105
105
  "wechat-pay": ["web", "uniapp", "wechat-miniprogram"],
106
106
  "alipay": ["web", "uniapp"],
107
107
  "alipay-miniprogram": ["alipay-miniprogram"],
108
- "douyin-ecpay": ["uniapp", "douyin-miniprogram"],
109
108
  "stripe": ["web"]
110
109
  };
111
110
  var PAYMENT_SUCCESS_NOTIFY_SIGNATURE_HEADER = "X-Payment-Gateway-Signature";
package/dist/index.mjs CHANGED
@@ -57,7 +57,6 @@ var PROVIDER_SUPPORTED_PLATFORMS = {
57
57
  "wechat-pay": ["web", "uniapp", "wechat-miniprogram"],
58
58
  "alipay": ["web", "uniapp"],
59
59
  "alipay-miniprogram": ["alipay-miniprogram"],
60
- "douyin-ecpay": ["uniapp", "douyin-miniprogram"],
61
60
  "stripe": ["web"]
62
61
  };
63
62
  var PAYMENT_SUCCESS_NOTIFY_SIGNATURE_HEADER = "X-Payment-Gateway-Signature";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nvwa-app/sdk-functions",
3
- "version": "6.13.0",
3
+ "version": "6.14.0",
4
4
  "description": "NVWA Edge Functions SDK: db, payment gateway, auth, provider list. Use in Deno: import from 'npm:@nvwa-app/sdk-functions'.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",