@sparkvault/sdk-js 10.0.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.d.ts CHANGED
@@ -2194,6 +2194,8 @@ interface Ingot {
2194
2194
  * or null when the uploader did not supply one.
2195
2195
  */
2196
2196
  contentHmac: string | null;
2197
+ /** Opaque published-content revision; null for legacy/unpublished content. */
2198
+ contentVersion: string | null;
2197
2199
  }
2198
2200
  /** The discrete primitive returned by createUpload — a Forge TUS session. */
2199
2201
  interface IngotUpload {
@@ -2223,6 +2225,8 @@ interface CreatedIngot {
2223
2225
  }
2224
2226
  /** The discrete primitive returned by createDownloadLink. */
2225
2227
  interface IngotDownloadLink {
2228
+ /** Opaque published-content revision; null for legacy content. */
2229
+ contentVersion: string | null;
2226
2230
  /** Short-lived signed Forge download URL */
2227
2231
  downloadUrl: string;
2228
2232
  /** Ingot ID */
package/dist/index.mjs CHANGED
@@ -13900,6 +13900,7 @@ class IngotsModule {
13900
13900
  this.validateDownloadUrl(response.data.download_url);
13901
13901
  return {
13902
13902
  downloadUrl: response.data.download_url,
13903
+ contentVersion: response.data.content_version ?? null,
13903
13904
  id: response.data.ingot_id,
13904
13905
  name: response.data.name,
13905
13906
  size: response.data.size_bytes,
@@ -14108,6 +14109,7 @@ function mapIngot(wire) {
14108
14109
  createdAt: wire.created_at ?? 0,
14109
14110
  folderId: wire.folder_id ?? null,
14110
14111
  contentHmac: wire.content_hmac ?? null,
14112
+ contentVersion: wire.content_version ?? null,
14111
14113
  };
14112
14114
  }
14113
14115
  function mapIngotPage(response) {
@@ -15110,7 +15112,7 @@ class SparkVault {
15110
15112
  }
15111
15113
  /** Get the SDK version */
15112
15114
  static get version() {
15113
- return '10.0.0';
15115
+ return '10.0.1';
15114
15116
  }
15115
15117
  }
15116
15118
  if (typeof window !== 'undefined') {