@pgflow/edge-worker 0.0.0-update-supabase-ba45e13a-20251119080026 → 0.0.0-worker-management-a4f969d1-20251208095931
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 +2 -2
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ import { Flow } from 'jsr:@pgflow/dsl/supabase';
|
|
|
63
63
|
|
|
64
64
|
// Define a flow using Supabase preset for Supabase resources
|
|
65
65
|
const AnalyzeWebsite = new Flow<{ url: string }>({
|
|
66
|
-
slug: '
|
|
66
|
+
slug: 'analyzeWebsite',
|
|
67
67
|
})
|
|
68
68
|
.step({ slug: 'fetch' }, async (input, context) => {
|
|
69
69
|
// Access Supabase resources through context
|
|
@@ -172,7 +172,7 @@ When defining flows that use Supabase resources, import `Flow` from the Supabase
|
|
|
172
172
|
```typescript
|
|
173
173
|
import { Flow } from 'jsr:@pgflow/dsl/supabase';
|
|
174
174
|
|
|
175
|
-
const MyFlow = new Flow<InputType>({ slug: '
|
|
175
|
+
const MyFlow = new Flow<InputType>({ slug: 'myFlow' }).step(
|
|
176
176
|
{ slug: 'process' },
|
|
177
177
|
async (input, context) => {
|
|
178
178
|
// TypeScript knows context includes all Supabase resources
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgflow/edge-worker",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-worker-management-a4f969d1-20251208095931",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/deno": "^2.3.0",
|
|
32
|
-
"@types/node": "~18.16.20"
|
|
33
|
-
"supabase": "^2.34.3"
|
|
32
|
+
"@types/node": "~18.16.20"
|
|
34
33
|
},
|
|
35
34
|
"publishConfig": {
|
|
36
35
|
"access": "public"
|