@virtualdisplay.io/client 4.0.0-alpha.36 → 4.0.0-alpha.37

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
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.0.0-alpha.37
4
+
5
+ ### Minor Changes
6
+
7
+ Add the `personalisation` app type. `onAppResolved` reports `personalisation` for a viewer app with a backdrop photo behind the model.
8
+
3
9
  ## 4.0.0-alpha.36
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./rolldown-runtime-CYdcPHCu.js";
2
- // ../../../../../../../../../pnpm-stores/ab1eeece5fc302f45711b88f6df917354b6e66d4ade8287a9ef8aa65a21e9642/v11/links/@/qrcode/1.5.4/38431ab3ce46851b9c5211f56296031bcdd3ab8a89e17d0d2a55d25922dcc7fe/node_modules/qrcode/lib/can-promise.js
2
+ // ../../../../../../../../../pnpm-stores/7817d7635beec3e681fa52ee7cd8f0ca6d20e45c60fe0344fc76ab1877d532c3/v11/links/@/qrcode/1.5.4/38431ab3ce46851b9c5211f56296031bcdd3ab8a89e17d0d2a55d25922dcc7fe/node_modules/qrcode/lib/can-promise.js
3
3
  var t = /* @__PURE__ */ e(((e, t) => {
4
4
  t.exports = function() {
5
5
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /** The app types this protocol version knows. The wire field stays a plain
2
2
  * string on purpose: a newer viewer may report a type this bundle predates,
3
3
  * and the host must receive it to fail visibly (never a quiet downgrade). */
4
- type AppType = 'viewer' | 'configurator';
4
+ type AppType = 'viewer' | 'configurator' | 'personalisation';
5
5
  /** What a configurator app's submit form renders. Any field may be absent; an
6
6
  * absent field means the form's own default. */
7
7
  interface AppSubmitSettings {
@@ -2370,7 +2370,7 @@ var Fn = J.fontFamily.sans.join(", "), In = class {
2370
2370
  async update(t) {
2371
2371
  let n;
2372
2372
  try {
2373
- this.qrLib ??= await import("./browser-Dq7GBPtw.js").then((t) => /* @__PURE__ */ e(t.default, 1)), n = await this.qrLib.toDataURL(t, {
2373
+ this.qrLib ??= await import("./browser-DSuT5Y7h.js").then((t) => /* @__PURE__ */ e(t.default, 1)), n = await this.qrLib.toDataURL(t, {
2374
2374
  width: 256,
2375
2375
  margin: 4,
2376
2376
  errorCorrectionLevel: "M",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@virtualdisplay.io/client",
3
3
  "description": "TypeScript-first 3D model integration library with iframe-based architecture",
4
- "version": "4.0.0-alpha.36",
4
+ "version": "4.0.0-alpha.37",
5
5
  "author": "Virtualdisplay <support@virtualdisplay.io>",
6
6
  "homepage": "https://virtualdisplay.io",
7
7
  "license": "MIT",