sonovault 4.6.0 → 4.7.0

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![CI](https://github.com/rekordcloud/sonovault-js/actions/workflows/ci.yml/badge.svg)](https://github.com/rekordcloud/sonovault-js/actions/workflows/ci.yml)
4
4
  [![npm](https://img.shields.io/npm/v/sonovault)](https://www.npmjs.com/package/sonovault)
5
5
 
6
- TypeScript/Node client for the **[SonoVault](https://sonovault.now)** music metadata API. 93M+ tracks with ISRC, ISWC, genre, BPM, musical key, record label, canonical release dates, and cross-platform IDs for Spotify, Apple Music, Tidal, Beatport, Discogs, and MusicBrainz. One call resolves them all.
6
+ TypeScript/Node client for the **[SonoVault](https://sonovault.now)** music metadata API. 93M+ tracks with ISRC, ISWC, genre, BPM, musical key, record label, canonical release dates, and cross-platform IDs for Spotify, Apple Music, Tidal, Beatport, Discogs, MusicBrainz, YouTube, Deezer, and SoundCloud. One call resolves them all.
7
7
 
8
8
  - **One key, no OAuth.** A single `x-api-key` header, no approval queue.
9
9
  - **Free tier.** 1,000 requests/month, no credit card: [get an API key](https://sonovault.now).
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.6.0";
53
+ var VERSION = "4.7.0";
54
54
 
55
55
  // src/client.ts
56
56
  var SonoVault = class {
package/dist/index.d.cts CHANGED
@@ -260,6 +260,12 @@ interface Genre {
260
260
  }
261
261
  /** A track's ID on an external platform, with a deep link. */
262
262
  interface PlatformLink {
263
+ /**
264
+ * The platform: `"spotify"`, `"beatport"`, `"discogs"`, `"musicbrainz"`,
265
+ * `"applemusic"`, `"tidal"`, `"youtube"`, `"deezer"` or `"soundcloud"`.
266
+ * A `"soundcloud"` link's `url` is the track's soundcloud.com permalink, or
267
+ * SoundCloud's embed player URL when no permalink is known.
268
+ */
263
269
  source: string;
264
270
  external_id: string;
265
271
  url: string | null;
@@ -288,7 +294,7 @@ interface IswcLookupResponse {
288
294
  }[];
289
295
  [key: string]: unknown;
290
296
  }
291
- type ResolveInputType = "track_name" | "isrc" | "sonovault_id" | "spotify_id" | "applemusic_id" | "tidal_id" | "beatport_id" | "discogs_id" | "musicbrainz_id";
297
+ type ResolveInputType = "track_name" | "isrc" | "sonovault_id" | "spotify_id" | "applemusic_id" | "tidal_id" | "beatport_id" | "discogs_id" | "musicbrainz_id" | "deezer_id" | "soundcloud_id";
292
298
  interface ResolveRequest {
293
299
  input_type: ResolveInputType;
294
300
  /**
@@ -490,6 +496,9 @@ declare class SonoVault {
490
496
  applemusic_id?: string;
491
497
  tidal_id?: string;
492
498
  youtube_id?: string;
499
+ deezer_id?: string;
500
+ /** SoundCloud track ID, a numeric string. */
501
+ soundcloud_id?: string;
493
502
  }) => Promise<PlatformLinksResponse>;
494
503
  /** Resolve up to 100 track names, ISRCs, or platform IDs in one request. */
495
504
  resolve: (body: ResolveRequest) => Promise<ResolveResponse>;
package/dist/index.d.ts CHANGED
@@ -260,6 +260,12 @@ interface Genre {
260
260
  }
261
261
  /** A track's ID on an external platform, with a deep link. */
262
262
  interface PlatformLink {
263
+ /**
264
+ * The platform: `"spotify"`, `"beatport"`, `"discogs"`, `"musicbrainz"`,
265
+ * `"applemusic"`, `"tidal"`, `"youtube"`, `"deezer"` or `"soundcloud"`.
266
+ * A `"soundcloud"` link's `url` is the track's soundcloud.com permalink, or
267
+ * SoundCloud's embed player URL when no permalink is known.
268
+ */
263
269
  source: string;
264
270
  external_id: string;
265
271
  url: string | null;
@@ -288,7 +294,7 @@ interface IswcLookupResponse {
288
294
  }[];
289
295
  [key: string]: unknown;
290
296
  }
291
- type ResolveInputType = "track_name" | "isrc" | "sonovault_id" | "spotify_id" | "applemusic_id" | "tidal_id" | "beatport_id" | "discogs_id" | "musicbrainz_id";
297
+ type ResolveInputType = "track_name" | "isrc" | "sonovault_id" | "spotify_id" | "applemusic_id" | "tidal_id" | "beatport_id" | "discogs_id" | "musicbrainz_id" | "deezer_id" | "soundcloud_id";
292
298
  interface ResolveRequest {
293
299
  input_type: ResolveInputType;
294
300
  /**
@@ -490,6 +496,9 @@ declare class SonoVault {
490
496
  applemusic_id?: string;
491
497
  tidal_id?: string;
492
498
  youtube_id?: string;
499
+ deezer_id?: string;
500
+ /** SoundCloud track ID, a numeric string. */
501
+ soundcloud_id?: string;
493
502
  }) => Promise<PlatformLinksResponse>;
494
503
  /** Resolve up to 100 track names, ISRCs, or platform IDs in one request. */
495
504
  resolve: (body: ResolveRequest) => Promise<ResolveResponse>;
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.6.0";
24
+ var VERSION = "4.7.0";
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.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "TypeScript/Node client for the SonoVault music metadata API: ISRC, ISWC, genre, BPM, key, labels, release dates, and cross-platform IDs for 93M+ tracks.",
5
5
  "keywords": [
6
6
  "music",
@@ -14,6 +14,8 @@
14
14
  "beatport",
15
15
  "discogs",
16
16
  "musicbrainz",
17
+ "deezer",
18
+ "soundcloud",
17
19
  "audio-recognition"
18
20
  ],
19
21
  "homepage": "https://sonovault.now",