This message was deleted.
# general
m
This message was deleted.
m
Hm I have not heard about that particular issue before, but it has been a while since using Next. Have you tried our blogpost tutorial? https://www.ory.sh/login-spa-react-nextjs-authentication-example-api-open-source/
d
Hmm, I'm doing digging and I think I should have confirmed this is actually an issue before posting it here. No actual data to support this yet, so maybe just take this as a heads up for this feature coming down the pipeline 🙂
Sorry!
As an update, I've found that the version of
axios
used by both
@ory/client
and
@ory/kratos-client
is
0.21.4
, which is over a year old, the latest is
1.3.3
. Any chance this can be updated?
Found this as the version included doesn't support
AbortController
, only the now withdrawn Cancelable promises proposal.
Man, looking at these dependencies, it seems like all the packages could do with an upgrade. Typescript
3.6.4
is over 3 years old at this point. Typescript v5 is in beta now, that'll be two major versions 😕
It looks like to upgrade the version of
axios
used, we should also update the version of
typescript
anyway. Upgrading both to the latest public versions seems to build just fine, but I haven't tested it (nor know how). If someone could guide me through the process I'd be happy to implement these changes into
ory/sdk
.
s
d
Looks like there is a PR in, that is aiming for release in OpenApiGenerator v7.00, which is due 31st March this year.
Meanwhile, I've taken the spec from
ory/sdk
and used it to generate a private version of the kratos-client, with the
typescript-fetch
generator. 👍 (Just until this problem is solved)
s
Yes feel free to do that
118 Views