@lynx-js/web-constants-canary 0.19.5-canary-20260111-d9c9ff98 → 0.19.5

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.5-canary-20260111102946-d9c9ff985d02de83c98595b9851e45f50e944a3e
3
+ ## 0.19.5
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [[`a91173c`](https://github.com/lynx-family/lynx-stack/commit/a91173c986ce3f358f1c11c788ca46a0529c701d)]:
8
- - @lynx-js/web-worker-rpc@0.19.5-canary-20260111102946-d9c9ff985d02de83c98595b9851e45f50e944a3e
8
+ - @lynx-js/web-worker-rpc@0.19.5
9
9
 
10
10
  ## 0.19.4
11
11
 
@@ -308,25 +308,25 @@
308
308
  lynxView.initI18nResources = [
309
309
  {
310
310
  options: {
311
- locale: "en",
312
- channel: "1",
313
- fallback_url: "",
311
+ locale: 'en',
312
+ channel: '1',
313
+ fallback_url: '',
314
314
  },
315
315
  resource: {
316
- hello: "hello",
317
- lynx: "lynx web platform1",
316
+ hello: 'hello',
317
+ lynx: 'lynx web platform1',
318
318
  },
319
319
  },
320
320
  ];
321
- lynxView.addEventListener("i18nResourceMissed", (e) => {
321
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
322
322
  console.log(e);
323
323
  });
324
324
 
325
325
  // mts
326
326
  _I18nResourceTranslation({
327
- locale: "en",
328
- channel: "1",
329
- fallback_url: "",
327
+ locale: 'en',
328
+ channel: '1',
329
+ fallback_url: '',
330
330
  });
331
331
  ```
332
332
 
@@ -565,8 +565,8 @@
565
565
  }
566
566
  };`,
567
567
  ],
568
- { type: "text/javascript" }
569
- )
568
+ { type: 'text/javascript' },
569
+ ),
570
570
  ),
571
571
  };
572
572
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -652,8 +652,8 @@
652
652
  };
653
653
  };`,
654
654
  ],
655
- { type: "text/javascript" }
656
- )
655
+ { type: 'text/javascript' },
656
+ ),
657
657
  );
658
658
 
659
659
  const color_methods = URL.createObjectURL(
@@ -668,8 +668,8 @@
668
668
  };
669
669
  };`,
670
670
  ],
671
- { type: "text/javascript" }
672
- )
671
+ { type: 'text/javascript' },
672
+ ),
673
673
  );
674
674
 
675
675
  lynxView.napiModuleMap = {
@@ -686,7 +686,7 @@
686
686
 
687
687
  ```js
688
688
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
689
- if (name === "getColor" && moduleName === "color_methods") {
689
+ if (name === 'getColor' && moduleName === 'color_methods') {
690
690
  return data.color;
691
691
  }
692
692
  };
@@ -750,8 +750,8 @@
750
750
  }
751
751
  };`,
752
752
  ],
753
- { type: "text/javascript" }
754
- )
753
+ { type: 'text/javascript' },
754
+ ),
755
755
  );
756
756
  ```
757
757
 
@@ -763,7 +763,7 @@
763
763
 
764
764
  ```js
765
765
  lynxView.onNativeModulesCall = (name, data, callback) => {
766
- if (name === "getColor") {
766
+ if (name === 'getColor') {
767
767
  callback(data.color);
768
768
  }
769
769
  };
@@ -773,7 +773,7 @@
773
773
 
774
774
  ```js
775
775
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
776
- if (name === "getColor" && moduleName === "bridge") {
776
+ if (name === 'getColor' && moduleName === 'bridge') {
777
777
  return data.color;
778
778
  }
779
779
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants-canary",
3
- "version": "0.19.5-canary-20260111-d9c9ff98",
3
+ "version": "0.19.5",
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.5-canary-20260111-d9c9ff98"
26
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.5"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"