@sparkvault/sdk-js 13.1.0 → 13.2.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 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',
@@ -17362,10 +17363,17 @@ class IngotsModule {
17362
17363
  return mapIngotPage(response.data);
17363
17364
  }
17364
17365
  /**
17365
- * Search ingots in an unsealed vault.
17366
+ * Search ingots in an unsealed vault, one page at a time. A page can hold
17367
+ * fewer ingots than `limit`, even none, while more remain: follow
17368
+ * `nextCursor` until it is absent, never stop on the count.
17366
17369
  *
17367
17370
  * @example
17368
- * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice-2026-03.pdf' });
17371
+ * let cursor: string | undefined;
17372
+ * do {
17373
+ * const page = await sv.ingots.search(unsealed, { q: 'invoice', cursor });
17374
+ * page.ingots.forEach((i) => console.log(i.name));
17375
+ * cursor = page.nextCursor;
17376
+ * } while (cursor);
17369
17377
  */
17370
17378
  async search(vault, options = {}) {
17371
17379
  const vaultId = requireVaultId(vault);
@@ -18448,7 +18456,7 @@ class SparkVault {
18448
18456
  }
18449
18457
  /** Get the SDK version */
18450
18458
  static get version() {
18451
- return '13.1.0';
18459
+ return '13.2.1';
18452
18460
  }
18453
18461
  }
18454
18462
  if (typeof window !== 'undefined') {