@adea-ai/spatial-protocol 0.14.1 → 0.15.0

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.
@@ -53,7 +53,7 @@ export function readSceneStartPosition(value) {
53
53
  };
54
54
  }
55
55
  function configuredAppBase(app) {
56
- const configured = app === 'world' ? process.env.NEXT_PUBLIC_ADEA_WORLD_URL : process.env.NEXT_PUBLIC_ADEA_HQ_URL;
56
+ const configured = app === 'world' ? process.env.ADEA_PUBLIC_WORLD_URL : process.env.ADEA_PUBLIC_HQ_URL;
57
57
  return configured?.trim() || undefined;
58
58
  }
59
59
  function isDevelopmentHost(hostname) {
package/dist/telemetry.js CHANGED
@@ -58,11 +58,11 @@ export function recordNavigation(url, type, startTime) {
58
58
  try {
59
59
  const navigation = performance.getEntriesByType('navigation')[0];
60
60
  recordNavigation(window.location.href, 'navigate', navigation?.startTime ?? 0);
61
- const endpoint = process.env.NEXT_PUBLIC_SCENE_TELEMETRY_ENDPOINT ||
61
+ const endpoint = process.env.ADEA_PUBLIC_SCENE_TELEMETRY_ENDPOINT ||
62
62
  (process.env.NODE_ENV === 'production' ? '/api/telemetry/scene-performance' : undefined);
63
63
  if (endpoint)
64
64
  window.__ADEA_SCENE_TELEMETRY_ENDPOINT__ = endpoint;
65
- const release = process.env.NEXT_PUBLIC_DEPLOY_GIT_COMMIT_SHA;
65
+ const release = process.env.ADEA_PUBLIC_DEPLOY_GIT_COMMIT_SHA;
66
66
  if (release)
67
67
  window.__ADEA_RELEASE__ = release;
68
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/spatial-protocol",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "Shell↔engine contract for the Adea spatial view: scene mount manifests, spawn URL helpers, and scene telemetry schemas. Pure types — no rendering, no binaries.",
5
5
  "keywords": [
6
6
  "manifest",
@@ -42,6 +42,6 @@
42
42
  "typecheck": "tsc -p tsconfig.json --noEmit"
43
43
  },
44
44
  "dependencies": {
45
- "@adea-ai/asset-manifests": "^0.14.1"
45
+ "@adea-ai/asset-manifests": "^0.15.0"
46
46
  }
47
47
  }
@@ -59,7 +59,7 @@ export function readSceneStartPosition(
59
59
 
60
60
  function configuredAppBase(app: SceneApp): string | undefined {
61
61
  const configured =
62
- app === 'world' ? process.env.NEXT_PUBLIC_ADEA_WORLD_URL : process.env.NEXT_PUBLIC_ADEA_HQ_URL
62
+ app === 'world' ? process.env.ADEA_PUBLIC_WORLD_URL : process.env.ADEA_PUBLIC_HQ_URL
63
63
  return configured?.trim() || undefined
64
64
  }
65
65
 
package/src/telemetry.ts CHANGED
@@ -181,10 +181,10 @@ try {
181
181
  | undefined
182
182
  recordNavigation(window.location.href, 'navigate', navigation?.startTime ?? 0)
183
183
  const endpoint =
184
- process.env.NEXT_PUBLIC_SCENE_TELEMETRY_ENDPOINT ||
184
+ process.env.ADEA_PUBLIC_SCENE_TELEMETRY_ENDPOINT ||
185
185
  (process.env.NODE_ENV === 'production' ? '/api/telemetry/scene-performance' : undefined)
186
186
  if (endpoint) window.__ADEA_SCENE_TELEMETRY_ENDPOINT__ = endpoint
187
- const release = process.env.NEXT_PUBLIC_DEPLOY_GIT_COMMIT_SHA
187
+ const release = process.env.ADEA_PUBLIC_DEPLOY_GIT_COMMIT_SHA
188
188
  if (release) window.__ADEA_RELEASE__ = release
189
189
  } catch {
190
190
  // Telemetry must never interfere with page initialization.