@declarion/react 0.1.44 → 0.1.45

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.
@@ -27,7 +27,9 @@ export declare class ApiError extends Error {
27
27
  code: string;
28
28
  /** Bulk operation item index (present on validation errors for array requests). */
29
29
  index?: number;
30
- constructor(status: number, message: string, code: string, index?: number);
30
+ /** Raw JSON body for endpoints that return a non-standard error envelope (e.g. invoke:each batch). */
31
+ raw?: unknown;
32
+ constructor(status: number, message: string, code: string, index?: number, raw?: unknown);
31
33
  }
32
34
  export type TenantEnv = "production" | "staging" | "dev" | string;
33
35
  export interface Tenant {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@declarion/react",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "description": "React SDK for Declarion, the schema-driven business apps platform.",