@h-ai/payment 0.1.0-alpha.57 → 0.1.0-alpha.58
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/index.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AlipayConfig,
|
|
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
|
|
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.
|
|
4
|
+
"version": "0.1.0-alpha.58",
|
|
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": "
|
|
26
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"
|
|
30
|
-
"@h-ai/
|
|
31
|
-
"
|
|
29
|
+
"@h-ai/audit": "0.1.0-alpha.58",
|
|
30
|
+
"@h-ai/core": "0.1.0-alpha.58",
|
|
31
|
+
"zod": "^4.6.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@types/node": "^
|
|
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.
|
|
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": "
|
|
45
|
+
"typecheck": "node ../../scripts/typecheck.mjs --noEmit",
|
|
46
46
|
"lint": "eslint .",
|
|
47
47
|
"lint:fix": "eslint . --fix",
|
|
48
48
|
"clean": "rimraf dist .turbo",
|