@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
package/dist/index.d.ts
CHANGED
|
@@ -1001,7 +1001,11 @@ interface NotifySendContent {
|
|
|
1001
1001
|
/** Defaults to `text/plain`. A plaintext send accepts only `text/plain` or `text/html`. */
|
|
1002
1002
|
contentType?: string;
|
|
1003
1003
|
filename?: string;
|
|
1004
|
-
/**
|
|
1004
|
+
/**
|
|
1005
|
+
* Sealed-content lifetime: a whole number of minutes from 1 to 1440 (24h).
|
|
1006
|
+
* Defaults to 1440. A fraction is refused with a `ValidationError`. The grant
|
|
1007
|
+
* never outlives the content it points at.
|
|
1008
|
+
*/
|
|
1005
1009
|
ttlMinutes?: number;
|
|
1006
1010
|
}
|
|
1007
1011
|
/**
|
|
@@ -3027,7 +3031,10 @@ interface CreateSparkOptions {
|
|
|
3027
3031
|
payload: string;
|
|
3028
3032
|
/** Content type (MIME). Defaults to text/plain. */
|
|
3029
3033
|
contentType?: string;
|
|
3030
|
-
/**
|
|
3034
|
+
/**
|
|
3035
|
+
* Time-to-live: a whole number of minutes from 1 to 1440 (24h). Defaults to
|
|
3036
|
+
* 1440. A fraction is refused with a `ValidationError`.
|
|
3037
|
+
*/
|
|
3031
3038
|
ttlMinutes?: number;
|
|
3032
3039
|
/** Join an existing kindling family by ID */
|
|
3033
3040
|
kindling?: string;
|
package/dist/index.mjs
CHANGED
|
@@ -17311,7 +17311,7 @@ class SparkVault {
|
|
|
17311
17311
|
}
|
|
17312
17312
|
/** Get the SDK version */
|
|
17313
17313
|
static get version() {
|
|
17314
|
-
return '11.1.
|
|
17314
|
+
return '11.1.11';
|
|
17315
17315
|
}
|
|
17316
17316
|
}
|
|
17317
17317
|
if (typeof window !== 'undefined') {
|