@blueking/bk-weweb 0.0.26-beta.5 → 0.0.26-beta.6

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.
package/dist/index.esm.js CHANGED
@@ -380,6 +380,8 @@ function rewriteWindowFunction(fakeWindow) {
380
380
  }
381
381
 
382
382
  // src/context/sandbox.ts
383
+ var xxx = /* @__PURE__ */ new Map();
384
+ window.xxxx = xxx;
383
385
  var SandBox = class {
384
386
  constructor(app) {
385
387
  this.app = app;
@@ -416,6 +418,7 @@ var SandBox = class {
416
418
  return true;
417
419
  },
418
420
  get: (target, key) => {
421
+ xxx.set(key, +xxx.get(key) + 1);
419
422
  if (key === Symbol.unscopables) return rawWindow[Symbol.unscopables];
420
423
  if (windowNativeFuncMap[key]) return rawWindow[key];
421
424
  if (DEV_MICRO_APP_WINDOE_KEY_MAP[key]) return this.fakeWindow[key];