@lynx-js/web-mainthread-apis-canary 0.18.4-canary-20251119-30b9d548 → 0.18.4-canary-20251120-12f6fb3a

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,12 +1,12 @@
1
1
  # @lynx-js/web-mainthread-apis
2
2
 
3
- ## 0.18.4-canary-20251119064753-30b9d5488411da5342d87085427f0804906d2898
3
+ ## 0.18.4-canary-20251120073021-12f6fb3af05b3c942c5224d1601f295aba1e5c63
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies []:
8
- - @lynx-js/web-constants@0.18.4-canary-20251119064753-30b9d5488411da5342d87085427f0804906d2898
9
- - @lynx-js/web-style-transformer@0.18.4-canary-20251119064753-30b9d5488411da5342d87085427f0804906d2898
8
+ - @lynx-js/web-constants@0.18.4-canary-20251120073021-12f6fb3af05b3c942c5224d1601f295aba1e5c63
9
+ - @lynx-js/web-style-transformer@0.18.4-canary-20251120073021-12f6fb3af05b3c942c5224d1601f295aba1e5c63
10
10
 
11
11
  ## 0.18.3
12
12
 
@@ -1,7 +1,7 @@
1
- import { type LynxTemplate, type PageConfig, type FlushElementTreeOptions, type Cloneable, type BrowserConfig, type publishEventEndpoint, type publicComponentEventEndpoint, type reportErrorEndpoint, type RpcCallType, type LynxContextEventTarget, type MainThreadGlobalThis, type WebFiberElementImpl, type I18nResourceTranslationOptions, type SSRHydrateInfo, type SSRDehydrateHooks, type JSRealm, type QueryComponentPAPI } from '@lynx-js/web-constants';
1
+ import { type LynxTemplate, type PageConfig, type FlushElementTreeOptions, type Cloneable, type BrowserConfig, type publishEventEndpoint, type publicComponentEventEndpoint, type reportErrorEndpoint, type RpcCallType, type LynxContextEventTarget, type MainThreadGlobalThis, type I18nResourceTranslationOptions, type SSRHydrateInfo, type SSRDehydrateHooks, type JSRealm, type QueryComponentPAPI } from '@lynx-js/web-constants';
2
2
  export interface MainThreadRuntimeCallbacks {
3
3
  mainChunkReady: () => void;
4
- flushElementTree: (options: FlushElementTreeOptions, timingFlags: string[], exposureChangedElements: WebFiberElementImpl[]) => void;
4
+ flushElementTree: (options: FlushElementTreeOptions | undefined, timingFlags: string[], exposureChangedElements: HTMLElement[]) => void;
5
5
  _ReportError: RpcCallType<typeof reportErrorEndpoint>;
6
6
  __OnLifecycleEvent: (lifeCycleEvent: Cloneable) => void;
7
7
  markTiming: (pipelineId: string, timingKey: string) => void;
@@ -285,10 +285,8 @@ export function createMainThreadGlobalThis(config) {
285
285
  };
286
286
  const __SwapElement = (childA, childB) => {
287
287
  const temp = document.createElement('div');
288
- // @ts-expect-error fixme
289
288
  childA.replaceWith(temp);
290
289
  childB.replaceWith(childA);
291
- // @ts-expect-error fixme
292
290
  temp.replaceWith(childB);
293
291
  };
294
292
  const __SetCSSIdForCSSOG = (elements, cssId, entryName) => {
@@ -331,7 +329,6 @@ export function createMainThreadGlobalThis(config) {
331
329
  timingFlags = [];
332
330
  if (pageElement && !pageElement.parentNode
333
331
  && pageElement.getAttribute(lynxDisposedAttribute) !== '') {
334
- // @ts-expect-error
335
332
  rootDom.append(pageElement);
336
333
  }
337
334
  const exposureChangedElementsArray = Array.from(exposureChangedElements);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-mainthread-apis-canary",
3
- "version": "0.18.4-canary-20251119-30b9d548",
3
+ "version": "0.18.4-canary-20251120-12f6fb3a",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -24,8 +24,8 @@
24
24
  "**/*.css"
25
25
  ],
26
26
  "dependencies": {
27
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.4-canary-20251119-30b9d548",
28
- "@lynx-js/web-style-transformer": "npm:@lynx-js/web-style-transformer-canary@0.18.4-canary-20251119-30b9d548",
27
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.4-canary-20251120-12f6fb3a",
28
+ "@lynx-js/web-style-transformer": "npm:@lynx-js/web-style-transformer-canary@0.18.4-canary-20251120-12f6fb3a",
29
29
  "hyphenate-style-name": "^1.1.0"
30
30
  }
31
31
  }