@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
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/react
2
2
 
3
- ## 0.116.0-canary-20260116094314-ff5a5b09d069df0e851e0e84a33c2147d537309e
3
+ ## 0.116.0-canary-20260116110102-67bcf4c5bf62a1c8296fe2ca209ea82355fc8c6b
4
4
 
5
5
  ### Minor Changes
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-canary",
3
- "version": "0.116.0-canary-20260116-ff5a5b09",
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",
@@ -5,7 +5,7 @@
5
5
  Rslib v0.19.1
6
6
 
7
7
  info build started...
8
- ready built in 0.18 s
8
+ ready built in 0.19 s
9
9
 
10
10
  File (esm) Size 
11
11
  dist/index.js 10.1 kB
@@ -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();