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

@supabase/postgrest-js

Package Overview
Dependencies
Maintainers
4
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/postgrest-js - npm Package Compare versions

Comparing version 0.33.1 to 0.33.2

2

dist/main/lib/PostgrestRpcBuilder.d.ts

@@ -11,3 +11,3 @@ import { PostgrestBuilder } from './types';

/**
* Perform a stored procedure call.
* Perform a function call.
*/

@@ -14,0 +14,0 @@ rpc(params?: object, { count, }?: {

@@ -16,3 +16,3 @@ "use strict";

/**
* Perform a stored procedure call.
* Perform a function call.
*/

@@ -19,0 +19,0 @@ rpc(params, { count = null, } = {}) {

@@ -88,4 +88,4 @@ "use strict";

_this.then = ((onfulfilled, onrejected) => this.then((res) => {
var _a;
if ((_a = res.error) === null || _a === void 0 ? void 0 : _a.details.includes('Results contain 0 rows')) {
var _a, _b;
if ((_b = (_a = res.error) === null || _a === void 0 ? void 0 : _a.details) === null || _b === void 0 ? void 0 : _b.includes('Results contain 0 rows')) {
return onfulfilled({

@@ -92,0 +92,0 @@ error: null,

@@ -35,3 +35,3 @@ import PostgrestQueryBuilder from './lib/PostgrestQueryBuilder';

/**
* Perform a stored procedure call.
* Perform a function call.
*

@@ -38,0 +38,0 @@ * @param fn The function name to call.

@@ -40,3 +40,3 @@ "use strict";

/**
* Perform a stored procedure call.
* Perform a function call.
*

@@ -43,0 +43,0 @@ * @param fn The function name to call.

@@ -11,3 +11,3 @@ import { PostgrestBuilder } from './types';

/**
* Perform a stored procedure call.
* Perform a function call.
*/

@@ -14,0 +14,0 @@ rpc(params?: object, { count, }?: {

@@ -11,3 +11,3 @@ import { PostgrestBuilder } from './types';

/**
* Perform a stored procedure call.
* Perform a function call.
*/

@@ -14,0 +14,0 @@ rpc(params, { count = null, } = {}) {

@@ -86,4 +86,4 @@ import { PostgrestBuilder } from './types';

_this.then = ((onfulfilled, onrejected) => this.then((res) => {
var _a;
if ((_a = res.error) === null || _a === void 0 ? void 0 : _a.details.includes('Results contain 0 rows')) {
var _a, _b;
if ((_b = (_a = res.error) === null || _a === void 0 ? void 0 : _a.details) === null || _b === void 0 ? void 0 : _b.includes('Results contain 0 rows')) {
return onfulfilled({

@@ -90,0 +90,0 @@ error: null,

@@ -35,3 +35,3 @@ import PostgrestQueryBuilder from './lib/PostgrestQueryBuilder';

/**
* Perform a stored procedure call.
* Perform a function call.
*

@@ -38,0 +38,0 @@ * @param fn The function name to call.

@@ -35,3 +35,3 @@ import PostgrestQueryBuilder from './lib/PostgrestQueryBuilder';

/**
* Perform a stored procedure call.
* Perform a function call.
*

@@ -38,0 +38,0 @@ * @param fn The function name to call.

{
"name": "@supabase/postgrest-js",
"version": "0.33.1",
"version": "0.33.2",
"description": "Isomorphic PostgREST client",

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

@@ -16,3 +16,3 @@ import { PostgrestBuilder } from './types'

/**
* Perform a stored procedure call.
* Perform a function call.
*/

@@ -19,0 +19,0 @@ rpc(

@@ -107,3 +107,3 @@ import { PostgrestBuilder, PostgrestMaybeSingleResponse, PostgrestSingleResponse } from './types'

this.then((res: any): any => {
if (res.error?.details.includes('Results contain 0 rows')) {
if (res.error?.details?.includes('Results contain 0 rows')) {
return onfulfilled({

@@ -110,0 +110,0 @@ error: null,

@@ -47,3 +47,3 @@ import PostgrestQueryBuilder from './lib/PostgrestQueryBuilder'

/**
* Perform a stored procedure call.
* Perform a function call.
*

@@ -50,0 +50,0 @@ * @param fn The function name to call.

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