@tinycloud/cli 1.5.0-beta.21 → 1.5.0-beta.23

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 CHANGED
@@ -31152,12 +31152,7 @@ function shareCliError(error, operation = "publish") {
31152
31152
  return new CLIError("UPLOAD_FAILED", "share source upload failed; nothing was shared", 4);
31153
31153
  }
31154
31154
  if (failure.kind === "decrypt-not-held") {
31155
- return new CLIError(
31156
- "PERMISSION_DENIED",
31157
- "this sign-in can't create email-addressed shares: it has no permission to decrypt with the account's key. Nothing was shared.",
31158
- 5,
31159
- { hint: "Share it from https://share.tinycloud.xyz while signed in as the account owner, or ask the owner to share it. A link anyone can open works from this sign-in: --to anyone." }
31160
- );
31155
+ return new CLIError("PERMISSION_DENIED", `Email shares need a paste sign-in: run ${CLI_NAME12} auth login --paste --manifest builtin:share-publishing`, 5);
31161
31156
  }
31162
31157
  if (failure.kind === "over-limit") {
31163
31158
  return new CLIError("MAX_BYTES_EXCEEDED", ADDRESSED_SHARE_TOO_LARGE_MESSAGE, 7, { hint: `What stays behind: ${failure.remaining.join("; ")}.` });