@reactive-web-components/rwc 2.56.2 → 2.57.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.
@@ -1,2 +1 @@
1
- import { BaseElement } from '../html-elements';
2
- export declare const componentStack: BaseElement[];
1
+ export declare const componentStackFunc: ((e: Set<() => void>) => void)[];
@@ -1,4 +1,3 @@
1
- import { BaseElement } from '../html-elements';
2
1
  import { IsPromise, IsPromiseFunction, UnwrapPromise } from './helpers.types';
3
2
  import { CompareFn, ReactiveSignal, UnwrapSignal } from './signal.type';
4
3
  export declare const setEffectDebugEnabled: (enabled: boolean) => void;
@@ -6,9 +5,6 @@ export declare const effectMap: Map<string, {
6
5
  signals: Array<ReactiveSignal<any>>;
7
6
  parent: string | null;
8
7
  }>;
9
- export declare const effectCleanup: WeakMap<() => void, Set<() => void>>;
10
- export declare const componentEffectMap: WeakMap<BaseElement, Set<() => void>>;
11
- export declare const effectComponentMap: WeakMap<() => void, WeakRef<BaseElement>>;
12
8
  export declare function signal<T = unknown>(initValue: T, config?: {
13
9
  signalCompareFn?: CompareFn<T>;
14
10
  name?: string;