wyzie-lib 2.5.1 → 2.5.2
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/lib/main.d.ts +2 -2
- package/package.json +76 -77
package/lib/main.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
export declare type ConfigurationOptions = {
|
|
5
5
|
/** The API's hostname (default: sub.wyzie.io) */
|
|
6
6
|
baseUrl?: string;
|
|
7
|
-
/** Your Wyzie Subs API key. Get one at https://
|
|
7
|
+
/** Your Wyzie Subs API key. Get one at https://store.wyzie.io/redeem */
|
|
8
8
|
key?: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
@@ -143,7 +143,7 @@ export declare type SearchSubtitlesParams = (
|
|
|
143
143
|
origin?: string | string[];
|
|
144
144
|
/** Bypass cache and fetch fresh results from sources. */
|
|
145
145
|
refresh?: boolean;
|
|
146
|
-
/** Your Wyzie Subs API key (required). Get one at https://
|
|
146
|
+
/** Your Wyzie Subs API key (required). Get one at https://store.wyzie.io/redeem */
|
|
147
147
|
key?: string;
|
|
148
148
|
/** Additional parameters that can be used for filtering or other purposes. */
|
|
149
149
|
[key: string]: any;
|
package/package.json
CHANGED
|
@@ -1,77 +1,76 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "wyzie-lib",
|
|
3
|
-
"version": "2.5.
|
|
4
|
-
"icon": "https://i.postimg.cc/L5ppKYC5/cclogo.png",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"wyzie-subs",
|
|
8
|
-
"wyzie subs",
|
|
9
|
-
"wyzie api",
|
|
10
|
-
"subtitle",
|
|
11
|
-
"search",
|
|
12
|
-
"library",
|
|
13
|
-
"typescript",
|
|
14
|
-
"vite",
|
|
15
|
-
"fast",
|
|
16
|
-
"scraper",
|
|
17
|
-
"subtitle scraper",
|
|
18
|
-
"open subtitles"
|
|
19
|
-
],
|
|
20
|
-
"type": "module",
|
|
21
|
-
"main": "./lib/main.js",
|
|
22
|
-
"types": "./lib/main.d.ts",
|
|
23
|
-
"files": [
|
|
24
|
-
"./lib"
|
|
25
|
-
],
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"import": {
|
|
29
|
-
"types": "./lib/main.d.ts",
|
|
30
|
-
"default": "./lib/main.js"
|
|
31
|
-
},
|
|
32
|
-
"require": {
|
|
33
|
-
"types": "./lib/main.d.ts",
|
|
34
|
-
"default": "./lib/main.cjs"
|
|
35
|
-
},
|
|
36
|
-
"umd": {
|
|
37
|
-
"types": "./lib/main.d.ts",
|
|
38
|
-
"default": "./lib/main.umd.cjs"
|
|
39
|
-
},
|
|
40
|
-
"es": {
|
|
41
|
-
"types": "./lib/main.d.ts",
|
|
42
|
-
"default": "./lib/main.js"
|
|
43
|
-
},
|
|
44
|
-
"cjs": {
|
|
45
|
-
"types": "./lib/main.d.ts",
|
|
46
|
-
"default": "./lib/main.cjs"
|
|
47
|
-
},
|
|
48
|
-
"iife": {
|
|
49
|
-
"types": "./lib/main.d.ts",
|
|
50
|
-
"default": "./lib/main.iife.js"
|
|
51
|
-
},
|
|
52
|
-
"amd": {
|
|
53
|
-
"types": "./lib/main.d.ts",
|
|
54
|
-
"default": "./lib/main.amd.js"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"repository": {
|
|
59
|
-
"type": "git",
|
|
60
|
-
"url": "git+https://github.com/wyziedevs/wyzie-lib.git"
|
|
61
|
-
},
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "wyzie-lib",
|
|
3
|
+
"version": "2.5.2",
|
|
4
|
+
"icon": "https://i.postimg.cc/L5ppKYC5/cclogo.png",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"wyzie-subs",
|
|
8
|
+
"wyzie subs",
|
|
9
|
+
"wyzie api",
|
|
10
|
+
"subtitle",
|
|
11
|
+
"search",
|
|
12
|
+
"library",
|
|
13
|
+
"typescript",
|
|
14
|
+
"vite",
|
|
15
|
+
"fast",
|
|
16
|
+
"scraper",
|
|
17
|
+
"subtitle scraper",
|
|
18
|
+
"open subtitles"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"main": "./lib/main.js",
|
|
22
|
+
"types": "./lib/main.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"./lib"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": {
|
|
29
|
+
"types": "./lib/main.d.ts",
|
|
30
|
+
"default": "./lib/main.js"
|
|
31
|
+
},
|
|
32
|
+
"require": {
|
|
33
|
+
"types": "./lib/main.d.ts",
|
|
34
|
+
"default": "./lib/main.cjs"
|
|
35
|
+
},
|
|
36
|
+
"umd": {
|
|
37
|
+
"types": "./lib/main.d.ts",
|
|
38
|
+
"default": "./lib/main.umd.cjs"
|
|
39
|
+
},
|
|
40
|
+
"es": {
|
|
41
|
+
"types": "./lib/main.d.ts",
|
|
42
|
+
"default": "./lib/main.js"
|
|
43
|
+
},
|
|
44
|
+
"cjs": {
|
|
45
|
+
"types": "./lib/main.d.ts",
|
|
46
|
+
"default": "./lib/main.cjs"
|
|
47
|
+
},
|
|
48
|
+
"iife": {
|
|
49
|
+
"types": "./lib/main.d.ts",
|
|
50
|
+
"default": "./lib/main.iife.js"
|
|
51
|
+
},
|
|
52
|
+
"amd": {
|
|
53
|
+
"types": "./lib/main.d.ts",
|
|
54
|
+
"default": "./lib/main.amd.js"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "git+https://github.com/wyziedevs/wyzie-lib.git"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"prettier": "^3.7.4",
|
|
64
|
+
"typescript": "^5.9.3",
|
|
65
|
+
"vite": "^4.5.14",
|
|
66
|
+
"vite-plugin-dts": "^4.5.4",
|
|
67
|
+
"vitest": "^2.1.9"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"dev": "vite",
|
|
71
|
+
"build": "vite build && tsc",
|
|
72
|
+
"test": "npx vitest",
|
|
73
|
+
"format": "prettier --log-level warn --write \"{src/**/*.{ts},*.{ts,js,html,css,json,md,xml}}\"",
|
|
74
|
+
"preview": "vite preview"
|
|
75
|
+
}
|
|
76
|
+
}
|