@uipath/codedapp-tool 1.203.0-preview.212 → 1.204.0-preview.211

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.
@@ -50,6 +50,7 @@ import {
50
50
  parseAuthFlow,
51
51
  parseJWT,
52
52
  readAuthFromEnv,
53
+ readTokenScopes,
53
54
  refreshAccessToken,
54
55
  refreshTokenFingerprint,
55
56
  registerRobotClientLoader,
@@ -64,18 +65,19 @@ import {
64
65
  selectTenantWithDeps,
65
66
  setActiveAuthProfile,
66
67
  setAuthFileConfig
67
- } from "./packager-tool-bvm4jqr1.js";
68
+ } from "./packager-tool-qc7sff2j.js";
68
69
  import {
69
70
  isBrowser,
70
71
  isNode
71
72
  } from "./packager-tool-0gctz400.js";
72
- import"./packager-tool-qyctya2j.js";
73
+ import"./packager-tool-qa9gftnj.js";
73
74
  import {
74
75
  AUTH_CANCELLED_ERROR_CODE,
75
76
  AUTH_RECLAIMED_ERROR_CODE,
76
77
  AUTH_TIMEOUT_ERROR_CODE,
77
78
  DEFAULT_AUTH_TIMEOUT_MS
78
79
  } from "./packager-tool-yc4kw997.js";
80
+ import"./packager-tool-0v3s8r01.js";
79
81
  import"./packager-tool-1yh8g550.js";
80
82
  export {
81
83
  AUTH_CANCELLED_ERROR_CODE,
@@ -135,6 +137,7 @@ export {
135
137
  parseAuthFlow,
136
138
  parseJWT,
137
139
  readAuthFromEnv,
140
+ readTokenScopes,
138
141
  refreshAccessToken,
139
142
  refreshTokenFingerprint,
140
143
  registerRobotClientLoader,
@@ -151,4 +154,4 @@ export {
151
154
  setAuthFileConfig
152
155
  };
153
156
 
154
- //# debugId=06C873373E697BCA64756E2164756E21
157
+ //# debugId=E9C84DD28484514364756E2164756E21
package/dist/index.js CHANGED
@@ -2,16 +2,17 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-9vm3cnxj.js";
6
- import {
7
- Command
8
- } from "./packager-tool-f1ptyxe1.js";
9
- import"./packager-tool-bvm4jqr1.js";
5
+ } from "./packager-tool-svx5btc4.js";
6
+ import"./packager-tool-vxegnq74.js";
7
+ import"./packager-tool-qc7sff2j.js";
10
8
  import"./packager-tool-0gctz400.js";
11
- import"./packager-tool-qyctya2j.js";
9
+ import"./packager-tool-qa9gftnj.js";
12
10
  import"./packager-tool-yc4kw997.js";
13
- import"./packager-tool-shwgy5p6.js";
14
- import"./packager-tool-aybzcdfg.js";
11
+ import"./packager-tool-7qmpp7hj.js";
12
+ import {
13
+ Command
14
+ } from "./packager-tool-w5fry52f.js";
15
+ import"./packager-tool-0v3s8r01.js";
15
16
  import"./packager-tool-1yh8g550.js";
16
17
 
17
18
  // src/index.ts
@@ -20,4 +21,4 @@ program.name(metadata.name).version(metadata.version).description(metadata.descr
20
21
  await registerCommands(program);
21
22
  program.parse(process.argv);
22
23
 
23
- //# debugId=575813379298095664756E2164756E21
24
+ //# debugId=404A1F6E5456BF8864756E2164756E21
@@ -1,13 +1,15 @@
1
1
  import {
2
- catchError,
3
- getFileSystem
4
- } from "./packager-tool-qyctya2j.js";
2
+ catchError
3
+ } from "./packager-tool-qa9gftnj.js";
5
4
  import {
6
5
  AUTH_CANCELLED_ERROR_CODE,
7
6
  AUTH_RECLAIMED_ERROR_CODE,
8
7
  AUTH_TIMEOUT_ERROR_CODE,
9
8
  DEFAULT_AUTH_TIMEOUT_MS
10
9
  } from "./packager-tool-yc4kw997.js";
10
+ import {
11
+ getFileSystem
12
+ } from "./packager-tool-0v3s8r01.js";
11
13
  import {
12
14
  __require
13
15
  } from "./packager-tool-1yh8g550.js";
@@ -461,4 +463,4 @@ export {
461
463
  NodeAuthStrategy
462
464
  };
463
465
 
464
- //# debugId=61C68C1CA3F57C5B64756E2164756E21
466
+ //# debugId=46B705BCE7AC3FD864756E2164756E21
@@ -232,34 +232,6 @@ class NodeFileSystem {
232
232
  var fsInstance = new NodeFileSystem;
233
233
  var getFileSystem = () => fsInstance;
234
234
 
235
- // ../auth/src/catch-error.ts
236
- function isPromiseLike(value) {
237
- return value !== null && typeof value === "object" && typeof value.then === "function";
238
- }
239
- function catchError(fnOrPromise) {
240
- if (isPromiseLike(fnOrPromise)) {
241
- return settlePromiseLike(fnOrPromise);
242
- }
243
- try {
244
- const result = fnOrPromise();
245
- if (isPromiseLike(result)) {
246
- return settlePromiseLike(result);
247
- }
248
- return [undefined, result];
249
- } catch (error) {
250
- return [
251
- error instanceof Error ? error : new Error(String(error)),
252
- undefined
253
- ];
254
- }
255
- }
256
- function settlePromiseLike(thenable) {
257
- return Promise.resolve(thenable).then((data) => [undefined, data]).catch((error) => [
258
- error instanceof Error ? error : new Error(String(error)),
259
- undefined
260
- ]);
261
- }
262
-
263
- export { getFileSystem, catchError };
235
+ export { getFileSystem };
264
236
 
265
- //# debugId=7C969342331D7A5864756E2164756E21
237
+ //# debugId=25EC9C9B4767723E64756E2164756E21