arckode-framework 1.2.1 → 1.2.2

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.
@@ -1290,8 +1290,8 @@ function buildEnvelope(status: number, body: unknown): string {
1290
1290
  data: null,
1291
1291
  meta: null,
1292
1292
  error: {
1293
- code: b.code ?? 'ERROR',
1294
- message: b.error ?? 'Error',
1293
+ code: (b.code ?? 'ERROR') as string,
1294
+ message: (b.error ?? 'Error') as string,
1295
1295
  details: b.details ?? null,
1296
1296
  },
1297
1297
  } satisfies ApiResponse)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arckode-framework",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "AI-first TypeScript/Bun framework. Modular, SOLID, zero magic. The AI reads the composition root and knows everything.",
5
5
  "type": "module",
6
6
  "main": "./kernel/framework.ts",