:wave: - I am performing an upgrade from hydra 1.x...
# talk-hydra
h
đź‘‹ - I am performing an upgrade from hydra 1.x to 2.x. I am also using the typescript hydra sdk. Does the hydra typescript SDK have to be version 2.x as well (i.e.
@ory/hydra-client@v2.0.2
) to work with hydra 2.x?
m
Hello Devin, please do use the ory-client SDK https://www.npmjs.com/package/@ory/client hydra-client should still work but will not be maintained going forward.
h
Thanks Vincent, can you confirm what repo this maps to on github? It’s a little unclear how this is generated
m
sure @handsome-jordan-6141, all SDKs are generated from here ory/sdk, you are looking at client: https://github.com/ory/sdk/tree/master/clients/client
Actually I was wrong before @handsome-jordan-6141 hydra-client and “ory-client” are interchangeable, but for self-hosted it is recommended to use the hydra-client, since ory-client has a more frequent update schedule and it might break some things if you are not on the exact same version of Ory Hydra as we use in Ory Network. Let me know if that makes it clear for you
h
Thanks, thats super helpful!