From 8e285876fd7c66ea2f68eafeca905b7748df0c01 Mon Sep 17 00:00:00 2001 From: Darko Luketic Date: Thu, 9 Mar 2023 19:45:17 +0100 Subject: [PATCH] reverted undefined to null --- package.json | 2 +- src/index.js | 54 ++++++++++++++++++++++++++-------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index c11f6d4..b4bf91d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "dalu-vue3-keycloak", "description": "vue3 keycloak adapter", - "version": "0.0.1", + "version": "0.0.2", "type": "module", "repository": "git@code.icod.de:dalu/vue3-keycloak.git", "files": [ diff --git a/src/index.js b/src/index.js index 616102f..b4cf89a 100644 --- a/src/index.js +++ b/src/index.js @@ -37,33 +37,33 @@ function defaultEmptyVueKeycloakInstance() { return { ready: false, authenticated: false, - userName: undefined, - fullName: undefined, - token: undefined, - tokenParsed: undefined, - logoutFn: undefined, - loginFn: undefined, - login: undefined, - createLoginUrl: undefined, - createLogoutUrl: undefined, - createRegisterUrl: undefined, - register: undefined, - accountManagement: undefined, - createAccountUrl: undefined, - loadUserProfile: undefined, - subject: undefined, - idToken: undefined, - idTokenParsed: undefined, - realmAccess: undefined, - resourceAccess: undefined, - refreshToken: undefined, - refreshTokenParsed: undefined, - timeSkew: undefined, - responseMode: undefined, - responseType: undefined, - hasRealmRole: undefined, - hasResourceRole: undefined, - keycloak: undefined, + userName: null, + fullName: null, + token: null, + tokenParsed: null, + logoutFn: null, + loginFn: null, + login: null, + createLoginUrl: null, + createLogoutUrl: null, + createRegisterUrl: null, + register: null, + accountManagement: null, + createAccountUrl: null, + loadUserProfile: null, + subject: null, + idToken: null, + idTokenParsed: null, + realmAccess: null, + resourceAccess: null, + refreshToken: null, + refreshTokenParsed: null, + timeSkew: null, + responseMode: null, + responseType: null, + hasRealmRole: null, + hasResourceRole: null, + keycloak: null, } }