@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.
package/dist/index.js CHANGED
@@ -15073,8 +15073,13 @@ var init_links = __esm({
15073
15073
  permissions: external_exports2.array(permission).min(1),
15074
15074
  reason: external_exports2.string().optional(),
15075
15075
  grantLifetimeSeconds: external_exports2.number().int().positive(),
15076
- resultEncryptionPublicJwk: p256Jwk
15077
- }).strict();
15076
+ resultEncryptionPublicJwk: p256Jwk,
15077
+ /**
15078
+ * The lifetime the requester suggests approving, in seconds. Absent means the maximum, `grantLifetimeSeconds`. When present it is at most that
15079
+ * maximum; it has no upper bound of its own, and the approver may still choose less.
15080
+ */
15081
+ suggestedLifetimeSeconds: external_exports2.number().int().positive().optional()
15082
+ }).strict().refine((request) => request.suggestedLifetimeSeconds === void 0 || request.suggestedLifetimeSeconds <= request.grantLifetimeSeconds);
15078
15083
  DEFAULT_TIMEOUT_MS = 1e4;
15079
15084
  MAX_JSON_RESPONSE_BYTES = 4096;
15080
15085
  AUDIENCE_ORIGIN = /^https:\/\/[a-z0-9]([a-z0-9.-]*[a-z0-9])?(:[0-9]{1,5})?$/;