@laplace.live/persona-sdk 0.17.0 → 0.17.1

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.
@@ -12,7 +12,9 @@ const SHORTCUT_ACTION_KIND_LABELS = {
12
12
  'effect-toggle': 'Toggle Effect',
13
13
  'effect-params': 'Effect Settings',
14
14
  'camera-pose': 'Camera Position',
15
+ 'reset-camera': 'Reset Camera',
15
16
  'layer-visibility': 'Layer Visibility',
17
+ 'stream-mode': 'Stream Mode',
16
18
  };
17
19
  /** English label for one shortcut action kind; kinds newer than this SDK read `Action`. */
18
20
  export function shortcutActionLabel(kind) {
@@ -792,7 +792,7 @@ export interface HotkeyState extends HotkeyConfig {
792
792
  registered: string[];
793
793
  }
794
794
  /** Action kinds an app shortcut can carry today; servers may send kinds newer than this list. */
795
- export declare const SHORTCUT_ACTION_KINDS: readonly ["effect-toggle", "effect-params", "camera-pose", "layer-visibility"];
795
+ export declare const SHORTCUT_ACTION_KINDS: readonly ["effect-toggle", "effect-params", "camera-pose", "reset-camera", "layer-visibility", "stream-mode"];
796
796
  export type ShortcutActionKind = (typeof SHORTCUT_ACTION_KINDS)[number];
797
797
  /**
798
798
  * One app-level global shortcut (a multi-action macro) as clients see it. Action
@@ -28,7 +28,14 @@ export function isAppCapability(v) {
28
28
  }
29
29
  // ---- App shortcuts --------------------------------------------------------------
30
30
  /** Action kinds an app shortcut can carry today; servers may send kinds newer than this list. */
31
- export const SHORTCUT_ACTION_KINDS = ['effect-toggle', 'effect-params', 'camera-pose', 'layer-visibility'];
31
+ export const SHORTCUT_ACTION_KINDS = [
32
+ 'effect-toggle',
33
+ 'effect-params',
34
+ 'camera-pose',
35
+ 'reset-camera',
36
+ 'layer-visibility',
37
+ 'stream-mode',
38
+ ];
32
39
  // ---- Settings ------------------------------------------------------------------
33
40
  export const TRACKING_SOURCE_IDS = ['vts-ios', 'vts-ios-native', 'ifacialmocap'];
34
41
  /** Body-pose protocols. Every one so far is UDP with a configurable port. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/persona-sdk",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "TypeScript SDK and wire schema for the LAPLACE Persona plugin API",
5
5
  "license": "MIT",
6
6
  "type": "module",