@cabane/companion 0.6.177 → 0.6.179
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/cli.js +888 -797
- package/dist/pairing-config.js +2 -0
- package/dist/runtime.js +393 -336
- package/package.json +1 -1
package/dist/pairing-config.js
CHANGED
|
@@ -476,6 +476,8 @@ async function claimSetupCode(baseUrl, input) {
|
|
|
476
476
|
baseUrl: body.baseUrl,
|
|
477
477
|
deviceToken: token,
|
|
478
478
|
deviceId: body.deviceId,
|
|
479
|
+
..."workspace" in body && body.workspace && typeof body.workspace === "object" && "name" in body.workspace && typeof body.workspace.name === "string" && "slug" in body.workspace && typeof body.workspace.slug === "string" ? { workspace: { name: body.workspace.name, slug: body.workspace.slug } } : {},
|
|
480
|
+
..."devicesUrl" in body && typeof body.devicesUrl === "string" ? { devicesUrl: body.devicesUrl } : {},
|
|
479
481
|
..."deviceLabel" in body && typeof body.deviceLabel === "string" ? { deviceLabel: body.deviceLabel } : {}
|
|
480
482
|
};
|
|
481
483
|
}
|