@intuned/runtime-dev 1.1.2-auth-helper.6 → 1.1.2-dev-52
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/dist/commands/api/run.js
CHANGED
|
@@ -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("--
|
|
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) => {
|
|
100
100
|
let inputData = null;
|
|
101
101
|
if (options.input) {
|
|
102
102
|
inputData = await fs.readJSON(options.input);
|
|
@@ -29,8 +29,7 @@ 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()
|
|
33
|
-
authSessionId: _zod.default.string().optional()
|
|
32
|
+
queueId: _zod.default.string().optional()
|
|
34
33
|
}).optional()
|
|
35
34
|
})
|
|
36
35
|
});
|
package/dist/runtime/export.d.ts
CHANGED
|
@@ -201,18 +201,3 @@ export declare function requestMultipleChoice(
|
|
|
201
201
|
* ```
|
|
202
202
|
*/
|
|
203
203
|
export declare function requestOTP(message: string): unknown;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* Retrieves the parameters for the authentication session currently being used.
|
|
207
|
-
*
|
|
208
|
-
* @returns {AuthSessionParameters} An object containing the parameters for the current authentication session.
|
|
209
|
-
*
|
|
210
|
-
* @example
|
|
211
|
-
* ```typescript getAuthSessionParameters
|
|
212
|
-
* import { getAuthSessionParameters } from "@intuned/sdk/runtime"
|
|
213
|
-
*
|
|
214
|
-
* const authSessionParams = getAuthSessionParameters();
|
|
215
|
-
* console.log(authSessionParams);
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
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-
|
|
3
|
+
"version": "1.1.2-dev-52",
|
|
4
4
|
"description": "Intuned runtime",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"minimatch": "10.0.1",
|
|
84
84
|
"nanoid": "3",
|
|
85
85
|
"neverthrow": "6.1.0",
|
|
86
|
-
"playwright": "1.
|
|
86
|
+
"playwright": "^1.52.0",
|
|
87
87
|
"playwright-extra": "4.3.6",
|
|
88
88
|
"prettier": "2.8.0",
|
|
89
89
|
"promptly": "3.2.0",
|
|
@@ -131,6 +131,6 @@
|
|
|
131
131
|
"vitest": "^1.1.3"
|
|
132
132
|
},
|
|
133
133
|
"peerDependencies": {
|
|
134
|
-
"
|
|
134
|
+
"playwright": "*"
|
|
135
135
|
}
|
|
136
|
-
}
|
|
136
|
+
}
|
package/WebTemplate.zip
DELETED
|
Binary file
|