@lynx-js/web-core-server-canary 0.15.6-canary-20250813-a77e6595 → 0.15.6-canary-20250813-ab8cee4b

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/web-core-server
2
2
 
3
- ## 0.15.6-canary-20250813055653-a77e6595b1f58924e681608f427522e1c868660a
3
+ ## 0.15.6-canary-20250813064930-ab8cee4bab384fa905c045c4b4b93e5d4a95d57f
4
4
 
5
5
  ## 0.15.5
6
6
 
package/dist/index.js CHANGED
@@ -732,6 +732,7 @@ const mainThreadInjectVars = [
732
732
  '__UpdateComponentID',
733
733
  '__UpdateComponentInfo',
734
734
  '__GetConfig',
735
+ '__GetAttributeByName',
735
736
  '__UpdateListCallbacks',
736
737
  '__AppendElement',
737
738
  '__ElementIsEqual',
@@ -1321,6 +1322,7 @@ const __GetElementConfig = /*#__PURE__*/ (element)=>{
1321
1322
  const currentComponentConfigString = element.getAttribute(lynxComponentConfigAttribute);
1322
1323
  return currentComponentConfigString ? JSON.parse(decodeURIComponent(currentComponentConfigString)) : {};
1323
1324
  };
1325
+ const __GetAttributeByName = /*#__PURE__*/ (element, name)=>element.getAttribute(name);
1324
1326
  const __GetElementUniqueID = /*#__PURE__*/ (element)=>element && element.getAttribute ? Number(element.getAttribute(lynxUniqueIdAttribute)) : -1;
1325
1327
  const __GetID = /*#__PURE__*/ (element)=>element.getAttribute('id');
1326
1328
  const __SetID = /*#__PURE__*/ (element, id)=>id ? element.setAttribute('id', id) : element.removeAttribute('id');
@@ -1753,6 +1755,7 @@ function createMainThreadGlobalThis(config) {
1753
1755
  __SetAttribute(element, key, value);
1754
1756
  }
1755
1757
  for (const childData of data.children || [])__AppendElement(element, createElementForElementTemplateData(childData, parentComponentUniId));
1758
+ void 0 !== data.dataset && __SetDataset(element, data.dataset);
1756
1759
  return element;
1757
1760
  };
1758
1761
  const applyEventsForElementTemplate = (data, element)=>{
@@ -1844,6 +1847,7 @@ function createMainThreadGlobalThis(config) {
1844
1847
  __SwapElement,
1845
1848
  __UpdateListCallbacks,
1846
1849
  __GetConfig: __GetElementConfig,
1850
+ __GetAttributeByName: __GetAttributeByName,
1847
1851
  __GetClasses: __GetClasses,
1848
1852
  __AddClass: isCSSOG ? __AddClassForCSSOG : __AddClass,
1849
1853
  __SetClasses: isCSSOG ? __SetClassesForCSSOG : __SetClasses,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-core-server-canary",
3
- "version": "0.15.6-canary-20250813-a77e6595",
3
+ "version": "0.15.6-canary-20250813-ab8cee4b",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -24,10 +24,10 @@
24
24
  ],
25
25
  "devDependencies": {
26
26
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.3",
27
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250813-a77e6595",
27
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250813-ab8cee4b",
28
28
  "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.4",
29
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6-canary-20250813-a77e6595",
30
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250813-a77e6595"
29
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250813-ab8cee4b",
30
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6-canary-20250813-ab8cee4b"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rslib build",