@boomi/embedkit-sdk 1.2.8 → 1.2.10
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7527,8 +7527,8 @@ 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.
|
|
7531
|
-
inst.
|
|
7530
|
+
if (inst.integrationPackDescription && hasAgentTag(inst.integrationPackDescription)) {
|
|
7531
|
+
inst.integrationPackDescription = inst.integrationPackDescription.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7532
7532
|
}
|
|
7533
7533
|
const ipeResp = await this.httpRequest.request({
|
|
7534
7534
|
method: "POST",
|
|
@@ -7596,8 +7596,8 @@ var IntegrationPackInstanceService = class {
|
|
|
7596
7596
|
});
|
|
7597
7597
|
const pack = ipResp?.result?.[0];
|
|
7598
7598
|
if (pack?.Description) integrationPackDescription = pack.Description;
|
|
7599
|
-
if (
|
|
7600
|
-
|
|
7599
|
+
if (integrationPackDescription && hasAgentTag(integrationPackDescription)) {
|
|
7600
|
+
integrationPackDescription = pack.name.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7601
7601
|
}
|
|
7602
7602
|
if (!integrationPackOverrideName && accountGroupName) {
|
|
7603
7603
|
integrationPackName = await this.resolvePackNameFromAccountGroup(accountGroupName, integrationPackId);
|