@intuned/runtime-dev 1.3.24-socket.0 → 1.3.27-dev1

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/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # UNRELEASED
2
2
 
3
- - Add support for `ignoreHttpErrors` parameter to handle HTTP errors during browser navigation via `INTUNED_PLAYWRIGHT_CONTEXT_IGNORE_HTTP_ERRORS` environment variable.
4
- - Add `timeout` parameter (in seconds, defaults to 30) to `launchBrowser` and `launchChromium` functions
3
+ # 1.3.26
4
+
5
+ - change default browser dimensions
5
6
 
6
7
  # 1.3.11
7
8
 
@@ -31,12 +31,12 @@ async function executeCLI(apiName, mode, inputData, options) {
31
31
  const settings = await (0, _settings.getSettings)();
32
32
  if (settings.authSessions.enabled) {
33
33
  if (!options.authSessionPath) {
34
- throw new Error("AuthSessions are enabled but no AuthSession provided.\n" + "Please provide --auth-session-path option.\n" + "See https://docs.intunedhq.com/docs/cli/auth-sessions for more information.");
34
+ throw new Error("AuthSessions are enabled but no AuthSession provided.\n" + "Please provide --auth-session-path option.\n" + "See https://intunedhq.com/docs/main/05-references/cli/dev for more information.");
35
35
  }
36
36
  authSessionPathToUse = options.authSessionPath;
37
37
  } else {
38
38
  if (options.authSessionPath) {
39
- throw new Error("Authentication is not enabled but AuthSession was provided.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://docs.intunedhq.com/docs/cli/auth-sessions for more information.");
39
+ throw new Error("Authentication is not enabled but AuthSession was provided.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://intunedhq.com/docs/main/05-references/cli/dev for more information.");
40
40
  }
41
41
  }
42
42
  const runApiResult = await (0, _runApi.runApi)({
@@ -16,7 +16,7 @@ _commander.program.description("load AuthSession to browser").option("--cdpAddre
16
16
  }) => {
17
17
  const setting = await (0, _settings.getSettings)();
18
18
  if (!setting.authSessions.enabled) {
19
- throw new Error("Authentication required but not configured.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://docs.intunedhq.com/docs/cli/auth-sessions for more information.");
19
+ throw new Error("Authentication required but not configured.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://intunedhq.com/docs/main/05-references/cli/dev for more information.");
20
20
  }
21
21
  await (0, _playwrightContext.withPlaywrightContext)({
22
22
  cdpAddress
@@ -26,7 +26,7 @@ _commander.program.description("run AuthSession check").option("--cdpAddress <cd
26
26
  }) => {
27
27
  const setting = await (0, _settings.getSettings)();
28
28
  if (!setting.authSessions.enabled) {
29
- throw new Error("Authentication required but not configured.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://docs.intunedhq.com/docs/cli/auth-sessions for more information.");
29
+ throw new Error("Authentication required but not configured.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://intunedhq.com/docs/main/05-references/cli/dev for more information.");
30
30
  }
31
31
  const checkFilePath = (0, _fileUtils.getFullPathInProject)(_constants.AUTH_SESSIONS_FOLDER_NAME, "check");
32
32
  if (!fs.exists(checkFilePath)) {
@@ -34,7 +34,7 @@ _commander.program.description("run AuthSession create").option("--cdpAddress <c
34
34
  }
35
35
  const setting = await (0, _settings.getSettings)();
36
36
  if (!setting.authSessions.enabled) {
37
- throw new Error("Authentication required but not configured.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://docs.intunedhq.com/docs/cli/auth-sessions for more information.");
37
+ throw new Error("Authentication required but not configured.\n" + "Enable AuthSessions in Intuned.json to use this feature.\n" + "See https://intunedhq.com/docs/main/05-references/cli/dev for more information.");
38
38
  }
39
39
  const createFilePath = (0, _fileUtils.getFullPathInProject)(_constants.AUTH_SESSIONS_FOLDER_NAME, "create.ts");
40
40
  if (!fs.exists(createFilePath)) {
@@ -47,7 +47,7 @@ async function build(outfile, mode, template) {
47
47
  include: ["node_modules/**", `intuned/${template}/**`, "dist", "../typescript-runtime/**"],
48
48
  extensions: [".js"],
49
49
  ignoreGlobal: false,
50
- sourceMap: false,
50
+ sourceMap: true,
51
51
  dynamicRequireTargets: ["api/**/*.js", "auth-sessions/**/*.js"],
52
52
  requireReturnsDefault: "auto",
53
53
  transformMixedEsModules: true
@@ -68,7 +68,8 @@ async function build(outfile, mode, template) {
68
68
  await bundle.write({
69
69
  format: "cjs",
70
70
  file: outfile,
71
- inlineDynamicImports: true
71
+ inlineDynamicImports: true,
72
+ sourcemap: "inline"
72
73
  });
73
74
  console.log(`✨ Build succeeded: ${outfile}`);
74
75
  } catch (error) {
@@ -4,17 +4,11 @@ export declare const intunedJsonSchema: z.ZodIntersection<z.ZodObject<{
4
4
  projectName: z.ZodOptional<z.ZodString>;
5
5
  workspaceId: z.ZodOptional<z.ZodString>;
6
6
  metadata: z.ZodCatch<z.ZodOptional<z.ZodObject<{
7
- defaultJobInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8
7
  defaultRunPlaygroundInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
9
- testAuthSessionInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
10
8
  }, "strip", z.ZodTypeAny, {
11
- defaultJobInput?: Record<string, any> | undefined;
12
9
  defaultRunPlaygroundInput?: Record<string, any> | undefined;
13
- testAuthSessionInput?: Record<string, any> | undefined;
14
10
  }, {
15
- defaultJobInput?: unknown;
16
11
  defaultRunPlaygroundInput?: unknown;
17
- testAuthSessionInput?: unknown;
18
12
  }>>>;
19
13
  browserSize: z.ZodCatch<z.ZodOptional<z.ZodObject<{
20
14
  width: z.ZodNumber;
@@ -37,17 +31,11 @@ export declare const intunedJsonSchema: z.ZodIntersection<z.ZodObject<{
37
31
  projectName: z.ZodOptional<z.ZodString>;
38
32
  workspaceId: z.ZodOptional<z.ZodString>;
39
33
  metadata: z.ZodCatch<z.ZodOptional<z.ZodObject<{
40
- defaultJobInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
41
34
  defaultRunPlaygroundInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
42
- testAuthSessionInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
43
35
  }, "strip", z.ZodTypeAny, {
44
- defaultJobInput?: Record<string, any> | undefined;
45
36
  defaultRunPlaygroundInput?: Record<string, any> | undefined;
46
- testAuthSessionInput?: Record<string, any> | undefined;
47
37
  }, {
48
- defaultJobInput?: unknown;
49
38
  defaultRunPlaygroundInput?: unknown;
50
- testAuthSessionInput?: unknown;
51
39
  }>>>;
52
40
  browserSize: z.ZodCatch<z.ZodOptional<z.ZodObject<{
53
41
  width: z.ZodNumber;
@@ -70,17 +58,11 @@ export declare const intunedJsonSchema: z.ZodIntersection<z.ZodObject<{
70
58
  projectName: z.ZodOptional<z.ZodString>;
71
59
  workspaceId: z.ZodOptional<z.ZodString>;
72
60
  metadata: z.ZodCatch<z.ZodOptional<z.ZodObject<{
73
- defaultJobInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
74
61
  defaultRunPlaygroundInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
75
- testAuthSessionInput: z.ZodCatch<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
76
62
  }, "strip", z.ZodTypeAny, {
77
- defaultJobInput?: Record<string, any> | undefined;
78
63
  defaultRunPlaygroundInput?: Record<string, any> | undefined;
79
- testAuthSessionInput?: Record<string, any> | undefined;
80
64
  }, {
81
- defaultJobInput?: unknown;
82
65
  defaultRunPlaygroundInput?: unknown;
83
- testAuthSessionInput?: unknown;
84
66
  }>>>;
85
67
  browserSize: z.ZodCatch<z.ZodOptional<z.ZodObject<{
86
68
  width: z.ZodNumber;
@@ -192,9 +174,7 @@ export declare function loadIntunedJson(): Promise<Err<never, string> | Ok<{
192
174
  workspaceId?: string | undefined;
193
175
  projectName?: string | undefined;
194
176
  metadata?: {
195
- defaultJobInput?: Record<string, any> | undefined;
196
177
  defaultRunPlaygroundInput?: Record<string, any> | undefined;
197
- testAuthSessionInput?: Record<string, any> | undefined;
198
178
  } | undefined;
199
179
  browserSize?: {
200
180
  width: number;
@@ -235,9 +215,7 @@ export declare function loadIntunedJsonSync(): Err<never, string> | Ok<{
235
215
  workspaceId?: string | undefined;
236
216
  projectName?: string | undefined;
237
217
  metadata?: {
238
- defaultJobInput?: Record<string, any> | undefined;
239
218
  defaultRunPlaygroundInput?: Record<string, any> | undefined;
240
- testAuthSessionInput?: Record<string, any> | undefined;
241
219
  } | undefined;
242
220
  browserSize?: {
243
221
  width: number;
@@ -24,9 +24,7 @@ const intunedJsonSchema = exports.intunedJsonSchema = _zod.z.object({
24
24
  projectName: _zod.z.string().optional(),
25
25
  workspaceId: _zod.z.string().optional(),
26
26
  metadata: _zod.z.object({
27
- defaultJobInput: _zod.z.record(_zod.z.any()).optional().catch(undefined),
28
- defaultRunPlaygroundInput: _zod.z.record(_zod.z.any()).optional().catch(undefined),
29
- testAuthSessionInput: _zod.z.record(_zod.z.any()).optional().catch(undefined)
27
+ defaultRunPlaygroundInput: _zod.z.record(_zod.z.any()).optional().catch(undefined)
30
28
  }).optional().catch(undefined),
31
29
  browserSize: _zod.z.object({
32
30
  width: _zod.z.number().int().min(200).max(3840),
@@ -141,7 +139,7 @@ async function getBrowserSizeConfig() {
141
139
  return settingsResult.value.browserSize;
142
140
  }
143
141
  return {
144
- width: 1024,
142
+ width: 1280,
145
143
  height: 800
146
144
  };
147
145
  }
@@ -80,7 +80,7 @@ class JwtTokenManager {
80
80
  headers
81
81
  });
82
82
  if (result.status === 401 && process.env[_constants.CLI_ENV_VAR_KEY] === "true") {
83
- console.warn("Unauthorized backend function call - make sure to provision your project to Intuned to set up the correct API credentials.\n" + "Run 'intuned provision' or see https://docs.intunedhq.com/docs/05-references/cli#provision-project for more information.");
83
+ console.warn("Unauthorized backend function call - make sure to provision your project to Intuned to set up the correct API credentials.\n" + "Run 'intuned provision' or see https://intunedhq.com/docs/main/05-references/cli#provision-project for more information.");
84
84
  }
85
85
  return result;
86
86
  }
@@ -101,7 +101,7 @@ class JwtTokenManager {
101
101
  return `${domain}/api/${workspaceId}/functions/${projectId}`;
102
102
  } catch (e) {
103
103
  if (process.env[_constants.CLI_ENV_VAR_KEY] === "true") {
104
- throw new Error(`API credentials not set - make sure to provision your project to Intuned to set up the correct API credentials.\n` + `Run 'intuned provision' or see https://docs.intunedhq.com/docs/05-references/cli#provision-project for more information.\n` + `Original error: ${e.message}`);
104
+ throw new Error(`API credentials not set - make sure to provision your project to Intuned to set up the correct API credentials.\n` + `Run 'intuned provision' or see https://intunedhq.com/docs/main/05-references/cli#provision-project for more information.\n` + `Original error: ${e.message}`);
105
105
  }
106
106
  }
107
107
  }
@@ -22,11 +22,13 @@ export type LaunchChromiumStandaloneOptions = {
22
22
  appModeInitialUrl?: string;
23
23
  executablePath?: string;
24
24
  ignoreHttpErrors?: boolean;
25
+ profileTemplatePath?: string;
25
26
  timeout?: number;
26
27
  };
27
28
  export type LaunchChromiumCdpOptions = {
28
29
  cdpAddress: string;
29
30
  cdpTargetId?: string;
31
+ profileTemplatePath?: string;
30
32
  timeout?: number;
31
33
  };
32
34
  export declare function launchChromium(options: LaunchChromiumStandaloneOptions): Promise<LaunchBrowserResult>;
@@ -34,23 +34,30 @@ function getMacKeychainBypassArgs() {
34
34
  }
35
35
  return ["--use-mock-keychain", "--password-store=basic"];
36
36
  }
37
- async function createUserDirWithPreferences() {
37
+ const DEFAULT_USER_PREFERENCES = {
38
+ plugins: {
39
+ always_open_pdf_externally: true
40
+ },
41
+ credentials_enable_service: false,
42
+ profile: {
43
+ password_manager_enabled: false
44
+ }
45
+ };
46
+ async function createUserDirWithPreferences(profileTemplatePath) {
38
47
  const playwrightTempDir = await (0, _fsExtra.mkdtemp)("/tmp/pw-");
39
48
  const userDir = (0, _path.join)(playwrightTempDir, "userdir");
49
+ if (profileTemplatePath && (await fs.pathExists(profileTemplatePath))) {
50
+ await fs.copy(profileTemplatePath, userDir, {
51
+ overwrite: true,
52
+ errorOnExist: false
53
+ });
54
+ return userDir;
55
+ }
40
56
  const defaultDir = (0, _path.join)(userDir, "Default");
41
57
  await (0, _fsExtra.mkdir)(defaultDir, {
42
58
  recursive: true
43
59
  });
44
- const preferences = {
45
- plugins: {
46
- always_open_pdf_externally: true
47
- },
48
- credentials_enable_service: false,
49
- profile: {
50
- password_manager_enabled: false
51
- }
52
- };
53
- await (0, _fsExtra.writeFile)((0, _path.join)(defaultDir, "Preferences"), JSON.stringify(preferences));
60
+ await (0, _fsExtra.writeFile)((0, _path.join)(defaultDir, "Preferences"), JSON.stringify(DEFAULT_USER_PREFERENCES));
54
61
  return userDir;
55
62
  }
56
63
  async function getIgnoreHttpErrorsFromConfig(cliOption) {
@@ -105,6 +112,7 @@ async function launchChromium(options) {
105
112
  proxy,
106
113
  downloadsPath,
107
114
  ignoreHttpErrors: ignoreHttpErrorsParam,
115
+ profileTemplatePath,
108
116
  timeout
109
117
  } = options;
110
118
  let {
@@ -119,7 +127,7 @@ async function launchChromium(options) {
119
127
  if (stealthConfig.enabled) {
120
128
  extraArgs.push("--stealth-mode");
121
129
  }
122
- const userDataDir = await createUserDirWithPreferences();
130
+ const userDataDir = await createUserDirWithPreferences(profileTemplatePath);
123
131
  if ((0, _extensionsHelpers.isIntunedExtensionLoaded)()) {
124
132
  const extensionsList = (0, _extensionsHelpers.buildExtensionsList)();
125
133
  const extensions = extensionsList.join(",");
@@ -18,10 +18,12 @@ export declare function withPlaywrightContext<R>(options: {
18
18
  headless: boolean;
19
19
  downloadsPath: string;
20
20
  ignoreHttpErrors?: boolean;
21
+ profileTemplatePath?: string;
21
22
  } & WithPlaywrightContextParameters, fn: WithPlaywrightContextWrappedFunction<R>): Promise<Ok<R, any> | Err<any, RunAutomationError>>;
22
23
  export declare function withPlaywrightContext<R>(options: {
23
24
  cdpAddress: string;
24
25
  cdpTargetId?: string;
26
+ profileTemplatePath?: string;
25
27
  } & WithPlaywrightContextParameters, fn: WithPlaywrightContextWrappedFunction<R>): Promise<Ok<R, any> | Err<any, RunAutomationError>>;
26
28
  export declare function loadSessionToContext({ context, session, }: {
27
29
  context: playwright.BrowserContext;
@@ -21,6 +21,7 @@ async function withPlaywrightContext({
21
21
  headless = true,
22
22
  downloadsPath,
23
23
  ignoreHttpErrors: cliIgnoreHttpErrors,
24
+ profileTemplatePath,
24
25
  importFunction,
25
26
  apiName,
26
27
  apiParameters
@@ -43,7 +44,8 @@ async function withPlaywrightContext({
43
44
  context
44
45
  } = await (0, _launchBrowser.launchBrowser)({
45
46
  cdpAddress,
46
- cdpTargetId
47
+ cdpTargetId,
48
+ profileTemplatePath
47
49
  }));
48
50
  } else {
49
51
  ({
@@ -53,7 +55,8 @@ async function withPlaywrightContext({
53
55
  proxy,
54
56
  headless,
55
57
  downloadsPath,
56
- ignoreHttpErrors
58
+ ignoreHttpErrors,
59
+ profileTemplatePath
57
60
  }));
58
61
  }
59
62
  return await fn(context, page);
@@ -66,7 +69,8 @@ async function withPlaywrightContext({
66
69
  page
67
70
  } = await (0, _launchBrowser.launchBrowser)({
68
71
  cdpAddress,
69
- cdpTargetId
72
+ cdpTargetId,
73
+ profileTemplatePath
70
74
  }));
71
75
  } else {
72
76
  const port = await (0, _portfinder.getPort)({
@@ -80,7 +84,8 @@ async function withPlaywrightContext({
80
84
  headless,
81
85
  downloadsPath,
82
86
  cdpPort: port,
83
- ignoreHttpErrors
87
+ ignoreHttpErrors,
88
+ profileTemplatePath
84
89
  }));
85
90
  hookCdpUrl = (0, _launchBrowser.getLocalCdpAddress)(port);
86
91
  }
@@ -148,6 +148,7 @@ async function runApi({
148
148
  proxy: runOptions.proxy,
149
149
  downloadsPath,
150
150
  ignoreHttpErrors: runOptions.ignoreHttpErrors,
151
+ profileTemplatePath: runOptions.profileTemplatePath,
151
152
  ...playwrightContextParameters
152
153
  }, runAutomationWithContext);
153
154
  } finally {
@@ -157,6 +158,7 @@ async function runApi({
157
158
  return await (0, _playwrightContext.withPlaywrightContext)({
158
159
  cdpAddress: runOptions.cdpAddress,
159
160
  cdpTargetId: runOptions.cdpTargetId,
161
+ profileTemplatePath: runOptions.profileTemplatePath,
160
162
  ...playwrightContextParameters
161
163
  }, runAutomationWithContext);
162
164
  }
@@ -31,7 +31,7 @@ var require_errors = __commonJS({
31
31
  "../packages/runtime-interface/dist/errors.js"(exports2) {
32
32
  "use strict";
33
33
  Object.defineProperty(exports2, "__esModule", { value: true });
34
- exports2.ResultTooBigError = exports2.InternalInvalidInputError = exports2.AutomationError = exports2.MaxLevelsExceededError = exports2.AuthCheckFailedError = exports2.AuthCheckNotFoundError = exports2.AuthRequiredError = exports2.AbortedError = exports2.InvalidCheckError = exports2.InvalidApiError = exports2.ApiNotFoundError = exports2.RunAutomationError = exports2.runAutomationErrorCodes = exports2.resultTooBigErrorCode = exports2.internalInvalidInputErrorCode = exports2.automationError = exports2.maxLevelsExceededErrorCode = exports2.authCheckFailedErrorCode = exports2.authCheckNotFoundErrorCode = exports2.authRequiredErrorCode = exports2.abortedErrorCode = exports2.invalidCheckErrorCode = exports2.invalidApiErrorCode = exports2.apiNotFoundErrorCode = void 0;
34
+ exports2.ResultTooBigError = exports2.InternalInvalidInputError = exports2.AutomationError = exports2.MaxLevelsExceededError = exports2.AuthCheckFailedError = exports2.AuthCheckNotFoundError = exports2.AuthRequiredError = exports2.AbortedError = exports2.InvalidCheckError = exports2.InvalidApiError = exports2.ApiNotFoundError = exports2.RunAutomationError = exports2.runAutomationErrorCodes = exports2.runtimeErrorCode = exports2.resultTooBigErrorCode = exports2.internalInvalidInputErrorCode = exports2.automationError = exports2.maxLevelsExceededErrorCode = exports2.authCheckFailedErrorCode = exports2.authCheckNotFoundErrorCode = exports2.authRequiredErrorCode = exports2.abortedErrorCode = exports2.invalidCheckErrorCode = exports2.invalidApiErrorCode = exports2.apiNotFoundErrorCode = void 0;
35
35
  exports2.apiNotFoundErrorCode = "APINotFoundError";
36
36
  exports2.invalidApiErrorCode = "InvalidAPIError";
37
37
  exports2.invalidCheckErrorCode = "InvalidCheckError";
@@ -43,6 +43,7 @@ var require_errors = __commonJS({
43
43
  exports2.automationError = "AutomationError";
44
44
  exports2.internalInvalidInputErrorCode = "InternalInvalidInputError";
45
45
  exports2.resultTooBigErrorCode = "ResultTooBigError";
46
+ exports2.runtimeErrorCode = "RuntimeError";
46
47
  exports2.runAutomationErrorCodes = [
47
48
  exports2.apiNotFoundErrorCode,
48
49
  exports2.invalidApiErrorCode,
@@ -54,7 +55,8 @@ var require_errors = __commonJS({
54
55
  exports2.maxLevelsExceededErrorCode,
55
56
  exports2.automationError,
56
57
  exports2.internalInvalidInputErrorCode,
57
- exports2.resultTooBigErrorCode
58
+ exports2.resultTooBigErrorCode,
59
+ exports2.runtimeErrorCode
58
60
  ];
59
61
  var RunAutomationError = class {
60
62
  constructor(code, message) {
@@ -224,12 +226,14 @@ var require_types = __commonJS({
224
226
  environment: zod_1.default.literal("standalone"),
225
227
  headless: zod_1.default.boolean().default(true),
226
228
  proxy: exports2.runApiProxySchema.optional(),
227
- ignoreHttpErrors: zod_1.default.boolean().optional()
229
+ ignoreHttpErrors: zod_1.default.boolean().optional(),
230
+ profileTemplatePath: zod_1.default.string().optional()
228
231
  });
229
232
  exports2.runApiCdpRunOptionsSchema = zod_1.default.object({
230
233
  environment: zod_1.default.literal("cdp"),
231
234
  cdpAddress: zod_1.default.string(),
232
- cdpTargetId: zod_1.default.string().optional()
235
+ cdpTargetId: zod_1.default.string().optional(),
236
+ profileTemplatePath: zod_1.default.string().optional()
233
237
  });
234
238
  exports2.runApiRunOptionsSchema = zod_1.default.discriminatedUnion("environment", [
235
239
  exports2.runApiStandaloneRunOptionsSchema,
@@ -430,7 +434,7 @@ var require_interfaceClient = __commonJS({
430
434
  constructor(filePath) {
431
435
  this.fileStream = fs.createReadStream(filePath, { encoding: "utf-8" });
432
436
  }
433
- sendJSON(data) {
437
+ async sendJSON(data) {
434
438
  console.log("Sending message", data);
435
439
  }
436
440
  async *receiveJSON() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.3.24-socket.0",
3
+ "version": "1.3.27-dev1",
4
4
  "description": "Intuned runtime",
5
5
  "packageManager": "yarn@4.12.0",
6
6
  "main": "./dist/index.js",
@@ -6,6 +6,7 @@
6
6
  "esModuleInterop": true,
7
7
  "moduleResolution": "bundler",
8
8
  "module": "esnext",
9
- "skipLibCheck": true
9
+ "skipLibCheck": true,
10
+ "sourceMap": true
10
11
  }
11
12
  }
@@ -1,7 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(npm info:*)"
5
- ]
6
- }
7
- }