From 1372ab82d326bd53eb46b194deb67dc496a93bff Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Wed, 16 Feb 2022 19:47:09 +0100 Subject: [PATCH] Re-export as namespace for UMD compatibility --- adapters/oidc/js/dist/keycloak-authz.d.ts | 5 +++++ adapters/oidc/js/dist/keycloak.d.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/adapters/oidc/js/dist/keycloak-authz.d.ts b/adapters/oidc/js/dist/keycloak-authz.d.ts index dd7a077573..0ffb3ca4ba 100644 --- a/adapters/oidc/js/dist/keycloak-authz.d.ts +++ b/adapters/oidc/js/dist/keycloak-authz.d.ts @@ -119,3 +119,8 @@ export default class KeycloakAuthorization { */ entitlement(resourceServerId: string, authorizationRequest?: AuthorizationRequest): KeycloakAuthorizationPromise; } + +/** + * @deprecated The 'KeycloakAuthorization' namespace is deprecated, use named imports instead. + */ +export as namespace KeycloakAuthorization; diff --git a/adapters/oidc/js/dist/keycloak.d.ts b/adapters/oidc/js/dist/keycloak.d.ts index c979bc97c0..500b4438eb 100644 --- a/adapters/oidc/js/dist/keycloak.d.ts +++ b/adapters/oidc/js/dist/keycloak.d.ts @@ -614,3 +614,8 @@ export default class Keycloak { */ loadUserInfo(): KeycloakPromise<{}, void>; } + +/** + * @deprecated The 'Keycloak' namespace is deprecated, use named imports instead. + */ +export as namespace Keycloak;