Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hercai

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hercai - npm Package Compare versions

Comparing version 12.0.0 to 12.0.1

10

hercai.js

@@ -17,3 +17,3 @@ "use strict";

class Hercai {
constructor(apiKey) {
constructor(apiKey="") {
if(apiKey == undefined || apiKey == null || apiKey == "" || typeof apiKey !== "string")this.apiKey = "";

@@ -43,6 +43,4 @@ this.apiKey = apiKey;

"content-type": "application/json",
"Authorization": this.apiKey
},
data:{
key:this.apiKey
},
})

@@ -73,6 +71,4 @@ return api.data;

"content-type": "application/json",
"Authorization": this.apiKey,
},
data:{
key:this.apiKey
},
})

@@ -79,0 +75,0 @@ return api.data;

{
"name": "hercai",
"version": "12.0.0",
"version": "12.0.1",
"description": "A powerful library for interacting with the Herc.ai API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,3 @@ export = Hercai;

declare class Hercai {
constructor(apiKey?:string);
constructor(apiKey?:string|"");
/**

@@ -13,0 +13,0 @@ * The Question You Want to Ask Artificial Intelligence.

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