@h-ai/payment 0.1.0-alpha.57 → 0.1.0-alpha.59

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.
@@ -1,4 +1,4 @@
1
- import { h as PaymentOrder } from '../payment-types-oKsJbCSZ.js';
1
+ import { P as PaymentOrder } from '../payment-types-Cf3kF6Tn.js';
2
2
  import { HaiResult } from '@h-ai/core';
3
3
  import 'zod';
4
4
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { P as PaymentFunctions } from './payment-types-oKsJbCSZ.js';
2
- export { A as AlipayConfig, a as AlipayConfigSchema, C as CreateOrderInput, H as HaiPaymentError, O as OrderStatus, b as OrderStatusValue, c as PaymentConfig, d as PaymentConfigInput, e as PaymentConfigSchema, f as PaymentNotifyRequest, g as PaymentNotifyResult, h as PaymentOrder, i as PaymentProvider, R as RefundInput, j as RefundResult, S as StripeConfig, k as StripeConfigSchema, T as TradeType, W as WechatPayConfig, l as WechatPayConfigSchema } from './payment-types-oKsJbCSZ.js';
1
+ import { a as PaymentFunctions } from './payment-types-Cf3kF6Tn.js';
2
+ export { A as AlipayConfig, b as AlipayConfigSchema, C as CreateOrderInput, H as HaiPaymentError, O as OrderStatus, c as OrderStatusValue, d as PaymentConfig, e as PaymentConfigInput, f as PaymentConfigSchema, g as PaymentNotifyRequest, h as PaymentNotifyResult, P as PaymentOrder, i as PaymentProvider, R as RefundInput, j as RefundResult, S as StripeConfig, k as StripeConfigSchema, T as TradeType, W as WechatPayConfig, l as WechatPayConfigSchema } from './payment-types-Cf3kF6Tn.js';
3
3
  import '@h-ai/core';
4
4
  import 'zod';
5
5
 
@@ -208,4 +208,4 @@ interface PaymentFunctions {
208
208
  registerProvider: (provider: PaymentProvider) => void;
209
209
  }
210
210
 
211
- export { type AlipayConfig as A, type CreateOrderInput as C, HaiPaymentError as H, type OrderStatus as O, type PaymentFunctions as P, type RefundInput as R, type StripeConfig as S, type TradeType as T, type WechatPayConfig as W, AlipayConfigSchema as a, type OrderStatusValue as b, type PaymentConfig as c, type PaymentConfigInput as d, PaymentConfigSchema as e, type PaymentNotifyRequest as f, type PaymentNotifyResult as g, type PaymentOrder as h, type PaymentProvider as i, type RefundResult as j, StripeConfigSchema as k, WechatPayConfigSchema as l };
211
+ export { type AlipayConfig as A, type CreateOrderInput as C, HaiPaymentError as H, type OrderStatus as O, type PaymentOrder as P, type RefundInput as R, type StripeConfig as S, type TradeType as T, type WechatPayConfig as W, type PaymentFunctions as a, AlipayConfigSchema as b, type OrderStatusValue as c, type PaymentConfig as d, type PaymentConfigInput as e, PaymentConfigSchema as f, type PaymentNotifyRequest as g, type PaymentNotifyResult as h, type PaymentProvider as i, type RefundResult as j, StripeConfigSchema as k, WechatPayConfigSchema as l };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@h-ai/payment",
3
3
  "type": "module",
4
- "version": "0.1.0-alpha.57",
4
+ "version": "0.1.0-alpha.59",
5
5
  "description": "Hai Framework payment module for WeChat Pay, Alipay, and Stripe.",
6
6
  "license": "Apache-2.0",
7
7
  "exports": {
@@ -23,26 +23,26 @@
23
23
  "access": "public"
24
24
  },
25
25
  "engines": {
26
- "node": ">=22.12.0"
26
+ "node": "^22.22.2 || ^24.15.0 || >=26.0.0"
27
27
  },
28
28
  "dependencies": {
29
- "zod": "^4.4.3",
30
- "@h-ai/audit": "0.1.0-alpha.57",
31
- "@h-ai/core": "0.1.0-alpha.57"
29
+ "@h-ai/audit": "0.1.0-alpha.59",
30
+ "@h-ai/core": "0.1.0-alpha.59",
31
+ "zod": "^4.6.5"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/node": "^25.9.1",
34
+ "@types/node": "^26.6.5",
35
35
  "rimraf": "^6.1.3",
36
36
  "tsup": "^8.5.1",
37
37
  "typescript": "^6.0.3",
38
- "vitest": "^4.1.7"
38
+ "vitest": "^4.1.11"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "tsup",
42
42
  "dev": "tsup --watch",
43
43
  "test": "vitest run",
44
44
  "test:watch": "vitest",
45
- "typecheck": "tsc --noEmit",
45
+ "typecheck": "node ../../scripts/typecheck.mjs --noEmit",
46
46
  "lint": "eslint .",
47
47
  "lint:fix": "eslint . --fix",
48
48
  "clean": "rimraf dist .turbo",