2.3.3 • Published 3 years ago

kaena-ts v2.3.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Coverage Status

Testing

  • npm run build - check that kaena-ts as a whole compiles.
  • npm run test - run unit tests

Usage

npm install save git+ssh://git@bitbucket.org/kaena1/kaena-ts.git

See example here

2.0 Breaking Changes

  1. serviceMiddleware is no longer exported, and all functionality has been moved to the base kaena middleware

  2. res.status and res.send have been removed from the res object and replaced with res.success(data) and res.error(status, errorMessage)

  3. Calling other service through kaena-ts dispatch system now require you to have the following in your local .env

  • AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY=YOUR_SECRET_KEY
  • AWS_REGION=us-west-2
  • Your access id and secret key have to be generated by devops, ask in #dev_ops if you have not received your credentials