@uipath/codedapp-tool 1.202.0 → 1.202.1-preview.168

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.
@@ -58,12 +58,12 @@ import {
58
58
  selectTenantWithDeps,
59
59
  setActiveAuthProfile,
60
60
  setAuthFileConfig
61
- } from "./packager-tool-8hncwr6a.js";
62
- import"./packager-tool-qyctya2j.js";
61
+ } from "./packager-tool-pvtdkdk8.js";
63
62
  import {
64
63
  isBrowser,
65
64
  isNode
66
65
  } from "./packager-tool-0gctz400.js";
66
+ import"./packager-tool-qyctya2j.js";
67
67
  import {
68
68
  AUTH_CANCELLED_ERROR_CODE,
69
69
  AUTH_RECLAIMED_ERROR_CODE,
@@ -139,4 +139,4 @@ export {
139
139
  setAuthFileConfig
140
140
  };
141
141
 
142
- //# debugId=AC29AB3390C5C79964756E2164756E21
142
+ //# debugId=2791EE15E4B4F73864756E2164756E21
@@ -8,16 +8,16 @@ import {
8
8
  isGuid,
9
9
  logger,
10
10
  normalizeProjectType
11
- } from "./packager-tool-6658b9xv.js";
11
+ } from "./packager-tool-58asqeb7.js";
12
12
  import {
13
13
  getAuthContext,
14
14
  getLoginStatusAsync
15
- } from "./packager-tool-8hncwr6a.js";
15
+ } from "./packager-tool-pvtdkdk8.js";
16
+ import"./packager-tool-aybzcdfg.js";
17
+ import"./packager-tool-0gctz400.js";
16
18
  import {
17
19
  getFileSystem
18
20
  } from "./packager-tool-qyctya2j.js";
19
- import"./packager-tool-aybzcdfg.js";
20
- import"./packager-tool-0gctz400.js";
21
21
  import"./packager-tool-yc4kw997.js";
22
22
  import {
23
23
  __commonJS,
@@ -18456,4 +18456,4 @@ export {
18456
18456
  writeSolutionFile
18457
18457
  };
18458
18458
 
18459
- //# debugId=43DCCC9855F832CB64756E2164756E21
18459
+ //# debugId=EFD4DF7492FDFE1D64756E2164756E21
package/dist/index.js CHANGED
@@ -2,16 +2,15 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-ma7s1htk.js";
5
+ } from "./packager-tool-71fnw3x0.js";
6
6
  import {
7
7
  Command
8
- } from "./packager-tool-6658b9xv.js";
9
- import"./packager-tool-8hncwr6a.js";
10
- import"./packager-tool-qyctya2j.js";
8
+ } from "./packager-tool-58asqeb7.js";
9
+ import"./packager-tool-pvtdkdk8.js";
11
10
  import"./packager-tool-05wez2xw.js";
12
11
  import"./packager-tool-aybzcdfg.js";
13
- import"./packager-tool-vv9c52ax.js";
14
12
  import"./packager-tool-0gctz400.js";
13
+ import"./packager-tool-qyctya2j.js";
15
14
  import"./packager-tool-yc4kw997.js";
16
15
  import"./packager-tool-1yh8g550.js";
17
16
 
@@ -21,4 +20,4 @@ program.name(metadata.name).version(metadata.version).description(metadata.descr
21
20
  await registerCommands(program);
22
21
  program.parse(process.argv);
23
22
 
24
- //# debugId=EA42A1A74B22D86164756E2164756E21
23
+ //# debugId=575813379298095664756E2164756E21
@@ -4089,86 +4089,6 @@ function recordCommandDuration(durationMs) {
4089
4089
  }
4090
4090
  getState().commandMs = durationMs;
4091
4091
  }
