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

zenzo-sdk-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zenzo-sdk-nodejs - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

examples/account.js

20

index.js

@@ -32,2 +32,22 @@ const req = require('requestify')

exports.account = async function () {
if (authKey === "") throw 'Authentication is required prior to making API requests'
try {
var result = await req.request(basePublicUrl + 'account', {
method: 'POST',
body: {
api_key: authKey
}
})
result = JSON.parse(result.body)
return result
} catch (err) {
if (err.body) {
throw 'ZENZO SDK Error caught: (' + err.body + ')'
} else {
throw 'ZENZO SDK Error caught: (' + err + ')'
}
}
}
exports.forgetransfer = async function (reqItem, reqReceiver) {

@@ -34,0 +54,0 @@ if (authKey === "") throw 'Authentication is required prior to making API requests'

2

package.json
{
"name": "zenzo-sdk-nodejs",
"version": "1.0.0",
"version": "1.1.0",
"description": "The ZENZO SDK for Node.js",

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