@sparkvault/sdk-js 13.0.1 → 13.0.2

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
@@ -17235,7 +17235,7 @@ class IngotsModule {
17235
17235
  * Search ingots in an unsealed vault.
17236
17236
  *
17237
17237
  * @example
17238
- * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice' });
17238
+ * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice-2026-03.pdf' });
17239
17239
  */
17240
17240
  async search(vault, options = {}) {
17241
17241
  const vaultId = requireVaultId(vault);
@@ -18318,7 +18318,7 @@ class SparkVault {
18318
18318
  }
18319
18319
  /** Get the SDK version */
18320
18320
  static get version() {
18321
- return '13.0.1';
18321
+ return '13.0.2';
18322
18322
  }
18323
18323
  }
18324
18324
  if (typeof window !== 'undefined') {
package/dist/index.d.ts CHANGED
@@ -3015,7 +3015,12 @@ interface FolderContents {
3015
3015
  }
3016
3016
  /** Options for search. */
3017
3017
  interface SearchIngotsOptions {
3018
- /** The beginning of the ingot's name, in any case: a prefix, never a substring or a fuzzy match. */
3018
+ /**
3019
+ * The ingot's whole file name, matched ignoring letter case, accent
3020
+ * composition and Unicode compatibility forms (`Straße` matches `STRASSE`):
3021
+ * never a prefix, a substring or a fuzzy match. A name no ingot can hold is
3022
+ * refused (400).
3023
+ */
3019
3024
  q?: string;
3020
3025
  /**
3021
3026
  * The MIME type to match, in lowercase: a family (`image`, `video`,
@@ -3554,7 +3559,7 @@ declare class IngotsModule {
3554
3559
  * Search ingots in an unsealed vault.
3555
3560
  *
3556
3561
  * @example
3557
- * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice' });
3562
+ * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice-2026-03.pdf' });
3558
3563
  */
3559
3564
  search(vault: UnsealedVault, options?: SearchIngotsOptions): Promise<IngotPage>;
3560
3565
  /**
package/dist/index.mjs CHANGED
@@ -17231,7 +17231,7 @@ class IngotsModule {
17231
17231
  * Search ingots in an unsealed vault.
17232
17232
  *
17233
17233
  * @example
17234
- * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice' });
17234
+ * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice-2026-03.pdf' });
17235
17235
  */
17236
17236
  async search(vault, options = {}) {
17237
17237
  const vaultId = requireVaultId(vault);
@@ -18314,7 +18314,7 @@ class SparkVault {
18314
18314
  }
18315
18315
  /** Get the SDK version */
18316
18316
  static get version() {
18317
- return '13.0.1';
18317
+ return '13.0.2';
18318
18318
  }
18319
18319
  }
18320
18320
  if (typeof window !== 'undefined') {
@@ -229,7 +229,7 @@ export declare class IngotsModule {
229
229
  * Search ingots in an unsealed vault.
230
230
  *
231
231
  * @example
232
- * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice' });
232
+ * const { ingots } = await sv.ingots.search(unsealed, { q: 'invoice-2026-03.pdf' });
233
233
  */
234
234
  search(vault: UnsealedVault, options?: SearchIngotsOptions): Promise<IngotPage>;
235
235
  /**
@@ -276,7 +276,12 @@ export interface FolderContents {
276
276
  }
277
277
  /** Options for search. */
278
278
  export interface SearchIngotsOptions {
279
- /** The beginning of the ingot's name, in any case: a prefix, never a substring or a fuzzy match. */
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).
284
+ */
280
285
  q?: string;
281
286
  /**
282
287
  * The MIME type to match, in lowercase: a family (`image`, `video`,