@sparkvault/sdk-js 13.2.1 → 13.3.0
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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12005,9 +12005,9 @@ function unsealRequestBody(key, ttlSeconds) {
|
|
|
12005
12005
|
|
|
12006
12006
|
/**
|
|
12007
12007
|
* Forge transfer URLs: the one reading of the URL Core issues for an ingot
|
|
12008
|
-
* transfer, `https://forge.sparkvault.com/{encrypt|decrypt}?istk=…`,
|
|
12009
|
-
* session URL a tus upload continues at, whether just created or
|
|
12010
|
-
* probed or terminated).
|
|
12008
|
+
* transfer, `https://forge.sparkvault.com/{encrypt|decrypt|thumbnail}?istk=…`,
|
|
12009
|
+
* and of the session URL a tus upload continues at, whether just created or
|
|
12010
|
+
* kept (resumed, probed or terminated).
|
|
12011
12011
|
*
|
|
12012
12012
|
* The URL carries the ISTK, a bearer credential for one transfer, and an upload
|
|
12013
12013
|
* sends the plaintext after it, so every client reads the URL here before a
|
|
@@ -12078,7 +12078,7 @@ function isForgeHost(hostname) {
|
|
|
12078
12078
|
*
|
|
12079
12079
|
* @param {unknown} value
|
|
12080
12080
|
* @param {Object} options
|
|
12081
|
-
* @param {'encrypt'|'decrypt'} options.operation - The transfer the URL must name
|
|
12081
|
+
* @param {'encrypt'|'decrypt'|'thumbnail'} options.operation - The transfer the URL must name
|
|
12082
12082
|
* @param {(hostname: string) => boolean} [options.isAllowedHost] - Forge's own
|
|
12083
12083
|
* host by default; a published SDK passes its configured allowlist. It is
|
|
12084
12084
|
* handed the lowercased host name.
|
|
@@ -18452,7 +18452,7 @@ class SparkVault {
|
|
|
18452
18452
|
}
|
|
18453
18453
|
/** Get the SDK version */
|
|
18454
18454
|
static get version() {
|
|
18455
|
-
return '13.
|
|
18455
|
+
return '13.3.0';
|
|
18456
18456
|
}
|
|
18457
18457
|
}
|
|
18458
18458
|
if (typeof window !== 'undefined') {
|