@alipay/ams-checkout 0.0.1726713131-dev.1 → 0.0.1726713131-dev.3

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.
@@ -478,7 +478,7 @@ export var AMSComponent = /*#__PURE__*/function (_CoreInstance) {
478
478
  }
479
479
  var iframeNodesParams = appendParams.iframeNodesParams;
480
480
  if (this.options.product !== productSceneEnum.ELEMENT_ADDRESS) {
481
- this.savePreviousChannel(appendParams);
481
+ this.savePreviousChannel(iframeNodesParams);
482
482
  }
483
483
  return this.pluginAppendIframe(appendParams);
484
484
  }
@@ -320,7 +320,7 @@ var AMSSDK = /*#__PURE__*/function () {
320
320
  this._overrideSubscription(EVENT.close.name, options.onClose, EVENT.close.uniqueKey);
321
321
  }
322
322
  if (options !== null && options !== void 0 && options.onBeforeSubmit) {
323
- if (getType(options.onBeforeSubmit) !== 'function') throw new Error(ERRORMESSAGE.INIT_PARAMETER_ERROR.EVENT_ERROR.message);
323
+ if (typeof (options === null || options === void 0 ? void 0 : options.onBeforeSubmit) !== 'function') throw new Error(ERRORMESSAGE.INIT_PARAMETER_ERROR.EVENT_ERROR.message);
324
324
  this._overrideSubscription(EVENT.beforeSubmit.name, /*#__PURE__*/function () {
325
325
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(payload) {
326
326
  var eventCallbackId, res;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1726713131-dev.1",
3
+ "version": "0.0.1726713131-dev.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",