@sparkvault/sdk-js 11.1.9 → 11.1.11

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.
@@ -83,7 +83,11 @@ export interface NotifySendContent {
83
83
  /** Defaults to `text/plain`. A plaintext send accepts only `text/plain` or `text/html`. */
84
84
  contentType?: string;
85
85
  filename?: string;
86
- /** Sealed-content lifetime; the grant never outlives the content it points at. */
86
+ /**
87
+ * Sealed-content lifetime: a whole number of minutes from 1 to 1440 (24h).
88
+ * Defaults to 1440. A fraction is refused with a `ValidationError`. The grant
89
+ * never outlives the content it points at.
90
+ */
87
91
  ttlMinutes?: number;
88
92
  }
89
93
  /**
@@ -90,7 +90,10 @@ export interface CreateSparkOptions {
90
90
  payload: string;
91
91
  /** Content type (MIME). Defaults to text/plain. */
92
92
  contentType?: string;
93
- /** Time-to-live in minutes. Defaults to 1440 (24h). */
93
+ /**
94
+ * Time-to-live: a whole number of minutes from 1 to 1440 (24h). Defaults to
95
+ * 1440. A fraction is refused with a `ValidationError`.
96
+ */
94
97
  ttlMinutes?: number;
95
98
  /** Join an existing kindling family by ID */
96
99
  kindling?: string;