@astrale-os/shell-react 0.3.2-beta.2 → 0.3.2-beta.5

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.
@@ -32,7 +32,8 @@ class DefinitionObserver {
32
32
  void this.run('cached');
33
33
  return () => {
34
34
  this.started = false;
35
- this.generation += 1;
35
+ // Preserve in-flight work for a StrictMode effect re-setup. `started` still
36
+ // prevents its completion from updating an observer after a real unmount.
36
37
  this.subscriptions.forEach((unsubscribe) => unsubscribe());
37
38
  this.subscriptions = Object.freeze([]);
38
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrale-os/shell-react",
3
- "version": "0.3.2-beta.2",
3
+ "version": "0.3.2-beta.5",
4
4
  "description": "Astrale shell-react — the React face of the shell (provider, hooks, view components)",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -26,12 +26,12 @@
26
26
  "registry": "https://registry.npmjs.org"
27
27
  },
28
28
  "dependencies": {
29
- "@astrale-os/shell": ">=0.4.2-beta <1.0.0",
29
+ "@astrale-os/shell": ">=0.4.2-beta.7 <1.0.0",
30
30
  "jose": "^6.2.8",
31
31
  "zod": "^4.4.3"
32
32
  },
33
33
  "devDependencies": {
34
- "@astrale-os/sdk": "0.5.0-beta.34",
34
+ "@astrale-os/sdk": "0.5.0-beta.51",
35
35
  "@testing-library/dom": "^10.4.0",
36
36
  "@testing-library/react": "^16.3.0",
37
37
  "@types/node": "^26.2.0",
@@ -46,7 +46,7 @@
46
46
  "vitest": "4.1.10"
47
47
  },
48
48
  "peerDependencies": {
49
- "@astrale-os/sdk": ">=0.5.0-beta.32 <1.0.0",
49
+ "@astrale-os/sdk": ">=0.5.0-beta.51 <1.0.0",
50
50
  "react": ">=18",
51
51
  "react-dom": ">=18"
52
52
  },
@@ -61,7 +61,8 @@ class DefinitionObserver<DomainValue extends Domain, Input, Output> {
61
61
  void this.run('cached')
62
62
  return () => {
63
63
  this.started = false
64
- this.generation += 1
64
+ // Preserve in-flight work for a StrictMode effect re-setup. `started` still
65
+ // prevents its completion from updating an observer after a real unmount.
65
66
  this.subscriptions.forEach((unsubscribe) => unsubscribe())
66
67
  this.subscriptions = Object.freeze([])
67
68
  }