@esportsplus/reactivity 0.1.11 → 0.1.12

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/build/signal.d.ts CHANGED
@@ -48,4 +48,4 @@ declare const effect: (fn: Effect['fn']) => Effect;
48
48
  declare const root: <T>(fn: (root: Root) => T, scheduler?: Root['scheduler']) => T;
49
49
  declare const signal: <T>(value: T, options?: Options) => Signal<T>;
50
50
  export { computed, dispose, effect, root, signal };
51
- export { Computed, Effect, Signal };
51
+ export { Computed, Effect, Root, Signal };
package/build/signal.js CHANGED
@@ -318,4 +318,4 @@ const signal = (value, options) => {
318
318
  return new Signal(value, options);
319
319
  };
320
320
  export { computed, dispose, effect, root, signal };
321
- export { Computed, Effect, Signal };
321
+ export { Computed, Effect, Root, Signal };
package/build/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Function, NeverAsync, Prettify } from '@esportsplus/typescript';
2
2
  import { CHECK, CLEAN, COMPUTED, DIRTY, DISPOSED, EFFECT, ROOT, SIGNAL } from './constants';
3
- import { Computed, Effect, Signal } from './signal';
3
+ import { Computed, Effect, Root, Signal } from './signal';
4
4
  type Changed = (a: unknown, b: unknown) => boolean;
5
5
  type Event = string;
6
6
  type Listener<D> = {
@@ -16,4 +16,4 @@ type Options = {
16
16
  };
17
17
  type State = typeof CHECK | typeof CLEAN | typeof DIRTY | typeof DISPOSED;
18
18
  type Type = typeof COMPUTED | typeof EFFECT | typeof ROOT | typeof SIGNAL;
19
- export { Changed, Computed, Effect, Event, Function, Listener, Object, Options, NeverAsync, Prettify, Signal, State, Type };
19
+ export type { Changed, Computed, Effect, Event, Function, Listener, Object, Options, NeverAsync, Prettify, Root, Signal, State, Type };
package/build/types.js CHANGED
@@ -1,2 +1 @@
1
- import { Computed, Effect, Signal } from './signal';
2
- export { Computed, Effect, Signal };
1
+ export {};
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "prepublishOnly": "npm run build"
17
17
  },
18
18
  "types": "build/index.d.ts",
19
- "version": "0.1.11"
19
+ "version": "0.1.12"
20
20
  }
package/src/signal.ts CHANGED
@@ -429,4 +429,4 @@ const signal = <T>(value: T, options?: Options) => {
429
429
 
430
430
 
431
431
  export { computed, dispose, effect, root, signal };
432
- export { Computed, Effect, Signal };
432
+ export { Computed, Effect, Root, Signal };
package/src/types.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Function, NeverAsync, Prettify } from '@esportsplus/typescript'
2
2
  import { CHECK, CLEAN, COMPUTED, DIRTY, DISPOSED, EFFECT, ROOT, SIGNAL } from './constants';
3
- import { Computed, Effect, Signal } from './signal';
3
+ import { Computed, Effect, Root, Signal } from './signal';
4
4
 
5
5
 
6
6
  type Changed = (a: unknown, b: unknown) => boolean;
@@ -24,4 +24,4 @@ type State = typeof CHECK | typeof CLEAN | typeof DIRTY | typeof DISPOSED;
24
24
  type Type = typeof COMPUTED | typeof EFFECT | typeof ROOT | typeof SIGNAL;
25
25
 
26
26
 
27
- export { Changed, Computed, Effect, Event, Function, Listener, Object, Options, NeverAsync, Prettify, Signal, State, Type };
27
+ export type { Changed, Computed, Effect, Event, Function, Listener, Object, Options, NeverAsync, Prettify, Root, Signal, State, Type };