- Got rid of
sinon
in the 'dependencies' section and left it in the 'devDependencies' only - Bumped all the dependencies to most recent versions
- Got rid of @elastic.io/component-commons-library lib as a dependency to avoid circular dependency. The only function that was used from that library has been moved to this library source code
- Handled jsonwebtoken vulnerability (actually, we are not affected)
- (breaking change)
ObjectStorage.getOne()
now returns an object with adata
andheaders
properties
- Added
x-request-id
header with information aboutflow_id
,step_id
andincoming_message_id
- Added parameter
msgId
for class constructors which will be used inx-request-id
header in each request
- Added parameter
userAgent
for class constructors which will be passed in each request
- Update component-commons-library to v.3.0.0
- New version of library with braking changes, look for updates in README
- Fix dependencies
- Update headers validation
ObjectStorage
methodgetById
now supports content-typesObjectStorageWrapper
methodlookupObjectById
now supports content-types- Added additional validation for headers
- Added deleteMany method
- Added ability to use custom axios config
- Added ability to add/modify
query
andmeta
headers when updating an object - Fixed a bug when 4XX, 5XX codes where not thrown as errors
- Fixed exports
- createObject method now supports up to 5 query headers
- Rename lookupObjectByQueryParameter method to lookupObjectsByQueryParameters
- lookupObjectsByQueryParameters method now now supports up to 5 query parameters
- lookupObjectByQueryParameter method now returns JSON array instead of its string representation
- Library interface has been refactored to comply well-known CRUD approach
- Initial version of the reworked library