@uipath/integrationservice-tool 1.205.0-preview.284 → 1.206.0-preview.282

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.
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
18
18
  return cached;
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
22
  if (mod && typeof mod === "object" || typeof mod === "function") {
23
23
  for (let key of __getOwnPropNames(mod))
24
24
  if (!__hasOwnProp.call(to, key))
@@ -45,8 +45,17 @@ var __export = (target, all) => {
45
45
  set: __exportSetter.bind(all, name)
46
46
  });
47
47
  };
48
+ var __exportCjs = (target, getters, setters) => {
49
+ for (var name in getters)
50
+ __defProp(target, name, {
51
+ get: getters[name],
52
+ set: setters[name],
53
+ enumerable: true,
54
+ configurable: true
55
+ });
56
+ };
48
57
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
49
58
 
50
- export { __toESM, __commonJS, __export, __require };
59
+ export { __toESM, __commonJS, __export, __exportCjs, __require };
51
60
 
52
- //# debugId=7B09EB233830E89F64756E2164756E21
61
+ //# debugId=6238031C22BFDF8D64756E2164756E21
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getAuthContext
3
- } from "./tool-fj5zzmeh.js";
3
+ } from "./tool-hdzdh357.js";
4
4
 
5
5
  // ../solution-sdk/src/solution-auth.ts
6
- async function getSolutionAuthContext(options) {
6
+ async function getSolutionAuthContext2(options) {
7
7
  const ctx = await getAuthContext({
8
8
  tenant: options.tenant,
9
9
  ensureTokenValidityMinutes: options.loginValidity ?? 10,
@@ -11,9 +11,8 @@ async function getSolutionAuthContext(options) {
11
11
  requireOrganizationId: true,
12
12
  requireTenantName: true
13
13
  });
14
- const organizationId = ctx.organizationId;
15
- const tenantName = ctx.tenantName;
16
- const basePath = `${ctx.baseUrl}/${organizationId}/${tenantName}/automationsolutions_`;
14
+ const { organizationId, tenantName } = ctx;
15
+ const basePath = `${ctx.baseUrl}/${encodeURIComponent(organizationId)}/${encodeURIComponent(tenantName)}/automationsolutions_`;
17
16
  return {
18
17
  accessToken: ctx.accessToken,
19
18
  basePath,
@@ -23,6 +22,6 @@ async function getSolutionAuthContext(options) {
23
22
  };
24
23
  }
25
24
 
26
- export { getSolutionAuthContext };
25
+ export { getSolutionAuthContext2 };
27
26
 
28
- //# debugId=F76D3832B86881B164756E2164756E21
27
+ //# debugId=720557DFC760A35C64756E2164756E21