@mentra/cloud-client 3.4.0-beta.1293 → 3.4.0-beta.1296

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentra/cloud-client",
3
- "version": "3.4.0-beta.1293",
3
+ "version": "3.4.0-beta.1296",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "exports": {
@@ -12,7 +12,7 @@
12
12
  "test": "bun test"
13
13
  },
14
14
  "dependencies": {
15
- "@mentra/cloud-protocol": "3.4.0-beta.1293",
15
+ "@mentra/cloud-protocol": "3.4.0-beta.1296",
16
16
  "tweetnacl": "^1.0.3"
17
17
  },
18
18
  "devDependencies": {
@@ -108,7 +108,11 @@ export class Workspaces {
108
108
  return {invitations: body.invitations.map(readInvitation)}
109
109
  }
110
110
 
111
- /** Joins the workspace the invitation is for. `already_in_workspace` (409) means leave the current one first. */
111
+ /**
112
+ * Joins the workspace the invitation is for, beside any the person is in, and answers the workspace that manages
113
+ * the phone afterwards (what `mine` would). Only an older Core refuses someone already in a workspace
114
+ * (`already_in_workspace`, 409).
115
+ */
112
116
  async acceptInvitation(invitationId: string, opts?: AccountCallOptions): Promise<AcceptInvitationResult> {
113
117
  const body = await this.caller.run(
114
118
  bearer =>