hoodie-plugin-users
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -5,3 +5,3 @@ { | ||
"url": "https://github.com/hoodiehq/hoodie-plugin-users/", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "backbone": "~0.9", |
@@ -0,1 +1,10 @@ | ||
<a name="2.1.0"></a> | ||
## 2.1.0 (2014-10-08) | ||
#### Bug Fixes | ||
* when upgrading from anonymous, remove correct old user doc ([f8d89ec6](https://github.com/hoodiehq/hoodie-plugin-users/commit/f8d89ec6ae3544ff0c71e64ffaad341bb6c53564)) | ||
<a name="2.0.0"></a> | ||
@@ -2,0 +11,0 @@ ## 2.0.0 (2014-09-09) |
@@ -20,3 +20,3 @@ var utils = require('./utils'); | ||
exports.success = function (hoodie, doc, callback) { | ||
return hoodie.account.remove('user', doc.id, callback); | ||
return hoodie.account.remove(doc.type, doc.id, callback); | ||
}; | ||
@@ -30,3 +30,3 @@ | ||
exports.fail = _.curry(function (props, hoodie, doc, callback) { | ||
return hoodie.account.update('user', doc.id, { | ||
return hoodie.account.update(doc.type, doc.id, { | ||
$newUsername: undefined, | ||
@@ -33,0 +33,0 @@ $error: props |
{ | ||
"name": "hoodie-plugin-users", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Hoodie plugin for handling user accounts and dbs", | ||
@@ -50,3 +50,3 @@ "repository": { | ||
}, | ||
"codename": "stylish-gnat" | ||
"codename": "wicked-wombat" | ||
} |
Sorry, the diff of this file is not supported yet
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
695502