Releases: interledger/open-payments
Releases · interledger/open-payments
@interledger/[email protected]
Patch Changes
- Updated dependencies [dd7fb76]
- @interledger/[email protected]
@interledger/[email protected]
Major Changes
-
6dde8b2: Changes to the
createValidatorMiddleware
behaviour:- The middleware now throws a
OpenAPIValidatorMiddlewareError
instead of directly using Koa'sctx.throw
function. This error class hasmessage
andstatus
properties that describe the exact validation error as well as the status code that should be thrown. - The middleware now takes in an optional
validationOptions
argument that determines whether to validate just the request, the response or both. By default, both are validated, and the middleware no longer usesprocess.env.NODE_ENV
to determine whether to validate the response or not.
- The middleware now throws a
@interledger/[email protected]
Patch Changes
- Updated dependencies [6dde8b2]
- @interledger/[email protected]
@interledger/[email protected]
Minor Changes
- 1797345: Add and export functions that allow fetching the OpenAPI objects for the Open Payments specs
@interledger/[email protected]
Patch Changes
- b3a5d3b: Makes body and interact_ref optional on continuation route
@interledger/[email protected]
Patch Changes
- c42451c: updating types
@interledger/[email protected]
Minor Changes
- fe18cd0: Widened receiver regex to accept http and any id format. Removed previously deprecated 'connections' path.
@interledger/[email protected]
Minor Changes
- 8d4ccc3: (EXPERIMENTAL) Allow a custom request interceptor for the authenticated client instead of providing the private key and key ID. The request interceptor should be responsible for HTTP signature generation and it will replace the built-in interceptor.
Patch Changes
- Updated dependencies [2658685]
- @interledger/[email protected]
@interledger/[email protected]
Patch Changes
- 2658685: Upgrade the
http-message-signatures
package to the most recent version.
@interledger/[email protected]
Patch Changes
- 32737bd: Updating README and comments to have updated links to new site
- Updated dependencies [32737bd]
- @interledger/[email protected]