@lynx-js/web-constants-canary 0.18.1-canary-20251023-9fb4623f → 0.18.1

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.18.1-canary-20251023071457-9fb4623f0e4c98c97146840ffe529d95577fa628
3
+ ## 0.18.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies []:
8
- - @lynx-js/web-worker-rpc@0.18.1-canary-20251023071457-9fb4623f0e4c98c97146840ffe529d95577fa628
8
+ - @lynx-js/web-worker-rpc@0.18.1
9
9
 
10
10
  ## 0.18.0
11
11
 
@@ -243,25 +243,25 @@
243
243
  lynxView.initI18nResources = [
244
244
  {
245
245
  options: {
246
- locale: "en",
247
- channel: "1",
248
- fallback_url: "",
246
+ locale: 'en',
247
+ channel: '1',
248
+ fallback_url: '',
249
249
  },
250
250
  resource: {
251
- hello: "hello",
252
- lynx: "lynx web platform1",
251
+ hello: 'hello',
252
+ lynx: 'lynx web platform1',
253
253
  },
254
254
  },
255
255
  ];
256
- lynxView.addEventListener("i18nResourceMissed", (e) => {
256
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
257
257
  console.log(e);
258
258
  });
259
259
 
260
260
  // mts
261
261
  _I18nResourceTranslation({
262
- locale: "en",
263
- channel: "1",
264
- fallback_url: "",
262
+ locale: 'en',
263
+ channel: '1',
264
+ fallback_url: '',
265
265
  });
266
266
  ```
267
267
 
@@ -500,8 +500,8 @@
500
500
  }
501
501
  };`,
502
502
  ],
503
- { type: "text/javascript" }
504
- )
503
+ { type: 'text/javascript' },
504
+ ),
505
505
  ),
506
506
  };
507
507
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -587,8 +587,8 @@
587
587
  };
588
588
  };`,
589
589
  ],
590
- { type: "text/javascript" }
591
- )
590
+ { type: 'text/javascript' },
591
+ ),
592
592
  );
593
593
 
594
594
  const color_methods = URL.createObjectURL(
@@ -603,8 +603,8 @@
603
603
  };
604
604
  };`,
605
605
  ],
606
- { type: "text/javascript" }
607
- )
606
+ { type: 'text/javascript' },
607
+ ),
608
608
  );
609
609
 
610
610
  lynxView.napiModuleMap = {
@@ -621,7 +621,7 @@
621
621
 
622
622
  ```js
623
623
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
624
- if (name === "getColor" && moduleName === "color_methods") {
624
+ if (name === 'getColor' && moduleName === 'color_methods') {
625
625
  return data.color;
626
626
  }
627
627
  };
@@ -685,8 +685,8 @@
685
685
  }
686
686
  };`,
687
687
  ],
688
- { type: "text/javascript" }
689
- )
688
+ { type: 'text/javascript' },
689
+ ),
690
690
  );
691
691
  ```
692
692
 
@@ -698,7 +698,7 @@
698
698
 
699
699
  ```js
700
700
  lynxView.onNativeModulesCall = (name, data, callback) => {
701
- if (name === "getColor") {
701
+ if (name === 'getColor') {
702
702
  callback(data.color);
703
703
  }
704
704
  };
@@ -708,7 +708,7 @@
708
708
 
709
709
  ```js
710
710
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
711
- if (name === "getColor" && moduleName === "bridge") {
711
+ if (name === 'getColor' && moduleName === 'bridge') {
712
712
  return data.color;
713
713
  }
714
714
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants-canary",
3
- "version": "0.18.1-canary-20251023-9fb4623f",
3
+ "version": "0.18.1",
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.18.1-canary-20251023-9fb4623f"
26
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"