@redseat/api 0.1.4 → 0.1.6

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.
@@ -218,7 +218,7 @@ export interface ISerie {
218
218
  export interface IEpisode {
219
219
  id?: string;
220
220
  serie: string;
221
- name: string;
221
+ name?: string;
222
222
  season?: number;
223
223
  number?: number;
224
224
  abs?: number;
package/dist/library.js CHANGED
@@ -146,7 +146,7 @@ export class LibraryApi {
146
146
  params.limit = query.limit;
147
147
  }
148
148
  }
149
- const res = await this.client.get(this.getUrl('/episodes'), { params });
149
+ const res = await this.client.get(this.getUrl('/series/episodes'), { params });
150
150
  return res.data;
151
151
  }
152
152
  async getMovies(query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseat/api",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "TypeScript API client library for interacting with Redseat servers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",