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

@bloks/link-session-manager

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloks/link-session-manager - npm Package Compare versions

Comparing version 0.2.635 to 0.2.636

2

lib/index.d.ts
/**
* proton-link-session-manager v0.2.635
* proton-link-session-manager v0.2.636
* https://github.com/greymass/proton-link-session-manager

@@ -4,0 +4,0 @@ *

/**
* proton-link-session-manager v0.2.635
* proton-link-session-manager v0.2.636
* https://github.com/greymass/proton-link-session-manager

@@ -171,2 +171,3 @@ *

var newUrl = typeof url === 'function' ? url(this) : url;
console.log('Creating new websocket to', newUrl);
this.pendingReconnect = undefined;

@@ -284,2 +285,3 @@ this.realWs = new WebSocket(newUrl);

RobustWebSocket.prototype.close = function (code, reason) {
console.log('Closing Websocket');
if (typeof code !== 'number') {

@@ -298,2 +300,3 @@ reason = code;

RobustWebSocket.prototype.open = function () {
console.log('Opening Websocket');
if (this.realWs &&

@@ -309,2 +312,3 @@ this.realWs.readyState !== WebSocket.OPEN &&

RobustWebSocket.prototype.reconnect = function (event) {
console.log('Reconnecting Websocket');
if ((!this.opts.handle1000 && event.code === 1000) || this.explicitlyClosed) {

@@ -311,0 +315,0 @@ this.attempts = 0;

/**
* proton-link-session-manager v0.2.635
* proton-link-session-manager v0.2.636
* https://github.com/greymass/proton-link-session-manager

@@ -144,2 +144,3 @@ *

const newUrl = typeof url === 'function' ? url(this) : url;
console.log('Creating new websocket to', newUrl);
this.pendingReconnect = undefined;

@@ -229,2 +230,3 @@ this.realWs = new WebSocket(newUrl);

close(code, reason) {
console.log('Closing Websocket');
if (typeof code !== 'number') {

@@ -243,2 +245,3 @@ reason = code;

open() {
console.log('Opening Websocket');
if (this.realWs &&

@@ -254,2 +257,3 @@ this.realWs.readyState !== WebSocket.OPEN &&

reconnect(event) {
console.log('Reconnecting Websocket');
if ((!this.opts.handle1000 && event.code === 1000) || this.explicitlyClosed) {

@@ -256,0 +260,0 @@ this.attempts = 0;

{
"name": "@bloks/link-session-manager",
"description": "Session management for signature providers when receiving requests using the Anchor Link protocol",
"version": "0.2.635",
"version": "0.2.636",
"homepage": "https://github.com/greymass/proton-link-session-manager",

@@ -6,0 +6,0 @@ "license": "BSD-3-Clause",

@@ -94,2 +94,4 @@ import NetInfo, {NetInfoState, NetInfoSubscription} from '@react-native-community/netinfo'

const newUrl = typeof url === 'function' ? url(this) : url
console.log('Creating new websocket to', newUrl)
this.pendingReconnect = undefined

@@ -197,2 +199,4 @@ this.realWs = new WebSocket(newUrl)

close(code, reason) {
console.log('Closing Websocket')
if (typeof code !== 'number') {

@@ -214,2 +218,4 @@ reason = code

open() {
console.log('Opening Websocket')
if (

@@ -229,2 +235,4 @@ this.realWs &&

reconnect(event) {
console.log('Reconnecting Websocket')
if ((!this.opts.handle1000 && event.code === 1000) || this.explicitlyClosed) {

@@ -231,0 +239,0 @@ this.attempts = 0

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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