Socket
Socket
Sign inDemoInstall

@vermaysha/hoyolab-api

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vermaysha/hoyolab-api - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

4

dist/Utils/Cookie.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc