@tinycloud/cli 1.5.1-beta.5 → 1.5.1-beta.7

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.
@@ -17558,8 +17558,13 @@ var init_links = __esm({
17558
17558
  permissions: external_exports2.array(permission).min(1),
17559
17559
  reason: external_exports2.string().optional(),
17560
17560
  grantLifetimeSeconds: external_exports2.number().int().positive(),
17561
- resultEncryptionPublicJwk: p256Jwk
17562
- }).strict();
17561
+ resultEncryptionPublicJwk: p256Jwk,
17562
+ /**
17563
+ * The lifetime the requester suggests approving, in seconds. Absent means the maximum, `grantLifetimeSeconds`. When present it is at most that
17564
+ * maximum; it has no upper bound of its own, and the approver may still choose less.
17565
+ */
17566
+ suggestedLifetimeSeconds: external_exports2.number().int().positive().optional()
17567
+ }).strict().refine((request) => request.suggestedLifetimeSeconds === void 0 || request.suggestedLifetimeSeconds <= request.grantLifetimeSeconds);
17563
17568
  DEFAULT_TIMEOUT_MS = 1e4;
17564
17569
  MAX_JSON_RESPONSE_BYTES = 4096;
17565
17570
  AUDIENCE_ORIGIN = /^https:\/\/[a-z0-9]([a-z0-9.-]*[a-z0-9])?(:[0-9]{1,5})?$/;