@luizleon/sf.prefeiturasp.vuecomponents 0.0.62 → 0.0.64

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@luizleon/sf.prefeiturasp.vuecomponents",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "type": "module",
5
5
  "main": "dist/sf.prefeiturasp.vuecomponents.umd.js",
6
6
  "module": "dist/sf.prefeiturasp.vuecomponents.es.js",
@@ -91,15 +91,19 @@ function ConfigAuthService(config?: KeycloakConfig): IAuthService {
91
91
  });
92
92
  };
93
93
 
94
- return {
94
+ AuthService = {
95
95
  Instance: keycloakInstance,
96
96
  User,
97
97
  Init,
98
98
  Logout,
99
99
  };
100
+
101
+ return AuthService;
100
102
  }
101
103
 
102
- const UseAuthService = (config: KeycloakConfig) =>
104
+ const UseAuthService = () => AuthService;
105
+
106
+ const StartAuthService = (config: KeycloakConfig) =>
103
107
  ConfigAuthService(config);
104
108
 
105
- export { UseAuthService };
109
+ export { StartAuthService, UseAuthService };