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
126
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 2.4.0 to 2.5.0

2

dist/main/lib/version.d.ts

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

export declare const version = "2.4.0";
export declare const version = "2.5.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '2.4.0';
exports.version = '2.5.0';
//# sourceMappingURL=version.js.map

@@ -135,13 +135,3 @@ import { CHANNEL_STATES } from './lib/constants';

/**
* Creates an event handler that listens to changes
* @param type Realtime feature (broadcast, presence, or postgres_changes)
* @param filter Pre-defined and custom values specific to the Realtime feature
* @param filter.schema Database schema
* @param filter.event Event to listen to. If listening to postgres_changes type
* then this value is one of INSERT, UPDATE, DELETE, *
* @param filter.filter If listening to postgres_changes type then this value is used to specify
* the Postgres Changes filter (eq, neq, lt, lte, gt, or gte) and value to listen to
* @param filter.table If listening to postgres_changes type then this value is used to specify
* the database table to listen to
* @param callback Function to be invoked when event handler is triggered
* Creates an event handler that listens to changes.
*/

@@ -177,2 +167,17 @@ on(type: `${REALTIME_LISTEN_TYPES.BROADCAST}`, filter: {

}>(type: `${REALTIME_LISTEN_TYPES.POSTGRES_CHANGES}`, filter: RealtimePostgresChangesFilter<`${REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE}`>, callback: (payload: RealtimePostgresUpdatePayload<T>) => void): RealtimeChannel;
/**
* The following is placed here to display on supabase.com/docs/reference/javascript/subscribe.
* @param type One of broadcast, presence, or postgres_changes.
* @param filter Custom object specific to the Realtime feature.
* @param filter.schema Database schema used only for postgres_changes type.
* @param filter.event Event to listen to.
* If listening to broadcast type, this can by any string.
* If listening to presence type, this is one of sync, join, or leave.
* If listening to postgres_changes type, this value is one of INSERT, UPDATE, DELETE, or *.
* @param filter.filter If listening to postgres_changes type then this value is used to specify
* the postgres changes filter (eq, neq, lt, lte, gt, or gte) and value to listen to.
* @param filter.table If listening to postgres_changes type then this value is used to specify
* the database table to listen to.
* @param callback Function to be invoked when event handler is triggered
*/
on<T extends {

@@ -179,0 +184,0 @@ [key: string]: any;

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

export declare const version = "2.4.0";
export declare const version = "2.5.0";
//# sourceMappingURL=version.d.ts.map

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

export const version = '2.4.0';
export const version = '2.5.0';
//# sourceMappingURL=version.js.map

@@ -135,13 +135,3 @@ import { CHANNEL_STATES } from './lib/constants';

/**
* Creates an event handler that listens to changes
* @param type Realtime feature (broadcast, presence, or postgres_changes)
* @param filter Pre-defined and custom values specific to the Realtime feature
* @param filter.schema Database schema
* @param filter.event Event to listen to. If listening to postgres_changes type
* then this value is one of INSERT, UPDATE, DELETE, *
* @param filter.filter If listening to postgres_changes type then this value is used to specify
* the Postgres Changes filter (eq, neq, lt, lte, gt, or gte) and value to listen to
* @param filter.table If listening to postgres_changes type then this value is used to specify
* the database table to listen to
* @param callback Function to be invoked when event handler is triggered
* Creates an event handler that listens to changes.
*/

@@ -177,2 +167,17 @@ on(type: `${REALTIME_LISTEN_TYPES.BROADCAST}`, filter: {

}>(type: `${REALTIME_LISTEN_TYPES.POSTGRES_CHANGES}`, filter: RealtimePostgresChangesFilter<`${REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE}`>, callback: (payload: RealtimePostgresUpdatePayload<T>) => void): RealtimeChannel;
/**
* The following is placed here to display on supabase.com/docs/reference/javascript/subscribe.
* @param type One of broadcast, presence, or postgres_changes.
* @param filter Custom object specific to the Realtime feature.
* @param filter.schema Database schema used only for postgres_changes type.
* @param filter.event Event to listen to.
* If listening to broadcast type, this can by any string.
* If listening to presence type, this is one of sync, join, or leave.
* If listening to postgres_changes type, this value is one of INSERT, UPDATE, DELETE, or *.
* @param filter.filter If listening to postgres_changes type then this value is used to specify
* the postgres changes filter (eq, neq, lt, lte, gt, or gte) and value to listen to.
* @param filter.table If listening to postgres_changes type then this value is used to specify
* the database table to listen to.
* @param callback Function to be invoked when event handler is triggered
*/
on<T extends {

@@ -179,0 +184,0 @@ [key: string]: any;

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

@@ -5,0 +5,0 @@ "keywords": [

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

export const version = '2.4.0'
export const version = '2.5.0'

@@ -332,13 +332,3 @@ import { CHANNEL_EVENTS, CHANNEL_STATES } from './lib/constants'

/**
* Creates an event handler that listens to changes
* @param type Realtime feature (broadcast, presence, or postgres_changes)
* @param filter Pre-defined and custom values specific to the Realtime feature
* @param filter.schema Database schema
* @param filter.event Event to listen to. If listening to postgres_changes type
* then this value is one of INSERT, UPDATE, DELETE, *
* @param filter.filter If listening to postgres_changes type then this value is used to specify
* the Postgres Changes filter (eq, neq, lt, lte, gt, or gte) and value to listen to
* @param filter.table If listening to postgres_changes type then this value is used to specify
* the database table to listen to
* @param callback Function to be invoked when event handler is triggered
* Creates an event handler that listens to changes.
*/

@@ -384,2 +374,17 @@ on(

): RealtimeChannel
/**
* The following is placed here to display on supabase.com/docs/reference/javascript/subscribe.
* @param type One of broadcast, presence, or postgres_changes.
* @param filter Custom object specific to the Realtime feature.
* @param filter.schema Database schema used only for postgres_changes type.
* @param filter.event Event to listen to.
* If listening to broadcast type, this can by any string.
* If listening to presence type, this is one of sync, join, or leave.
* If listening to postgres_changes type, this value is one of INSERT, UPDATE, DELETE, or *.
* @param filter.filter If listening to postgres_changes type then this value is used to specify
* the postgres changes filter (eq, neq, lt, lte, gt, or gte) and value to listen to.
* @param filter.table If listening to postgres_changes type then this value is used to specify
* the database table to listen to.
* @param callback Function to be invoked when event handler is triggered
*/
on<T extends { [key: string]: any }>(

@@ -386,0 +391,0 @@ type: `${REALTIME_LISTEN_TYPES.POSTGRES_CHANGES}`,

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