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

@opengovsg/myinfo-gov-client

Package Overview
Dependencies
Maintainers
5
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 3.0.0 to 4.0.0-beta.0

build/types/address.d.ts

2

build/index.d.ts
export * from './MyInfoGovClient.class';
export * from './myinfo-types';
export * from './types';
export * from './errors';

@@ -14,3 +14,3 @@ "use strict";

__exportStar(require("./MyInfoGovClient.class"), exports);
__exportStar(require("./myinfo-types"), exports);
__exportStar(require("./types"), exports);
__exportStar(require("./errors"), exports);
/// <reference types="node" />
import { IPerson, MyInfoScope } from './myinfo-types';
import { IPerson, MyInfoScope } from './types';
/**

@@ -4,0 +4,0 @@ * Mode in which to initialise the client, which determines the

@@ -238,2 +238,3 @@ "use strict";

MyInfoGovClient.prototype.extractUinFin = function (accessToken) {
// eslint-disable-next-line @typescript-eslint/ban-types
var decoded;

@@ -240,0 +241,0 @@ try {

{
"name": "@opengovsg/myinfo-gov-client",
"version": "3.0.0",
"version": "4.0.0-beta.0",
"description": "A lightweight client to easily call the MyInfo Person v3.2 endpoint for the Singapore government. Tested with NodeJS version >=12.",

@@ -14,5 +14,7 @@ "main": "build/index.js",

"test": "npm run test-unit && npm run test-e2e",
"lint": "eslint --ext .ts --ignore-pattern '*.d.ts' --ignore-path .gitignore --fix .",
"lint": "eslint . --quiet --fix",
"lint-ci": "eslint . --quiet",
"build": "tsc -p tsconfig.build.json",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"prepare": "husky install"
},

@@ -53,9 +55,14 @@ "repository": {

"eslint": "^7.11.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"express": "^4.17.1",
"husky": "^5.1.3",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"testcafe": "^1.10.1",

@@ -62,0 +69,0 @@ "ts-jest": "^26.5.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