-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
@workos/authkit-session@0.3.4 pins @workos-inc/node to exactly 8.0.0:
"dependencies": {
"@workos-inc/node": "8.0.0",
}@workos-inc/node is now at v8.8.0, which introduced the new authorization namespace (replacing the deprecated fga namespace as of v8.4.0). Projects that use both authkit-session and the newer SDK get two separate copies in node_modules, which causes a TypeScript error when passing the v8.8.0 WorkOS instance to AuthService:
Argument of type 'WorkOS' is not assignable to parameter of type 'WorkOS'.
The types returned by 'createHttpClient(...)' are incompatible between these types.
Type 'HttpClient' is not assignable to type 'HttpClient'.
Types have separate declarations of a private property 'getSleepTimeInMilliseconds'.
The runtime API is compatible — the only issue is the type mismatch from having two different versions of the same package.
Could the dependency be updated to either a compatible range (e.g., ^8.0.0) or pinned to a newer version?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels