@tinycloud/cli 1.5.1-beta.6 → 1.5.1
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/courier-entry.js +7 -2
- package/dist/courier-entry.js.map +1 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/legacy-entry.js +7 -2
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +9 -9
package/dist/legacy-entry.js
CHANGED
|
@@ -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
|
-
|
|
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})?$/;
|