@intuned/runtime 1.3.18-interface.6 → 1.3.18
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/.babelrc +27 -0
- package/.claude/settings.local.json +7 -0
- package/.eslintignore +10 -0
- package/.eslintrc.js +39 -0
- package/InterfaceTemplate/__utils.ts +63 -0
- package/InterfaceTemplate/index.playwright.ts +6 -0
- package/dist/commands/api/run.d.ts +6 -0
- package/dist/commands/api/run.js +119 -0
- package/dist/commands/auth-sessions/load.d.ts +2 -0
- package/dist/commands/auth-sessions/load.js +35 -0
- package/dist/commands/auth-sessions/run-check.d.ts +2 -0
- package/dist/commands/auth-sessions/run-check.js +74 -0
- package/dist/commands/auth-sessions/run-create.d.ts +2 -0
- package/dist/commands/auth-sessions/run-create.js +78 -0
- package/dist/commands/browser/save-state.d.ts +2 -0
- package/dist/commands/browser/save-state.js +17 -0
- package/dist/commands/browser/start-browser.d.ts +2 -0
- package/dist/commands/browser/start-browser.js +14 -0
- package/dist/commands/build.d.ts +1 -0
- package/dist/commands/build.js +83 -0
- package/dist/commands/common/browserUtils.d.ts +14 -0
- package/dist/commands/common/browserUtils.js +57 -0
- package/dist/commands/common/getFirstLineNumber.d.ts +9 -0
- package/dist/commands/common/getFirstLineNumber.js +101 -0
- package/dist/commands/common/getFirstLineNumber.test.js +227 -0
- package/dist/commands/common/projectExclusions.d.ts +2 -0
- package/dist/commands/common/projectExclusions.js +8 -0
- package/dist/commands/common/sendMessageToClient.d.ts +1 -0
- package/dist/commands/common/sendMessageToClient.js +10 -0
- package/dist/commands/common/tsNodeImport.d.ts +2 -0
- package/dist/commands/common/tsNodeImport.js +42 -0
- package/dist/commands/common/utils/fileUtils.d.ts +6 -0
- package/dist/commands/common/utils/fileUtils.js +32 -0
- package/dist/commands/common/utils/interfaceClient.d.ts +31 -0
- package/dist/commands/common/utils/interfaceClient.js +98 -0
- package/dist/commands/common/utils/settings.d.ts +2 -0
- package/dist/commands/common/utils/settings.js +31 -0
- package/dist/commands/common/utils/template.d.ts +2 -0
- package/dist/commands/common/utils/template.js +30 -0
- package/dist/commands/get-headless-user-agent.d.ts +1 -0
- package/dist/commands/get-headless-user-agent.js +18 -0
- package/dist/commands/interface/run.d.ts +1 -3
- package/dist/commands/interface/run.js +139 -2047
- package/dist/commands/intuned-cli/commands/attempt.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/attempt.command.js +8 -0
- package/dist/commands/intuned-cli/commands/attempt_api.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/attempt_api.command.js +30 -0
- package/dist/commands/intuned-cli/commands/attempt_authsession.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/attempt_authsession.command.js +8 -0
- package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/attempt_authsession_check.command.js +19 -0
- package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/attempt_authsession_create.command.js +24 -0
- package/dist/commands/intuned-cli/commands/authsession.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/authsession.command.js +8 -0
- package/dist/commands/intuned-cli/commands/authsession_record.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/authsession_record.command.js +32 -0
- package/dist/commands/intuned-cli/commands/authsession_scaffold.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/authsession_scaffold.command.js +16 -0
- package/dist/commands/intuned-cli/commands/build.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/build.command.js +12 -0
- package/dist/commands/intuned-cli/commands/command.d.ts +2 -0
- package/dist/commands/intuned-cli/commands/command.js +9 -0
- package/dist/commands/intuned-cli/commands/deploy.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/deploy.command.js +42 -0
- package/dist/commands/intuned-cli/commands/index.d.ts +18 -0
- package/dist/commands/intuned-cli/commands/index.js +203 -0
- package/dist/commands/intuned-cli/commands/provision.command.d.ts +13 -0
- package/dist/commands/intuned-cli/commands/provision.command.js +50 -0
- package/dist/commands/intuned-cli/commands/run.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/run.command.js +8 -0
- package/dist/commands/intuned-cli/commands/run_api.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/run_api.command.js +46 -0
- package/dist/commands/intuned-cli/commands/run_authsession.command.d.ts +35 -0
- package/dist/commands/intuned-cli/commands/run_authsession.command.js +17 -0
- package/dist/commands/intuned-cli/commands/run_authsession_create.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/run_authsession_create.command.js +35 -0
- package/dist/commands/intuned-cli/commands/run_authsession_update.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/run_authsession_update.command.js +35 -0
- package/dist/commands/intuned-cli/commands/run_authsession_validate.command.d.ts +1 -0
- package/dist/commands/intuned-cli/commands/run_authsession_validate.command.js +33 -0
- package/dist/commands/intuned-cli/commands/types.d.ts +39 -0
- package/dist/commands/intuned-cli/commands/types.js +33 -0
- package/dist/commands/intuned-cli/constants/index.d.ts +17 -0
- package/dist/commands/intuned-cli/constants/index.js +25 -0
- package/dist/commands/intuned-cli/controller/__test__/api.test.js +399 -0
- package/dist/commands/intuned-cli/controller/__test__/authSession.test.js +1061 -0
- package/dist/commands/intuned-cli/controller/api.d.ts +42 -0
- package/dist/commands/intuned-cli/controller/api.js +194 -0
- package/dist/commands/intuned-cli/controller/authSession.d.ts +209 -0
- package/dist/commands/intuned-cli/controller/authSession.js +425 -0
- package/dist/commands/intuned-cli/controller/build.d.ts +1 -0
- package/dist/commands/intuned-cli/controller/build.js +35 -0
- package/dist/commands/intuned-cli/controller/deploy.d.ts +5 -0
- package/dist/commands/intuned-cli/controller/deploy.js +317 -0
- package/dist/commands/intuned-cli/controller/index.d.ts +1 -0
- package/dist/commands/intuned-cli/controller/index.js +45 -0
- package/dist/commands/intuned-cli/controller/provision.d.ts +21 -0
- package/dist/commands/intuned-cli/controller/provision.js +299 -0
- package/dist/commands/intuned-cli/controller/scaffold.d.ts +1 -0
- package/dist/commands/intuned-cli/controller/scaffold.js +77 -0
- package/dist/commands/intuned-cli/helpers/__test__/browser.test.js +152 -0
- package/dist/commands/intuned-cli/helpers/__test__/tracing.test.js +41 -0
- package/dist/commands/intuned-cli/helpers/api.d.ts +3 -0
- package/dist/commands/intuned-cli/helpers/api.js +16 -0
- package/dist/commands/intuned-cli/helpers/auth.d.ts +46 -0
- package/dist/commands/intuned-cli/helpers/auth.js +147 -0
- package/dist/commands/intuned-cli/helpers/backend.d.ts +8 -0
- package/dist/commands/intuned-cli/helpers/backend.js +35 -0
- package/dist/commands/intuned-cli/helpers/browser.d.ts +14 -0
- package/dist/commands/intuned-cli/helpers/browser.js +93 -0
- package/dist/commands/intuned-cli/helpers/context.d.ts +3 -0
- package/dist/commands/intuned-cli/helpers/context.js +33 -0
- package/dist/commands/intuned-cli/helpers/errors.d.ts +16 -0
- package/dist/commands/intuned-cli/helpers/errors.js +44 -0
- package/dist/commands/intuned-cli/helpers/index.d.ts +12 -0
- package/dist/commands/intuned-cli/helpers/index.js +137 -0
- package/dist/commands/intuned-cli/helpers/intunedJson.d.ts +39 -0
- package/dist/commands/intuned-cli/helpers/intunedJson.js +20 -0
- package/dist/commands/intuned-cli/helpers/prompts.d.ts +3 -0
- package/dist/commands/intuned-cli/helpers/prompts.js +71 -0
- package/dist/commands/intuned-cli/helpers/proxy.d.ts +5 -0
- package/dist/commands/intuned-cli/helpers/proxy.js +23 -0
- package/dist/commands/intuned-cli/helpers/terminal.d.ts +5 -0
- package/dist/commands/intuned-cli/helpers/terminal.js +13 -0
- package/dist/commands/intuned-cli/helpers/timeout.d.ts +1 -0
- package/dist/commands/intuned-cli/helpers/timeout.js +23 -0
- package/dist/commands/intuned-cli/helpers/traces.d.ts +2 -0
- package/dist/commands/intuned-cli/helpers/traces.js +32 -0
- package/dist/commands/intuned-cli/helpers/validation.d.ts +2 -0
- package/dist/commands/intuned-cli/helpers/validation.js +14 -0
- package/dist/commands/intuned-cli/helpers/wrapper.d.ts +2 -0
- package/dist/commands/intuned-cli/helpers/wrapper.js +76 -0
- package/dist/commands/intuned-cli/index.d.ts +1 -0
- package/dist/commands/intuned-cli/index.js +16 -0
- package/dist/commands/intuned-cli/main.d.ts +1 -0
- package/dist/commands/intuned-cli/main.js +35 -0
- package/dist/commands/intuned-cli/types.d.ts +70 -0
- package/dist/commands/intuned-cli/types.js +22 -0
- package/dist/commands/ts-check.d.ts +2 -0
- package/dist/commands/ts-check.js +55 -0
- package/dist/common/Logger/Logger/index.d.ts +12 -0
- package/dist/common/Logger/Logger/index.js +60 -0
- package/dist/common/Logger/Logger/types.d.ts +8 -0
- package/dist/common/Logger/Logger/types.js +5 -0
- package/dist/common/Logger/index.d.ts +12 -0
- package/dist/common/Logger/index.js +60 -0
- package/dist/common/Logger/types.d.ts +8 -0
- package/dist/common/Logger/types.js +5 -0
- package/dist/common/asyncLocalStorage/index.d.ts +8 -9
- package/dist/common/asyncLocalStorage/index.js +9 -34
- package/dist/common/backendFunctions/getAuthSessionParameters.d.ts +1 -0
- package/dist/common/backendFunctions/getAuthSessionParameters.js +38 -0
- package/dist/common/binStartupScript.d.ts +1 -2
- package/dist/common/binStartupScript.js +10 -127
- package/dist/common/browserTabs.d.ts +72 -0
- package/dist/common/browserTabs.js +74 -0
- package/dist/common/cleanEnvironmentVariables.d.ts +1 -3
- package/dist/common/cleanEnvironmentVariables.js +7 -30
- package/dist/common/constants.d.ts +11 -13
- package/dist/common/constants.js +15 -58
- package/dist/common/contextStorageStateHelpers.d.ts +6 -8
- package/dist/common/contextStorageStateHelpers.js +22 -47
- package/dist/common/extension/extensionsHelpers.d.ts +11 -0
- package/dist/common/extension/extensionsHelpers.js +147 -0
- package/dist/common/extension/intunedExtensionServer.d.ts +24 -0
- package/dist/common/extension/intunedExtensionServer.js +178 -0
- package/dist/common/extension/types.d.ts +219 -0
- package/dist/common/extension/types.js +51 -0
- package/dist/common/formatZodError.d.ts +2 -0
- package/dist/{chunk-NDMVGENG.mjs → common/formatZodError.js} +9 -9
- package/dist/common/intunedJson.d.ts +229 -0
- package/dist/common/intunedJson.js +132 -0
- package/dist/common/jwtTokenManager.d.ts +4 -6
- package/dist/common/jwtTokenManager.js +40 -108
- package/dist/common/launchBrowser.d.ts +34 -0
- package/dist/common/launchBrowser.js +247 -0
- package/dist/common/playwrightContext.d.ts +29 -0
- package/dist/common/playwrightContext.js +148 -0
- package/dist/common/runApi/importUsingImportFunction.d.ts +7 -0
- package/dist/common/runApi/importUsingImportFunction.js +46 -0
- package/dist/common/runApi/index.d.ts +6 -9
- package/dist/common/runApi/index.js +73 -1782
- package/dist/common/settingsSchema.d.ts +55 -54
- package/dist/common/settingsSchema.js +18 -54
- package/dist/common/setupContextHook.d.ts +16 -0
- package/dist/common/setupContextHook.js +22 -0
- package/dist/common/telemetry.d.ts +3 -6
- package/dist/common/telemetry.js +8 -41
- package/dist/index.d.ts +4 -6
- package/dist/index.js +92 -784
- package/dist/runtime/RunError.d.ts +5 -0
- package/dist/runtime/RunError.js +19 -0
- package/dist/runtime/attemptStore.d.ts +2 -0
- package/dist/runtime/attemptStore.js +23 -0
- package/dist/runtime/captcha.d.ts +15 -0
- package/dist/runtime/captcha.js +191 -0
- package/dist/runtime/captcha.test.js +821 -0
- package/dist/runtime/downloadDirectory.d.ts +1 -0
- package/dist/runtime/downloadDirectory.js +19 -0
- package/dist/runtime/enums.d.js +5 -0
- package/dist/runtime/enums.d.ts +11 -0
- package/dist/runtime/enums.js +18 -0
- package/dist/runtime/executionHelpers.test.js +52 -0
- package/dist/runtime/export.d.js +5 -0
- package/dist/runtime/export.d.ts +284 -0
- package/dist/runtime/extendPayload.d.ts +2 -0
- package/dist/runtime/extendPayload.js +21 -0
- package/dist/runtime/extendTimeout.d.ts +1 -0
- package/dist/runtime/extendTimeout.js +23 -0
- package/dist/runtime/getAiGatewayConfig.d.ts +10 -0
- package/dist/runtime/getAiGatewayConfig.js +16 -0
- package/dist/runtime/getAuthSessionParameters.d.ts +1 -0
- package/dist/runtime/getAuthSessionParameters.js +20 -0
- package/dist/runtime/index.d.ts +10 -163
- package/dist/runtime/index.js +88 -779
- package/dist/runtime/persistentStore.d.ts +2 -0
- package/dist/runtime/persistentStore.js +37 -0
- package/dist/runtime/persistentStore.test.js +101 -0
- package/dist/runtime/runInfo.d.ts +2 -0
- package/dist/runtime/runInfo.js +21 -0
- package/dist/vendor/runtime-interface.d.ts +1 -0
- package/dist/vendor/runtime-interface.js +479 -0
- package/package.json +21 -69
- package/template.tsconfig.json +11 -0
- package/tsconfig.eslint.json +5 -0
- package/tsconfig.json +25 -0
- package/tsup.config.ts +12 -0
- package/typedoc.json +49 -0
- package/dist/chunk-6ZRJOUQS.mjs +0 -16
- package/dist/chunk-6ZRJOUQS.mjs.map +0 -1
- package/dist/chunk-7YL2JUTE.mjs +0 -146
- package/dist/chunk-7YL2JUTE.mjs.map +0 -1
- package/dist/chunk-B3T6RXPC.mjs +0 -794
- package/dist/chunk-B3T6RXPC.mjs.map +0 -1
- package/dist/chunk-FGV5T6SI.mjs +0 -27
- package/dist/chunk-FGV5T6SI.mjs.map +0 -1
- package/dist/chunk-G4PO5RIV.mjs +0 -85
- package/dist/chunk-G4PO5RIV.mjs.map +0 -1
- package/dist/chunk-LZOMFHX3.mjs +0 -38
- package/dist/chunk-LZOMFHX3.mjs.map +0 -1
- package/dist/chunk-NDMVGENG.mjs.map +0 -1
- package/dist/chunk-W4UX6G4X.mjs +0 -17
- package/dist/chunk-W4UX6G4X.mjs.map +0 -1
- package/dist/chunk-XC75QGFG.mjs +0 -1106
- package/dist/chunk-XC75QGFG.mjs.map +0 -1
- package/dist/chunk-XOAZ2MGA.mjs +0 -59
- package/dist/chunk-XOAZ2MGA.mjs.map +0 -1
- package/dist/commands/interface/run.d.mts +0 -3
- package/dist/commands/interface/run.js.map +0 -1
- package/dist/commands/interface/run.mjs +0 -255
- package/dist/commands/interface/run.mjs.map +0 -1
- package/dist/common/asyncLocalStorage/index.d.mts +0 -17
- package/dist/common/asyncLocalStorage/index.js.map +0 -1
- package/dist/common/asyncLocalStorage/index.mjs +0 -12
- package/dist/common/asyncLocalStorage/index.mjs.map +0 -1
- package/dist/common/binStartupScript.d.mts +0 -2
- package/dist/common/binStartupScript.js.map +0 -1
- package/dist/common/binStartupScript.mjs +0 -135
- package/dist/common/binStartupScript.mjs.map +0 -1
- package/dist/common/cleanEnvironmentVariables.d.mts +0 -3
- package/dist/common/cleanEnvironmentVariables.js.map +0 -1
- package/dist/common/cleanEnvironmentVariables.mjs +0 -8
- package/dist/common/cleanEnvironmentVariables.mjs.map +0 -1
- package/dist/common/constants.d.mts +0 -13
- package/dist/common/constants.js.map +0 -1
- package/dist/common/constants.mjs +0 -28
- package/dist/common/constants.mjs.map +0 -1
- package/dist/common/contextStorageStateHelpers.d.mts +0 -24
- package/dist/common/contextStorageStateHelpers.js.map +0 -1
- package/dist/common/contextStorageStateHelpers.mjs +0 -10
- package/dist/common/contextStorageStateHelpers.mjs.map +0 -1
- package/dist/common/jwtTokenManager.d.mts +0 -19
- package/dist/common/jwtTokenManager.js.map +0 -1
- package/dist/common/jwtTokenManager.mjs +0 -11
- package/dist/common/jwtTokenManager.mjs.map +0 -1
- package/dist/common/runApi/index.d.mts +0 -11
- package/dist/common/runApi/index.js.map +0 -1
- package/dist/common/runApi/index.mjs +0 -18
- package/dist/common/runApi/index.mjs.map +0 -1
- package/dist/common/settingsSchema.d.mts +0 -536
- package/dist/common/settingsSchema.js.map +0 -1
- package/dist/common/settingsSchema.mjs +0 -10
- package/dist/common/settingsSchema.mjs.map +0 -1
- package/dist/common/telemetry.d.mts +0 -6
- package/dist/common/telemetry.js.map +0 -1
- package/dist/common/telemetry.mjs +0 -31
- package/dist/common/telemetry.mjs.map +0 -1
- package/dist/export.d-BAUMB-lG.d.mts +0 -140
- package/dist/export.d-BAUMB-lG.d.ts +0 -140
- package/dist/index.d.mts +0 -6
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -47
- package/dist/index.mjs.map +0 -1
- package/dist/runtime/index.d.mts +0 -163
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtime/index.mjs +0 -42
- package/dist/runtime/index.mjs.map +0 -1
- /package/dist/common/assets/{assets/browser_scripts.js → browser_scripts.js} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as z from
|
|
2
|
-
|
|
3
|
-
declare const captchaSolverSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export declare const captchaSolverSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
4
3
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
5
4
|
port: z.ZodOptional<z.ZodNumber>;
|
|
6
5
|
cloudflare: z.ZodOptional<z.ZodObject<{
|
|
@@ -61,6 +60,7 @@ declare const captchaSolverSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
61
60
|
}>>;
|
|
62
61
|
customCaptcha: z.ZodOptional<z.ZodObject<{
|
|
63
62
|
enabled: z.ZodBoolean;
|
|
63
|
+
} & {
|
|
64
64
|
imageLocators: z.ZodArray<z.ZodString, "many">;
|
|
65
65
|
submitLocators: z.ZodArray<z.ZodString, "many">;
|
|
66
66
|
inputLocators: z.ZodArray<z.ZodString, "many">;
|
|
@@ -77,6 +77,7 @@ declare const captchaSolverSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
77
77
|
}>>;
|
|
78
78
|
text: z.ZodOptional<z.ZodObject<{
|
|
79
79
|
enabled: z.ZodBoolean;
|
|
80
|
+
} & {
|
|
80
81
|
labelLocators: z.ZodArray<z.ZodString, "many">;
|
|
81
82
|
submitLocators: z.ZodArray<z.ZodString, "many">;
|
|
82
83
|
inputLocators: z.ZodArray<z.ZodString, "many">;
|
|
@@ -115,26 +116,26 @@ declare const captchaSolverSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
115
116
|
maxRetries: number;
|
|
116
117
|
timeout: number;
|
|
117
118
|
};
|
|
118
|
-
port?: number | undefined;
|
|
119
119
|
cloudflare?: {
|
|
120
120
|
enabled: boolean;
|
|
121
121
|
} | undefined;
|
|
122
|
-
|
|
122
|
+
funcaptcha?: {
|
|
123
123
|
enabled: boolean;
|
|
124
124
|
} | undefined;
|
|
125
|
-
|
|
125
|
+
geetest?: {
|
|
126
126
|
enabled: boolean;
|
|
127
127
|
} | undefined;
|
|
128
|
-
|
|
128
|
+
hcaptcha?: {
|
|
129
129
|
enabled: boolean;
|
|
130
130
|
} | undefined;
|
|
131
|
-
|
|
131
|
+
port?: number | undefined;
|
|
132
|
+
googleRecaptchaV2?: {
|
|
132
133
|
enabled: boolean;
|
|
133
134
|
} | undefined;
|
|
134
|
-
|
|
135
|
+
googleRecaptchaV3?: {
|
|
135
136
|
enabled: boolean;
|
|
136
137
|
} | undefined;
|
|
137
|
-
|
|
138
|
+
awscaptcha?: {
|
|
138
139
|
enabled: boolean;
|
|
139
140
|
} | undefined;
|
|
140
141
|
lemin?: {
|
|
@@ -153,27 +154,27 @@ declare const captchaSolverSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
153
154
|
labelLocators: string[];
|
|
154
155
|
} | undefined;
|
|
155
156
|
}, {
|
|
156
|
-
enabled?: boolean | undefined;
|
|
157
|
-
port?: number | undefined;
|
|
158
157
|
cloudflare?: {
|
|
159
158
|
enabled: boolean;
|
|
160
159
|
} | undefined;
|
|
161
|
-
|
|
160
|
+
funcaptcha?: {
|
|
162
161
|
enabled: boolean;
|
|
163
162
|
} | undefined;
|
|
164
|
-
|
|
163
|
+
geetest?: {
|
|
165
164
|
enabled: boolean;
|
|
166
165
|
} | undefined;
|
|
167
|
-
|
|
166
|
+
hcaptcha?: {
|
|
168
167
|
enabled: boolean;
|
|
169
168
|
} | undefined;
|
|
170
|
-
|
|
169
|
+
enabled?: boolean | undefined;
|
|
170
|
+
port?: number | undefined;
|
|
171
|
+
googleRecaptchaV2?: {
|
|
171
172
|
enabled: boolean;
|
|
172
173
|
} | undefined;
|
|
173
|
-
|
|
174
|
+
googleRecaptchaV3?: {
|
|
174
175
|
enabled: boolean;
|
|
175
176
|
} | undefined;
|
|
176
|
-
|
|
177
|
+
awscaptcha?: {
|
|
177
178
|
enabled: boolean;
|
|
178
179
|
} | undefined;
|
|
179
180
|
lemin?: {
|
|
@@ -198,8 +199,8 @@ declare const captchaSolverSettingsSchema: z.ZodDefault<z.ZodObject<{
|
|
|
198
199
|
timeout?: number | undefined;
|
|
199
200
|
} | undefined;
|
|
200
201
|
}>>;
|
|
201
|
-
type CaptchaSolverSettings = z.infer<typeof captchaSolverSettingsSchema>;
|
|
202
|
-
type CaptchaSolverSettingsWithRunContext = CaptchaSolverSettings & {
|
|
202
|
+
export type CaptchaSolverSettings = z.infer<typeof captchaSolverSettingsSchema>;
|
|
203
|
+
export type CaptchaSolverSettingsWithRunContext = CaptchaSolverSettings & {
|
|
203
204
|
workspaceId: string;
|
|
204
205
|
projectId: string;
|
|
205
206
|
baseUrl: string;
|
|
@@ -211,7 +212,7 @@ type CaptchaSolverSettingsWithRunContext = CaptchaSolverSettings & {
|
|
|
211
212
|
token?: string;
|
|
212
213
|
};
|
|
213
214
|
};
|
|
214
|
-
declare const settingsSchema: z.ZodObject<{
|
|
215
|
+
export declare const settingsSchema: z.ZodObject<{
|
|
215
216
|
authSessions: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
216
217
|
enabled: z.ZodBoolean;
|
|
217
218
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -287,6 +288,7 @@ declare const settingsSchema: z.ZodObject<{
|
|
|
287
288
|
}>>;
|
|
288
289
|
customCaptcha: z.ZodOptional<z.ZodObject<{
|
|
289
290
|
enabled: z.ZodBoolean;
|
|
291
|
+
} & {
|
|
290
292
|
imageLocators: z.ZodArray<z.ZodString, "many">;
|
|
291
293
|
submitLocators: z.ZodArray<z.ZodString, "many">;
|
|
292
294
|
inputLocators: z.ZodArray<z.ZodString, "many">;
|
|
@@ -303,6 +305,7 @@ declare const settingsSchema: z.ZodObject<{
|
|
|
303
305
|
}>>;
|
|
304
306
|
text: z.ZodOptional<z.ZodObject<{
|
|
305
307
|
enabled: z.ZodBoolean;
|
|
308
|
+
} & {
|
|
306
309
|
labelLocators: z.ZodArray<z.ZodString, "many">;
|
|
307
310
|
submitLocators: z.ZodArray<z.ZodString, "many">;
|
|
308
311
|
inputLocators: z.ZodArray<z.ZodString, "many">;
|
|
@@ -341,26 +344,26 @@ declare const settingsSchema: z.ZodObject<{
|
|
|
341
344
|
maxRetries: number;
|
|
342
345
|
timeout: number;
|
|
343
346
|
};
|
|
344
|
-
port?: number | undefined;
|
|
345
347
|
cloudflare?: {
|
|
346
348
|
enabled: boolean;
|
|
347
349
|
} | undefined;
|
|
348
|
-
|
|
350
|
+
funcaptcha?: {
|
|
349
351
|
enabled: boolean;
|
|
350
352
|
} | undefined;
|
|
351
|
-
|
|
353
|
+
geetest?: {
|
|
352
354
|
enabled: boolean;
|
|
353
355
|
} | undefined;
|
|
354
|
-
|
|
356
|
+
hcaptcha?: {
|
|
355
357
|
enabled: boolean;
|
|
356
358
|
} | undefined;
|
|
357
|
-
|
|
359
|
+
port?: number | undefined;
|
|
360
|
+
googleRecaptchaV2?: {
|
|
358
361
|
enabled: boolean;
|
|
359
362
|
} | undefined;
|
|
360
|
-
|
|
363
|
+
googleRecaptchaV3?: {
|
|
361
364
|
enabled: boolean;
|
|
362
365
|
} | undefined;
|
|
363
|
-
|
|
366
|
+
awscaptcha?: {
|
|
364
367
|
enabled: boolean;
|
|
365
368
|
} | undefined;
|
|
366
369
|
lemin?: {
|
|
@@ -379,27 +382,27 @@ declare const settingsSchema: z.ZodObject<{
|
|
|
379
382
|
labelLocators: string[];
|
|
380
383
|
} | undefined;
|
|
381
384
|
}, {
|
|
382
|
-
enabled?: boolean | undefined;
|
|
383
|
-
port?: number | undefined;
|
|
384
385
|
cloudflare?: {
|
|
385
386
|
enabled: boolean;
|
|
386
387
|
} | undefined;
|
|
387
|
-
|
|
388
|
+
funcaptcha?: {
|
|
388
389
|
enabled: boolean;
|
|
389
390
|
} | undefined;
|
|
390
|
-
|
|
391
|
+
geetest?: {
|
|
391
392
|
enabled: boolean;
|
|
392
393
|
} | undefined;
|
|
393
|
-
|
|
394
|
+
hcaptcha?: {
|
|
394
395
|
enabled: boolean;
|
|
395
396
|
} | undefined;
|
|
396
|
-
|
|
397
|
+
enabled?: boolean | undefined;
|
|
398
|
+
port?: number | undefined;
|
|
399
|
+
googleRecaptchaV2?: {
|
|
397
400
|
enabled: boolean;
|
|
398
401
|
} | undefined;
|
|
399
|
-
|
|
402
|
+
googleRecaptchaV3?: {
|
|
400
403
|
enabled: boolean;
|
|
401
404
|
} | undefined;
|
|
402
|
-
|
|
405
|
+
awscaptcha?: {
|
|
403
406
|
enabled: boolean;
|
|
404
407
|
} | undefined;
|
|
405
408
|
lemin?: {
|
|
@@ -439,26 +442,26 @@ declare const settingsSchema: z.ZodObject<{
|
|
|
439
442
|
maxRetries: number;
|
|
440
443
|
timeout: number;
|
|
441
444
|
};
|
|
442
|
-
port?: number | undefined;
|
|
443
445
|
cloudflare?: {
|
|
444
446
|
enabled: boolean;
|
|
445
447
|
} | undefined;
|
|
446
|
-
|
|
448
|
+
funcaptcha?: {
|
|
447
449
|
enabled: boolean;
|
|
448
450
|
} | undefined;
|
|
449
|
-
|
|
451
|
+
geetest?: {
|
|
450
452
|
enabled: boolean;
|
|
451
453
|
} | undefined;
|
|
452
|
-
|
|
454
|
+
hcaptcha?: {
|
|
453
455
|
enabled: boolean;
|
|
454
456
|
} | undefined;
|
|
455
|
-
|
|
457
|
+
port?: number | undefined;
|
|
458
|
+
googleRecaptchaV2?: {
|
|
456
459
|
enabled: boolean;
|
|
457
460
|
} | undefined;
|
|
458
|
-
|
|
461
|
+
googleRecaptchaV3?: {
|
|
459
462
|
enabled: boolean;
|
|
460
463
|
} | undefined;
|
|
461
|
-
|
|
464
|
+
awscaptcha?: {
|
|
462
465
|
enabled: boolean;
|
|
463
466
|
} | undefined;
|
|
464
467
|
lemin?: {
|
|
@@ -485,27 +488,27 @@ declare const settingsSchema: z.ZodObject<{
|
|
|
485
488
|
enabled: boolean;
|
|
486
489
|
} | undefined;
|
|
487
490
|
captchaSolver?: {
|
|
488
|
-
enabled?: boolean | undefined;
|
|
489
|
-
port?: number | undefined;
|
|
490
491
|
cloudflare?: {
|
|
491
492
|
enabled: boolean;
|
|
492
493
|
} | undefined;
|
|
493
|
-
|
|
494
|
+
funcaptcha?: {
|
|
494
495
|
enabled: boolean;
|
|
495
496
|
} | undefined;
|
|
496
|
-
|
|
497
|
+
geetest?: {
|
|
497
498
|
enabled: boolean;
|
|
498
499
|
} | undefined;
|
|
499
|
-
|
|
500
|
+
hcaptcha?: {
|
|
500
501
|
enabled: boolean;
|
|
501
502
|
} | undefined;
|
|
502
|
-
|
|
503
|
+
enabled?: boolean | undefined;
|
|
504
|
+
port?: number | undefined;
|
|
505
|
+
googleRecaptchaV2?: {
|
|
503
506
|
enabled: boolean;
|
|
504
507
|
} | undefined;
|
|
505
|
-
|
|
508
|
+
googleRecaptchaV3?: {
|
|
506
509
|
enabled: boolean;
|
|
507
510
|
} | undefined;
|
|
508
|
-
|
|
511
|
+
awscaptcha?: {
|
|
509
512
|
enabled: boolean;
|
|
510
513
|
} | undefined;
|
|
511
514
|
lemin?: {
|
|
@@ -531,6 +534,4 @@ declare const settingsSchema: z.ZodObject<{
|
|
|
531
534
|
} | undefined;
|
|
532
535
|
} | undefined;
|
|
533
536
|
}>;
|
|
534
|
-
type IntunedSettings = z.infer<typeof settingsSchema>;
|
|
535
|
-
|
|
536
|
-
export { type CaptchaSolverSettings, type CaptchaSolverSettingsWithRunContext, type IntunedSettings, captchaSolverSettingsSchema, settingsSchema };
|
|
537
|
+
export type IntunedSettings = z.infer<typeof settingsSchema>;
|
|
@@ -1,59 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";
|
|
28
2
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
__export(settingsSchema_exports, {
|
|
32
|
-
captchaSolverSettingsSchema: () => captchaSolverSettingsSchema,
|
|
33
|
-
settingsSchema: () => settingsSchema
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
34
5
|
});
|
|
35
|
-
|
|
36
|
-
var z =
|
|
37
|
-
var
|
|
6
|
+
exports.settingsSchema = exports.captchaSolverSettingsSchema = void 0;
|
|
7
|
+
var z = _interopRequireWildcard(require("zod"));
|
|
8
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
9
|
+
const baseCaptchaSchema = z.object({
|
|
38
10
|
enabled: z.boolean()
|
|
39
11
|
});
|
|
40
|
-
|
|
12
|
+
const customCaptchaSchema = baseCaptchaSchema.extend({
|
|
41
13
|
imageLocators: z.array(z.string()).min(1, "At least one image locator is required"),
|
|
42
14
|
submitLocators: z.array(z.string()).min(1, "At least one submit locator is required"),
|
|
43
15
|
inputLocators: z.array(z.string()).min(1, "At least one input locator is required")
|
|
44
16
|
});
|
|
45
|
-
|
|
17
|
+
const textCaptchaSchema = baseCaptchaSchema.extend({
|
|
46
18
|
labelLocators: z.array(z.string()).min(1, "At least one image locator is required"),
|
|
47
19
|
submitLocators: z.array(z.string()).min(1, "At least one submit locator is required"),
|
|
48
20
|
inputLocators: z.array(z.string()).min(1, "At least one input locator is required")
|
|
49
21
|
});
|
|
50
|
-
|
|
22
|
+
const captchaSolverSolveSettingsSchema = z.object({
|
|
51
23
|
autoSolve: z.boolean().default(true),
|
|
52
|
-
solveDelay: z.number().min(0).default(
|
|
24
|
+
solveDelay: z.number().min(0).default(2000),
|
|
53
25
|
maxRetries: z.number().min(0).default(3),
|
|
54
|
-
timeout: z.number().min(0).default(
|
|
26
|
+
timeout: z.number().min(0).default(30000)
|
|
55
27
|
});
|
|
56
|
-
|
|
28
|
+
const captchaSolverSettingsSchema = exports.captchaSolverSettingsSchema = z.object({
|
|
57
29
|
enabled: z.boolean().default(false),
|
|
58
30
|
port: z.number().int().min(1).max(65535).optional(),
|
|
59
31
|
cloudflare: baseCaptchaSchema.optional(),
|
|
@@ -66,28 +38,20 @@ var captchaSolverSettingsSchema = z.object({
|
|
|
66
38
|
lemin: baseCaptchaSchema.optional(),
|
|
67
39
|
customCaptcha: customCaptchaSchema.optional(),
|
|
68
40
|
text: textCaptchaSchema.optional(),
|
|
69
|
-
settings: captchaSolverSolveSettingsSchema.default(
|
|
70
|
-
captchaSolverSolveSettingsSchema.parse({})
|
|
71
|
-
)
|
|
41
|
+
settings: captchaSolverSolveSettingsSchema.default(captchaSolverSolveSettingsSchema.parse({}))
|
|
72
42
|
}).default({});
|
|
73
|
-
|
|
43
|
+
const authSessionsSchema = z.object({
|
|
74
44
|
enabled: z.boolean()
|
|
75
45
|
}).optional().default({
|
|
76
46
|
enabled: false
|
|
77
47
|
});
|
|
78
|
-
|
|
48
|
+
const stealthModeSchema = z.object({
|
|
79
49
|
enabled: z.boolean()
|
|
80
50
|
}).optional().default({
|
|
81
51
|
enabled: false
|
|
82
52
|
});
|
|
83
|
-
|
|
53
|
+
const settingsSchema = exports.settingsSchema = z.object({
|
|
84
54
|
authSessions: authSessionsSchema,
|
|
85
55
|
stealthMode: stealthModeSchema,
|
|
86
56
|
captchaSolver: captchaSolverSettingsSchema.optional()
|
|
87
|
-
});
|
|
88
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
89
|
-
0 && (module.exports = {
|
|
90
|
-
captchaSolverSettingsSchema,
|
|
91
|
-
settingsSchema
|
|
92
|
-
});
|
|
93
|
-
//# sourceMappingURL=settingsSchema.js.map
|
|
57
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as playwright from "playwright";
|
|
2
|
+
import { type Err, type Ok } from "neverthrow";
|
|
3
|
+
import { ImportFunction, type RunAutomationError } from "@intuned/runtime-interface";
|
|
4
|
+
export type InitializeContextHookOptions = {
|
|
5
|
+
apiName: string;
|
|
6
|
+
apiParameters: any;
|
|
7
|
+
cdpUrl: string;
|
|
8
|
+
};
|
|
9
|
+
export type SetupContextHook = (options: InitializeContextHookOptions) => Promise<{
|
|
10
|
+
page: playwright.Page | null;
|
|
11
|
+
context: playwright.BrowserContext;
|
|
12
|
+
cleanup?: () => Promise<void>;
|
|
13
|
+
} | null>;
|
|
14
|
+
export declare function loadSetupContextHook({ importFunction, }: {
|
|
15
|
+
importFunction: ImportFunction;
|
|
16
|
+
}): Promise<Ok<SetupContextHook | null, any> | Err<any, RunAutomationError>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.loadSetupContextHook = loadSetupContextHook;
|
|
7
|
+
var _neverthrow = require("neverthrow");
|
|
8
|
+
var _importUsingImportFunction = require("./runApi/importUsingImportFunction");
|
|
9
|
+
var _runtimeInterface = require("../vendor/runtime-interface");
|
|
10
|
+
const setupContextHookPath = "hooks/setupContext";
|
|
11
|
+
async function loadSetupContextHook({
|
|
12
|
+
importFunction
|
|
13
|
+
}) {
|
|
14
|
+
const importedFunctionResult = await (0, _importUsingImportFunction.importUsingImportFunction)({
|
|
15
|
+
path: setupContextHookPath,
|
|
16
|
+
importFunction
|
|
17
|
+
});
|
|
18
|
+
if (importedFunctionResult.isErr() && importedFunctionResult.error instanceof _runtimeInterface.ApiNotFoundError) {
|
|
19
|
+
return (0, _neverthrow.ok)(null);
|
|
20
|
+
}
|
|
21
|
+
return importedFunctionResult;
|
|
22
|
+
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import * as appInsights from
|
|
2
|
-
|
|
3
|
-
declare function
|
|
4
|
-
declare function getTelemetryClient(): appInsights.TelemetryClient | undefined;
|
|
5
|
-
|
|
6
|
-
export { getTelemetryClient, initializeAppInsights };
|
|
1
|
+
import * as appInsights from "applicationinsights";
|
|
2
|
+
export declare function initializeAppInsights(): void;
|
|
3
|
+
export declare function getTelemetryClient(): appInsights.TelemetryClient | undefined;
|
package/dist/common/telemetry.js
CHANGED
|
@@ -1,39 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
1
|
+
"use strict";
|
|
28
2
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
__export(telemetry_exports, {
|
|
32
|
-
getTelemetryClient: () => getTelemetryClient,
|
|
33
|
-
initializeAppInsights: () => initializeAppInsights
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
34
5
|
});
|
|
35
|
-
|
|
36
|
-
|
|
6
|
+
exports.getTelemetryClient = getTelemetryClient;
|
|
7
|
+
exports.initializeAppInsights = initializeAppInsights;
|
|
8
|
+
var appInsights = _interopRequireWildcard(require("applicationinsights"));
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
37
10
|
function gracefulShutdown() {
|
|
38
11
|
console.log("Shutting down, so flushing app insights.");
|
|
39
12
|
appInsights.defaultClient.flush();
|
|
@@ -55,10 +28,4 @@ function initializeAppInsights() {
|
|
|
55
28
|
}
|
|
56
29
|
function getTelemetryClient() {
|
|
57
30
|
return appInsights.defaultClient;
|
|
58
|
-
}
|
|
59
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
-
0 && (module.exports = {
|
|
61
|
-
getTelemetryClient,
|
|
62
|
-
initializeAppInsights
|
|
63
|
-
});
|
|
64
|
-
//# sourceMappingURL=telemetry.js.map
|
|
31
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { getExecutionContext,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import 'zod';
|
|
6
|
-
import 'node:async_hooks';
|
|
1
|
+
export { extendPayload, extendTimeout, runInfo, RunError, getAuthSessionParameters, attemptStore, persistentStore, getAiGatewayConfig, } from "./runtime";
|
|
2
|
+
export { runWithContext, getExecutionContext, } from "./common/asyncLocalStorage";
|
|
3
|
+
export { getDownloadDirectoryPath } from "./runtime/downloadDirectory";
|
|
4
|
+
export { waitForCaptchaSolve, withWaitForCaptchaSolve, onCaptchaEvent, onceCaptchaEvent, removeCaptchaEventListener, pauseCaptchaSolver, resumeCaptchaSolver, } from "./runtime/captcha";
|