v1.3.0 Organization - Session inference not working
When using the organization plugin and trying to infer the session:
On v1.3.0 there is no longer an
tsconfig.json:
typeof auth.$Infer.Session.sessiontypeof auth.$Infer.Session.sessionOn v1.3.0 there is no longer an
activeOrganizationIdactiveOrganizationId property passed on the session.tsconfig.json:
{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"verbatimModuleSyntax": true,
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": false,
/* If NOT transpiling with TypeScript: */
"moduleResolution": "Bundler",
"module": "ESNext",
"noEmit": true,
/* If your code doesn't run in the DOM: */
"lib": ["es2022"],
/* Specify the base directory to resolve non-relative module names. */
"baseUrl": "./",
"paths": {
"~/*": ["src/*"]
},
"types": ["node"]
},
"exclude": ["node_modules"]
}{
"compilerOptions": {
/* Base Options: */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"verbatimModuleSyntax": true,
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": false,
/* If NOT transpiling with TypeScript: */
"moduleResolution": "Bundler",
"module": "ESNext",
"noEmit": true,
/* If your code doesn't run in the DOM: */
"lib": ["es2022"],
/* Specify the base directory to resolve non-relative module names. */
"baseUrl": "./",
"paths": {
"~/*": ["src/*"]
},
"types": ["node"]
},
"exclude": ["node_modules"]
}