4092
- function recordHttpCall(durationMs) {
4093
- if (!timingsEnabled()) {
4094
- return;
4095
- }
4096
- const state = getState();
4097
- state.httpMs += durationMs;
4098
- state.httpCalls += 1;
4099
- }
4100
-
4101
- // ../common/src/telemetry/tracked-fetch.ts
4102
- var W3C_TRACE_FLAGS_SAMPLED = "01";
4103
- function makeTrackedFetch(realFetch) {
4104
- return async (input, init) => {
4105
- const context = telemetry.createDependencyContext();
4106
- const url = resolveUrl(input);
4107
- if (!context || !url) {
4108
- return realFetch(input, init);
4109
- }
4110
- const method = resolveMethod(input, init).toUpperCase();
4111
- const headers = mergeHeaders(input, init);
4112
- if (!headers.has("traceparent")) {
4113
- headers.set("traceparent", `00-${context.operationId}-${context.id}-${W3C_TRACE_FLAGS_SAMPLED}`);
4114
- }
4115
- const name = `${method} ${url.pathname}`;
4116
- const clock = startSpanClock();
4117
- context.startedAt = clock.startedAt;
4118
- try {
4119
- const response = await realFetch(input, { ...init, headers });
4120
- const durationMs = clock.elapsedMs();
4121
- recordHttpCall(durationMs);
4122
- telemetry.trackDependencyResult(name, "HTTP", durationMs, response.ok, {
4123
- "server.address": url.host,
4124
- "http.request.method": method,
4125
- "http.response.status_code": response.status
4126
- }, context, String(response.status));
4127
- return response;
4128
- } catch (error) {
4129
- const durationMs = clock.elapsedMs();
4130
- recordHttpCall(durationMs);
4131
- telemetry.trackDependencyResult(name, "HTTP", durationMs, false, {
4132
- "server.address": url.host,
4133
- "http.request.method": method,
4134
- errorMessage: error instanceof Error ? error.message : String(error)
4135
- }, context);
4136
- throw error;
4137
- }
4138
- };
4139
- }
4140
- function resolveUrl(input) {
4141
- try {
4142
- if (typeof input === "string")
4143
- return new URL(input);
4144
- if (input instanceof URL)
4145
- return input;
4146
- if (input instanceof Request)
4147
- return new URL(input.url);
4148
- } catch {}
4149
- return;
4150
- }
4151
- function resolveMethod(input, init) {
4152
- if (init?.method)
4153
- return init.method;
4154
- if (input instanceof Request)
4155
- return input.method;
4156
- return "GET";
4157
- }
4158
- function mergeHeaders(input, init) {
4159
- const headers = new Headers;
4160
- if (input instanceof Request) {
4161
- input.headers.forEach((value, key) => {
4162
- headers.set(key, value);
4163
- });
4164
- }
4165
- if (init?.headers) {
4166
- new Headers(init.headers).forEach((value, key) => {
4167
- headers.set(key, value);
4168
- });
4169
- }
4170
- return headers;
4171
- }
4172
4092
  // ../common/src/telemetry/proxy-http-agent.ts
4173
4093
  var slot = singleton("ProxyAuthHttpsAgent");
4174
4094
 
@@ -6000,6 +5920,6 @@ async function findSolutionFileUpward(fs, startDir) {
6000
5920
  }
6001
5921
  }
6002
5922
 
6003
- export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, makeTrackedFetch, RESULTS, OutputFormatter, InvalidArgumentError, Command, Option, processContext, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, trackShipSucceeded, normalizeProjectType, tryRegisterProjectInParentSolution, findNearestParentUipxFile, findSolutionFileUpward };
5923
+ export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, RESULTS, OutputFormatter, InvalidArgumentError, Command, Option, processContext, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, trackShipSucceeded, normalizeProjectType, tryRegisterProjectInParentSolution, findNearestParentUipxFile, findSolutionFileUpward };
6004
5924
 
6005
- //# debugId=BEDED24EB20CC0CF64756E2164756E21
5925
+ //# debugId=DE37B105000E327A64756E2164756E21