Releases: darky/backbone.wamp
Releases · darky/backbone.wamp
Restart
Remove CoffeeScript, only JS
Totally improved code, 100% coverage
Breaking change: API snake_case -> camelCase (Except global constant)
Breaking change: removed autobahn_details
, use wampExtra
instead
Breaking change: wampAuth
params uri
, wamp_my_id
, action
combined to uriOptions
Breaking change: wampGetUri
params shaked uri
<-> peerId
WebSocket message template "uri.peerId.action" -> "peerId.uri.action"
wampAuth
can return simple value, no required promise
Added option wampNoAttach
to constructor
Added callback-option wampRegister
to constructor
Added method wampUnregister
wamp_auth
Removed `wamp_attach_handlers`, correct package.json deps
- Before you could to override
wamp_attach_handlers
as empty function and avoid to definewamp_create
,wamp_delete
, ... e.t.c CRUD methods. It's obvious, because before calling CRUD-method check existing it. - backbone, underscore and autobahn moved from devDependencies to dependencies
Backbone 1.2.1 compatible
0.10.0
Backbone 1.2.0 compatible
wamp_get_uri
You can define global WAMP_GET_URI
or for specific class wamp_get_uri
-method, which should return new WebSocket message, which differ from "entity.peer_id.action"