Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@portal-hq/utils

Package Overview
Dependencies
Maintainers
7
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portal-hq/utils - npm Package Compare versions

Comparing version 0.2.24-beta1 to 0.2.24-beta2

3

lib/commonjs/definitions/index.js

@@ -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.');

2

package.json
{
"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(

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc