@alfabit/keycloak 0.0.10 → 0.0.11

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.10",
4
+ "version": "0.0.11",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
7
7
  "main": "src/index.ts",
@@ -476,5 +476,7 @@ export const keycloakInit = (dontChangeRedirectUri?: Ref<boolean>, keycloakRedir
476
476
  isRtExp,
477
477
  };
478
478
 
479
+ console.log('@alfabit/keycloak fn keycloakInit', {_keycloakInit});
480
+
479
481
  return _keycloakInit;
480
482
  };
@@ -2,6 +2,7 @@ import { ref } from 'vue';
2
2
  import { createKeycloakInit, getAuthMethods, keycloakInit } from '../composables';
3
3
 
4
4
  export const useKeycloak = () => {
5
+ console.log('@alfabit/keycloak fn useKeycloak');
5
6
  const keycloak = keycloakInit(ref(false), ref(undefined));
6
7
  const auth = getAuthMethods();
7
8
  return {
@@ -11,11 +12,13 @@ export const useKeycloak = () => {
11
12
  };
12
13
 
13
14
  export const createKeycloak = () => {
15
+ console.log('@alfabit/keycloak fn createKeycloak');
14
16
  createKeycloakInit();
15
17
  };
16
18
 
17
19
  export const keycloakPlugin = {
18
20
  install() {
21
+ console.log('@alfabit/keycloak plugin install');
19
22
  createKeycloak();
20
23
  //app.config.globalProperties.$keycloak = useKeycloak();
21
24
  },