@boomi/embedkit-sdk 1.2.8 → 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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7110,8 +7110,8 @@ 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.
|
|
7114
|
-
inst.
|
|
7113
|
+
if (inst.integrationPackDescription && hasAgentTag(inst.integrationPackDescription)) {
|
|
7114
|
+
inst.integrationPackDescription = inst.integrationPackDescription.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7115
7115
|
}
|
|
7116
7116
|
const ipeResp = await this.httpRequest.request({
|
|
7117
7117
|
method: "POST",
|
|
@@ -7179,8 +7179,8 @@ var IntegrationPackInstanceService = class {
|
|
|
7179
7179
|
});
|
|
7180
7180
|
const pack = ipResp?.result?.[0];
|
|
7181
7181
|
if (pack?.Description) integrationPackDescription = pack.Description;
|
|
7182
|
-
if (
|
|
7183
|
-
|
|
7182
|
+
if (integrationPackDescription && hasAgentTag(integrationPackDescription)) {
|
|
7183
|
+
integrationPackDescription = pack.name.replace(/{{\s*AGENT\s*}}/gi, "").trim();
|
|
7184
7184
|
}
|
|
7185
7185
|
if (!integrationPackOverrideName && accountGroupName) {
|
|
7186
7186
|
integrationPackName = await this.resolvePackNameFromAccountGroup(accountGroupName, integrationPackId);
|