@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.
@@ -226,10 +226,17 @@ export declare class IngotsModule {
226
226
  */
227
227
  list(vault: UnsealedVault, options?: ListIngotsOptions): Promise<IngotPage>;
228
228
  /**
229
- * Search ingots in an unsealed vault.
229
+ * Search ingots in an unsealed vault, one page at a time. A page can hold
230
+ * fewer ingots than `limit`, even none, while more remain: follow
231
+ * `nextCursor` until it is absent, never stop on the count.
230
232
  *
231
233
  * @example
232
- * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice-2026-03.pdf' });
234
+ * let cursor: string | undefined;
235
+ * do {
236
+ * const page = await sv.ingots.search(unsealed, { q: 'invoice', cursor });
237
+ * page.ingots.forEach((i) => console.log(i.name));
238
+ * cursor = page.nextCursor;
239
+ * } while (cursor);
233
240
  */
234
241
  search(vault: UnsealedVault, options?: SearchIngotsOptions): Promise<IngotPage>;
235
242
  /**
@@ -277,10 +277,12 @@ export interface FolderContents {
277
277
  /** Options for search. */
278
278
  export interface SearchIngotsOptions {
279
279
  /**
280
- * The ingot's whole file name, matched ignoring letter case, accent
281
- * composition and Unicode compatibility forms (`Straße` matches `STRASSE`):
282
- * never a prefix, a substring or a fuzzy match. A name no ingot can hold is
283
- * refused (400).
280
+ * A part of the ingot's file name, matched ignoring letter case, accents
281
+ * and Unicode compatibility forms (`resume` matches `Résumé.pdf`, `strasse`
282
+ * matches `Straße.txt`); a whole name matches too. Results come in creation
283
+ * order, newest first unless `sortOrder` is `asc`, and a page can hold none
284
+ * while `nextCursor` is set: follow it. Text no name can hold is refused
285
+ * (400).
284
286
  */
285
287
  q?: string;
286
288
  /**