Socket
Socket
Sign inDemoInstall

@opengovsg/myinfo-gov-client

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opengovsg/myinfo-gov-client - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "@opengovsg/myinfo-gov-client",
"version": "1.0.3",
"version": "1.0.4",
"description": "A lightweight client to easily call the MyInfo TUO endpoint for the Singapore government. Compatible with NodeJS version >=6.",

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

@@ -459,3 +459,5 @@ 'use strict'

request(requestDetails, (error, response, body) => {
if (error || response.statusCode !== 200) {
if (error) {
reject(error)
} else if (response && response.statusCode !== 200) {
const message = error && error.message

@@ -462,0 +464,0 @@ ? error.message : response.statusMessage

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