@lynx-js/react-canary 0.116.0-canary-20260116-ff5a5b09 → 0.116.0-canary-20260116-67bcf4c5
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-canary",
|
|
3
|
-
"version": "0.116.0-canary-20260116-
|
|
3
|
+
"version": "0.116.0-canary-20260116-67bcf4c5",
|
|
4
4
|
"description": "ReactLynx is a framework for developing Lynx applications with familiar React.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -368,6 +368,7 @@ function createPolyfills() {
|
|
|
368
368
|
};
|
|
369
369
|
const ee = new events();
|
|
370
370
|
ee.dispatchEvent = ({ type, data })=>{
|
|
371
|
+
if (!globalThis.lynxTestingEnv) return;
|
|
371
372
|
const origin = __MAIN_THREAD__ ? 'CoreContext' : 'JSContext';
|
|
372
373
|
if ('CoreContext' === origin) lynxTestingEnv.switchToBackgroundThread();
|
|
373
374
|
else lynxTestingEnv.switchToMainThread();
|