@supabase/postgrest-js 2.75.1-canary.5 → 2.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -29
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.d.ts.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/package.json +2 -1
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -1,34 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<picture>
|
|
5
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/supabase/supabase/master/packages/common/assets/images/supabase-logo-wordmark--dark.svg">
|
|
6
|
-
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/supabase/supabase/master/packages/common/assets/images/supabase-logo-wordmark--light.svg">
|
|
7
|
-
<img alt="Supabase Logo" width="300" src="https://raw.githubusercontent.com/supabase/supabase/master/packages/common/assets/images/logo-preview.jpg">
|
|
8
|
-
</picture>
|
|
9
|
-
</a>
|
|
10
|
-
|
|
11
|
-
<h1 align="center">Supabase PostgREST JS SDK</h1>
|
|
12
|
-
|
|
13
|
-
<h3 align="center">Isomorphic JavaScript SDK for <a href="https://postgrest.org">PostgREST</a> with an ORM-like interface.</h3>
|
|
14
|
-
|
|
15
|
-
<p align="center">
|
|
16
|
-
<a href="https://supabase.com/docs/guides/database">Guides</a>
|
|
17
|
-
·
|
|
18
|
-
<a href="https://supabase.com/docs/reference/javascript/select">Reference Docs</a>
|
|
19
|
-
·
|
|
20
|
-
<a href="https://supabase.github.io/supabase-js/postgrest-js/v2/spec.json">TypeDoc</a>
|
|
21
|
-
</p>
|
|
22
|
-
</p>
|
|
23
|
-
|
|
24
|
-
<div align="center">
|
|
25
|
-
|
|
26
|
-
[](https://github.com/supabase/supabase-js/actions?query=branch%3Amaster)
|
|
1
|
+
# `postgrest-js`
|
|
2
|
+
|
|
3
|
+
[](https://github.com/supabase/postgrest-js/actions?query=branch%3Amaster)
|
|
27
4
|
[](https://www.npmjs.com/package/@supabase/postgrest-js)
|
|
28
|
-
[](#license)
|
|
29
6
|
[](https://pkg.pr.new/~/supabase/postgrest-js)
|
|
30
7
|
|
|
31
|
-
|
|
8
|
+
Isomorphic JavaScript client for [PostgREST](https://postgrest.org). The goal of this library is to make an "ORM-like" restful interface.
|
|
9
|
+
|
|
10
|
+
Full documentation can be found [here](https://supabase.github.io/supabase-js/postgrest-js/v2/spec.json).
|
|
32
11
|
|
|
33
12
|
### Quick start
|
|
34
13
|
|
|
@@ -188,7 +167,7 @@ It performs these steps:
|
|
|
188
167
|
- **Port 3000** - PostgREST server (API)
|
|
189
168
|
- **Port 8080** - Database schema endpoint (for type generation)
|
|
190
169
|
|
|
191
|
-
**Note:** Unlike a full Supabase instance, this uses a minimal PostgREST setup specifically for testing the
|
|
170
|
+
**Note:** Unlike a full Supabase instance, this uses a minimal PostgREST setup specifically for testing the client library.
|
|
192
171
|
|
|
193
172
|
### Contributing
|
|
194
173
|
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.75.1
|
|
1
|
+
export declare const version = "2.75.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,WAAW,CAAA"}
|
package/dist/cjs/version.js
CHANGED
|
@@ -7,5 +7,5 @@ exports.version = void 0;
|
|
|
7
7
|
// - Debugging and support (identifying which version is running)
|
|
8
8
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
9
9
|
// - Ensuring build artifacts match the published package version
|
|
10
|
-
exports.version = '2.75.1
|
|
10
|
+
exports.version = '2.75.1';
|
|
11
11
|
//# sourceMappingURL=version.js.map
|
package/dist/cjs/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACpD,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACpD,QAAA,OAAO,GAAG,QAAQ,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supabase/postgrest-js",
|
|
3
|
-
"version": "2.75.1
|
|
3
|
+
"version": "2.75.1",
|
|
4
4
|
"description": "Isomorphic PostgREST client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postgrest",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"format": "node scripts/format.js",
|
|
38
38
|
"format:check": "node scripts/format.js check",
|
|
39
39
|
"build": "npm run clean && npm run build:cjs && npm run build:esm",
|
|
40
|
+
"postbuild": "cp -rf ./src/types/common ../supabase-js/src/lib/rest/types/common",
|
|
40
41
|
"build:cjs": "tsc -p tsconfig.json",
|
|
41
42
|
"build:esm": "cpy wrapper.mjs dist/esm/",
|
|
42
43
|
"docs": "typedoc src/index.ts --out docs/v2",
|
package/src/version.ts
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
// - Debugging and support (identifying which version is running)
|
|
5
5
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
6
|
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.75.1
|
|
7
|
+
export const version = '2.75.1'
|