@chronicle.app/youtube 0.3.0 → 0.4.0
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.
|
@@ -29,9 +29,10 @@ export default class YouTubeProxy extends ApiProxy {
|
|
|
29
29
|
mapError(error) {
|
|
30
30
|
const mapped = super.mapError(error);
|
|
31
31
|
if (mapped instanceof ApiAuthError) {
|
|
32
|
-
return new ApiAuthError('YouTube
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
return new ApiAuthError('YouTube rejected the stored credentials', {
|
|
33
|
+
hint: "Run `chronicle auth login youtube --client-id <id> --client-secret <secret>` with your app's credentials. Create them at https://console.cloud.google.com/apis/credentials.",
|
|
34
|
+
cause: mapped,
|
|
35
|
+
});
|
|
35
36
|
}
|
|
36
37
|
return mapped;
|
|
37
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chronicle.app/youtube",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"description": "Chronicle plugin for extracting data from YouTube",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@chronicle.app/etl": "0.
|
|
26
|
-
"@chronicle.app/schema": "0.
|
|
27
|
-
"@chronicle.app/tsconfig": "0.
|
|
25
|
+
"@chronicle.app/etl": "0.4.0",
|
|
26
|
+
"@chronicle.app/schema": "0.4.0",
|
|
27
|
+
"@chronicle.app/tsconfig": "0.4.0",
|
|
28
28
|
"@types/node": "^22.10.1",
|
|
29
29
|
"typescript": "^5.7.2"
|
|
30
30
|
},
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"registry": "https://registry.npmjs.org/"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@chronicle.app/auth": "0.
|
|
42
|
+
"@chronicle.app/auth": "0.4.0",
|
|
43
43
|
"axios": "^1.7.9",
|
|
44
44
|
"csv-parse": "^5.6.0",
|
|
45
45
|
"zod": "^3.24.1"
|