@tinycloud/share-sdk 1.5.0-beta.1 → 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.
@@ -22,6 +22,8 @@ interface SharePublishOptions {
22
22
  readonly target?: SharePublishTarget;
23
23
  readonly expiresAt?: Date;
24
24
  readonly expiryWasExplicit?: boolean;
25
+ /** The relative expiry the caller asked for, in milliseconds, when it gave a duration (not a date). */
26
+ readonly expiresInMs?: number;
25
27
  readonly origin: string;
26
28
  readonly maxBytes?: number;
27
29
  readonly now?: () => number;
@@ -22,6 +22,8 @@ interface SharePublishOptions {
22
22
  readonly target?: SharePublishTarget;
23
23
  readonly expiresAt?: Date;
24
24
  readonly expiryWasExplicit?: boolean;
25
+ /** The relative expiry the caller asked for, in milliseconds, when it gave a duration (not a date). */
26
+ readonly expiresInMs?: number;
25
27
  readonly origin: string;
26
28
  readonly maxBytes?: number;
27
29
  readonly now?: () => number;
@@ -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
  /**
@@ -1,6 +1,6 @@
1
1
  import { CompactUcanAuthorization, UnifiedContentSource } from '@tinycloud/share-envelope';
2
- import { A as AddressedOwnerRootInput, a as AddressedOwnerRootReceipt, b as AddressedPublishAuthority } from './addressed-publish-qp_bEVYu.cjs';
3
- import { C as CreateOwnerDelegationParams, g as OwnerDelegationReceipt, D as DelegatedShareKey } from './owner-policy-aPmXIR3e.cjs';
2
+ import { A as AddressedOwnerRootInput, a as AddressedOwnerRootReceipt, b as AddressedPublishAuthority } from './addressed-publish-CkADuOqh.cjs';
3
+ import { C as CreateOwnerDelegationParams, g as OwnerDelegationReceipt, D as DelegatedShareKey } from './owner-policy-3AT7bguu.cjs';
4
4
  import './authorization-CmP1skO8.cjs';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import { CompactUcanAuthorization, UnifiedContentSource } from '@tinycloud/share-envelope';
2
- import { A as AddressedOwnerRootInput, a as AddressedOwnerRootReceipt, b as AddressedPublishAuthority } from './addressed-publish-D4IWNXuw.js';
3
- import { C as CreateOwnerDelegationParams, g as OwnerDelegationReceipt, D as DelegatedShareKey } from './owner-policy-aPmXIR3e.js';
2
+ import { A as AddressedOwnerRootInput, a as AddressedOwnerRootReceipt, b as AddressedPublishAuthority } from './addressed-publish-EGJWqZVS.js';
3
+ import { C as CreateOwnerDelegationParams, g as OwnerDelegationReceipt, D as DelegatedShareKey } from './owner-policy-3AT7bguu.js';
4
4
  import './authorization-CmP1skO8.js';
5
5
 
6
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/share-sdk",
3
- "version": "1.5.0-beta.1",
3
+ "version": "1.5.0-beta.2",
4
4
  "description": "Canonical headless TinyCloud Share operations for browser and Node.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",