You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@iqprotocol/abstract-storage

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iqprotocol/abstract-storage - npm Package Compare versions

Comparing version

to
0.7.0

2

dist/abstract-store.d.ts

@@ -13,3 +13,5 @@ import { Account, AccountState, AccountStateChangeResult, StorageProvider } from './types';

abstract getAccount(id: string): Promise<Account | null>;
abstract deleteAccount(id: string): Promise<boolean>;
abstract getAccountState(serviceId: string, accountId: string): Promise<AccountState | null>;
abstract deleteAccountState(serviceId: string, accountId: string): Promise<boolean>;
protected abstract _saveAccount(account: Account): Promise<Account>;

@@ -16,0 +18,0 @@ protected abstract _initAccountState(accountState: AccountState): Promise<AccountState>;

@@ -30,2 +30,3 @@ export interface Account {

saveAccount(account: Account): Promise<Account>;
deleteAccount(id: string): Promise<boolean>;
getAccount(id: string): Promise<Account | null>;

@@ -35,3 +36,4 @@ initAccountState(accountState: AccountState): Promise<AccountState>;

getAccountState(serviceId: string, accountId: string): Promise<AccountState | null>;
deleteAccountState(serviceId: string, accountId: string): Promise<boolean>;
}
export {};

4

package.json
{
"name": "@iqprotocol/abstract-storage",
"version": "0.6.0",
"version": "0.7.0",
"license": "UNLICENSED",

@@ -21,3 +21,3 @@ "scripts": {

},
"gitHead": "33a4329d2db14b9aed2b714507abd83bd5d530f9"
"gitHead": "56d7686ea736a089bbc8c270a5a8bbcc82caf57b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet