@plasius/gpu-xr 0.1.8 → 0.1.9

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/CHANGELOG.md CHANGED
@@ -22,6 +22,23 @@ All notable changes to this project will be documented in this file.
22
22
  - **Security**
23
23
  - (placeholder)
24
24
 
25
+ ## [0.1.9] - 2026-04-02
26
+
27
+ - **Added**
28
+ - Contract tests that keep the demo on the public `@plasius/gpu-shared`
29
+ browser import surface.
30
+
31
+ - **Changed**
32
+ - Updated the README to describe the live 3D XR staging scene and visible
33
+ capability state correctly.
34
+
35
+ - **Fixed**
36
+ - Removed the demo's deep import of `@plasius/gpu-shared` internals in favor
37
+ of an import-map-backed package import.
38
+
39
+ - **Security**
40
+ - (placeholder)
41
+
25
42
  ## [0.1.8] - 2026-03-23
26
43
 
27
44
  - **Added**
@@ -120,3 +137,4 @@ All notable changes to this project will be documented in this file.
120
137
  [0.1.6]: https://github.com/Plasius-LTD/gpu-xr/releases/tag/v0.1.6
121
138
  [0.1.7]: https://github.com/Plasius-LTD/gpu-xr/releases/tag/v0.1.7
122
139
  [0.1.8]: https://github.com/Plasius-LTD/gpu-xr/releases/tag/v0.1.8
140
+ [0.1.9]: https://github.com/Plasius-LTD/gpu-xr/releases/tag/v0.1.9
package/README.md CHANGED
@@ -84,9 +84,11 @@ npm run demo
84
84
 
85
85
  Then open `http://localhost:8000/gpu-xr/demo/`.
86
86
 
87
- The demo is lifecycle-first. It does not mount a 3D canvas on its own; it
88
- shows XR capability and session state, and explains that a renderer surface
89
- must be bound separately.
87
+ The demo mounts the shared `@plasius/gpu-shared` 3D harbor surface and keeps XR
88
+ capability, target mode, and worker-budget negotiation visible in context. It
89
+ stays browser-safe by rendering on the shared scene while `@plasius/gpu-xr`
90
+ continues to own XR support probing, frame-target hints, and session metadata
91
+ instead of a package-local renderer copy.
90
92
 
91
93
  ## Development Checks
92
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-xr",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Framework-agnostic WebXR session management for Plasius GPU rendering projects.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -27,7 +27,7 @@
27
27
  "scripts": {
28
28
  "build": "tsup",
29
29
  "demo": "python3 -m http.server --directory ..",
30
- "typecheck": "node --check src/index.js",
30
+ "typecheck": "node --check src/index.js && node --check demo/main.js",
31
31
  "audit:eslint": "eslint . --max-warnings=0",
32
32
  "audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
33
33
  "audit:npm": "npm audit --audit-level=high --omit=dev",
@@ -49,13 +49,16 @@
49
49
  ],
50
50
  "author": "Plasius LTD <development@plasius.co.uk>",
51
51
  "license": "Apache-2.0",
52
+ "dependencies": {
53
+ "@plasius/gpu-shared": "^0.1.4"
54
+ },
52
55
  "devDependencies": {
53
56
  "@eslint/js": "^10.0.1",
54
57
  "c8": "^11.0.0",
55
58
  "eslint": "^10.1.0",
56
59
  "globals": "^17.3.0",
57
60
  "tsup": "^8.5.0",
58
- "typescript": "^5.9.3"
61
+ "typescript": "^6.0.2"
59
62
  },
60
63
  "repository": {
61
64
  "type": "git",