Skip to content

Commit

Permalink
Merge pull request #66 from falsepopsky/changeset-release/main
Browse files Browse the repository at this point in the history
chore(release): new @untidy/thetvdb version
  • Loading branch information
falsepopsky committed May 1, 2024
2 parents a49f2e4 + 9d4434e commit feae31d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 23 deletions.
5 changes: 0 additions & 5 deletions .changeset/grumpy-snakes-tie.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-avocados-film.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/three-laws-march.md

This file was deleted.

24 changes: 18 additions & 6 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @untidy/thetvdb

## 1.1.0

### Minor Changes

- 6bc6234: feat: support new node version 22.x

### Patch Changes

- 76f6130: replace homepage url
- d087895: fix: update links from readme to new site.
fix: remove links in jsdocs.

## 1.0.0

### Major Changes
Expand All @@ -14,19 +26,19 @@
movie's extended record, they would write something like this:

```js
import { TheTVDB } from '@untidy/thetvdb';
import { TheTVDB } from "@untidy/thetvdb";

const client = new TheTVDB('access token');
await client.getMovie({ id: '3646', extended: true });
const client = new TheTVDB("access token");
await client.getMovie({ id: "3646", extended: true });
```

Now, with the new rewrite, there's no need to specify the `extended` argument or even the `id`.
```js
import { TheTVDB } from '@untidy/thetvdb';
import { TheTVDB } from "@untidy/thetvdb";
const client = new TheTVDB('access token');
await client.movieByIdExtended('12586');
const client = new TheTVDB("access token");
await client.movieByIdExtended("12586");
```
These changes streamline the code and provide a more intuitive and concise syntax for accessing
Expand Down
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@untidy/thetvdb",
"description": "Client library for TheTVDB API in Node.js",
"version": "1.0.0",
"version": "1.1.0",
"type": "module",
"exports": {
".": {
Expand Down

0 comments on commit feae31d

Please sign in to comment.