qcobjects 2.5.114-beta → 2.5.115-beta
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/VERSION +1 -1
- package/build/MainProcess.js +9 -1
- package/package.json +1 -1
- package/public/browser/QCObjects.js +7 -1
- package/public/browser/QCObjects.js.map +2 -2
- package/public/cjs/QCObjects.cjs +7 -1
- package/public/cjs/QCObjects.cjs.map +2 -2
- package/public/esm/QCObjects.mjs +7 -1
- package/public/esm/QCObjects.mjs.map +2 -2
- package/src/MainProcess.ts +9 -2
package/public/esm/QCObjects.mjs
CHANGED
|
@@ -4964,7 +4964,13 @@ var require_MainProcess = __commonJS({
|
|
|
4964
4964
|
Class("GLOBAL", _QC_CLASSES.global);
|
|
4965
4965
|
Export(ClassFactory("GLOBAL"));
|
|
4966
4966
|
}
|
|
4967
|
-
|
|
4967
|
+
if (isBrowser && typeof window !== "undefined") {
|
|
4968
|
+
set("global", window);
|
|
4969
|
+
} else if (typeof global !== "undefined") {
|
|
4970
|
+
set("global", global);
|
|
4971
|
+
} else if (typeof globalThis !== "undefined") {
|
|
4972
|
+
set("global", globalThis);
|
|
4973
|
+
}
|
|
4968
4974
|
loadSDK_default();
|
|
4969
4975
|
})(_top2);
|
|
4970
4976
|
if (isBrowser) {
|