@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.js
CHANGED
|
@@ -7110,6 +7110,9 @@ var IntegrationPackInstanceService = class {
|
|
|
7110
7110
|
inst.integrationPackName = packNameById.get(ipId);
|
|
7111
7111
|
inst.integrationPackDescription = packDescById.get(ipId);
|
|
7112
7112
|
inst.isAgent = hasAgentTag(inst.integrationPackDescription);
|
|
7113
|
+
if (inst.integrationPackDescription && hasAgentTag(inst.integrationPackDescription)) {
|
|
7114
|
+
inst.integrationPackDescription = inst.integrationPackDescription.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7115
|
+
}
|
|
7113
7116
|
const ipeResp = await this.httpRequest.request({
|
|
7114
7117
|
method: "POST",
|
|
7115
7118
|
url: "/IntegrationPackEnvironmentAttachment/query",
|
|
@@ -7176,6 +7179,9 @@ var IntegrationPackInstanceService = class {
|
|
|
7176
7179
|
});
|
|
7177
7180
|
const pack = ipResp?.result?.[0];
|
|
7178
7181
|
if (pack?.Description) integrationPackDescription = pack.Description;
|
|
7182
|
+
if (integrationPackDescription && hasAgentTag(integrationPackDescription)) {
|
|
7183
|
+
integrationPackDescription = pack.name.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7184
|
+
}
|
|
7179
7185
|
if (!integrationPackOverrideName && accountGroupName) {
|
|
7180
7186
|
integrationPackName = await this.resolvePackNameFromAccountGroup(accountGroupName, integrationPackId);
|
|
7181
7187
|
if (!integrationPackName) integrationPackName = pack?.name || "";
|