@ateam-ai-mobile/plugin-runtime 0.1.22 → 0.1.24

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.
@@ -2939,12 +2939,12 @@ var BundleManager = class {
2939
2939
  evaluate(content, bundleUrl, verifiedHash) {
2940
2940
  assertBundleIntegrity(content, verifiedHash, bundleUrl);
2941
2941
  let cleaned = content.replace(
2942
- /__toESM\(require\(("[^"]+")\)(?:,\s*\d+)?\)/g,
2942
+ /__toESM\((?:__)?require\(("[^"]+")\)(?:,\s*\d+)?\)/g,
2943
2943
  "require($1)"
2944
2944
  );
2945
2945
  cleaned = cleaned.replace(
2946
- /module\.exports\s*=\s*__toCommonJS\((\w+)\)/g,
2947
- "module.exports = $1"
2946
+ /(module\.exports\s*=|return)\s*__toCommonJS\((\w+)\)/g,
2947
+ "$1 $2"
2948
2948
  );
2949
2949
  const mod = { exports: {} };
2950
2950
  try {
@@ -3464,4 +3464,4 @@ export {
3464
3464
  ensureDeviceToolsLoaded,
3465
3465
  resetDeviceToolLoader
3466
3466
  };
3467
- //# sourceMappingURL=chunk-RNA6X65P.mjs.map
3467
+ //# sourceMappingURL=chunk-WT5TBKGA.mjs.map