@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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/products/notify/types.d.ts +5 -1
- package/dist/sparks/types.d.ts +4 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
/**
|
|
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
|
/**
|
package/dist/sparks/types.d.ts
CHANGED
|
@@ -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
|
-
/**
|
|
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;
|