@intuned/runtime-dev 1.3.8-deploy.4 → 1.3.8-deploy.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.
@@ -169,7 +169,9 @@ async function handleFirstRunExperience() {
169
169
  }
170
170
  return {
171
171
  testAuthSessionInput,
172
- defaultJobInput: shouldPromptForDefaultJob ? await getFirstRunExperienceDefaultJobParameters(settings["metadata"].defaultJobInput) : undefined
172
+ defaultJobInput: shouldPromptForDefaultJob ? await getFirstRunExperienceDefaultJobParameters({
173
+ defaultJobInput: settings["metadata"].defaultJobInput
174
+ }) : undefined
173
175
  };
174
176
  }
175
177
  async function getFirstRunExperienceTestAuthSessionParameters({
@@ -182,13 +184,13 @@ async function getFirstRunExperienceTestAuthSessionParameters({
182
184
  metadata
183
185
  } = await (0, _helpers.loadAuthSessionInstance)(authSessionId);
184
186
  if (metadata.authSessionInput) {
185
- const message = shouldPromptForDefaultJob ? "\n^cCreate a test auth session using ^:^+%s^:^c's parameters? (required for creating default job)^ " : "\n^cCreate a test auth session using ^:^+%s^:^c's parameters?^ ";
187
+ const message = shouldPromptForDefaultJob ? "^+Create a test auth session using ^:^+%s^:^+'s parameters?^ :^/(required for creating default job)^:" : "^+Create a test auth session using ^:^+%s^:^+'s parameters?^:";
186
188
  (0, _terminal.terminal)(message, authSessionId);
187
189
  const answer = await _terminal.terminal.yesOrNo({
188
190
  yes: ["y", "ENTER"],
189
191
  no: ["n"],
190
- echoYes: "^g^+Yes^:",
191
- echoNo: "^r^+No^:"
192
+ echoYes: " ^g^+Yes^:",
193
+ echoNo: " ^r^+No^:"
192
194
  }).promise;
193
195
  (0, _terminal.terminal)("\n");
194
196
  if (answer) {
@@ -200,16 +202,15 @@ async function getFirstRunExperienceTestAuthSessionParameters({
200
202
  async function getFirstRunExperienceDefaultJobParameters({
201
203
  defaultJobInput
202
204
  }) {
203
- (0, _terminal.terminal)("\n^cCreate a default job?^:");
205
+ (0, _terminal.terminal)("\n^+Create a default job?^:");
204
206
  const answer = await _terminal.terminal.yesOrNo({
205
207
  yes: ["y", "ENTER"],
206
208
  no: ["n"],
207
- echoYes: "^g^+Yes^:",
208
- echoNo: "^r^+No^:"
209
+ echoYes: " ^g^+Yes^:",
210
+ echoNo: " ^r^+No^:"
209
211
  }).promise;
210
212
  (0, _terminal.terminal)("\n");
211
213
  if (answer) {
212
- console.log("defaultJobInput", defaultJobInput);
213
214
  return defaultJobInput;
214
215
  }
215
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.3.8-deploy.4",
3
+ "version": "1.3.8-deploy.6",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",