@solidjs/signals 0.13.10 → 0.13.11

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.
@@ -5,14 +5,15 @@ export interface DevHooks {
5
5
  onUpdate?: () => void;
6
6
  onStoreNodeUpdate?: (state: any, property: PropertyKey, value: any, prev: any) => void;
7
7
  }
8
- export declare const DEV: {
8
+ export interface Dev {
9
9
  hooks: DevHooks;
10
10
  getChildren: typeof getChildren;
11
11
  getSignals: typeof getSignals;
12
12
  getParent: typeof getParent;
13
13
  getSources: typeof getSources;
14
14
  getObservers: typeof getObservers;
15
- };
15
+ }
16
+ export declare const DEV: Dev;
16
17
  export declare function registerGraph(value: any, owner: Owner | null): void;
17
18
  export declare function clearSignals(node: Owner): void;
18
19
  export declare function getChildren(owner: Owner): Owner[];
@@ -8,5 +8,5 @@ export type { Computed, Disposable, FirewallSignal, Link, Owner, Root, Signal, N
8
8
  export { effect, trackedEffect, type Effect, type TrackedEffect } from "./effect.js";
9
9
  export { action } from "./action.js";
10
10
  export { flush, Queue, GlobalQueue, trackOptimisticStore, enforceLoadingBoundary, type IQueue, type QueueCallback } from "./scheduler.js";
11
- export { DEV, type DevHooks } from "./dev.js";
11
+ export { DEV, type Dev, type DevHooks } from "./dev.js";
12
12
  export * from "./constants.js";
@@ -1,5 +1,5 @@
1
1
  export { $REFRESH, ContextNotFoundError, NoOwnerError, NotReadyError, action, createContext, createOwner, createRoot, runWithOwner, flush, getNextChildId, peekNextChildId, getContext, setContext, getOwner, isDisposed, getObserver, isEqual, untrack, isPending, latest, isRefreshing, refresh, SUPPORTS_PROXY, setSnapshotCapture, markSnapshotScope, releaseSnapshotScope, clearSnapshots, enforceLoadingBoundary, enableExternalSource, DEV } from "./core/index.js";
2
- export type { Owner, Context, ContextRecord, IQueue, ExternalSourceFactory, ExternalSource, ExternalSourceConfig, DevHooks } from "./core/index.js";
2
+ export type { Owner, Context, ContextRecord, IQueue, ExternalSourceFactory, ExternalSource, ExternalSourceConfig, Dev, DevHooks } from "./core/index.js";
3
3
  export { createSignal, createMemo, createEffect, createRenderEffect, createTrackedEffect, createReaction, createOptimistic, resolve, onSettled, onCleanup } from "./signals.js";
4
4
  export type { Accessor, Setter, Signal, ComputeFunction, EffectFunction, EffectBundle, EffectOptions, SignalOptions, MemoOptions, NoInfer } from "./signals.js";
5
5
  export { mapArray, repeat, type Maybe } from "./map.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidjs/signals",
3
- "version": "0.13.10",
3
+ "version": "0.13.11",
4
4
  "description": "SolidJS' standalone reactivity implementation",
5
5
  "author": "Ryan Carniato",
6
6
  "license": "MIT",