New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@persistr/js

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@persistr/js - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

lib/API/account/revoke.js

@@ -1,3 +0,3 @@

module.exports = async function(http, { identity, db, role, email }) {
return await http.post({ identity, endpoint: `/db/${db}/revoke`, query: { role, email }})
module.exports = async function(http, { identity, db, email }) {
return await http.post({ identity, endpoint: `/db/${db}/revoke`, query: { email }})
}

@@ -63,4 +63,4 @@ const Namespace = require('./Namespace')

async revoke({ role, email }) {
await this.api.revokeAccount({ db: this.name, role, email })
async revoke({ email }) {
await this.api.revokeAccount({ db: this.name, email })
return this

@@ -67,0 +67,0 @@ }

{
"name": "@persistr/js",
"version": "4.0.0",
"version": "4.0.1",
"description": "Persistr client for Javascript",

@@ -5,0 +5,0 @@ "main": "./lib/persistr",

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