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

@bloks/wallet

Package Overview
Dependencies
Maintainers
3
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloks/wallet - npm Package Compare versions

Comparing version 3.5.12-alpha.0 to 3.5.12

4

package.json
{
"name": "@bloks/wallet",
"version": "3.5.12-alpha.0",
"version": "3.5.12",
"description": "",

@@ -16,3 +16,3 @@ "publishConfig": {

},
"gitHead": "d440e24e25aff849f2d3dac8b423de037eed132c"
"gitHead": "2b7407b9b1d3e35b117b7958340dabf453a40176"
}
import store from 'store'
import { defaultUser } from './defaults'
const USER_KEY = 'user-v.0.0.1'
const USERS_KEY = 'user-v.0.0.1'
class Users {

@@ -10,4 +13,4 @@ constructor () {

this.user = store.get('user') || defaultUser()
this.users = store.get('users') || []
this.user = store.get(USER_KEY) || defaultUser()
this.users = store.get(USERS_KEY) || []
}

@@ -23,3 +26,3 @@

saveUsers () {
store.set('users', this.users)
store.set(USERS_KEY, this.users)
}

@@ -47,3 +50,3 @@

}
store.set('user', this.user)
store.set(USER_KEY, this.user)
}

@@ -50,0 +53,0 @@

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