@sparkvault/sdk-js 12.0.1 → 12.0.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.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +17 -12
- package/dist/index.mjs +1 -1
- package/dist/ingots/types.d.ts +11 -9
- package/dist/sparks/types.d.ts +6 -3
- package/dist/sparkvault.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -17652,7 +17652,7 @@ class SparkVault {
|
|
|
17652
17652
|
}
|
|
17653
17653
|
/** Get the SDK version */
|
|
17654
17654
|
static get version() {
|
|
17655
|
-
return '12.0.
|
|
17655
|
+
return '12.0.2';
|
|
17656
17656
|
}
|
|
17657
17657
|
}
|
|
17658
17658
|
if (typeof window !== 'undefined') {
|
package/dist/index.d.ts
CHANGED
|
@@ -2303,15 +2303,17 @@ interface Ingot {
|
|
|
2303
2303
|
* kept as it is when the first word of the extension it shows (up to an
|
|
2304
2304
|
* ASCII space, in any case) is one the MIME registry knows or holds a
|
|
2305
2305
|
* character none of the registry's extensions is spelled with, which may
|
|
2306
|
-
* draw as one, and otherwise completed with the
|
|
2307
|
-
*
|
|
2308
|
-
*
|
|
2309
|
-
* `
|
|
2310
|
-
*
|
|
2311
|
-
* browser
|
|
2312
|
-
*
|
|
2313
|
-
*
|
|
2314
|
-
* `application/
|
|
2306
|
+
* draw as one, and otherwise completed with the extension `contentType`'s
|
|
2307
|
+
* files are named with (the first the registry lists for it, or, for the
|
|
2308
|
+
* few types whose first is not the one desktops name their files with, the
|
|
2309
|
+
* one they do: `.mp3` for `audio/mpeg`, `.mov` for `video/quicktime`), never
|
|
2310
|
+
* one a saved copy must never open as. Save a copy under it, handed to a
|
|
2311
|
+
* browser as `application/octet-stream` unless `contentType` is a raster
|
|
2312
|
+
* image, audio, video or PDF format (never SVG, a playlist or a stream
|
|
2313
|
+
* redirector): a browser renames a saved copy by the type it is handed
|
|
2314
|
+
* (Chrome saves `Invoice` typed `application/x-msdownload` as
|
|
2315
|
+
* `Invoice.exe`), and completes or replaces no extension of a copy handed
|
|
2316
|
+
* as `application/octet-stream`.
|
|
2315
2317
|
*/
|
|
2316
2318
|
downloadFilename: string;
|
|
2317
2319
|
/** Content type (MIME) */
|
|
@@ -3141,9 +3143,12 @@ interface Spark {
|
|
|
3141
3143
|
* with none, kept as it is when the first word of the extension it shows
|
|
3142
3144
|
* (up to an ASCII space, in any case) is one the MIME registry knows or
|
|
3143
3145
|
* holds a character none of the registry's extensions is spelled with,
|
|
3144
|
-
* which may draw as one, and otherwise completed with the
|
|
3145
|
-
*
|
|
3146
|
-
*
|
|
3146
|
+
* which may draw as one, and otherwise completed with the extension
|
|
3147
|
+
* `contentType`'s files are named with (the first the registry lists for
|
|
3148
|
+
* it, or, for the few types whose first is not the one desktops name their
|
|
3149
|
+
* files with, the one they do: `.mp3` for `audio/mpeg`, `.mov` for
|
|
3150
|
+
* `video/quicktime`), never one a saved copy must never open as. Save a
|
|
3151
|
+
* copy under it, handed to a browser as
|
|
3147
3152
|
* `application/octet-stream` unless `contentType` is a raster image, audio,
|
|
3148
3153
|
* video or PDF format (never SVG, a playlist or a stream redirector): a
|
|
3149
3154
|
* browser renames a saved copy by the type it is handed (Chrome saves
|
package/dist/index.mjs
CHANGED
|
@@ -17648,7 +17648,7 @@ class SparkVault {
|
|
|
17648
17648
|
}
|
|
17649
17649
|
/** Get the SDK version */
|
|
17650
17650
|
static get version() {
|
|
17651
|
-
return '12.0.
|
|
17651
|
+
return '12.0.2';
|
|
17652
17652
|
}
|
|
17653
17653
|
}
|
|
17654
17654
|
if (typeof window !== 'undefined') {
|
package/dist/ingots/types.d.ts
CHANGED
|
@@ -37,15 +37,17 @@ export interface Ingot {
|
|
|
37
37
|
* kept as it is when the first word of the extension it shows (up to an
|
|
38
38
|
* ASCII space, in any case) is one the MIME registry knows or holds a
|
|
39
39
|
* character none of the registry's extensions is spelled with, which may
|
|
40
|
-
* draw as one, and otherwise completed with the
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* `
|
|
44
|
-
*
|
|
45
|
-
* browser
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* `application/
|
|
40
|
+
* draw as one, and otherwise completed with the extension `contentType`'s
|
|
41
|
+
* files are named with (the first the registry lists for it, or, for the
|
|
42
|
+
* few types whose first is not the one desktops name their files with, the
|
|
43
|
+
* one they do: `.mp3` for `audio/mpeg`, `.mov` for `video/quicktime`), never
|
|
44
|
+
* one a saved copy must never open as. Save a copy under it, handed to a
|
|
45
|
+
* browser as `application/octet-stream` unless `contentType` is a raster
|
|
46
|
+
* image, audio, video or PDF format (never SVG, a playlist or a stream
|
|
47
|
+
* redirector): a browser renames a saved copy by the type it is handed
|
|
48
|
+
* (Chrome saves `Invoice` typed `application/x-msdownload` as
|
|
49
|
+
* `Invoice.exe`), and completes or replaces no extension of a copy handed
|
|
50
|
+
* as `application/octet-stream`.
|
|
49
51
|
*/
|
|
50
52
|
downloadFilename: string;
|
|
51
53
|
/** Content type (MIME) */
|
package/dist/sparks/types.d.ts
CHANGED
|
@@ -56,9 +56,12 @@ export interface Spark {
|
|
|
56
56
|
* with none, kept as it is when the first word of the extension it shows
|
|
57
57
|
* (up to an ASCII space, in any case) is one the MIME registry knows or
|
|
58
58
|
* holds a character none of the registry's extensions is spelled with,
|
|
59
|
-
* which may draw as one, and otherwise completed with the
|
|
60
|
-
*
|
|
61
|
-
*
|
|
59
|
+
* which may draw as one, and otherwise completed with the extension
|
|
60
|
+
* `contentType`'s files are named with (the first the registry lists for
|
|
61
|
+
* it, or, for the few types whose first is not the one desktops name their
|
|
62
|
+
* files with, the one they do: `.mp3` for `audio/mpeg`, `.mov` for
|
|
63
|
+
* `video/quicktime`), never one a saved copy must never open as. Save a
|
|
64
|
+
* copy under it, handed to a browser as
|
|
62
65
|
* `application/octet-stream` unless `contentType` is a raster image, audio,
|
|
63
66
|
* video or PDF format (never SVG, a playlist or a stream redirector): a
|
|
64
67
|
* browser renames a saved copy by the type it is handed (Chrome saves
|