@jellyfin/sdk 0.0.0-unstable.202510281431 → 0.0.0-unstable.202510281540

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/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.13.0] - 2025-10-28
11
+
10
12
  ### Changed
11
13
 
12
14
  * Ensure `Authorization` header is sent for all requests ([#948](https://github.com/jellyfin/jellyfin-sdk-typescript/pull/948)).
@@ -118,7 +120,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
118
120
 
119
121
  ## [0.1.0] - 2021-09-19
120
122
 
121
- [unreleased]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.12.0...HEAD
123
+ [unreleased]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.13.0...HEAD
124
+ [0.13.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.12.0...v0.13.0
122
125
  [0.12.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.11.0...v0.12.0
123
126
  [0.11.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.10.0...v0.11.0
124
127
  [0.10.0]: https://github.com/jellyfin/jellyfin-sdk-typescript/compare/v0.9.0...v0.10.0
package/README.md CHANGED
@@ -35,6 +35,7 @@ yarn add @jellyfin/sdk
35
35
 
36
36
  | SDK Version | Jellyfin Version |
37
37
  |:-:|:-:|
38
+ | 0.13.0 | 10.11.x |
38
39
  | 0.12.0 | 10.11.x |
39
40
  | 0.11.0 | 10.10.x |
40
41
  | 0.10.0 | 10.9.x |
@@ -92,10 +93,8 @@ console.log('Info =>', info.data);
92
93
  const users = await getUserApi(api).getPublicUsers();
93
94
  console.log('Users =>', users.data);
94
95
 
95
- // A helper method for authentication has been added to the SDK because
96
- // the default method exposed in the generated Axios client is rather
97
- // cumbersome to use.
98
- const auth = await api.authenticateUserByName('demo', '');
96
+ // Login with a username and password.
97
+ const auth = await getUserApi(this).authenticateUserByName({ authenticateUserByName: { Username: 'demo', Pw: '' } });
99
98
  console.log('Auth =>', auth.data);
100
99
 
101
100
  // Authentication state is stored internally in the Api class, so now
@@ -103,12 +102,11 @@ console.log('Auth =>', auth.data);
103
102
  const libraries = await getLibraryApi(api).getMediaFolders();
104
103
  console.log('Libraries =>', libraries.data);
105
104
 
106
- // A helper method for logging out the current user has been added to the
107
- // SDK so the internal state is updated correctly.
108
- await api.logout();
105
+ // Logout the current user.
106
+ await getSessionApi(api).reportSessionEnded();
109
107
  ```
110
108
 
111
- ## Breaking Changes
109
+ ## Significant Changes
112
110
 
113
111
  [See the CHANGELOG](./CHANGELOG.md)
114
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jellyfin/sdk",
3
- "version": "0.0.0-unstable.202510281431+commit.cee2d235547bdd73ae23661cce21c10aa20eaca0",
3
+ "version": "0.0.0-unstable.202510281540+commit.c32eac527c345a6f2db38c23d99cf8f1ff311e33",
4
4
  "description": "A TypeScript SDK for Jellyfin.",
5
5
  "keywords": [
6
6
  "jellyfin"