@supabase/postgrest-js
Advanced tools
Comparing version 1.0.0-next.4 to 1.0.0-next.5
@@ -22,10 +22,2 @@ import PostgrestQueryBuilder from './PostgrestQueryBuilder'; | ||
/** | ||
* Authenticates the request with JWT. | ||
* | ||
* @param token The JWT token to use. | ||
* | ||
* @deprecated Use `headers` in constructor instead. | ||
*/ | ||
auth(token: string): this; | ||
/** | ||
* Perform a table operation. | ||
@@ -36,2 +28,3 @@ * | ||
from<TableName extends string & keyof Schema['Tables'], Table extends Schema['Tables'][TableName]>(table: TableName): PostgrestQueryBuilder<Table>; | ||
from(table: string): PostgrestQueryBuilder<any>; | ||
/** | ||
@@ -38,0 +31,0 @@ * Perform a function call. |
@@ -24,18 +24,2 @@ "use strict"; | ||
} | ||
/** | ||
* Authenticates the request with JWT. | ||
* | ||
* @param token The JWT token to use. | ||
* | ||
* @deprecated Use `headers` in constructor instead. | ||
*/ | ||
auth(token) { | ||
this.headers['Authorization'] = `Bearer ${token}`; | ||
return this; | ||
} | ||
/** | ||
* Perform a table operation. | ||
* | ||
* @param table The table name to operate on. | ||
*/ | ||
from(table) { | ||
@@ -42,0 +26,0 @@ const url = new URL(`${this.url}/${table}`); |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.0.0-next.4"; | ||
export declare const version = "1.0.0-next.5"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '1.0.0-next.4'; | ||
exports.version = '1.0.0-next.5'; | ||
//# sourceMappingURL=version.js.map |
@@ -22,10 +22,2 @@ import PostgrestQueryBuilder from './PostgrestQueryBuilder'; | ||
/** | ||
* Authenticates the request with JWT. | ||
* | ||
* @param token The JWT token to use. | ||
* | ||
* @deprecated Use `headers` in constructor instead. | ||
*/ | ||
auth(token: string): this; | ||
/** | ||
* Perform a table operation. | ||
@@ -36,2 +28,3 @@ * | ||
from<TableName extends string & keyof Schema['Tables'], Table extends Schema['Tables'][TableName]>(table: TableName): PostgrestQueryBuilder<Table>; | ||
from(table: string): PostgrestQueryBuilder<any>; | ||
/** | ||
@@ -38,0 +31,0 @@ * Perform a function call. |
@@ -19,18 +19,2 @@ import PostgrestQueryBuilder from './PostgrestQueryBuilder'; | ||
} | ||
/** | ||
* Authenticates the request with JWT. | ||
* | ||
* @param token The JWT token to use. | ||
* | ||
* @deprecated Use `headers` in constructor instead. | ||
*/ | ||
auth(token) { | ||
this.headers['Authorization'] = `Bearer ${token}`; | ||
return this; | ||
} | ||
/** | ||
* Perform a table operation. | ||
* | ||
* @param table The table name to operate on. | ||
*/ | ||
from(table) { | ||
@@ -37,0 +21,0 @@ const url = new URL(`${this.url}/${table}`); |
@@ -1,2 +0,2 @@ | ||
export declare const version = "1.0.0-next.4"; | ||
export declare const version = "1.0.0-next.5"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export const version = '1.0.0-next.4'; | ||
export const version = '1.0.0-next.5'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@supabase/postgrest-js", | ||
"version": "1.0.0-next.4", | ||
"version": "1.0.0-next.5", | ||
"description": "Isomorphic PostgREST client", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
195350
2681