Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rxjs-ws-channels-filters

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rxjs-ws-channels-filters - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

15

dist/index.js

@@ -279,2 +279,3 @@ 'use strict';

transformResponse: userOptions.transformResponse,
handleResponseMessage: userOptions.handleResponseMessage,
transformRequest: userOptions.transformRequest,

@@ -323,3 +324,7 @@ channelJoinAction: userOptions.channelJoinAction || defaultOptions.channelJoinAction,

}
observer.next(message);
if (vm.options.handleResponseMessage) {
vm.options.handleResponseMessage(message, observer);
} else {
observer.next(message);
}
};

@@ -353,3 +358,9 @@ socket.onerror = function (error) {

}).retryWhen(function (errors) {
return errors.delay(Math.min(vm.retries++ * 8, 60) * 1000);
return Rx.Observable
.range(0, 100000)
.zip(errors, function (i) {
return i;
}).flatMap(function (i) {
return Rx.Observable.timer(Math.min(i * 8, 60) * 1000);
});
}).share();

@@ -356,0 +367,0 @@ }

2

package.json
{
"name": "rxjs-ws-channels-filters",
"version": "0.0.8",
"version": "0.0.9",
"description": "RxJS websockets implementation with channels and filters",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc