@alfabit/keycloak 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alfabit/keycloak",
3
3
  "private": false,
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
7
7
  "main": "src/index.ts",
@@ -1,5 +1,5 @@
1
1
  import { computed, ref, type App, type Ref } from 'vue';
2
- import { createKeycloakInit, getAuthMethods, keycloakInit, type IUseKeycloak } from '../composables';
2
+ import { createKeycloakInit, getAuthMethods, keycloakInit } from '../composables';
3
3
 
4
4
  interface KeycloakPluginOptions {
5
5
  dontChangeRedirectUri?: Ref<boolean>;
@@ -30,14 +30,14 @@ export const createKeycloak = (options: KeycloakPluginOptions = {}) => {
30
30
  };
31
31
 
32
32
  export const keycloakPlugin = {
33
- install(app: App, options: KeycloakPluginOptions = {}) {
33
+ install(_: App, options: KeycloakPluginOptions = {}) {
34
34
  createKeycloak(options);
35
- app.config.globalProperties.$keycloak = useKeycloak();
35
+ //app.config.globalProperties.$keycloak = useKeycloak();
36
36
  },
37
37
  };
38
38
 
39
- declare module '@vue/runtime-core' {
40
- interface ComponentCustomProperties {
41
- $keycloak: IUseKeycloak;
42
- }
43
- }
39
+ //declare module '@vue/runtime-core' {
40
+ // interface ComponentCustomProperties {
41
+ // $keycloak: IUseKeycloak;
42
+ // }
43
+ //}