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

@electric-sql/client

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@electric-sql/client - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

4

dist/index.d.ts

@@ -136,5 +136,5 @@ /**

/**
* The root table for the shape.
* The root table for the shape. Passed as a query parameter. Not required if you set the table in your proxy.
*/
table: string;
table?: string;
/**

@@ -141,0 +141,0 @@ * The where clauses for the shape.

@@ -428,3 +428,3 @@ var __defProp = Object.defineProperty;

const fetchUrl = new URL(url);
fetchUrl.searchParams.set(TABLE_QUERY_PARAM, table);
if (table) fetchUrl.searchParams.set(TABLE_QUERY_PARAM, table);
if (where) fetchUrl.searchParams.set(WHERE_QUERY_PARAM, where);

@@ -618,5 +618,2 @@ if (columns && columns.length > 0)

}
if (!options.table) {
throw new Error(`Invalid shape options. It must provide the table`);
}
if (options.signal && !(options.signal instanceof AbortSignal)) {

@@ -623,0 +620,0 @@ throw new Error(

{
"name": "@electric-sql/client",
"version": "0.7.0",
"version": "0.7.1",
"description": "Postgres everywhere - your data, in sync, wherever you need it.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -18,3 +18,3 @@ <p align="center">

<p align="center">
<a href="https://github.com/electric-sql/electric/actions"><img src="https://github.com/electric-sql/electric/workflows/CI/badge.svg" alt="CI"></a>
<a href="https://github.com/electric-sql/electric/actions"><img src="https://github.com/electric-sql/electric/actions/workflows/ts_test.yml/badge.svg"></a>
<a href="https://github.com/electric-sql/electric/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache_2.0-green" alt="License - Apache 2.0"></a>

@@ -21,0 +21,0 @@ <a href="https://github.com/electric-sql/electric-n

@@ -53,5 +53,5 @@ import {

/**
* The root table for the shape.
* The root table for the shape. Passed as a query parameter. Not required if you set the table in your proxy.
*/
table: string
table?: string

@@ -250,3 +250,3 @@ /**

const fetchUrl = new URL(url)
fetchUrl.searchParams.set(TABLE_QUERY_PARAM, table)
if (table) fetchUrl.searchParams.set(TABLE_QUERY_PARAM, table)
if (where) fetchUrl.searchParams.set(WHERE_QUERY_PARAM, where)

@@ -470,5 +470,2 @@ if (columns && columns.length > 0)

}
if (!options.table) {
throw new Error(`Invalid shape options. It must provide the table`)
}
if (options.signal && !(options.signal instanceof AbortSignal)) {

@@ -475,0 +472,0 @@ throw new Error(

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