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

chatgpt-api-free

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatgpt-api-free - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

index.js

@@ -57,4 +57,8 @@ import fetch from 'node-fetch'

if (jsonRes.error) {
throw new Error(`\nAPI Error:\n\nMessage: ${jsonRes.error.message}\nType: ${jsonRes.error.type}\nParam: ${jsonRes.error.param}\nCode: ${jsonRes.error.code}\n\n\n`)
}
return { choices, usage }
}
}

2

package.json
{
"name": "chatgpt-api-free",
"version": "1.0.2",
"version": "1.0.3",
"description": "JS Library for https://github.com/PawanOsman/ChatGPT \n\n Note: this is not compattible with the image generation api, it is only compattible with the text completion and chat completion api",

@@ -5,0 +5,0 @@ "main": "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