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

smart-chatbot

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-chatbot - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

12

main.js

@@ -19,13 +19,7 @@ const axios = require("axios");

let getparams = {
message: json.message,
user: json.user,
language: json.language
};
let params = new URLSearchParams(getparams).toString();
axios.get(`${baseURL}/chatbot?message=${encodeURIComponent(json.message)}&${encodeURIComponent(json.user)}&${encodeURIComponent(json.language)}`, {
axios.get(`${baseURL}/chatbot?message=${encodeURIComponent(json.message)}&user=${encodeURIComponent(json.user)}&language=${encodeURIComponent(json.language)}`, {
headers: {
'Authorization': `${secret}`,
'Version': `${version}`
'Version': `${version}`,
'using': "npm"
}

@@ -32,0 +26,0 @@ }).then(x => {

{
"name": "smart-chatbot",
"version": "0.0.6",
"version": "0.0.7",
"description": "Intelligent Chat Bot Api",

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

@@ -16,3 +16,3 @@ <p align="center"><a href="https://nodei.co/npm/smart-chatbot"><img src="https://nodei.co/npm/smart-chatbot.png"></a></p>

language: "tr" // (tr, en)
}).then(answer => console.log);
}).then(answer => console.log(answer));
```

@@ -19,0 +19,0 @@

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