@workers-community/workers-types 4.20251125.0 → 4.20251127.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.
Files changed (3) hide show
  1. package/index.d.ts +5 -2
  2. package/index.ts +5 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -12248,8 +12248,11 @@ type InstanceStatus = {
12248
12248
  | "waiting" // instance is hibernating and waiting for sleep or event to finish
12249
12249
  | "waitingForPause" // instance is finishing the current work to pause
12250
12250
  | "unknown";
12251
- error?: string;
12252
- output?: object;
12251
+ error?: {
12252
+ name: string;
12253
+ message: string;
12254
+ };
12255
+ output?: unknown;
12253
12256
  };
12254
12257
  interface WorkflowError {
12255
12258
  code?: number;
package/index.ts CHANGED
@@ -12199,8 +12199,11 @@ export type InstanceStatus = {
12199
12199
  | "waiting" // instance is hibernating and waiting for sleep or event to finish
12200
12200
  | "waitingForPause" // instance is finishing the current work to pause
12201
12201
  | "unknown";
12202
- error?: string;
12203
- output?: object;
12202
+ error?: {
12203
+ name: string;
12204
+ message: string;
12205
+ };
12206
+ output?: unknown;
12204
12207
  };
12205
12208
  export interface WorkflowError {
12206
12209
  code?: number;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "author": "Workers Community",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "4.20251125.0",
10
+ "version": "4.20251127.0",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./index.d.ts",