@lynx-js/web-constants-canary 0.19.3 → 0.19.4-canary-20251230-bba05e2e

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +27 -20
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @lynx-js/web-constants
2
2
 
3
+ ## 0.19.4-canary-20251230100304-bba05e2ed06cca8009ad415fd9777e8334a0887a
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`bba05e2`](https://github.com/lynx-family/lynx-stack/commit/bba05e2ed06cca8009ad415fd9777e8334a0887a)]:
8
+ - @lynx-js/web-worker-rpc@0.19.4-canary-20251230100304-bba05e2ed06cca8009ad415fd9777e8334a0887a
9
+
3
10
  ## 0.19.3
4
11
 
5
12
  ### Patch Changes
@@ -294,25 +301,25 @@
294
301
  lynxView.initI18nResources = [
295
302
  {
296
303
  options: {
297
- locale: 'en',
298
- channel: '1',
299
- fallback_url: '',
304
+ locale: "en",
305
+ channel: "1",
306
+ fallback_url: "",
300
307
  },
301
308
  resource: {
302
- hello: 'hello',
303
- lynx: 'lynx web platform1',
309
+ hello: "hello",
310
+ lynx: "lynx web platform1",
304
311
  },
305
312
  },
306
313
  ];
307
- lynxView.addEventListener('i18nResourceMissed', (e) => {
314
+ lynxView.addEventListener("i18nResourceMissed", (e) => {
308
315
  console.log(e);
309
316
  });
310
317
 
311
318
  // mts
312
319
  _I18nResourceTranslation({
313
- locale: 'en',
314
- channel: '1',
315
- fallback_url: '',
320
+ locale: "en",
321
+ channel: "1",
322
+ fallback_url: "",
316
323
  });
317
324
  ```
318
325
 
@@ -551,8 +558,8 @@
551
558
  }
552
559
  };`,
553
560
  ],
554
- { type: 'text/javascript' },
555
- ),
561
+ { type: "text/javascript" }
562
+ )
556
563
  ),
557
564
  };
558
565
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -638,8 +645,8 @@
638
645
  };
639
646
  };`,
640
647
  ],
641
- { type: 'text/javascript' },
642
- ),
648
+ { type: "text/javascript" }
649
+ )
643
650
  );
644
651
 
645
652
  const color_methods = URL.createObjectURL(
@@ -654,8 +661,8 @@
654
661
  };
655
662
  };`,
656
663
  ],
657
- { type: 'text/javascript' },
658
- ),
664
+ { type: "text/javascript" }
665
+ )
659
666
  );
660
667
 
661
668
  lynxView.napiModuleMap = {
@@ -672,7 +679,7 @@
672
679
 
673
680
  ```js
674
681
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
675
- if (name === 'getColor' && moduleName === 'color_methods') {
682
+ if (name === "getColor" && moduleName === "color_methods") {
676
683
  return data.color;
677
684
  }
678
685
  };
@@ -736,8 +743,8 @@
736
743
  }
737
744
  };`,
738
745
  ],
739
- { type: 'text/javascript' },
740
- ),
746
+ { type: "text/javascript" }
747
+ )
741
748
  );
742
749
  ```
743
750
 
@@ -749,7 +756,7 @@
749
756
 
750
757
  ```js
751
758
  lynxView.onNativeModulesCall = (name, data, callback) => {
752
- if (name === 'getColor') {
759
+ if (name === "getColor") {
753
760
  callback(data.color);
754
761
  }
755
762
  };
@@ -759,7 +766,7 @@
759
766
 
760
767
  ```js
761
768
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
762
- if (name === 'getColor' && moduleName === 'bridge') {
769
+ if (name === "getColor" && moduleName === "bridge") {
763
770
  return data.color;
764
771
  }
765
772
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants-canary",
3
- "version": "0.19.3",
3
+ "version": "0.19.4-canary-20251230-bba05e2e",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -23,7 +23,7 @@
23
23
  "**/*.css"
24
24
  ],
25
25
  "dependencies": {
26
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.3"
26
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.4-canary-20251230-bba05e2e"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"