@vermaysha/hoyolab-api
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -44,4 +44,4 @@ import { HoyoError } from '../HoyoError'; | ||
}); | ||
if (cookie.ltoken === '' || cookie.ltoken === '') { | ||
throw new HoyoError('The given cookieString paramter is not Hoyolab Cookie !'); | ||
if (cookie.ltoken === '' || cookie.ltuid === '') { | ||
throw new HoyoError('The given cookieString parameter is not Hoyolab Cookie !'); | ||
} | ||
@@ -48,0 +48,0 @@ if (cookie.ltuid !== '' && !cookie.accountId) { |
{ | ||
"name": "@vermaysha/hoyolab-api", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Its unofficial HoYoLab API Wrapper for getting hoyoverse some in-game data, including Genshin Impact, Honkai Impact 3rd.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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