@tinycloud/share-sdk 1.5.0-beta.0 → 1.5.0-beta.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.
@@ -5540,6 +5540,7 @@ function serialize(value) {
5540
5540
  function canonicalize(value) {
5541
5541
  return serialize(value);
5542
5542
  }
5543
+ var POLICY_ROOT_MAX_LIFETIME_SECONDS = 31 * 24 * 60 * 60;
5543
5544
  async function signCompactUcanAuthorization(input) {
5544
5545
  if (input.notBefore >= input.expiresAt || input.expiresAt - input.notBefore > 60) {
5545
5546
  throw new TypeError("compact invocation lifetime must be between one and 60 seconds");