@resonatehq/supabase 0.1.4 → 0.1.5
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/index.js +1 -7
- package/package.json +1 -2
- package/src/index.ts +1 -7
- package/tsconfig.json +15 -15
package/dist/index.js
CHANGED
|
@@ -115,13 +115,7 @@ class Resonate {
|
|
|
115
115
|
}
|
|
116
116
|
httpHandler() {
|
|
117
117
|
return Deno.serve(async (req) => {
|
|
118
|
-
|
|
119
|
-
return new Response(JSON.stringify(resp), {
|
|
120
|
-
headers: {
|
|
121
|
-
"Content-Type": "application/json",
|
|
122
|
-
Connection: "keep-alive",
|
|
123
|
-
},
|
|
124
|
-
});
|
|
118
|
+
return await this.handler(req);
|
|
125
119
|
});
|
|
126
120
|
}
|
|
127
121
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@resonatehq/supabase",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Resonate FaaS handler for Supabase Edge Functions (TypeScript)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/resonatehq/resonate-faas-supabase-ts"
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@biomejs/biome": "2.3.6",
|
|
25
|
-
"@types/bun": "latest",
|
|
26
25
|
"@types/deno": "^2.5.0",
|
|
27
26
|
"open": "^10.2.0"
|
|
28
27
|
},
|
package/src/index.ts
CHANGED
|
@@ -202,13 +202,7 @@ export class Resonate {
|
|
|
202
202
|
|
|
203
203
|
public httpHandler(): Deno.HttpServer {
|
|
204
204
|
return Deno.serve(async (req: Request) => {
|
|
205
|
-
|
|
206
|
-
return new Response(JSON.stringify(resp), {
|
|
207
|
-
headers: {
|
|
208
|
-
"Content-Type": "application/json",
|
|
209
|
-
Connection: "keep-alive",
|
|
210
|
-
},
|
|
211
|
-
});
|
|
205
|
+
return await this.handler(req);
|
|
212
206
|
});
|
|
213
207
|
}
|
|
214
208
|
}
|
package/tsconfig.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2020",
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"lib": ["ES2020", "DOM"],
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"outDir": "./dist",
|
|
8
|
+
"rootDir": "./src",
|
|
9
|
+
"strict": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"resolveJsonModule": true
|
|
14
|
+
},
|
|
15
|
+
"include": ["src/**/*"],
|
|
16
|
+
"exclude": ["node_modules", "dist"]
|
|
17
17
|
}
|