From 5c47542eea1cac6bd9e8e515390aebd544b51538 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Fri, 9 Aug 2024 19:10:21 +0200 Subject: [PATCH] Remove deprecated prOidc --- src/react/react.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/react/react.tsx b/src/react/react.tsx index eab3c83..ec2e8ee 100644 --- a/src/react/react.tsx +++ b/src/react/react.tsx @@ -100,10 +100,6 @@ type OidcReactApi< (params?: { assertUserLoggedIn: false }): OidcReact; (params: { assertUserLoggedIn: true }): OidcReact.LoggedIn; }; - /** @deprecated: Use getOidc instead */ - prOidc: Promise< - IsAuthGloballyRequired extends true ? Oidc.LoggedIn : Oidc - >; getOidc: () => Promise< IsAuthGloballyRequired extends true ? Oidc.LoggedIn : Oidc >; @@ -340,8 +336,6 @@ export function createOidcReactApi_dependencyInjection< // @ts-expect-error: We know what we are doing useOidc, // @ts-expect-error: We know what we are doing - prOidc, - // @ts-expect-error: We know what we are doing getOidc: () => { dReadyToCreate.resolve(); return prOidc;