@sparkvault/sdk-js 13.2.0 → 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 +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -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
|
@@ -1005,6 +1005,7 @@ const RESOURCE_ID_PREFIXES = Object.freeze({
|
|
|
1005
1005
|
knowledgeBaseCategory: 'hdkbc',
|
|
1006
1006
|
knowledgeBaseRevision: 'hdkbr',
|
|
1007
1007
|
knowledgeBaseAsset: 'hdkbm',
|
|
1008
|
+
knowledgeBaseFaq: 'hdkbq',
|
|
1008
1009
|
ingot: 'ing',
|
|
1009
1010
|
invite: 'inv',
|
|
1010
1011
|
notification: 'ntf',
|
|
@@ -12008,9 +12009,9 @@ function unsealRequestBody(key, ttlSeconds) {
|
|
|
12008
12009
|
|
|
12009
12010
|
/**
|
|
12010
12011
|
* Forge transfer URLs: the one reading of the URL Core issues for an ingot
|
|
12011
|
-
* transfer, `https://forge.sparkvault.com/{encrypt|decrypt}?istk=…`,
|
|
12012
|
-
* session URL a tus upload continues at, whether just created or
|
|
12013
|
-
* 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).
|
|
12014
12015
|
*
|
|
12015
12016
|
* The URL carries the ISTK, a bearer credential for one transfer, and an upload
|
|
12016
12017
|
* sends the plaintext after it, so every client reads the URL here before a
|
|
@@ -12081,7 +12082,7 @@ function isForgeHost(hostname) {
|
|
|
12081
12082
|
*
|
|
12082
12083
|
* @param {unknown} value
|
|
12083
12084
|
* @param {Object} options
|
|
12084
|
-
* @param {'encrypt'|'decrypt'} options.operation - The transfer the URL must name
|
|
12085
|
+
* @param {'encrypt'|'decrypt'|'thumbnail'} options.operation - The transfer the URL must name
|
|
12085
12086
|
* @param {(hostname: string) => boolean} [options.isAllowedHost] - Forge's own
|
|
12086
12087
|
* host by default; a published SDK passes its configured allowlist. It is
|
|
12087
12088
|
* handed the lowercased host name.
|
|
@@ -18455,7 +18456,7 @@ class SparkVault {
|
|
|
18455
18456
|
}
|
|
18456
18457
|
/** Get the SDK version */
|
|
18457
18458
|
static get version() {
|
|
18458
|
-
return '13.
|
|
18459
|
+
return '13.3.0';
|
|
18459
18460
|
}
|
|
18460
18461
|
}
|
|
18461
18462
|
if (typeof window !== 'undefined') {
|