@orbit-work/oem-dev-host 0.1.4 → 0.1.6

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/compiler.mjs +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbit-work/oem-dev-host",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Live OEM bridge for full Desktop, isolated-profile sandbox, and Slot workbench modes.",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -19,7 +19,7 @@
19
19
  "src/server.mjs"
20
20
  ],
21
21
  "dependencies": {
22
- "@orbit-work/oem-sdk": "0.1.2",
22
+ "@orbit-work/oem-sdk": "0.1.4",
23
23
  "@orbit-work/ui": "0.1.2",
24
24
  "@vitejs/plugin-react": "^4.3.4",
25
25
  "react": "^19.0.0",
package/src/compiler.mjs CHANGED
@@ -151,10 +151,10 @@ export async function compileOemDevelopmentProject(projectRoot, { expectedIdenti
151
151
  }
152
152
  // The login KV is mutable design data (not immutable identity), so it is
153
153
  // refreshed with every reload like the logo rather than pinned at build time.
154
- let loginBackground = null
155
- if (audit.manifest.assets.loginBackground) {
156
- const loginBackgroundFile = path.resolve(root, audit.manifest.assets.loginBackground)
157
- loginBackground = dataUrl(loginBackgroundFile, await readFile(loginBackgroundFile))
154
+ let loginKV = null
155
+ if (audit.manifest.assets.loginKV) {
156
+ const loginKVFile = path.resolve(root, audit.manifest.assets.loginKV)
157
+ loginKV = dataUrl(loginKVFile, await readFile(loginKVFile))
158
158
  }
159
159
  let javascript = ""
160
160
  let css = ""
@@ -188,7 +188,7 @@ export async function compileOemDevelopmentProject(projectRoot, { expectedIdenti
188
188
  }
189
189
  return {
190
190
  identity,
191
- snapshot: { manifest: audit.manifest, locales, logo, appIcon, tray, loginBackground, development },
191
+ snapshot: { manifest: audit.manifest, locales, logo, appIcon, tray, loginKV, development },
192
192
  javascript,
193
193
  css,
194
194
  }