@lynx-js/web-constants-canary 0.19.3-canary-20251226-f8b5be81 → 0.19.3

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.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
3
+ ## 0.19.3
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [[`986761d`](https://github.com/lynx-family/lynx-stack/commit/986761dd1e9e631f8118faec68188f29f78e9236)]:
8
- - @lynx-js/web-worker-rpc@0.19.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
8
+ - @lynx-js/web-worker-rpc@0.19.3
9
9
 
10
10
  ## 0.19.2
11
11
 
@@ -294,25 +294,25 @@
294
294
  lynxView.initI18nResources = [
295
295
  {
296
296
  options: {
297
- locale: "en",
298
- channel: "1",
299
- fallback_url: "",
297
+ locale: 'en',
298
+ channel: '1',
299
+ fallback_url: '',
300
300
  },
301
301
  resource: {
302
- hello: "hello",
303
- lynx: "lynx web platform1",
302
+ hello: 'hello',
303
+ lynx: 'lynx web platform1',
304
304
  },
305
305
  },
306
306
  ];
307
- lynxView.addEventListener("i18nResourceMissed", (e) => {
307
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
308
308
  console.log(e);
309
309
  });
310
310
 
311
311
  // mts
312
312
  _I18nResourceTranslation({
313
- locale: "en",
314
- channel: "1",
315
- fallback_url: "",
313
+ locale: 'en',
314
+ channel: '1',
315
+ fallback_url: '',
316
316
  });
317
317
  ```
318
318
 
@@ -551,8 +551,8 @@
551
551
  }
552
552
  };`,
553
553
  ],
554
- { type: "text/javascript" }
555
- )
554
+ { type: 'text/javascript' },
555
+ ),
556
556
  ),
557
557
  };
558
558
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -638,8 +638,8 @@
638
638
  };
639
639
  };`,
640
640
  ],
641
- { type: "text/javascript" }
642
- )
641
+ { type: 'text/javascript' },
642
+ ),
643
643
  );
644
644
 
645
645
  const color_methods = URL.createObjectURL(
@@ -654,8 +654,8 @@
654
654
  };
655
655
  };`,
656
656
  ],
657
- { type: "text/javascript" }
658
- )
657
+ { type: 'text/javascript' },
658
+ ),
659
659
  );
660
660
 
661
661
  lynxView.napiModuleMap = {
@@ -672,7 +672,7 @@
672
672
 
673
673
  ```js
674
674
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
675
- if (name === "getColor" && moduleName === "color_methods") {
675
+ if (name === 'getColor' && moduleName === 'color_methods') {
676
676
  return data.color;
677
677
  }
678
678
  };
@@ -736,8 +736,8 @@
736
736
  }
737
737
  };`,
738
738
  ],
739
- { type: "text/javascript" }
740
- )
739
+ { type: 'text/javascript' },
740
+ ),
741
741
  );
742
742
  ```
743
743
 
@@ -749,7 +749,7 @@
749
749
 
750
750
  ```js
751
751
  lynxView.onNativeModulesCall = (name, data, callback) => {
752
- if (name === "getColor") {
752
+ if (name === 'getColor') {
753
753
  callback(data.color);
754
754
  }
755
755
  };
@@ -759,7 +759,7 @@
759
759
 
760
760
  ```js
761
761
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
762
- if (name === "getColor" && moduleName === "bridge") {
762
+ if (name === 'getColor' && moduleName === 'bridge') {
763
763
  return data.color;
764
764
  }
765
765
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants-canary",
3
- "version": "0.19.3-canary-20251226-f8b5be81",
3
+ "version": "0.19.3",
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-canary-20251226-f8b5be81"
26
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.19.3"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"