@supacloud/js 0.32.0 → 0.33.0
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.d.ts +2 -0
- package/dist/index.js +5 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2504,7 +2504,7 @@ function createQueryString(filters = {}) {
|
|
|
2504
2504
|
} catch {
|
|
2505
2505
|
throw new Error("Invalid task list filters");
|
|
2506
2506
|
}
|
|
2507
|
-
if (Object.keys(captured).some((key) => !["status", "taskType", "functionSlug", "dlq", "limit"].includes(key))) {
|
|
2507
|
+
if (Object.keys(captured).some((key) => !["status", "taskType", "functionSlug", "correlationId", "businessTaskId", "dlq", "limit"].includes(key))) {
|
|
2508
2508
|
throw new Error("Invalid task list filters");
|
|
2509
2509
|
}
|
|
2510
2510
|
const text = (value, commaAllowed = false) => {
|
|
@@ -2531,6 +2531,10 @@ function createQueryString(filters = {}) {
|
|
|
2531
2531
|
params.set("task_type", values(captured.taskType).join(","));
|
|
2532
2532
|
if (Object.hasOwn(captured, "functionSlug"))
|
|
2533
2533
|
params.set("function_slug", text(captured.functionSlug, true));
|
|
2534
|
+
if (Object.hasOwn(captured, "correlationId"))
|
|
2535
|
+
params.set("correlation_id", text(captured.correlationId));
|
|
2536
|
+
if (Object.hasOwn(captured, "businessTaskId"))
|
|
2537
|
+
params.set("business_task_id", text(captured.businessTaskId));
|
|
2534
2538
|
if (Object.hasOwn(captured, "dlq")) {
|
|
2535
2539
|
if (typeof captured.dlq !== "boolean")
|
|
2536
2540
|
throw new Error("Invalid task list filters");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "Platform SDK for SupaCloud, built on top of supabase-js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@supabase/supabase-js": "^2.115.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@supacloud/contracts": "0.
|
|
53
|
+
"@supacloud/contracts": "0.5.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/bun": "^1.4.2",
|