@exposify/supabase 0.3.1 → 0.3.3

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/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import { createInterface } from "readline/promises";
10
10
  // src/fetch-openapi.ts
11
11
  var WRONG_KEY_TIER_RE = /service_role|secret api key/i;
12
12
  async function fetchOpenApi(postgrestUrl, headers, fetchImpl) {
13
- const res = await fetchImpl(postgrestUrl, {
13
+ const res = await fetchImpl(`${postgrestUrl.replace(/\/+$/, "")}/`, {
14
14
  headers: { ...Object.fromEntries(headers), accept: "application/openapi+json" }
15
15
  });
16
16
  if (!res.ok) {
package/dist/index.cjs CHANGED
@@ -164,7 +164,7 @@ function createPostgrestClient(postgrestUrl, headers, fetchImpl) {
164
164
  // src/fetch-openapi.ts
165
165
  var WRONG_KEY_TIER_RE = /service_role|secret api key/i;
166
166
  async function fetchOpenApi(postgrestUrl, headers, fetchImpl) {
167
- const res = await fetchImpl(postgrestUrl, {
167
+ const res = await fetchImpl(`${postgrestUrl.replace(/\/+$/, "")}/`, {
168
168
  headers: { ...Object.fromEntries(headers), accept: "application/openapi+json" }
169
169
  });
170
170
  if (!res.ok) {
package/dist/index.js CHANGED
@@ -131,7 +131,7 @@ function createPostgrestClient(postgrestUrl, headers, fetchImpl) {
131
131
  // src/fetch-openapi.ts
132
132
  var WRONG_KEY_TIER_RE = /service_role|secret api key/i;
133
133
  async function fetchOpenApi(postgrestUrl, headers, fetchImpl) {
134
- const res = await fetchImpl(postgrestUrl, {
134
+ const res = await fetchImpl(`${postgrestUrl.replace(/\/+$/, "")}/`, {
135
135
  headers: { ...Object.fromEntries(headers), accept: "application/openapi+json" }
136
136
  });
137
137
  if (!res.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exposify/supabase",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -27,7 +27,7 @@
27
27
  "prepack": "yarn build"
28
28
  },
29
29
  "dependencies": {
30
- "@exposify/core": "0.3.1",
30
+ "@exposify/core": "1.0.0",
31
31
  "@modelcontextprotocol/sdk": "^1.12.0",
32
32
  "zod": "^3.24.0"
33
33
  },
@@ -48,5 +48,15 @@
48
48
  "homepage": "https://github.com/ayadagain/agentready/tree/main/packages/supabase#readme",
49
49
  "bugs": {
50
50
  "url": "https://github.com/ayadagain/agentready/issues"
51
- }
51
+ },
52
+ "description": "Expose a Supabase-backed app's database and edge functions to AI agents over MCP, generated from PostgREST + Row Level Security — RLS is the authorization layer, so agents can do exactly what the logged-in user can do.",
53
+ "author": "Exposify",
54
+ "keywords": [
55
+ "mcp",
56
+ "model-context-protocol",
57
+ "supabase",
58
+ "ai-agents",
59
+ "postgrest",
60
+ "edge-functions"
61
+ ]
52
62
  }