@uipath/codedapp-tool 1.206.0-preview.294 → 1.206.0-preview.296

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/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import"./packager-tool-0ajs8pnk.js";
6
6
  import {
7
7
  metadata2,
8
8
  registerCommands2
9
- } from "./packager-tool-c69y1yqt.js";
9
+ } from "./packager-tool-373xqmsh.js";
10
10
  import"./packager-tool-1qg04b7q.js";
11
11
  import"./packager-tool-3ss96mpk.js";
12
12
  import"./packager-tool-5t7c439j.js";
@@ -20639,7 +20639,7 @@ var package_default = {
20639
20639
  name: "@uipath/codedapp-tool",
20640
20640
  author: "UiPath",
20641
20641
  license: "SEE LICENSE IN LICENSE.txt",
20642
- version: "1.206.0-preview.294",
20642
+ version: "1.206.0-preview.296",
20643
20643
  description: "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
20644
20644
  keywords: [
20645
20645
  "cli-tool",
@@ -22128,9 +22128,20 @@ function toHostLabel(orgName) {
22128
22128
  }
22129
22129
  return orgName.replace(/_/g, "-");
22130
22130
  }
22131
+ var GOV_RUNTIME_DOMAINS = new Map([
22132
+ ["alpha.gov.uipath-dev.com", "alpha.uipathgov.host"],
22133
+ ["govcloud.uipath.us", "uipathgov.host"]
22134
+ ]);
22131
22135
  function buildAppUrl(params) {
22132
22136
  const { baseUrl, orgName, folderKey, systemName, routingName } = params;
22133
22137
  const host = baseUrl.replace(/^https?:\/\//, "").split("/")[0];
22138
+ const govDomain = GOV_RUNTIME_DOMAINS.get(host.toLowerCase());
22139
+ if (govDomain) {
22140
+ if (!routingName) {
22141
+ throw new Error("buildAppUrl: routingName is required to build a gov app URL");
22142
+ }
22143
+ return `https://${toHostLabel(orgName)}.${govDomain}/${routingName}`;
22144
+ }
22134
22145
  const cloudMatch = /^([^.]+)\.uipath\.com$/i.exec(host);
22135
22146
  if (cloudMatch) {
22136
22147
  if (!routingName) {
@@ -30490,7 +30501,7 @@ var package_default2 = {
30490
30501
  name: "@uipath/solution-sdk",
30491
30502
  author: "UiPath",
30492
30503
  license: "SEE LICENSE IN LICENSE.txt",
30493
- version: "1.206.0-preview.294",
30504
+ version: "1.206.0-preview.296",
30494
30505
  repository: {
30495
30506
  type: "git",
30496
30507
  url: "https://github.com/UiPath/cli.git",
@@ -35910,4 +35921,4 @@ var registerCommands2 = async (program) => {
35910
35921
 
35911
35922
  export { metadata2, registerCommands2 };
35912
35923
 
35913
- //# debugId=918EF6ABDB8A416C64756E2164756E21
35924
+ //# debugId=8B0C6E64B82779A064756E2164756E21
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata2,
3
3
  registerCommands2
4
- } from "./packager-tool-c69y1yqt.js";
4
+ } from "./packager-tool-373xqmsh.js";
5
5
  import"./packager-tool-19x86hb2.js";
6
6
  import"./packager-tool-3ss96mpk.js";
7
7
  import"./packager-tool-8pm90w77.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@uipath/codedapp-tool",
3
3
  "author": "UiPath",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
- "version": "1.206.0-preview.294",
5
+ "version": "1.206.0-preview.296",
6
6
  "description": "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
7
7
  "keywords": [
8
8
  "cli-tool",
@@ -32,5 +32,5 @@
32
32
  "optionalDependencies": {
33
33
  "@uipath/codedapp-convert-sdk": "0.1.0-beta.2"
34
34
  },
35
- "gitHead": "41aa0f26a87287e408a13439006e13a85fe6b8da"
35
+ "gitHead": "b816f3b1d711f0888be774af87a58536780af5c2"
36
36
  }