@mojaloop/security-bc-client-lib
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -66,4 +66,4 @@ /***** | ||
} | ||
this._logger.error(err); | ||
return false; | ||
this._logger.error(err, "Could not bootstrap privileges to Authentication Service"); | ||
throw err; | ||
}); | ||
@@ -80,4 +80,4 @@ return false; // linter pleaser | ||
}).catch((err) => { | ||
this._logger.error(err); | ||
return; | ||
this._logger.error(err, "Could not fetch role privileges association from Authentication Service"); | ||
throw err; | ||
}); | ||
@@ -84,0 +84,0 @@ } |
{ | ||
"name": "@mojaloop/security-bc-client-lib", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "mojaloop security authentication and authorization client library", | ||
@@ -24,19 +24,16 @@ "license": "Apache-2.0", | ||
"clean": "rm -Rf dist", | ||
"pretest": "yarn run build", | ||
"standard": "yarn run lint", | ||
"lint": "yarn run build && npx eslint ./src", | ||
"lint:fix": "yarn run build && npx eslint ./src --fix", | ||
"test:unit": "jest --passWithNoTests --testMatch '**/test/unit/**/*.test.ts'", | ||
"test:integration": "jest --passWithNoTests --testMatch '**/test/integration/**/*.test.ts'", | ||
"test:coverage": "jest --passWithNoTests --coverage --testMatch '**/test/unit/**/*.test.ts'", | ||
"test:coverage-check": "jest --coverage --testMatch '**/test/unit/**/*.test.ts'", | ||
"pretest": "npm run build", | ||
"standard": "npm run lint", | ||
"lint": "npm run build && npx eslint ./src", | ||
"lint:fix": "npm run build && npx eslint ./src --fix", | ||
"test:unit": "jest", | ||
"audit:resolve": "SHELL=sh resolve-audit", | ||
"audit:check": "SHELL=sh check-audit", | ||
"dep:check": "yarn run ncu -e 2", | ||
"dep:update": "yarn run ncu -u", | ||
"publish": "yarn run build && yarn version patch && yarn npm publish --tag=latest --access public" | ||
"dep:check": "npm exec ncu -e 2", | ||
"dep:update": "npm exec ncu -u", | ||
"publish": "npm run build && npm version patch && npm npm publish --tag=latest --access public" | ||
}, | ||
"dependencies": { | ||
"@mojaloop/logging-bc-public-types-lib": "^0.0.3", | ||
"@mojaloop/security-bc-public-types-lib": "0.0.5", | ||
"@mojaloop/security-bc-public-types-lib": "~0.0.5", | ||
"axios": "^0.25.0", | ||
@@ -51,6 +48,7 @@ "jsonwebtoken": "^8.5.1", | ||
"nock": "^13.2.4", | ||
"npm-check-updates": "^12.5.11", | ||
"npm-check-updates": "~16.3.3", | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.6.4" | ||
"typescript": "^4.6.4", | ||
"tslib": "^2.4.0" | ||
} | ||
} | ||
} |
@@ -17,29 +17,17 @@ # Security BC - Authentication Service | ||
```bash | ||
nvm install | ||
nvm use | ||
``` | ||
### Install | ||
See nodes in root dir of this repository | ||
### Install Yarn | ||
More information on how to install NVM: https://github.com/nvm-sh/nvm | ||
```bash | ||
npm -g yarn | ||
``` | ||
### Install Dependencies | ||
```bash | ||
yarn | ||
``` | ||
## Build | ||
```bash | ||
yarn build | ||
npm run build | ||
``` | ||
## Run | ||
## Auto build (watch) | ||
```bash | ||
yarn start | ||
npm run watch | ||
``` | ||
@@ -50,7 +38,3 @@ | ||
```bash | ||
yarn test:unit | ||
npm run test:unit | ||
``` | ||
## Known Issues | ||
- added `typescript` to [.ncurc.json](./.ncurc.json) as the `dep:update` script will install a non-supported version of typescript |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
29155
8
39
1
+ Added@mojaloop/security-bc-public-types-lib@0.0.15(transitive)
- Removed@mojaloop/security-bc-public-types-lib@0.0.5(transitive)