@thingd/sdk 0.93.7 → 0.93.8
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/rest/server.js +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/rest/server.js
CHANGED
|
@@ -89,8 +89,8 @@ export async function handleRestRequest(db, req, res, pathname) {
|
|
|
89
89
|
const { parseSchema } = await import("../stores/native-thing-store.js");
|
|
90
90
|
sendData(res, await parseSchema(source));
|
|
91
91
|
}
|
|
92
|
-
catch
|
|
93
|
-
console.error("Schema validation failed
|
|
92
|
+
catch {
|
|
93
|
+
console.error("Schema validation failed");
|
|
94
94
|
sendError(res, 400, "schema_validation_error", "Schema validation failed");
|
|
95
95
|
}
|
|
96
96
|
return;
|
|
@@ -422,8 +422,8 @@ export async function handleRestRequest(db, req, res, pathname) {
|
|
|
422
422
|
const jobs = await db.queue(ackBatchMatch.queue).ackMany(body.jobIds);
|
|
423
423
|
sendDataList(res, jobs);
|
|
424
424
|
}
|
|
425
|
-
catch
|
|
426
|
-
console.error("Queue batch ack failed
|
|
425
|
+
catch {
|
|
426
|
+
console.error("Queue batch ack failed");
|
|
427
427
|
sendError(res, 409, "conflict", "Queue batch ack failed");
|
|
428
428
|
}
|
|
429
429
|
return;
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thingd/sdk",
|
|
3
|
-
"version": "0.93.
|
|
3
|
+
"version": "0.93.8",
|
|
4
4
|
"description": "A fast object-first data engine for applications and AI agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Sayan Mohsin",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"zod": "^4.6.7"
|
|
72
72
|
},
|
|
73
73
|
"optionalDependencies": {
|
|
74
|
-
"@thingd/native": "^0.93.
|
|
74
|
+
"@thingd/native": "^0.93.8"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "tsc -p tsconfig.json",
|