teamclaws 2.0.3 → 2.0.4
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/broker.js +0 -3
- package/dist/constants.js +1 -1
- package/dist/pairing.js +0 -1
- package/package.json +1 -1
package/dist/broker.js
CHANGED
|
@@ -94,9 +94,6 @@ export class BrokerClient {
|
|
|
94
94
|
throw errorFromResponse(response, "pairing_start_failed");
|
|
95
95
|
}
|
|
96
96
|
const pending = parsePendingPairing(response.body);
|
|
97
|
-
if ("server_id" in target && pending.server_id !== target.server_id) {
|
|
98
|
-
throw new TeamClawsError("target_mismatch", "TeamClaws resolved a different workspace than the one requested.", { exitCode: 9 });
|
|
99
|
-
}
|
|
100
97
|
if ("workspace_url" in target &&
|
|
101
98
|
pending.target.origin !== new URL(target.workspace_url).origin) {
|
|
102
99
|
throw new TeamClawsError("target_mismatch", "TeamClaws resolved a different workspace than the one requested.", { exitCode: 9 });
|
package/dist/constants.js
CHANGED
package/dist/pairing.js
CHANGED
|
@@ -84,7 +84,6 @@ export class PairingClient {
|
|
|
84
84
|
credential = await this.poll(pending, signal);
|
|
85
85
|
const grant = await this.authorization.requireGrant();
|
|
86
86
|
if (credential.pairing_id !== credential.device_id ||
|
|
87
|
-
credential.server_id !== pending.server_id ||
|
|
88
87
|
credential.origin !== pending.target.origin ||
|
|
89
88
|
credential.requester_sub !== grant.sub ||
|
|
90
89
|
credential.authorization_id !== grant.authorization_id ||
|