sonovault 4.2.0 → 4.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
@@ -50,7 +50,7 @@ var SonoVaultError = class extends Error {
50
50
  };
51
51
 
52
52
  // src/version.ts
53
- var VERSION = "4.2.0";
53
+ var VERSION = "4.2.1";
54
54
 
55
55
  // src/client.ts
56
56
  var SonoVault = class {
package/dist/index.d.cts CHANGED
@@ -233,7 +233,11 @@ interface IswcLookupResponse {
233
233
  type ResolveInputType = "track_name" | "isrc" | "sonovault_id" | "spotify_id" | "applemusic_id" | "tidal_id" | "beatport_id" | "discogs_id" | "musicbrainz_id";
234
234
  interface ResolveRequest {
235
235
  input_type: ResolveInputType;
236
- /** 1–100 entries. `{ artist, title }` objects for `track_name`, strings otherwise. */
236
+ /**
237
+ * 1–100 entries. `{ artist, title }` objects for `track_name`, strings otherwise.
238
+ * For `discogs_id` each string is a Discogs track key (release ID plus track
239
+ * position, e.g. `2844-A`), not a bare release ID.
240
+ */
237
241
  items: (string | {
238
242
  artist: string;
239
243
  title: string;
@@ -391,6 +395,7 @@ declare class SonoVault {
391
395
  isrc?: string;
392
396
  spotify_id?: string;
393
397
  beatport_id?: string;
398
+ /** Discogs track key: release ID plus track position, e.g. `2844-A`. A bare release ID matches nothing. */
394
399
  discogs_id?: string;
395
400
  musicbrainz_id?: string;
396
401
  applemusic_id?: string;
package/dist/index.d.ts CHANGED
@@ -233,7 +233,11 @@ interface IswcLookupResponse {
233
233
  type ResolveInputType = "track_name" | "isrc" | "sonovault_id" | "spotify_id" | "applemusic_id" | "tidal_id" | "beatport_id" | "discogs_id" | "musicbrainz_id";
234
234
  interface ResolveRequest {
235
235
  input_type: ResolveInputType;
236
- /** 1–100 entries. `{ artist, title }` objects for `track_name`, strings otherwise. */
236
+ /**
237
+ * 1–100 entries. `{ artist, title }` objects for `track_name`, strings otherwise.
238
+ * For `discogs_id` each string is a Discogs track key (release ID plus track
239
+ * position, e.g. `2844-A`), not a bare release ID.
240
+ */
237
241
  items: (string | {
238
242
  artist: string;
239
243
  title: string;
@@ -391,6 +395,7 @@ declare class SonoVault {
391
395
  isrc?: string;
392
396
  spotify_id?: string;
393
397
  beatport_id?: string;
398
+ /** Discogs track key: release ID plus track position, e.g. `2844-A`. A bare release ID matches nothing. */
394
399
  discogs_id?: string;
395
400
  musicbrainz_id?: string;
396
401
  applemusic_id?: string;
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ var SonoVaultError = class extends Error {
21
21
  };
22
22
 
23
23
  // src/version.ts
24
- var VERSION = "4.2.0";
24
+ var VERSION = "4.2.1";
25
25
 
26
26
  // src/client.ts
27
27
  var SonoVault = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonovault",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "TypeScript/Node client for the SonoVault music metadata API \u2014 ISRC, ISWC, genre, labels, release dates, and cross-platform IDs for 93M+ tracks.",
5
5
  "keywords": [
6
6
  "music",