diff --git a/adapters/oidc/js/dist/keycloak-authz.d.ts b/adapters/oidc/js/dist/keycloak-authz.d.ts index 66a646072a..dd7a077573 100644 --- a/adapters/oidc/js/dist/keycloak-authz.d.ts +++ b/adapters/oidc/js/dist/keycloak-authz.d.ts @@ -82,6 +82,11 @@ export interface ResourcePermission { scopes?:string[] } +/** + * @deprecated Instead of importing 'KeycloakAuthorizationInstance' you can import 'KeycloakAuthorization' directly as a type. + */ +export type KeycloakAuthorizationInstance = KeycloakAuthorization; + export default class KeycloakAuthorization { /** * Creates a new Keycloak client instance. diff --git a/adapters/oidc/js/dist/keycloak.d.ts b/adapters/oidc/js/dist/keycloak.d.ts index eb7f9da704..c979bc97c0 100644 --- a/adapters/oidc/js/dist/keycloak.d.ts +++ b/adapters/oidc/js/dist/keycloak.d.ts @@ -321,6 +321,11 @@ export interface KeycloakRoles { roles: string[]; } +/** + * @deprecated Instead of importing 'KeycloakInstance' you can import 'Keycloak' directly as a type. + */ +export type KeycloakInstance = Keycloak; + /** * A client for the Keycloak authentication server. * @see {@link https://keycloak.gitbooks.io/securing-client-applications-guide/content/topics/oidc/javascript-adapter.html|Keycloak JS adapter documentation}