File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,6 @@ import {
1414 StorageKinds ,
1515} from " @BolajiOlajide/now-playing" ;
1616
17- const np = new NowPlaying (Providers .SPOTIFY , {
18- storageKind: StorageKinds .INMEMORY ,
19- });
20- ```
21-
22-
23- ### With Spotify
24- ``` ts
25- import {
26- NowPlaying ,
27- Providers ,
28- StorageKinds ,
29- } from " @BolajiOlajide/now-playing" ;
30-
3117const np = new NowPlaying (Providers .SPOTIFY , {
3218 storageKind: StorageKinds .INMEMORY ,
3319 useCache: false , // default is true
@@ -36,6 +22,6 @@ const np = new NowPlaying(Providers.SPOTIFY, {
3622 clientId: " foo" ,
3723 clientSecret: " bar" ,
3824 refreshToken: " baz" ,
39- }
25+ },
4026});
4127```
Original file line number Diff line number Diff line change 11{
22 "name" : " @bolajiolajide/now-playing" ,
3- "version" : " 0.0.8 " ,
3+ "version" : " 0.0.9 " ,
44 "description" : " " ,
55 "main" : " dist/now-playing.js" ,
66 "types" : " dist/now-playing.d.ts" ,
You can’t perform that action at this time.
0 commit comments