@intuned/runtime-dev 1.1.2-auth-helper.4 → 1.1.2-auth-helper.6

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.
@@ -96,7 +96,7 @@ async function executeCLI(apiName, mode, inputData, options) {
96
96
  _Logger.logger.info("This will only take an effect if this API run was part of a job.");
97
97
  }
98
98
  }
99
- _commander.program.description("run the user function in the cli for testing purposes").option("-i, --input [file]", "input json file").option("-j, --json [json]", "input json string").option("--cdpAddress <cdpAddress>", "CDP address", "http://localhost:9222").option("--authSessionPath <authSession>", "auth session to use when executing the api").option("--outputFileId <outputFileId>", "the output file id to save the result in").option("--proxy <proxy>", "proxy to use").option("--authSessionPath <authSessionParameters>", "parameters used to create the used auth session").argument("[apiName]", "name of the api", "default").allowUnknownOption().addArgument(new _commander.Argument("<mode>", "mode of execution").choices(["vanilla", "playwright", "playwright-standalone", "playwright-headless"]).default("playwright-standalone").argOptional()).action(async (apiName, mode, options) => {
99
+ _commander.program.description("run the user function in the cli for testing purposes").option("-i, --input [file]", "input json file").option("-j, --json [json]", "input json string").option("--cdpAddress <cdpAddress>", "CDP address", "http://localhost:9222").option("--authSessionPath <authSession>", "auth session to use when executing the api").option("--outputFileId <outputFileId>", "the output file id to save the result in").option("--proxy <proxy>", "proxy to use").option("--authSessionParameters <authSessionParameters>", "parameters used to create the used auth session").argument("[apiName]", "name of the api", "default").allowUnknownOption().addArgument(new _commander.Argument("<mode>", "mode of execution").choices(["vanilla", "playwright", "playwright-standalone", "playwright-headless"]).default("playwright-standalone").argOptional()).action(async (apiName, mode, options) => {
100
100
  let inputData = null;
101
101
  if (options.input) {
102
102
  inputData = await fs.readJSON(options.input);
@@ -29,7 +29,8 @@ const startRunApiSchema = _zod.default.object({
29
29
  jobId: _zod.default.string().optional(),
30
30
  jobRunId: _zod.default.string().optional(),
31
31
  runId: _zod.default.string().optional(),
32
- queueId: _zod.default.string().optional()
32
+ queueId: _zod.default.string().optional(),
33
+ authSessionId: _zod.default.string().optional()
33
34
  }).optional()
34
35
  })
35
36
  });
@@ -215,4 +215,4 @@ export declare function requestOTP(message: string): unknown;
215
215
  * console.log(authSessionParams);
216
216
  * ```
217
217
  */
218
- export declare function getAuthSessionParameters();
218
+ export declare function getAuthSessionParameters(): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.1.2-auth-helper.4",
3
+ "version": "1.1.2-auth-helper.6",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",