@lynx-js/web-constants-canary 0.17.0-canary-20250921-d0ef559f → 0.17.0

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,6 +1,6 @@
1
1
  # @lynx-js/web-constants
2
2
 
3
- ## 0.17.0-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
3
+ ## 0.17.0
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -9,7 +9,7 @@
9
9
  After this commit, we use DAG methods to handle the styleInfos
10
10
 
11
11
  - Updated dependencies []:
12
- - @lynx-js/web-worker-rpc@0.17.0-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
12
+ - @lynx-js/web-worker-rpc@0.17.0
13
13
 
14
14
  ## 0.16.1
15
15
 
@@ -198,25 +198,25 @@
198
198
  lynxView.initI18nResources = [
199
199
  {
200
200
  options: {
201
- locale: "en",
202
- channel: "1",
203
- fallback_url: "",
201
+ locale: 'en',
202
+ channel: '1',
203
+ fallback_url: '',
204
204
  },
205
205
  resource: {
206
- hello: "hello",
207
- lynx: "lynx web platform1",
206
+ hello: 'hello',
207
+ lynx: 'lynx web platform1',
208
208
  },
209
209
  },
210
210
  ];
211
- lynxView.addEventListener("i18nResourceMissed", (e) => {
211
+ lynxView.addEventListener('i18nResourceMissed', (e) => {
212
212
  console.log(e);
213
213
  });
214
214
 
215
215
  // mts
216
216
  _I18nResourceTranslation({
217
- locale: "en",
218
- channel: "1",
219
- fallback_url: "",
217
+ locale: 'en',
218
+ channel: '1',
219
+ fallback_url: '',
220
220
  });
221
221
  ```
222
222
 
@@ -455,8 +455,8 @@
455
455
  }
456
456
  };`,
457
457
  ],
458
- { type: "text/javascript" }
459
- )
458
+ { type: 'text/javascript' },
459
+ ),
460
460
  ),
461
461
  };
462
462
  lynxView.nativeModulesMap = nativeModulesMap;
@@ -542,8 +542,8 @@
542
542
  };
543
543
  };`,
544
544
  ],
545
- { type: "text/javascript" }
546
- )
545
+ { type: 'text/javascript' },
546
+ ),
547
547
  );
548
548
 
549
549
  const color_methods = URL.createObjectURL(
@@ -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.napiModuleMap = {
@@ -576,7 +576,7 @@
576
576
 
577
577
  ```js
578
578
  lynxView.onNapiModulesCall = (name, data, moduleName) => {
579
- if (name === "getColor" && moduleName === "color_methods") {
579
+ if (name === 'getColor' && moduleName === 'color_methods') {
580
580
  return data.color;
581
581
  }
582
582
  };
@@ -640,8 +640,8 @@
640
640
  }
641
641
  };`,
642
642
  ],
643
- { type: "text/javascript" }
644
- )
643
+ { type: 'text/javascript' },
644
+ ),
645
645
  );
646
646
  ```
647
647
 
@@ -653,7 +653,7 @@
653
653
 
654
654
  ```js
655
655
  lynxView.onNativeModulesCall = (name, data, callback) => {
656
- if (name === "getColor") {
656
+ if (name === 'getColor') {
657
657
  callback(data.color);
658
658
  }
659
659
  };
@@ -663,7 +663,7 @@
663
663
 
664
664
  ```js
665
665
  lynxView.onNativeModulesCall = (name, data, moduleName) => {
666
- if (name === "getColor" && moduleName === "bridge") {
666
+ if (name === 'getColor' && moduleName === 'bridge') {
667
667
  return data.color;
668
668
  }
669
669
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-constants-canary",
3
- "version": "0.17.0-canary-20250921-d0ef559f",
3
+ "version": "0.17.0",
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.17.0-canary-20250921-d0ef559f"
26
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"