- #164
- handle rate limiting and general API errors
- #159
- fix failed event status name
- #160 #161 #162 #163 #165
- Bump dependencies
- #157
- exposed more data types publicly
-
- added more typings, consts and added List API
-
- dependencies bumps, removed express.js dependency
BREAKING CHANGES:
- #135
- removed auto context building from the command payload generation. Follow https://docs.castle.io/ for passing the context to the commands. This version does not build context when castle commands are called.
ContextPrepareService
should be used explicitly.
- removed auto context building from the command payload generation. Follow https://docs.castle.io/ for passing the context to the commands. This version does not build context when castle commands are called.
Enhancements
-
allowed to import errors classes and constants
-
- fixes inconsistencies regarding failover responses between the commands
- removed unused code
BugFix:
- #132
- fixed how options in the context prepare are merged
- changed/fixed how payload prepare options are merge
Enhancements
Enhancements
- #131
- failover response enhancement, removed X-Castle header from allowlist
Enhancements
- #127
- Introduce a new exception
InvalidRequestTokenError
for facilitating handling of all request token related errors
- Introduce a new exception
BugFix:
- #120
- removes body in request for GET requests
BugFix:
- #119
- fixed path resolving
Enhancements:
- #117
- typings improvements
BREAKING CHANGES:
-
remove
identify
andreview
commands - they are no longer supported -
renamed setUseWhitelist with setUseAllowlist
-
added better support for configuration, replaced apiUrl with baseUrl option
-
replace logLevel with logger in the config
-
dropped EVENTS const with list of events
- #97 Enhancements:
-
restructuring the codebase
-
added failover and timeout support
-
added ability to set ip headers and proxies
-
added request context builder
-
added request context builder
-
added device endpoints
-
added risk, filter, log endpoints * #112
Enhancements:
- #87 added risk policy information to the authenticate response
BREAKING CHANGES:
- #42
- remove
identify
andreview
commands - they are no longer supported - renamed setUseWhitelist with setUseAllowlist
- remove
Enhancements:
- Re-publish to fix broken build