@prismatic-io/spectral 10.3.6 → 10.3.7

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.
@@ -72,6 +72,7 @@ export type ActionContext<TConfigVars extends ConfigVarResultCollection = Config
72
72
  startedAt: string;
73
73
  invokeFlow: FlowInvoker<TFlows>;
74
74
  executionFrame: ExecutionFrame;
75
+ globalDebug: boolean;
75
76
  };
76
77
  type TriggerOptionChoice = "invalid" | "valid" | "required";
77
78
  export interface TriggerPayload {
package/dist/testing.js CHANGED
@@ -113,7 +113,7 @@ const createActionContext = (context) => {
113
113
  executionStartedAt: "",
114
114
  stepName: "some-step",
115
115
  loopPath: "",
116
- } }, context);
116
+ }, globalDebug: false }, context);
117
117
  };
118
118
  const createDataSourceContext = (context) => {
119
119
  return Object.assign({ logger: (0, exports.loggerMock)(), configVars: {}, customer: {
@@ -66,5 +66,7 @@ export type ActionContext<TConfigVars extends ConfigVarResultCollection = Config
66
66
  invokeFlow: FlowInvoker<TFlows>;
67
67
  /** Reference to the current execution and, when applicable, the current step. */
68
68
  executionFrame: ExecutionFrame;
69
+ /** Denotes whether code should be executed in debug mode. */
70
+ globalDebug: boolean;
69
71
  };
70
72
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "10.3.6",
3
+ "version": "10.3.7",
4
4
  "description": "Utility library for building Prismatic connectors and code-native integrations",
5
5
  "keywords": ["prismatic"],
6
6
  "main": "dist/index.js",