File tree Expand file tree Collapse file tree 4 files changed +16
-14
lines changed
Expand file tree Collapse file tree 4 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " lastfm-ts-api" ,
3- "version" : " 2.1 .0" ,
3+ "version" : " 2.2 .0" ,
44 "description" : " An API client for the Last.FM API written in TypeScript" ,
55 "keywords" : [
66 " Last.FM" ,
3030 },
3131 "dependencies" : {},
3232 "devDependencies" : {
33- "@types/node" : " 22.15.30 " ,
33+ "@types/node" : " 24.0.3 " ,
3434 "dotenv" : " 16.5.0" ,
3535 "tslib" : " 2.8.1" ,
3636 "typescript" : " 5.8.3"
Original file line number Diff line number Diff line change @@ -1054,7 +1054,7 @@ export type LastFMUpdateNowPlayingResponse = Readonly<{
10541054
10551055export type LastFMUserParams = LastFMRequestParams < LastFMParam | number | void | boolean > &
10561056 Readonly < {
1057- user : string ;
1057+ user ? : string ;
10581058 } > ;
10591059
10601060export type LastFMUserOptionalParams = Readonly < {
@@ -1245,7 +1245,7 @@ export type LastFMUserGetRecentTracksResponse = Readonly<{
12451245 '#text' : string ;
12461246 } ;
12471247 '@attr' ?: {
1248- nowplaying : " true"
1248+ nowplaying : ' true' ;
12491249 } ;
12501250 } > ;
12511251 '@attr' : {
Original file line number Diff line number Diff line change @@ -44,8 +44,10 @@ export class LastFMUser extends LastFM {
4444 . set ( params )
4545 . set ( {
4646 api_key : this . apiKey ,
47- method : 'user.getInfo'
47+ method : 'user.getInfo' ,
48+ sk : this . sessionKey
4849 } )
50+ . sign ( this . secret )
4951 . send ( callback ) ;
5052 }
5153
Original file line number Diff line number Diff line change 22# yarn lockfile v1
33
44
5- " @types/node@22.15.30 " :
6- version "22.15.30 "
7- resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.30 .tgz#3a20431783e28dd0b0326f84ab386a2ec81d921d "
8- integrity sha512-6Q7lr06bEHdlfplU6YRbgG1SFBdlsfNC4/lX+SkhiTs0cpJkOElmWls8PxDFv4yY/xKb8Y6SO0OmSX4wgqTZbA ==
5+ " @types/node@24.0.3 " :
6+ version "24.0.3 "
7+ resolved "https://registry.yarnpkg.com/@types/node/-/node-24.0.3 .tgz#f935910f3eece3a3a2f8be86b96ba833dc286cab "
8+ integrity sha512-R4I/kzCYAdRLzfiCabn9hxWfbuHS573x+r0dJMkkzThEa7pbrcDWK+9zu3e7aBOouf+rQAciqPFMnxwr0aWgKg ==
99 dependencies :
10- undici-types "~6.21 .0"
10+ undici-types "~7.8 .0"
1111
12121313 version "16.5.0"
2424 resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e"
2525 integrity sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==
2626
27- undici-types@~6.21 .0 :
28- version "6.21 .0"
29- resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21 .0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb "
30- integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ ==
27+ undici-types@~7.8 .0 :
28+ version "7.8 .0"
29+ resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.8 .0.tgz#de00b85b710c54122e44fbfd911f8d70174cd294 "
30+ integrity sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw ==
You can’t perform that action at this time.
0 commit comments