bjerkio/oidc-react

upgrade oidc-client-ts to 2.2.1

kasir-barati opened this issue · 0 comments

Hi

Type 'import("/proj1/node_modules/oidc-client-ts/dist/types/oidc-client-ts").UserManager' is not assignable to type 'import("/proj1/node_modules/oidc-react/node_modules/oidc-client-ts/dist/types/oidc-client-ts").UserManager'.
  The types of 'settings.userStore' are incompatible between these types.
    Type 'import("/proj1/node_modules/oidc-client-ts/dist/types/oidc-client-ts").WebStorageStateStore' is not assignable to type 'import("/proj1/node_modules/oidc-react/node_modules/oidc-client-ts/dist/types/oidc-client-ts").WebStorageStateStore'.
      Types have separate declarations of a private property '_logger'.ts(2322)
AuthContextInterface.d.ts(10, 5): The expected type comes from property 'userManager' which is declared here on type 'IntrinsicAttributes & AuthProviderProps & { children?: ReactNode; }'

Do you think we can upgrade the oidc-react-ts package?

Why we should have oidc-react-ts installed separately is userStore: new WebStorageStateStore({...})

Best
Kasir