@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.cjs
CHANGED
|
@@ -12009,9 +12009,9 @@ function unsealRequestBody(key, ttlSeconds) {
|
|
|
12009
12009
|
|
|
12010
12010
|
/**
|
|
12011
12011
|
* Forge transfer URLs: the one reading of the URL Core issues for an ingot
|
|
12012
|
-
* transfer, `https://forge.sparkvault.com/{encrypt|decrypt}?istk=…`,
|
|
12013
|
-
* session URL a tus upload continues at, whether just created or
|
|
12014
|
-
* probed or terminated).
|
|
12012
|
+
* transfer, `https://forge.sparkvault.com/{encrypt|decrypt|thumbnail}?istk=…`,
|
|
12013
|
+
* and of the session URL a tus upload continues at, whether just created or
|
|
12014
|
+
* kept (resumed, probed or terminated).
|
|
12015
12015
|
*
|
|
12016
12016
|
* The URL carries the ISTK, a bearer credential for one transfer, and an upload
|
|
12017
12017
|
* sends the plaintext after it, so every client reads the URL here before a
|
|
@@ -12082,7 +12082,7 @@ function isForgeHost(hostname) {
|
|
|
12082
12082
|
*
|
|
12083
12083
|
* @param {unknown} value
|
|
12084
12084
|
* @param {Object} options
|
|
12085
|
-
* @param {'encrypt'|'decrypt'} options.operation - The transfer the URL must name
|
|
12085
|
+
* @param {'encrypt'|'decrypt'|'thumbnail'} options.operation - The transfer the URL must name
|
|
12086
12086
|
* @param {(hostname: string) => boolean} [options.isAllowedHost] - Forge's own
|
|
12087
12087
|
* host by default; a published SDK passes its configured allowlist. It is
|
|
12088
12088
|
* handed the lowercased host name.
|
|
@@ -18456,7 +18456,7 @@ class SparkVault {
|
|
|
18456
18456
|
}
|
|
18457
18457
|
/** Get the SDK version */
|
|
18458
18458
|
static get version() {
|
|
18459
|
-
return '13.
|
|
18459
|
+
return '13.3.0';
|
|
18460
18460
|
}
|
|
18461
18461
|
}
|
|
18462
18462
|
if (typeof window !== 'undefined') {
|