@kelbyone/core
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@kelbyone/core", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Core providers and utilities for @KelbyOne/Components", | ||
@@ -5,0 +5,0 @@ "main": "index.ts", |
@@ -7,3 +7,3 @@ import { get, remove, set } from './storage-service'; | ||
export class UserServiceController { | ||
async login(username: string, password: string): Promise<void> { | ||
async loginUser(username: string, password: string): Promise<void> { | ||
const user = await login(username, password); | ||
@@ -16,3 +16,3 @@ await set(HAS_LOGGED_IN, true); | ||
async logout(): Promise<void> { | ||
async logoutUser(): Promise<void> { | ||
await remove(HAS_LOGGED_IN); | ||
@@ -19,0 +19,0 @@ await remove('user'); |
3949