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

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,7 +113,6 @@ 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
- // 不知道显示在哪里
117
116
  paymentDescription: order === null || order === void 0 ? void 0 : order.orderDescription,
118
117
  billingAgreement: recurringInfo.agreementDescription,
119
118
  regularBilling: lineItem,
@@ -125,11 +124,6 @@ var ApplePayService = /*#__PURE__*/function () {
125
124
  supportedNetworks: extendInfo === null || extendInfo === void 0 ? void 0 : extendInfo.supportedNetworks,
126
125
  countryCode: merchantInfo === null || merchantInfo === void 0 ? void 0 : merchantInfo.registeredCountry,
127
126
  currencyCode: paymentAmount === null || paymentAmount === void 0 ? void 0 : paymentAmount.currency,
128
- total: {
129
- type: 'final',
130
- label: merchantInfo === null || merchantInfo === void 0 ? void 0 : merchantInfo.merchantName,
131
- amount: paymentAmount === null || paymentAmount === void 0 ? void 0 : paymentAmount.value
132
- },
133
127
  recurringPaymentRequest: recurringRequest,
134
128
  lineItems: [lineItem]
135
129
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1710212811-dev.23",
3
+ "version": "0.0.1710212811-dev.24",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",