soundcloud-api-ts 1.6.4 → 1.6.5

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
@@ -9,7 +9,7 @@
9
9
  [![coverage](https://img.shields.io/badge/coverage-94%25-brightgreen.svg)]()
10
10
  [![docs](https://img.shields.io/badge/docs-TypeDoc-blue.svg)](https://twin-paws.github.io/soundcloud-api-ts/)
11
11
 
12
- A fully-typed TypeScript client for the SoundCloud API. Zero dependencies, native `fetch`, built-in OAuth 2.0 + PKCE, automatic retry, and an interactive CLI.
12
+ A fully-typed TypeScript client for the SoundCloud API. Zero dependencies, native `fetch`, built-in OAuth 2.1 + PKCE, automatic retry, and an interactive CLI.
13
13
 
14
14
  ## Why soundcloud-api-ts?
15
15
 
@@ -29,7 +29,7 @@ A fully-typed TypeScript client for the SoundCloud API. Zero dependencies, nativ
29
29
  | --- | --- | --- | --- |
30
30
  | TypeScript | ✅ Native | ✅ | ✅ |
31
31
  | Dependencies | **0** | 1 | 3 (lodash, cookie, undici) |
32
- | Auth method | **Official OAuth 2.0** | ⚠️ Scrape client ID from browser | ⚠️ Scrape client ID from browser |
32
+ | Auth method | **Official OAuth 2.1** | ⚠️ Scrape client ID from browser | ⚠️ Scrape client ID from browser |
33
33
  | PKCE support | ✅ | ❌ | ❌ |
34
34
  | Auto token refresh | ✅ on 401 | ❌ | ❌ |
35
35
  | Auto retry (429/5xx) | ✅ exponential backoff | ❌ | ❌ |
@@ -117,7 +117,7 @@ const track = await sc.tracks.getTrack(123456);
117
117
  const streams = await sc.tracks.getStreams(123456);
118
118
  ```
119
119
 
120
- ## OAuth 2.0 Flow
120
+ ## OAuth 2.1 Flow
121
121
 
122
122
  ```ts
123
123
  import { SoundCloudClient, generateCodeVerifier, generateCodeChallenge } from "soundcloud-api-ts";
@@ -1738,5 +1738,5 @@ exports.unrepostPlaylist = unrepostPlaylist;
1738
1738
  exports.unrepostTrack = unrepostTrack;
1739
1739
  exports.updatePlaylist = updatePlaylist;
1740
1740
  exports.updateTrack = updateTrack;
1741
- //# sourceMappingURL=chunk-LNMDNQSC.js.map
1742
- //# sourceMappingURL=chunk-LNMDNQSC.js.map
1741
+ //# sourceMappingURL=chunk-TDMKITMS.js.map
1742
+ //# sourceMappingURL=chunk-TDMKITMS.js.map