@opengovsg/myinfo-gov-client
Advanced tools
Comparing version 3.0.0 to 4.0.0-beta.0
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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
78745
113
1612
0
29
1