Hi all, Using the latest version of the NextJS App Router SDK
useKindeBrowserClient().organization and useKindeBrowserClient().getOrganization() is typed as KindeOrganization, which should be an object with an orgCode value. In testing, this doesn't appear to be the case - instead the results of this is the orgCode as a string. I spent a little while chasing my tail to figure out why the orgCode was undefined on the object only to realize it's because the object wasn't an object... but a string π
A followup to this: getOrganization() is correctly typed and returned as a KindeOrganization object on getKindeServerSession(), it just appears to be the browser client.