@boomi/embedkit-sdk 1.2.7 → 1.2.9
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.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7527,6 +7527,9 @@ var IntegrationPackInstanceService = class {
|
|
|
7527
7527
|
inst.integrationPackName = packNameById.get(ipId);
|
|
7528
7528
|
inst.integrationPackDescription = packDescById.get(ipId);
|
|
7529
7529
|
inst.isAgent = hasAgentTag(inst.integrationPackDescription);
|
|
7530
|
+
if (inst.integrationPackDescription && hasAgentTag(inst.integrationPackDescription)) {
|
|
7531
|
+
inst.integrationPackDescription = inst.integrationPackDescription.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7532
|
+
}
|
|
7530
7533
|
const ipeResp = await this.httpRequest.request({
|
|
7531
7534
|
method: "POST",
|
|
7532
7535
|
url: "/IntegrationPackEnvironmentAttachment/query",
|
|
@@ -7593,6 +7596,9 @@ var IntegrationPackInstanceService = class {
|
|
|
7593
7596
|
});
|
|
7594
7597
|
const pack = ipResp?.result?.[0];
|
|
7595
7598
|
if (pack?.Description) integrationPackDescription = pack.Description;
|
|
7599
|
+
if (integrationPackDescription && hasAgentTag(integrationPackDescription)) {
|
|
7600
|
+
integrationPackDescription = pack.name.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7601
|
+
}
|
|
7596
7602
|
if (!integrationPackOverrideName && accountGroupName) {
|
|
7597
7603
|
integrationPackName = await this.resolvePackNameFromAccountGroup(accountGroupName, integrationPackId);
|
|
7598
7604
|
if (!integrationPackName) integrationPackName = pack?.name || "";
|