oortcloud / node-ddp-client

A callback style DDP (Meteor's Distributed Data Protocol) node client.
Other
263 stars 80 forks source link

EJSON support #23

Closed emgee3 closed 11 years ago

emgee3 commented 11 years ago

So, I took another crack at adding EJSON support. I didn't enable it by default to avoid breaking anything that managed to work without it, but if you add { use_ddp: true } when initializing the DDP client, it will use it. I figured when 0.4.0 comes out we can enable by default.

I also added a couple basic tests. @sarfata or @tmeasday you wanna check this out first?

tmeasday commented 11 years ago

It all seems reasonable to me. :shipit: (you do have npm module ownership right?)

emgee3 commented 11 years ago

Yes, and it'll be good for me to figure out how to push an npm update :)