@persistr/js
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -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", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4
192703