wyzie-lib 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,6 +18,14 @@ pnpm install wyzie-lib
18
18
 
19
19
  ## Usage
20
20
  ```ts
21
+ import wyzieLib from 'wyzie-lib';
22
+
23
+ const { searchSubtitles } = wyzieLib;
24
+ const data = await searchSubtitles({ tmdb_id: 286217, language: "en" });
25
+ console.log(data[0].id);
26
+ ```
27
+ or
28
+ ```ts
21
29
  import { type SubtitleData, searchSubtitles } from 'wyzie-lib';
22
30
 
23
31
  const data: SubtitleData[] = await searchSubtitles({ tmdb_id: 286217, language: "en" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wyzie-lib",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "dist/wyzie-lib.umd.js",
5
5
  "module": "dist/wyzie-lib.es.js",
6
6
  "types": "dist/index.d.ts",