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.28.2 to 0.28.3

4

dist/main/lib/PostgrestRpcBuilder.d.ts
import { PostgrestBuilder } from './types';
import PostgrestTransformBuilder from './PostgrestTransformBuilder';
import PostgrestFilterBuilder from './PostgrestFilterBuilder';
export default class PostgrestRpcBuilder<T> extends PostgrestBuilder<T> {

@@ -15,4 +15,4 @@ constructor(url: string, { headers, schema }?: {

count?: null | 'exact' | 'planned' | 'estimated';
}): PostgrestTransformBuilder<T>;
}): PostgrestFilterBuilder<T>;
}
//# sourceMappingURL=PostgrestRpcBuilder.d.ts.map

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

const types_1 = require("./types");
const PostgrestTransformBuilder_1 = __importDefault(require("./PostgrestTransformBuilder"));
const PostgrestFilterBuilder_1 = __importDefault(require("./PostgrestFilterBuilder"));
class PostgrestRpcBuilder extends types_1.PostgrestBuilder {

@@ -28,3 +28,3 @@ constructor(url, { headers = {}, schema } = {}) {

}
return new PostgrestTransformBuilder_1.default(this);
return new PostgrestFilterBuilder_1.default(this);
}

@@ -31,0 +31,0 @@ }

import PostgrestQueryBuilder from './lib/PostgrestQueryBuilder';
import PostgrestTransformBuilder from './lib/PostgrestTransformBuilder';
import PostgrestFilterBuilder from './lib/PostgrestFilterBuilder';
export default class PostgrestClient {

@@ -43,4 +43,4 @@ url: string;

count?: null | 'exact' | 'planned' | 'estimated';
}): PostgrestTransformBuilder<T>;
}): PostgrestFilterBuilder<T>;
}
//# sourceMappingURL=PostgrestClient.d.ts.map
import { PostgrestBuilder } from './types';
import PostgrestTransformBuilder from './PostgrestTransformBuilder';
import PostgrestFilterBuilder from './PostgrestFilterBuilder';
export default class PostgrestRpcBuilder<T> extends PostgrestBuilder<T> {

@@ -15,4 +15,4 @@ constructor(url: string, { headers, schema }?: {

count?: null | 'exact' | 'planned' | 'estimated';
}): PostgrestTransformBuilder<T>;
}): PostgrestFilterBuilder<T>;
}
//# sourceMappingURL=PostgrestRpcBuilder.d.ts.map
import { PostgrestBuilder } from './types';
import PostgrestTransformBuilder from './PostgrestTransformBuilder';
import PostgrestFilterBuilder from './PostgrestFilterBuilder';
export default class PostgrestRpcBuilder extends PostgrestBuilder {

@@ -22,5 +22,5 @@ constructor(url, { headers = {}, schema } = {}) {

}
return new PostgrestTransformBuilder(this);
return new PostgrestFilterBuilder(this);
}
}
//# sourceMappingURL=PostgrestRpcBuilder.js.map
import PostgrestQueryBuilder from './lib/PostgrestQueryBuilder';
import PostgrestTransformBuilder from './lib/PostgrestTransformBuilder';
import PostgrestFilterBuilder from './lib/PostgrestFilterBuilder';
export default class PostgrestClient {

@@ -43,4 +43,4 @@ url: string;

count?: null | 'exact' | 'planned' | 'estimated';
}): PostgrestTransformBuilder<T>;
}): PostgrestFilterBuilder<T>;
}
//# sourceMappingURL=PostgrestClient.d.ts.map
{
"name": "@supabase/postgrest-js",
"version": "0.28.2",
"version": "0.28.3",
"description": "Isomorphic PostgREST client",

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

import { PostgrestBuilder } from './types'
import PostgrestTransformBuilder from './PostgrestTransformBuilder'
import PostgrestFilterBuilder from './PostgrestFilterBuilder'

@@ -25,3 +25,3 @@ export default class PostgrestRpcBuilder<T> extends PostgrestBuilder<T> {

} = {}
): PostgrestTransformBuilder<T> {
): PostgrestFilterBuilder<T> {
this.method = 'POST'

@@ -35,4 +35,4 @@ this.body = params

return new PostgrestTransformBuilder(this)
return new PostgrestFilterBuilder(this)
}
}
import PostgrestQueryBuilder from './lib/PostgrestQueryBuilder'
import PostgrestRpcBuilder from './lib/PostgrestRpcBuilder'
import PostgrestTransformBuilder from './lib/PostgrestTransformBuilder'
import PostgrestFilterBuilder from './lib/PostgrestFilterBuilder'

@@ -61,3 +61,3 @@ export default class PostgrestClient {

} = {}
): PostgrestTransformBuilder<T> {
): PostgrestFilterBuilder<T> {
const url = `${this.url}/rpc/${fn}`

@@ -64,0 +64,0 @@ return new PostgrestRpcBuilder<T>(url, {

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