@salesforcedevs/dx-components 1.33.0 → 1.33.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.1",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"luxon": "3.4.4",
|
|
45
45
|
"msw": "^2.12.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "326cef8d08d8563c98e58e757cbd40b6a06878e5"
|
|
48
48
|
}
|
|
@@ -77,6 +77,7 @@ export default class AgentMiawUi extends LightningElement {
|
|
|
77
77
|
@api prompts?: string;
|
|
78
78
|
/** When set, forwarded to the embed as `welcome-text` (greeting / headline copy). */
|
|
79
79
|
@api welcomeText?: string;
|
|
80
|
+
@api agentforceEnv?: string;
|
|
80
81
|
|
|
81
82
|
/** After first mount attempt is scheduled, we do not run it again for this instance. */
|
|
82
83
|
private hasRendered = false;
|
|
@@ -124,6 +125,7 @@ export default class AgentMiawUi extends LightningElement {
|
|
|
124
125
|
if (this.welcomeText) {
|
|
125
126
|
el.setAttribute("welcome-text", this.welcomeText);
|
|
126
127
|
}
|
|
128
|
+
el.setAttribute("env", this.agentforceEnv || "dev");
|
|
127
129
|
container.appendChild(el);
|
|
128
130
|
this.bridgeSidebarState(el);
|
|
129
131
|
} catch (e) {
|