Socket
Socket
Sign inDemoInstall

guardee

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guardee - npm Package Compare versions

Comparing version 0.0.21 to 0.0.23

15

controller/api.js

@@ -44,17 +44,4 @@ 'use strict'

case 'POST':
// if(typeof window === 'undefined') {
// body = JSON.stringify(data);
// headers = {'Content-Type': 'application/json;charset=utf-8'};
// } else {
// const form = new FormData();
// keys.forEach(key => { form.append(key, data[key]) });
// body = form;
// headers = {};
// }
body = JSON.stringify(data);
if(typeof window === 'undefined') {
body = JSON.stringify(data);
headers = {'Content-Type': 'application/json;charset=utf-8'};
} else {
headers = {};
}
break;

@@ -61,0 +48,0 @@ default: throw 'Invalid method.';

2

package.json
{
"name": "guardee",
"version": "0.0.21",
"version": "0.0.23",
"description": "Guardee Wallet 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