@rygent/spotify
Advanced tools
Comparing version 1.1.2-next.fe508dd.0 to 1.2.0-next.115383d.0
@@ -34,3 +34,3 @@ "use strict"; | ||
var import_undici = require("undici"); | ||
var Spotify = class { | ||
var _Spotify = class _Spotify { | ||
constructor(configuration) { | ||
@@ -91,3 +91,4 @@ __publicField(this, "endpoint", "https://api.spotify.com/v1/"); | ||
}; | ||
__name(Spotify, "Spotify"); | ||
__name(_Spotify, "Spotify"); | ||
var Spotify = _Spotify; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -94,0 +95,0 @@ 0 && (module.exports = { |
{ | ||
"name": "@rygent/spotify", | ||
"version": "1.1.2-next.fe508dd.0", | ||
"version": "1.2.0-next.115383d.0", | ||
"description": "A simple to use API library for the Spotify REST API.", | ||
@@ -22,10 +22,10 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@favware/cliff-jumper": "^2.0.1", | ||
"@vitest/coverage-c8": "^0.31.4", | ||
"tsup": "^6.7.0", | ||
"typescript": "^4.9.5", | ||
"vitest": "^0.31.4" | ||
"@favware/cliff-jumper": "^2.2.0", | ||
"@vitest/coverage-v8": "^0.34.6", | ||
"tsup": "^7.2.0", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.6" | ||
}, | ||
"dependencies": { | ||
"undici": "^5.22.1" | ||
"undici": "^5.27.0" | ||
}, | ||
@@ -47,3 +47,3 @@ "homepage": "https://github.com/Rygent/Utilities/tree/main/packages/spotify", | ||
"engines": { | ||
"node": ">=16.8.0" | ||
"node": ">=18.12.0" | ||
}, | ||
@@ -53,3 +53,3 @@ "publishConfig": { | ||
}, | ||
"packageManager": "yarn@3.5.1" | ||
"packageManager": "yarn@4.0.1" | ||
} |
@@ -7,5 +7,6 @@ # Spotify API | ||
#### What's Different? | ||
* Uses ``undici`` instead. | ||
* The code base has been completely rewritten to typescript. | ||
- Uses `undici` instead. | ||
- The code base has been completely rewritten to typescript. | ||
## Installation | ||
@@ -32,4 +33,4 @@ | ||
const spotify = new Spotify({ | ||
id: 'your client id', | ||
secret: 'your client secret' | ||
id: 'your client id', | ||
secret: 'your client secret' | ||
}); | ||
@@ -42,2 +43,3 @@ | ||
``` | ||
> **Note** | ||
@@ -44,0 +46,0 @@ > The `offset` property is optional and the search will default to `0` if one is not supplied. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55779
9
774
47
Updatedundici@^5.27.0