@portal-hq/utils
Advanced tools
Comparing version 0.2.24-beta1 to 0.2.24-beta2
@@ -26,2 +26,5 @@ "use strict"; | ||
class Storage { | ||
delete() { | ||
throw new Error('[Portal] Storage method delete cannot be called directly. Please extend Storage.'); | ||
} | ||
read() { | ||
@@ -28,0 +31,0 @@ throw new Error('[Portal] Storage method read cannot be called directly. Please extend Storage.'); |
@@ -22,2 +22,5 @@ export class KeychainAdapter { | ||
export class Storage { | ||
delete() { | ||
throw new Error('[Portal] Storage method delete cannot be called directly. Please extend Storage.'); | ||
} | ||
read() { | ||
@@ -24,0 +27,0 @@ throw new Error('[Portal] Storage method read cannot be called directly. Please extend Storage.'); |
{ | ||
"name": "@portal-hq/utils", | ||
"version": "0.2.24-beta1", | ||
"version": "0.2.24-beta2", | ||
"main": "lib/commonjs/index", | ||
@@ -5,0 +5,0 @@ "module": "lib/esm/index", |
@@ -45,2 +45,8 @@ import { ClientWithCustodianData, Dapp, DkgData, Network } from '../../types' | ||
delete(): Promise<boolean> { | ||
throw new Error( | ||
'[Portal] Storage method delete cannot be called directly. Please extend Storage.', | ||
) | ||
} | ||
read(): Promise<string> { | ||
@@ -51,2 +57,3 @@ throw new Error( | ||
} | ||
write(privateKey: string): Promise<string> { | ||
@@ -53,0 +60,0 @@ throw new Error( |
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
100544
3142