@alipay/ams-checkout 0.0.1710212811-dev.24 → 0.0.1710212811-dev.25

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.
@@ -103,7 +103,7 @@ export interface IApplePayPaymentRequest {
103
103
  shippingContact?: IApplePayPaymentContact;
104
104
  applicationData?: string;
105
105
  supportedCountries?: string[];
106
- total?: IApplePayLineItem;
106
+ total: IApplePayLineItem;
107
107
  lineItems?: IApplePayLineItem[];
108
108
  currencyCode: string;
109
109
  shippingType?: applePayShippingType;
@@ -113,6 +113,7 @@ var ApplePayService = /*#__PURE__*/function () {
113
113
  recurringPaymentIntervalCount: (_recurringInfo$interv = recurringInfo === null || recurringInfo === void 0 ? void 0 : recurringInfo.intervalCount) !== null && _recurringInfo$interv !== void 0 ? _recurringInfo$interv : 1
114
114
  };
115
115
  var recurringRequest = {
116
+ // 不知道显示在哪里
116
117
  paymentDescription: order === null || order === void 0 ? void 0 : order.orderDescription,
117
118
  billingAgreement: recurringInfo.agreementDescription,
118
119
  regularBilling: lineItem,
@@ -124,6 +125,7 @@ var ApplePayService = /*#__PURE__*/function () {
124
125
  supportedNetworks: extendInfo === null || extendInfo === void 0 ? void 0 : extendInfo.supportedNetworks,
125
126
  countryCode: merchantInfo === null || merchantInfo === void 0 ? void 0 : merchantInfo.registeredCountry,
126
127
  currencyCode: paymentAmount === null || paymentAmount === void 0 ? void 0 : paymentAmount.currency,
128
+ total: lineItem,
127
129
  recurringPaymentRequest: recurringRequest,
128
130
  lineItems: [lineItem]
129
131
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1710212811-dev.24",
3
+ "version": "0.0.1710212811-dev.25",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",