@alipay/ams-checkout 0.0.1711691167-dev.6 → 0.0.1711691167-dev.7

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.
@@ -17,9 +17,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
17
17
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
19
19
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
20
- import { submitPayInfo } from "../../service";
21
20
  import { BusManager, BusMessage, BusSubscriber } from "../../core/bus";
22
21
  import { PaypalActionEnum, SDKCallbackActionEnum } from "../../core/bus/interface";
22
+ import { submitPayInfo } from "../../service";
23
23
  import { eventCodeEnum, payPalConfigurationIntentEnum, PaypalMethodEnum } from "../../types";
24
24
  import { isFunction } from "../../util";
25
25
  import { appendLoadingIcon, isShowLoading } from "../utils";
@@ -179,7 +179,9 @@ export var PaypalBusSubscriber = /*#__PURE__*/function (_BusSubscriber) {
179
179
  while (1) switch (_context2.prev = _context2.next) {
180
180
  case 0:
181
181
  _context2.next = 2;
182
- return submitPayInfo(paymentSessionData, {}, _this.logger);
182
+ return submitPayInfo({
183
+ paymentSessionData: paymentSessionData
184
+ }, {}, _this.logger);
183
185
  case 2:
184
186
  submitPayInfoRes = _context2.sent;
185
187
  if (!(!(submitPayInfoRes !== null && submitPayInfoRes !== void 0 && submitPayInfoRes.success) || !(submitPayInfoRes !== null && submitPayInfoRes !== void 0 && (_submitPayInfoRes$ext = submitPayInfoRes.extendInfo) !== null && _submitPayInfoRes$ext !== void 0 && _submitPayInfoRes$ext.channelOrderId))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1711691167-dev.6",
3
+ "version": "0.0.1711691167-dev.7",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",