@mentra/miniapp 3.1.0-dev.94 → 3.1.0-dev.96

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.
@@ -5,9 +5,9 @@
5
5
  * These values are the contract between @mentra/miniapp (running in a WebView)
6
6
  * and LocalMiniappRuntime (running on the phone).
7
7
  *
8
- * IMPORTANT: This file has NO runtime dependency on @mentra/sdk. The cloud SDK's
9
- * wire protocol enums live in @mentra/sdk/types/message-types.ts and are used
10
- * for cloud↔app communication, not phone↔miniapp.
8
+ * IMPORTANT: This file has no runtime dependency on the retired cloud SDK.
9
+ * Its published wire-protocol enums are used only for compatibility with
10
+ * existing cloud-hosted miniapps, not for phone↔miniapp communication.
11
11
  */
12
12
  export declare enum MiniappRequestType {
13
13
  /** Handshake: miniapp announces itself and asks phone to bind the session. */
package/dist/protocol.js CHANGED
@@ -5,9 +5,9 @@
5
5
  * These values are the contract between @mentra/miniapp (running in a WebView)
6
6
  * and LocalMiniappRuntime (running on the phone).
7
7
  *
8
- * IMPORTANT: This file has NO runtime dependency on @mentra/sdk. The cloud SDK's
9
- * wire protocol enums live in @mentra/sdk/types/message-types.ts and are used
10
- * for cloud↔app communication, not phone↔miniapp.
8
+ * IMPORTANT: This file has no runtime dependency on the retired cloud SDK.
9
+ * Its published wire-protocol enums are used only for compatibility with
10
+ * existing cloud-hosted miniapps, not for phone↔miniapp communication.
11
11
  */
12
12
  // ============================================================================
13
13
  // Miniapp → phone (request, via bridge envelope)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentra/miniapp",
3
- "version": "3.1.0-dev.94",
3
+ "version": "3.1.0-dev.96",
4
4
  "description": "SDK for building MentraOS local miniapps (browser/WebView)",
5
5
  "author": "Mentra Labs",
6
6
  "license": "MIT",
@@ -57,7 +57,7 @@
57
57
  }
58
58
  },
59
59
  "dependencies": {
60
- "@mentra/cloud-protocol": "3.1.0-dev.94",
60
+ "@mentra/cloud-protocol": "3.1.0-dev.96",
61
61
  "eventemitter3": "^5.0.1"
62
62
  },
63
63
  "devDependencies": {
package/src/protocol.ts CHANGED
@@ -5,9 +5,9 @@
5
5
  * These values are the contract between @mentra/miniapp (running in a WebView)
6
6
  * and LocalMiniappRuntime (running on the phone).
7
7
  *
8
- * IMPORTANT: This file has NO runtime dependency on @mentra/sdk. The cloud SDK's
9
- * wire protocol enums live in @mentra/sdk/types/message-types.ts and are used
10
- * for cloud↔app communication, not phone↔miniapp.
8
+ * IMPORTANT: This file has no runtime dependency on the retired cloud SDK.
9
+ * Its published wire-protocol enums are used only for compatibility with
10
+ * existing cloud-hosted miniapps, not for phone↔miniapp communication.
11
11
  */
12
12
 
13
13
  // ============================================================================