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

@supabase/postgrest-js

Package Overview
Dependencies
Maintainers
9
Versions
135
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 1.15.8 to 1.16.0

4

dist/cjs/PostgrestBuilder.d.ts

@@ -20,4 +20,8 @@ import type { Fetch, PostgrestSingleResponse } from './types';

throwOnError(): this;
/**
* Set an HTTP header for the request.
*/
setHeader(name: string, value: string): this;
then<TResult1 = PostgrestSingleResponse<Result>, TResult2 = never>(onfulfilled?: ((value: PostgrestSingleResponse<Result>) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
}
//# sourceMappingURL=PostgrestBuilder.d.ts.map

@@ -40,2 +40,10 @@ "use strict";

}
/**
* Set an HTTP header for the request.
*/
setHeader(name, value) {
this.headers = Object.assign({}, this.headers);
this.headers[name] = value;
return this;
}
then(onfulfilled, onrejected) {

@@ -42,0 +50,0 @@ // https://postgrest.org/en/stable/api.html#switching-schemas

2

package.json
{
"name": "@supabase/postgrest-js",
"version": "1.15.8",
"version": "1.16.0",
"description": "Isomorphic PostgREST client",

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

@@ -50,2 +50,11 @@ // @ts-ignore

/**
* Set an HTTP header for the request.
*/
setHeader(name: string, value: string): this {
this.headers = { ...this.headers }
this.headers[name] = value
return this
}
then<TResult1 = PostgrestSingleResponse<Result>, TResult2 = never>(

@@ -52,0 +61,0 @@ onfulfilled?:

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

export const version = '1.15.8'
export const version = '1.16.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