aws-local-stepfunctions 1.3.0 → 2.0.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/README.md +49 -0
- package/bin/CLI.cjs +18 -3
- package/build/main.browser.esm.js +28314 -22427
- package/build/main.d.ts +3 -11
- package/build/main.node.cjs +858 -46
- package/build/main.node.esm.js +858 -47
- package/package.json +19 -22
package/build/main.d.ts
CHANGED
|
@@ -199,18 +199,10 @@ type Context = {
|
|
|
199
199
|
[other: string]: unknown;
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
-
declare class ErrorWithCause extends Error {
|
|
203
|
-
#private;
|
|
204
|
-
constructor(message: string, options?: {
|
|
205
|
-
cause: unknown;
|
|
206
|
-
});
|
|
207
|
-
get cause(): unknown;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
202
|
/**
|
|
211
203
|
* Base class for all internal errors that can be thrown during the state machine execution.
|
|
212
204
|
*/
|
|
213
|
-
declare abstract class RuntimeError extends
|
|
205
|
+
declare abstract class RuntimeError extends Error {
|
|
214
206
|
/**
|
|
215
207
|
* Whether this runtime error can be matched in a `Retry` field
|
|
216
208
|
*/
|
|
@@ -460,7 +452,7 @@ declare class StateMachine {
|
|
|
460
452
|
/**
|
|
461
453
|
* Represents the failure of a state machine execution.
|
|
462
454
|
*/
|
|
463
|
-
declare class ExecutionError extends
|
|
455
|
+
declare class ExecutionError extends Error {
|
|
464
456
|
constructor(caughtError: RuntimeError);
|
|
465
457
|
}
|
|
466
458
|
|
|
@@ -478,4 +470,4 @@ declare class ExecutionTimeoutError extends Error {
|
|
|
478
470
|
constructor();
|
|
479
471
|
}
|
|
480
472
|
|
|
481
|
-
export { ExecutionAbortedError, ExecutionError, ExecutionTimeoutError, RunOptions, StateMachine, StateMachineDefinition, StateMachineOptions };
|
|
473
|
+
export { ExecutionAbortedError, ExecutionError, ExecutionTimeoutError, type RunOptions, StateMachine, type StateMachineDefinition, type StateMachineOptions };
|