@mentra/miniapp 3.1.0-dev.94 → 3.1.0-dev.95
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/dist/protocol.d.ts +3 -3
- package/dist/protocol.js +3 -3
- package/package.json +2 -2
- package/src/protocol.ts +3 -3
package/dist/protocol.d.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
|
|
9
|
-
* wire
|
|
10
|
-
*
|
|
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
|
|
9
|
-
* wire
|
|
10
|
-
*
|
|
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.
|
|
3
|
+
"version": "3.1.0-dev.95",
|
|
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.
|
|
60
|
+
"@mentra/cloud-protocol": "3.1.0-dev.95",
|
|
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
|
|
9
|
-
* wire
|
|
10
|
-
*
|
|
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
|
// ============================================================================
|