You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently, cbor transport serialization does not work in the browser build, and in fact we deactivate the dependency for the browser build in package.json:
there are 2 issues .. the first is that the google closure compiler fails:
build/autobahn.js:13709: ERROR - [JSC_CANNOT_CONVERT] This code cannot be converted from ES6. extending native class: Map
constructor(iterable) {
^^^^^^^^^^^^^^^^^^^^^^^
when deactivating google closure (skipping library minimization), receiving messages then runs into:
CBOR decoding error Error: Insufficient data
at Object.decodeFirstSync (autobahn.js:12390)
at CBORSerializer.unserialize (autobahn.js:2967)
at WebSocket.websocket.onmessage (autobahn.js:5031)
no clue why .. so needs investigation.
note: the cbor library itself does work (in browser), as we still use it in XBR for e2e encrypted payload serialization .. which is even more strange: why does that work, while above does not?
The text was updated successfully, but these errors were encountered:
currently, cbor transport serialization does not work in the browser build, and in fact we deactivate the dependency for the browser build in
package.json
:there are 2 issues .. the first is that the google closure compiler fails:
when deactivating google closure (skipping library minimization), receiving messages then runs into:
no clue why .. so needs investigation.
The text was updated successfully, but these errors were encountered: