@kelbyone/core
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@kelbyone/core", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Core providers and utilities for @KelbyOne/Components", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -1,2 +0,2 @@ | ||
export * from './api-service'; | ||
export { loadItems, loadItem, loadRelated } from './api-service'; | ||
export * from './user-service'; |
@@ -7,3 +7,3 @@ import { get, remove, set } from './storage-service'; | ||
export class UserServiceController { | ||
async loginUser(username: string, password: string): Promise<void> { | ||
async login(username: string, password: string): Promise<void> { | ||
const user = await login(username, password); | ||
@@ -16,3 +16,4 @@ await set(HAS_LOGGED_IN, true); | ||
async logoutUser(): Promise<void> { | ||
async logout(): Promise<void> { | ||
const user = await logout(); | ||
await remove(HAS_LOGGED_IN); | ||
@@ -19,0 +20,0 @@ await remove('user'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4009
113