@intuned/runtime-dev 1.0.6-cli.1 → 1.0.6-cli.3

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.
@@ -15,7 +15,7 @@ _commander.program.name("intuned-run").description("Run an Intuned API with para
15
15
  runEnvironment: _enums.RunEnvironment.IDE,
16
16
  extendedPayloads: [],
17
17
  runId: (0, _nanoid.nanoid)()
18
- }, () => (0, _utils.runApiViaCLI)(apiName, inputData, options));
18
+ }, async () => await (0, _utils.runApiViaCLI)(apiName, inputData, options));
19
19
  if (!result) {
20
20
  console.log(_chalk.default.yellow("No result returned from the API"));
21
21
  return;
@@ -13,5 +13,8 @@ function runWithContext(contextData, callback, ...args) {
13
13
  }
14
14
  function getExecutionContext() {
15
15
  const contextData = asyncLocalStorage.getStore();
16
+ console.log({
17
+ getExecutionContext: contextData
18
+ });
16
19
  return contextData;
17
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.0.6-cli.1",
3
+ "version": "1.0.6-cli.3",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",