@alipay/ams-checkout 0.0.1784626568-dev.1 → 0.0.1784626568-dev.11

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.
@@ -92,6 +92,8 @@ export var handleGooglePay = function handleGooglePay(data) {
92
92
  var script = document.createElement('script');
93
93
  script.src = 'https://pay.google.com/gp/p/js/pay.js';
94
94
  script.async = true;
95
+
96
+ // 当判断条件成立时,代表 document.body.appendChild 方法已经被劫持
95
97
  if (document.body.appendChild !== Node.prototype.appendChild) {
96
98
  // 使用原生 appendChild 避免微前端沙箱(如 qiankun)将动态 <script> 劫持为 fetch 加载,
97
99
  // 导致不支持 CORS 的第三方脚本(如 pay.google.com)加载失败
@@ -296,6 +296,6 @@ export var LogConfig = {
296
296
  version: 'iteration/20231021',
297
297
  mdata: {
298
298
  firstLogTime: Date.now(),
299
- sdkVersion: "0.0.1784626568-dev.1"
299
+ sdkVersion: "0.0.1784626568-dev.11"
300
300
  }
301
301
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alipay/ams-checkout",
3
- "version": "0.0.1784626568-dev.1",
3
+ "version": "0.0.1784626568-dev.11",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "exports": {