You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to avoid duplicating business logic and reducing the risk of errors in service responses by importing constants from AuthenticateWithSessionCookieFailureReason. However, I’ve run into two issues:
The file containing these constants, import {AuthenticateWithSessionCookieFailureReason} from '@workos-inc/node/lib/user-management/interfaces/authenticate-with-session-cookie.interface';, isn’t accessible for import.
My suggestion:
Properly export the constants from AuthenticateWithSessionCookieFailureReason for safer error handling and future package updates. A better approach would be to move these constants out of the interface file to a more accessible location since they aren’t really interfaces, and access to them is genuinely needed.
"next": "14.1.4", "@workos-inc/node": "7.36.0",
The text was updated successfully, but these errors were encountered:
I’m trying to avoid duplicating business logic and reducing the risk of errors in service responses by importing constants from
AuthenticateWithSessionCookieFailureReason
. However, I’ve run into two issues:The file containing these constants,
import {AuthenticateWithSessionCookieFailureReason} from '@workos-inc/node/lib/user-management/interfaces/authenticate-with-session-cookie.interface';
, isn’t accessible for import.My suggestion:
Properly export the constants from
AuthenticateWithSessionCookieFailureReason
for safer error handling and future package updates. A better approach would be to move these constants out of the interface file to a more accessible location since they aren’t really interfaces, and access to them is genuinely needed."next": "14.1.4", "@workos-inc/node": "7.36.0",
The text was updated successfully, but these errors were encountered: