@waves.exchange/matcher-ws
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -8,4 +8,4 @@ "use strict"; | ||
return new reactive_1.Observable((observer) => { | ||
const matcherUpdateSequence = new MatcherUpdateSequence_1.MatcherUpdateSequence(); | ||
const subscription = ws.multiplex(() => ({ T: 'aus', S: address, t: 'jwt', j: accessToken }), () => ({ T: 'u', S: address }), (message) => message.T === 'au' && message.S === address).subscribe((au) => { | ||
const matcherUpdateSequence = new MatcherUpdateSequence_1.MatcherUpdateSequence(); | ||
if (matcherUpdateSequence.setAndValidate(au.U)) { | ||
@@ -12,0 +12,0 @@ observer.next({ |
{ | ||
"name": "@waves.exchange/matcher-ws", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
21953