@tinycloud/share-sdk 1.4.4 → 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.
@@ -5509,6 +5509,7 @@ function serialize(value) {
5509
5509
  function canonicalize(value) {
5510
5510
  return serialize(value);
5511
5511
  }
5512
+ var POLICY_ROOT_MAX_LIFETIME_SECONDS = 31 * 24 * 60 * 60;
5512
5513
  async function signCompactUcanAuthorization(input) {
5513
5514
  if (input.notBefore >= input.expiresAt || input.expiresAt - input.notBefore > 60) {
5514
5515
  throw new TypeError("compact invocation lifetime must be between one and 60 seconds");