Skip to content

Commit

Permalink
chore: update ReadMe and bump package version
Browse files Browse the repository at this point in the history
  • Loading branch information
lilpolymath committed Jun 14, 2024
1 parent 99932dc commit 68ce5a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,6 @@ import {
StorageKinds,
} from "@BolajiOlajide/now-playing";

const np = new NowPlaying(Providers.SPOTIFY, {
storageKind: StorageKinds.INMEMORY,
});
```


### With Spotify
```ts
import {
NowPlaying,
Providers,
StorageKinds,
} from "@BolajiOlajide/now-playing";

const np = new NowPlaying(Providers.SPOTIFY, {
storageKind: StorageKinds.INMEMORY,
useCache: false, // default is true
Expand All @@ -36,6 +22,6 @@ const np = new NowPlaying(Providers.SPOTIFY, {
clientId: "foo",
clientSecret: "bar",
refreshToken: "baz",
}
},
});
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bolajiolajide/now-playing",
"version": "0.0.8",
"version": "0.0.9",
"description": "",
"main": "dist/now-playing.js",
"types": "dist/now-playing.d.ts",
Expand Down

0 comments on commit 68ce5a3

Please sign in to comment.