I'm still in the process of converting an app from GunDB to Holster, and haven't hit too many hurdles so far. Enough changes are required to Holster for another release though, so I'm publishing version 0.3.0 as there's a small API change.
The main change required at this point is fixing user queries, I previously added holster.user(public-key) as a way to query other accounts, but it overwrites the context of a logged in user so I think I've fixed that.
I also updated the per-query options object that allows you to wait longer for data to be returned if required. It was available in the wire spec API but wasn't exposed to the Holster API, so get() and next() now both have an optional fourth parameter after the callback.
The last change is to support projects using webpack, which didn't like some Node imports in Holster. They should be ignored anyway so adding /*webpackIgnore: true*/ to the imports seems to work for that.
Holster 0.3.0
The main change required at this point is fixing user queries, I previously added
holster.user(public-key)
as a way to query other accounts, but it overwrites the context of a logged in user so I think I've fixed that.I also updated the per-query options object that allows you to wait longer for data to be returned if required. It was available in the wire spec API but wasn't exposed to the Holster API, so
get()
andnext()
now both have an optional fourth parameter after the callback.The last change is to support projects using webpack, which didn't like some Node imports in Holster. They should be ignored anyway so adding
/*webpackIgnore: true*/
to the imports seems to work for that.