@lynx-js/web-constants-canary 0.19.4-canary-20260104-7634817d → 0.19.4

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 +22 -22
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # @lynx-js/web-constants
2
2
 
3
- ## 0.19.4-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
3
+ ## 0.19.4
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [[`bba05e2`](https://github.com/lynx-family/lynx-stack/commit/bba05e2ed06cca8009ad415fd9777e8334a0887a)]:
8
- - @lynx-js/web-worker-rpc@0.19.4-canary-20260104102004-7634817dabf7aea4a33188ad3472d6feef241d97
8
+ - @lynx-js/web-worker-rpc@0.19.4
9
9
 
10
10
  ## 0.19.3
11
11
 
@@ -301,25 +301,25 @@
301
301
  lynxView.initI18nResources = [
302
302
  {
303
303
  options: {
304
- locale: "en",
305
- channel: "1",
306
- fallback_url: "",
304
+ locale: 'en',
305
+ channel: '1',
306
+ fallback_url: '',
307
307
  },
308
308
  resource: {
309
- hello: "hello",
310
- lynx: "lynx web platform1",
309
+ hello: 'hello',
310
+ lynx: 'lynx web platform1',
311
311
  },
312
312
  },
313
313
  ];
314
- lynxView.addEventListener("i18nResourceMissed", (e) => {
314
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
315
315
  console.log(e);
316
316
  });
317
317
 
318
318
  // mts
319
319
  _I18nResourceTranslation({
320
- locale: "en",
321
- channel: "1",
322
- fallback_url: "",
320
+ locale: 'en',
321
+ channel: '1',
322
+ fallback_url: '',
323
323
  });
324
324
  ```
325
325
 
@@ -558,8 +558,8 @@
558
558
  }
559
559
  };`,
560
560
  ],
561
- { type: "text/javascript" }
562
- )
561
+ { type: 'text/javascript' },
562
+ ),
563
563
  ),
564
564
  };
565
565
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -645,8 +645,8 @@
645
645
  };
646
646
  };`,
647
647
  ],
648
- { type: "text/javascript" }
649
- )
648
+ { type: 'text/javascript' },
649
+ ),
650
650
  );
651
651
 
652
652
  const color_methods = URL.createObjectURL(
@@ -661,8 +661,8 @@
661
661
  };
662
662
  };`,
663
663
  ],
664
- { type: "text/javascript" }
665
- )
664
+ { type: 'text/javascript' },
665
+ ),
666
666
  );
667
667
 
668
668
  lynxView.napiModuleMap = {
@@ -679,7 +679,7 @@
679
679
 
680
680
  ```js
681
681
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
682
- if (name === "getColor" && moduleName === "color_methods") {
682
+ if (name === 'getColor' && moduleName === 'color_methods') {
683
683
  return data.color;
684
684
  }
685
685
  };
@@ -743,8 +743,8 @@
743
743
  }
744
744
  };`,
745
745
  ],
746
- { type: "text/javascript" }
747
- )
746
+ { type: 'text/javascript' },
747
+ ),
748
748
  );
749
749
  ```
750
750
 
@@ -756,7 +756,7 @@
756
756
 
757
757
  ```js
758
758
  lynxView.onNativeModulesCall = (name, data, callback) => {
759
- if (name === "getColor") {
759
+ if (name === 'getColor') {
760
760
  callback(data.color);
761
761
  }
762
762
  };
@@ -766,7 +766,7 @@
766
766
 
767
767
  ```js
768
768
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
769
- if (name === "getColor" && moduleName === "bridge") {
769
+ if (name === 'getColor' && moduleName === 'bridge') {
770
770
  return data.color;
771
771
  }
772
772
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants-canary",
3
- "version": "0.19.4-canary-20260104-7634817d",
3
+ "version": "0.19.4",
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.4-canary-20260104-7634817d"
26
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"