@lynx-js/web-core-server-canary 0.15.6-canary-20250813-d8381a58 → 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-20250813064054-d8381a58d12af6424cab4955617251e798bdc9f1
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');
@@ -1845,6 +1847,7 @@ function createMainThreadGlobalThis(config) {
1845
1847
  __SwapElement,
1846
1848
  __UpdateListCallbacks,
1847
1849
  __GetConfig: __GetElementConfig,
1850
+ __GetAttributeByName: __GetAttributeByName,
1848
1851
  __GetClasses: __GetClasses,
1849
1852
  __AddClass: isCSSOG ? __AddClassForCSSOG : __AddClass,
1850
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-d8381a58",
3
+ "version": "0.15.6-canary-20250813-ab8cee4b",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -23,11 +23,11 @@
23
23
  "README.md"
24
24
  ],
25
25
  "devDependencies": {
26
- "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.4",
27
26
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.3",
28
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250813-d8381a58",
29
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.6-canary-20250813-d8381a58",
30
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.6-canary-20250813-d8381a58"
27
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.6-canary-20250813-ab8cee4b",
28
+ "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.4",
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",