Comparing version 0.9.0 to 0.9.1
@@ -0,1 +1,5 @@ | ||
0.9.1 - 2014-11-11 | ||
- Collection elements now have _id field. | ||
0.9.0 - 2014-11-05 | ||
@@ -2,0 +6,0 @@ |
@@ -169,2 +169,4 @@ "use strict"; | ||
self.collections[name][id]._id = id; | ||
if (data.fields) { | ||
@@ -171,0 +173,0 @@ _.each(data.fields, function(value, key) { |
{ | ||
"name": "ddp", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Node.js module to connect to servers using DDP protocol.", | ||
@@ -5,0 +5,0 @@ "author": "Tom Coleman <tom@thesnail.org> (http://tom.thesnail.org)", |
@@ -172,2 +172,3 @@ var assert = require('assert'), | ||
ddpclient._message(addedMessage); | ||
assert.equal(ddpclient.collections.posts['2trpvcQ4pn32ZYXco']._id, "2trpvcQ4pn32ZYXco"); | ||
assert.equal(ddpclient.collections.posts['2trpvcQ4pn32ZYXco'].text, "A cat was here"); | ||
@@ -213,3 +214,3 @@ assert.equal(ddpclient.collections.posts['2trpvcQ4pn32ZYXco'].value, true); | ||
observer = ddpclient.observe("posts"); | ||
observer.removed = function(id, oldValue) { oldval = oldValue; /* console.log("FOO: ", oldValue) */ }; | ||
observer.removed = function(id, oldValue) { oldval = oldValue; }; | ||
@@ -216,0 +217,0 @@ ddpclient._message(addedMessage); |
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
34421
624