michos_api
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -149,7 +149,5 @@ "use strict"; | ||
method: method2, | ||
headers: this.headers, | ||
hostname: hostname.hostname, | ||
path: hostname.pathname + hostname.search | ||
headers: this.headers | ||
}; | ||
const client = (0, import_https.request)(options, (res) => { | ||
const client = (0, import_https.request)(hostname, options, (res) => { | ||
if (res.statusCode === 429) { | ||
@@ -156,0 +154,0 @@ return resolve({ |
{ | ||
"name": "michos_api", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Michos API is an unofficial API Wrapper library developed to facilitate communication with the official HoYoLab API.", | ||
@@ -74,3 +74,3 @@ "exports": { | ||
"files": [ | ||
"tests/hoyolab/*.test.ts" | ||
"tests/**/*.test.ts" | ||
], | ||
@@ -77,0 +77,0 @@ "timeout": "5m", |
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
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
351270
10445