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

botrest

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botrest - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

8

index.js

@@ -49,3 +49,3 @@ const axios = require("axios").default;

var qr = qs.stringify(query);
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`)
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`)
api.get(uri, apiCookie).then(rest => {

@@ -72,3 +72,3 @@ return resolve(rest.data)

var qr = qs.stringify(query);
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`)
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`)
api.get(uri, conf).then(rest => {

@@ -88,3 +88,3 @@ return resolve(rest.data)

//var bd = body;
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`)
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`)
api.post(uri, body, apiCookie).then(rest => {

@@ -112,3 +112,3 @@ return resolve(rest.data)

//var bd = body;
var uri = (qr == null ? `${endpoint}` : `${endpoint}?${qr}`)
var uri = (query == null ? `${endpoint}` : `${endpoint}?${qr}`)
api.post(uri, body, conf).then(rest => {

@@ -115,0 +115,0 @@ return resolve(rest.data)

{
"name": "botrest",
"version": "1.0.3",
"version": "1.0.4",
"description": "rest api for development bots",

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