@pollen-robotics/reachy-mini-sdk 1.10.0 → 1.11.0-dev.0.main.94e8b7d
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/lib/imu.test.js +11 -0
- package/dist/lib/imu.test.js.map +1 -1
- package/dist/lib/reachy-mini.d.ts.map +1 -1
- package/dist/lib/reachy-mini.js +4 -0
- package/dist/lib/reachy-mini.js.map +1 -1
- package/dist/lib/types.d.ts +5 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.d.ts.map +1 -1
- package/dist/lib/version.js +1 -1
- package/dist/lib/version.js.map +1 -1
- package/host/dist/chunks/{centralRest-uXNMidlL.js → centralRest-vcOOpQK6.js} +1 -1
- package/host/dist/chunks/{index-Beu4GNzi.js → index-BrKBhTE0.js} +1 -1
- package/host/dist/chunks/{mountHost-D6qt3s1W.js → mountHost-CNQYkWZ4.js} +1333 -1314
- package/host/dist/entry/auto.js +2 -2
- package/host/dist/entry/embed.js +2 -2
- package/host/dist/index.js +3 -3
- package/host/dist/lib/sdk-types.d.ts +1 -0
- package/host/dist/lib/sdk-types.d.ts.map +1 -1
- package/host/dist/lib/signalingUrl.d.ts +0 -25
- package/host/dist/lib/signalingUrl.d.ts.map +1 -1
- package/package.json +1 -1
package/host/dist/entry/auto.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as i } from "../chunks/centralRest-
|
|
2
|
-
import { m as n } from "../chunks/mountHost-
|
|
1
|
+
import { R as i } from "../chunks/centralRest-vcOOpQK6.js";
|
|
2
|
+
import { m as n } from "../chunks/mountHost-CNQYkWZ4.js";
|
|
3
3
|
typeof window < "u" && (window.ReachyMini || (window.ReachyMini = i, window.dispatchEvent(new Event("reachymini:ready"))), window.ReachyMiniHost = { mountHost: n });
|
|
4
4
|
export {
|
|
5
5
|
n as mountHost
|
package/host/dist/entry/embed.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as i } from "../chunks/centralRest-
|
|
2
|
-
import { a as n, c as o } from "../chunks/index-
|
|
1
|
+
import { R as i } from "../chunks/centralRest-vcOOpQK6.js";
|
|
2
|
+
import { a as n, c as o } from "../chunks/index-BrKBhTE0.js";
|
|
3
3
|
typeof window < "u" && (window.ReachyMini || (window.ReachyMini = i, window.dispatchEvent(new Event("reachymini:ready"))), window.ReachyMiniHostEmbed = { connectToHost: o, connectToHostCredsOnly: n });
|
|
4
4
|
export {
|
|
5
5
|
o as connectToHost,
|
package/host/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { R as o } from "./chunks/centralRest-
|
|
2
|
-
import { R as i, m as a } from "./chunks/mountHost-
|
|
3
|
-
import { c as r, a as c } from "./chunks/index-
|
|
1
|
+
import { R as o } from "./chunks/centralRest-vcOOpQK6.js";
|
|
2
|
+
import { R as i, m as a } from "./chunks/mountHost-CNQYkWZ4.js";
|
|
3
|
+
import { c as r, a as c } from "./chunks/index-BrKBhTE0.js";
|
|
4
4
|
import { PROTOCOL_VERSION as m, decodeCredsFromHash as w, encodeCredsToHash as h, isProtocolMessage as y } from "./lib/protocol.js";
|
|
5
5
|
typeof window < "u" && !window.ReachyMini && (window.ReachyMini = o, window.dispatchEvent(new Event("reachymini:ready")));
|
|
6
6
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-types.d.ts","sourceRoot":"","sources":["../../src/lib/sdk-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,YAAY,EACV,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E;;;;;;;;;;;;;;GAcG;AACH,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,UAAU,EAAE,qBAAqB,CAAC;QAClC;gEACwD;QACxD,WAAW,CAAC,EAAE;YACZ,SAAS,CAAC,EAAE;gBACV,eAAe,CAAC,EAAE,MAAM,CAAC;gBACzB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,UAAU,CAAC,EAAE,MAAM,CAAC;gBACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;SACH,CAAC;KACH;CACF;AAED,OAAO,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"sdk-types.d.ts","sourceRoot":"","sources":["../../src/lib/sdk-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,YAAY,EACV,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E;;;;;;;;;;;;;;GAcG;AACH,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,UAAU,EAAE,qBAAqB,CAAC;QAClC;gEACwD;QACxD,WAAW,CAAC,EAAE;YACZ,SAAS,CAAC,EAAE;gBACV,eAAe,CAAC,EAAE,MAAM,CAAC;gBACzB,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,aAAa,CAAC,EAAE,MAAM,CAAC;gBACvB,UAAU,CAAC,EAAE,MAAM,CAAC;gBACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;aACnB,CAAC;SACH,CAAC;KACH;CACF;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -1,28 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resolve the signaling URL for the ReachyMini SDK.
|
|
3
|
-
*
|
|
4
|
-
* Priority:
|
|
5
|
-
* 1. `?signaling_url=<url>` URL parameter (override for
|
|
6
|
-
* staging / self-hosted central).
|
|
7
|
-
* 2. `window.huggingface.variables.SIGNALING_URL` if injected
|
|
8
|
-
* by the HF Spaces frontmatter (rare).
|
|
9
|
-
* 3. The canonical Pollen-Robotics central
|
|
10
|
-
* (`https://pollen-robotics-reachy-mini-central.hf.space`).
|
|
11
|
-
*
|
|
12
|
-
* Why we don't fall back to the SDK's bundled default
|
|
13
|
-
* ───────────────────────────────────────────────────
|
|
14
|
-
* The SDK shipped with `tfrere-reachy-mini-central.hf.space`
|
|
15
|
-
* baked in for legacy reasons. Reachies registered through the
|
|
16
|
-
* mobile app (the canonical onboarding path) sit on the
|
|
17
|
-
* `pollen-robotics-...` Space, so a host that lets the SDK fall
|
|
18
|
-
* back to the legacy URL ends up showing an empty list even when
|
|
19
|
-
* the user owns one of those robots. We override the default
|
|
20
|
-
* here so the host and the mobile app talk to the same central
|
|
21
|
-
* out of the box.
|
|
22
|
-
*
|
|
23
|
-
* Never throws. A malformed override just falls back to the
|
|
24
|
-
* canonical default.
|
|
25
|
-
*/
|
|
26
1
|
export declare const DEFAULT_CENTRAL_SIGNALING_URL = "https://pollen-robotics-reachy-mini-central.hf.space";
|
|
27
2
|
export declare function resolveSignalingUrl(): string;
|
|
28
3
|
//# sourceMappingURL=signalingUrl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signalingUrl.d.ts","sourceRoot":"","sources":["../../src/lib/signalingUrl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"signalingUrl.d.ts","sourceRoot":"","sources":["../../src/lib/signalingUrl.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,6BAA6B,yDACc,CAAC;AAmCzD,wBAAgB,mBAAmB,IAAI,MAAM,CAmB5C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pollen-robotics/reachy-mini-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0-dev.0.main.94e8b7d",
|
|
4
4
|
"description": "Browser SDK for controlling a Reachy Mini robot over WebRTC, plus an optional Hugging Face Spaces host shell (OAuth + robot picker + iframe bridge) exposed via the ./host subpath.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/reachy-mini-sdk.js",
|