@tinycloud/share-sdk 1.5.0-beta.0 → 1.5.0-beta.2

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.
@@ -1,7 +1,7 @@
1
- import { a as SenderShareRecordStorage, S as SenderShareRecord } from './history-Bg25JIsi.cjs';
2
- export { f as SenderShareRecordProofs } from './history-Bg25JIsi.cjs';
1
+ import { a as SenderShareRecordStorage, S as SenderShareRecord } from './history-VWQ68Trt.cjs';
2
+ export { f as SenderShareRecordProofs } from './history-VWQ68Trt.cjs';
3
3
  import { LinkHeaderV1, LinkSignatureV1 } from '@tinycloud/share-envelope/links';
4
- import { P as PublishedShareDeliveryMaterial, S as SignedDelegation, l as OwnerSharePolicyRegistration } from './owner-policy-aPmXIR3e.cjs';
4
+ import { P as PublishedShareDeliveryMaterial, S as SignedDelegation, l as OwnerSharePolicyRegistration } from './owner-policy-3AT7bguu.cjs';
5
5
  import { ShareEnvelopeV3 } from '@tinycloud/share-envelope';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
- import { a as SenderShareRecordStorage, S as SenderShareRecord } from './history-kwJxrZgq.js';
2
- export { f as SenderShareRecordProofs } from './history-kwJxrZgq.js';
1
+ import { a as SenderShareRecordStorage, S as SenderShareRecord } from './history-Bc9bKK3V.js';
2
+ export { f as SenderShareRecordProofs } from './history-Bc9bKK3V.js';
3
3
  import { LinkHeaderV1, LinkSignatureV1 } from '@tinycloud/share-envelope/links';
4
- import { P as PublishedShareDeliveryMaterial, S as SignedDelegation, l as OwnerSharePolicyRegistration } from './owner-policy-aPmXIR3e.js';
4
+ import { P as PublishedShareDeliveryMaterial, S as SignedDelegation, l as OwnerSharePolicyRegistration } from './owner-policy-3AT7bguu.js';
5
5
  import { ShareEnvelopeV3 } from '@tinycloud/share-envelope';
6
6
 
7
7
  /**
@@ -5512,6 +5512,7 @@ function serialize(value) {
5512
5512
  function canonicalize(value) {
5513
5513
  return serialize(value);
5514
5514
  }
5515
+ var POLICY_ROOT_MAX_LIFETIME_SECONDS = 31 * 24 * 60 * 60;
5515
5516
  function verifyCompactUcanAuthorization(authorization, expectedCid) {
5516
5517
  if (/\s/.test(authorization)) throw new TypeError("compact Authorization contains whitespace");
5517
5518
  const segments = authorization.split(".");