@solidrt/core 0.0.47 → 0.0.48

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidrt/core",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "license": "MIT",
5
5
  "author": "Antoine van Wel",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "colord": "^2.9.3"
28
28
  },
29
29
  "devDependencies": {
30
- "@solidrt/flux-types": "0.0.47"
30
+ "@solidrt/flux-types": "0.0.48"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@solidjs/signals": "2.0.0-beta.31",
package/src/index.ts CHANGED
@@ -84,6 +84,13 @@ export {
84
84
  } from "@solidjs/signals"
85
85
  export type { Accessor, Setter, Signal, Store, StoreSetter } from "@solidjs/signals"
86
86
 
87
+ // Owner and lifecycle (from @solidjs/signals). `createRoot` above is the fourth
88
+ // member of this group - it creates an owned scope, these reach the owner it
89
+ // established. Capture an owner to restore it across an async boundary
90
+ // (`runWithOwner(owner, ...)`), or pass null to detach.
91
+ export { getOwner, runWithOwner, createOwner, isDisposed } from "@solidjs/signals"
92
+ export type { Owner } from "@solidjs/signals"
93
+
87
94
  // Control flow, components, and context (from solid-js).
88
95
  export {
89
96
  For,