@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.
package/dist/index.js CHANGED
@@ -5761,6 +5761,7 @@ function canonicalMailbox(value) {
5761
5761
  if (local.length > 64 || !/^[a-z0-9#$&'*+/=?^_`{|}~-]+(?:\.[a-z0-9#$&'*+/=?^_`{|}~-]+)*$/.test(local) || !isCanonicalEmailDomain(domain)) return void 0;
5762
5762
  return Object.freeze({ email, domain });
5763
5763
  }
5764
+ var POLICY_ROOT_MAX_LIFETIME_SECONDS = 31 * 24 * 60 * 60;
5764
5765
  async function signCompactUcanAuthorization(input) {
5765
5766
  if (input.notBefore >= input.expiresAt || input.expiresAt - input.notBefore > 60) {
5766
5767
  throw new TypeError("compact invocation lifetime must be between one and 60 seconds");