@chronicle.app/spotify 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.
|
@@ -47,10 +47,10 @@ export default class SpotifyProxy extends ApiProxy {
|
|
|
47
47
|
}
|
|
48
48
|
catch (error) {
|
|
49
49
|
if (error instanceof ApiAuthError) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
throw new ApiAuthError('Spotify rejected the stored credentials', {
|
|
51
|
+
hint: "Run `chronicle auth login spotify --client-id <id> --client-secret <secret>` with your app's credentials. Get them at https://developer.spotify.com/dashboard.",
|
|
52
|
+
cause: error,
|
|
53
|
+
});
|
|
54
54
|
}
|
|
55
55
|
throw error;
|
|
56
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chronicle.app/spotify",
|
|
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 Spotify",
|
|
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
|
"zod": "^3.24.1"
|
|
45
45
|
},
|