Update comments and add min server version

This commit is contained in:
Bill Thornton 2021-09-16 15:30:01 -04:00
parent c45c984f4d
commit c0c5b188d7
2 changed files with 14 additions and 0 deletions

View File

@ -10,8 +10,14 @@ import { ClientInfo, DeviceInfo } from './models';
import { getAuthorizationHeader } from '.';
/**
* The authorization header field name.
*/
export const AUTHORIZATION_HEADER = 'X-Emby-Authorization';
/**
* Class representing the Jellyfin API.
*/
export class Api {
clientInfo;
deviceInfo;

View File

@ -9,6 +9,14 @@ import { Api } from './api';
import { Configuration } from './generated-client';
import { ClientInfo, DeviceInfo } from './models';
/**
* The minimum supported server version.
*/
export const MINIMUM_VERSION = '10.7.0';
/**
* Class representing the Jellyfin SDK.
*/
export class Jellyfin {
clientInfo;
deviceInfo;