@tinycloud/cli 1.5.0-beta.3 → 1.5.0-beta.5
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/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/legacy-entry.js +3 -2
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +1 -1
package/dist/legacy-entry.js
CHANGED
|
@@ -33002,7 +33002,8 @@ async function revokeDelegationOnNode(params) {
|
|
|
33002
33002
|
throw new CLIError(
|
|
33003
33003
|
"RAW_RECAP_RESOURCE_UNSUPPORTED",
|
|
33004
33004
|
`Cannot revoke "${cid}": this CLI profile has no record of this grant and the node's record does not match the signed-in owner.`,
|
|
33005
|
-
ExitCode.PERMISSION_DENIED
|
|
33005
|
+
ExitCode.PERMISSION_DENIED,
|
|
33006
|
+
profile.authMethod === "openkey" ? { hint: "This permission can't be revoked from the CLI yet. Revoke it at https://account.tinycloud.xyz/delegations." } : void 0
|
|
33006
33007
|
);
|
|
33007
33008
|
}
|
|
33008
33009
|
fallbackSpaceId = fallback.space;
|
|
@@ -33827,7 +33828,7 @@ async function prepareProfileRemoteLogout(ctx, expectedSessionCid, discardLocalC
|
|
|
33827
33828
|
"REVOCATION_AUTHORITY_UNAVAILABLE",
|
|
33828
33829
|
"OpenKey owner CID revocation requires a verified signed revoke-control grant or wallet proof. No CID was revoked; session, key and replica files remain for retry, while local replica reads stay denied.",
|
|
33829
33830
|
ExitCode.AUTH_REQUIRED,
|
|
33830
|
-
{ hint:
|
|
33831
|
+
{ hint: `This sign-in can't be revoked from the CLI yet. Revoke it at https://account.tinycloud.xyz/delegations. To sign out on this computer only, run \`${CLI_NAME18} auth logout\`.` }
|
|
33831
33832
|
);
|
|
33832
33833
|
}
|
|
33833
33834
|
const signerDid = addressToDID(
|