@whalet/payment-core 0.1.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -74,7 +74,7 @@ interface PaymentSession {
74
74
  /** ISO 8601 等格式的过期时间,若网关返回则透传。 */
75
75
  expiresAt?: string;
76
76
  /** 网关侧订单唯一标识(与 checkout detail / 支付接口约定一致)。 */
77
- tradeUniId?: string;
77
+ tradeId?: string;
78
78
  /** 网关订单金额,用于与宿主初始化 `amount` 交叉校验。 */
79
79
  orderAmount?: {
80
80
  value: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@whalet/payment-core",
3
3
  "description": "支付域核心:领域类型、最小错误码与通用工具(无 HTTP 适配器)。",
4
- "version": "0.1.0",
4
+ "version": "0.2.0",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",