@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.mjs
CHANGED
|
@@ -1001,6 +1001,7 @@ const RESOURCE_ID_PREFIXES = Object.freeze({
|
|
|
1001
1001
|
knowledgeBaseCategory: 'hdkbc',
|
|
1002
1002
|
knowledgeBaseRevision: 'hdkbr',
|
|
1003
1003
|
knowledgeBaseAsset: 'hdkbm',
|
|
1004
|
+
knowledgeBaseFaq: 'hdkbq',
|
|
1004
1005
|
ingot: 'ing',
|
|
1005
1006
|
invite: 'inv',
|
|
1006
1007
|
notification: 'ntf',
|
|
@@ -12004,9 +12005,9 @@ function unsealRequestBody(key, ttlSeconds) {
|
|
|
12004
12005
|
|
|
12005
12006
|
/**
|
|
12006
12007
|
* Forge transfer URLs: the one reading of the URL Core issues for an ingot
|
|
12007
|
-
* transfer, `https://forge.sparkvault.com/{encrypt|decrypt}?istk=…`,
|
|
12008
|
-
* session URL a tus upload continues at, whether just created or
|
|
12009
|
-
* 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).
|
|
12010
12011
|
*
|
|
12011
12012
|
* The URL carries the ISTK, a bearer credential for one transfer, and an upload
|
|
12012
12013
|
* sends the plaintext after it, so every client reads the URL here before a
|
|
@@ -12077,7 +12078,7 @@ function isForgeHost(hostname) {
|
|
|
12077
12078
|
*
|
|
12078
12079
|
* @param {unknown} value
|
|
12079
12080
|
* @param {Object} options
|
|
12080
|
-
* @param {'encrypt'|'decrypt'} options.operation - The transfer the URL must name
|
|
12081
|
+
* @param {'encrypt'|'decrypt'|'thumbnail'} options.operation - The transfer the URL must name
|
|
12081
12082
|
* @param {(hostname: string) => boolean} [options.isAllowedHost] - Forge's own
|
|
12082
12083
|
* host by default; a published SDK passes its configured allowlist. It is
|
|
12083
12084
|
* handed the lowercased host name.
|
|
@@ -18451,7 +18452,7 @@ class SparkVault {
|
|
|
18451
18452
|
}
|
|
18452
18453
|
/** Get the SDK version */
|
|
18453
18454
|
static get version() {
|
|
18454
|
-
return '13.
|
|
18455
|
+
return '13.3.0';
|
|
18455
18456
|
}
|
|
18456
18457
|
}
|
|
18457
18458
|
if (typeof window !== 'undefined') {
|