supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
278 stars 72 forks source link

fixes FDI header parsing logic #827

Closed rishabhpoddar closed 2 months ago

rishabhpoddar commented 2 months ago

Summary of change

The SDK used to assume that the FDI header would always be X.Y. But that assumption is not correct since the header can be X.Y,X1.Y1 and so on.

Test Plan

Added a few tests with multiple fdi versions in the header

Checklist for important updates

ellipsis-dev[bot] commented 2 months ago

Your free trial has expired. To continue using Ellipsis, sign up at https://app.ellipsis.dev for $20/seat/month. If you have any questions, reach us at help@ellipsis.dev