@sparkvault/sdk-js 9.3.0 → 10.0.1
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/ingots/types.d.ts +6 -0
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -13904,6 +13904,7 @@ class IngotsModule {
|
|
|
13904
13904
|
this.validateDownloadUrl(response.data.download_url);
|
|
13905
13905
|
return {
|
|
13906
13906
|
downloadUrl: response.data.download_url,
|
|
13907
|
+
contentVersion: response.data.content_version ?? null,
|
|
13907
13908
|
id: response.data.ingot_id,
|
|
13908
13909
|
name: response.data.name,
|
|
13909
13910
|
size: response.data.size_bytes,
|
|
@@ -14112,6 +14113,7 @@ function mapIngot(wire) {
|
|
|
14112
14113
|
createdAt: wire.created_at ?? 0,
|
|
14113
14114
|
folderId: wire.folder_id ?? null,
|
|
14114
14115
|
contentHmac: wire.content_hmac ?? null,
|
|
14116
|
+
contentVersion: wire.content_version ?? null,
|
|
14115
14117
|
};
|
|
14116
14118
|
}
|
|
14117
14119
|
function mapIngotPage(response) {
|
|
@@ -15114,7 +15116,7 @@ class SparkVault {
|
|
|
15114
15116
|
}
|
|
15115
15117
|
/** Get the SDK version */
|
|
15116
15118
|
static get version() {
|
|
15117
|
-
return '
|
|
15119
|
+
return '10.0.1';
|
|
15118
15120
|
}
|
|
15119
15121
|
}
|
|
15120
15122
|
if (typeof window !== 'undefined') {
|