New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@supabase/realtime-js

Package Overview
Dependencies
Maintainers
5
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/realtime-js - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

2

dist/main/lib/version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "1.4.2";
export declare const version = "1.4.3";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
// generated by genversion
exports.version = '1.4.2';
exports.version = '1.4.3';
//# sourceMappingURL=version.js.map
import Timer from './lib/timer';
import RealtimeSubscription from './RealtimeSubscription';
import { w3cwebsocket as WebSocket } from 'websocket';
import Serializer from './lib/serializer';

@@ -5,0 +4,0 @@ export declare type Options = {

@@ -15,6 +15,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const websocket_1 = require("websocket");
const constants_1 = require("./lib/constants");
const timer_1 = __importDefault(require("./lib/timer"));
const RealtimeSubscription_1 = __importDefault(require("./RealtimeSubscription"));
const websocket_1 = require("websocket");
const serializer_1 = __importDefault(require("./lib/serializer"));

@@ -21,0 +21,0 @@ const noop = () => { };

@@ -1,2 +0,2 @@

export declare const version = "1.4.2";
export declare const version = "1.4.3";
//# sourceMappingURL=version.d.ts.map

@@ -1,3 +0,2 @@

// generated by genversion
export const version = '1.4.2';
export const version = '1.4.3';
//# sourceMappingURL=version.js.map
import Timer from './lib/timer';
import RealtimeSubscription from './RealtimeSubscription';
import { w3cwebsocket as WebSocket } from 'websocket';
import Serializer from './lib/serializer';

@@ -5,0 +4,0 @@ export declare type Options = {

@@ -10,6 +10,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

};
import { w3cwebsocket } from 'websocket';
import { VSN, CHANNEL_EVENTS, TRANSPORTS, SOCKET_STATES, DEFAULT_TIMEOUT, WS_CLOSE_NORMAL, DEFAULT_HEADERS, } from './lib/constants';
import Timer from './lib/timer';
import RealtimeSubscription from './RealtimeSubscription';
import { w3cwebsocket as WebSocket } from 'websocket';
import Serializer from './lib/serializer';

@@ -40,3 +40,3 @@ const noop = () => { };

this.timeout = DEFAULT_TIMEOUT;
this.transport = WebSocket;
this.transport = w3cwebsocket;
this.heartbeatIntervalMs = 30000;

@@ -43,0 +43,0 @@ this.longpollerTimeout = 20000;

{
"name": "@supabase/realtime-js",
"version": "1.4.2",
"version": "1.4.3",
"description": "Listen to realtime updates to your PostgreSQL database",

@@ -28,3 +28,3 @@ "keywords": [

"format": "prettier --write \"{src,test}/**/*.ts\"",
"build": "genversion src/lib/version.ts --es6 && run-s clean format build:*",
"build": "run-s clean format build:*",
"build:main": "tsc -p tsconfig.json",

@@ -50,3 +50,2 @@ "build:module": "tsc -p tsconfig.module.json",

"esm": "^3.2.25",
"genversion": "^3.0.1",
"jsdom": "16.4.0",

@@ -53,0 +52,0 @@ "jsdom-global": "3.0.0",

@@ -1,2 +0,1 @@

// generated by genversion
export const version = '1.4.2'
export const version = '1.4.3'

@@ -0,1 +1,2 @@

import { w3cwebsocket } from 'websocket'
import {

@@ -12,3 +13,2 @@ VSN,

import RealtimeSubscription from './RealtimeSubscription'
import { w3cwebsocket as WebSocket } from 'websocket'
import Serializer from './lib/serializer'

@@ -44,3 +44,3 @@

timeout: number = DEFAULT_TIMEOUT
transport: any = WebSocket
transport: any = w3cwebsocket
heartbeatIntervalMs: number = 30000

@@ -131,3 +131,3 @@ longpollerTimeout: number = 20000

this.conn.onopen = () => this._onConnOpen()
this.conn.onerror = (error) => this._onConnError(error)
this.conn.onerror = (error) => this._onConnError(error as ErrorEvent)
this.conn.onmessage = (event) => this.onConnMessage(event)

@@ -377,3 +377,3 @@ this.conn.onclose = (event) => this._onConnClose(event)

private _onConnError(error: Error) {
private _onConnError(error: ErrorEvent) {
this.log('transport', error.message)

@@ -380,0 +380,0 @@ this._triggerChanError()

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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