@alipay/ams-checkout 0.0.1726734012-dev.21 → 0.0.1726734012-dev.22

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.
@@ -62,11 +62,11 @@ var PreloadHelper = /*#__PURE__*/function () {
62
62
  var storage = PreloadHelper.getSecurityConfigStorage(product);
63
63
  var scene = storage.scene || getSecurityScene(product);
64
64
  var h5gateway = storage.h5gateway || getSecurityHost(securityRegion);
65
+ console.log('preloadSecuritySDK', scene);
65
66
  var securitySdk = new Security({
66
67
  scene: scene,
67
68
  h5gateway: h5gateway
68
69
  });
69
- debugger;
70
70
  securitySdk.initSecurity(function () {
71
71
  console.log(_this.securitySdkMap, 'this.securitySdkMap');
72
72
  _this.securitySdkMap.set(scene, securitySdk);
@@ -42,10 +42,10 @@ export var Security = /*#__PURE__*/function () {
42
42
  _createClass(Security, [{
43
43
  key: "initSecurity",
44
44
  value: function initSecurity(successCallback, failCallback) {
45
+ console.log(this.scene, 'preloadSecuritySDK');
45
46
  if (!this.scene) {
46
47
  throw new Error('securityConfig parameter error');
47
48
  }
48
- debugger;
49
49
  if (!Object.values(sceneMap).includes(this.scene) || !Object.values(securityHost).includes(this.h5gateway)) {
50
50
  var errorMsg = "scene:".concat(this.scene, " or h5gateway:").concat(this.h5gateway, " do not supported");
51
51
  console.error(errorMsg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1726734012-dev.21",
3
+ "version": "0.0.1726734012-dev.22",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "main": "esm/index.js",