typehydra was an unofficial client written before Ory Hydra had an official TypeScript client. They now have an excellent TypeScript client that's autogenerated from their OpenAPI specification. I highly recommend using that instead of this.
typehydra is an unofficial client for ORY Hydra's administrative endpoints. It is not an OAuth2 client, but is instead used to manage ORY Hydra's administrative functions, like consent and login requests. typehydra aims to be an easier to use alternative to the autogenerated JS SDK.
# Using Yarn
yarn add typehydra
# Using NPM
npm i typehydra
Note: Typings are included with this package, no need to install
@types/typehydra
!
typehydra follows semantic versioning. With each update to support a new oryOS version, if breaking changes are required, will constitute a major version bump. If there are breaking changes to typehydra itself, regardless of oryOS version, a major version bump will also occur.
Please refer to the table below for recommended typehydra versions for your oryOS version:
oryOS version |
typehydra min version |
typehydra max version |
---|---|---|
oryOS.10 | 1.0.0-alpha.1 | latest |
>oryOS.10 | Not supported | Not supported |
Note: typehydra may be somewhat or completely compatible with other versions of oryOS, but its is highly recommended to use the matching versions to avoid unexpected issues.