@salesforce/agentforce-conversation-client 1.45.0 → 1.46.0

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.d.ts CHANGED
@@ -10,7 +10,7 @@ export declare const AGENTFORCE_CLIENT_COMPONENT_NAME = "accSdkWrapper";
10
10
  export declare const AGENTFORCE_LO_APP_DATA_ATTR = "data-lo";
11
11
  export declare const RenderingMode: Readonly<{
12
12
  readonly INLINE: "inline";
13
- readonly FLOATING: "Floating";
13
+ readonly FLOATING: "floating";
14
14
  }>;
15
15
  export type RenderingModeValue = (typeof RenderingMode)[keyof typeof RenderingMode];
16
16
  export type StyleTokens = Record<string, string>;
@@ -43,7 +43,7 @@ export interface EmbedAgentforceClientResult {
43
43
  * const { loApp, chatClientComponent } = embedAgentforceClient({
44
44
  * container: '#agentforce-container',
45
45
  * salesforceOrigin: 'https://myorg.my.salesforce.com',
46
- * agentforceClientConfig: { renderingConfig: { mode: 'Floating' } }
46
+ * agentforceClientConfig: { renderingConfig: { mode: 'floating' } }
47
47
  * });
48
48
  */
49
49
  export declare function embedAgentforceClient(options?: EmbedAgentforceClientOptions | null): EmbedAgentforceClientResult;
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ export const AGENTFORCE_CLIENT_COMPONENT_NAME = "accSdkWrapper";
13
13
  export const AGENTFORCE_LO_APP_DATA_ATTR = "data-lo";
14
14
  export const RenderingMode = Object.freeze({
15
15
  INLINE: "inline",
16
- FLOATING: "Floating",
16
+ FLOATING: "floating",
17
17
  });
18
18
  // ═══════════════════════════════════════════════════════════════════════════════
19
19
  // INTERNAL CONSTANTS
@@ -273,7 +273,7 @@ function embedIntoContainer(containerElement, options) {
273
273
  * const { loApp, chatClientComponent } = embedAgentforceClient({
274
274
  * container: '#agentforce-container',
275
275
  * salesforceOrigin: 'https://myorg.my.salesforce.com',
276
- * agentforceClientConfig: { renderingConfig: { mode: 'Floating' } }
276
+ * agentforceClientConfig: { renderingConfig: { mode: 'floating' } }
277
277
  * });
278
278
  */
279
279
  export function embedAgentforceClient(options) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/agentforce-conversation-client",
3
3
  "description": "Agentforce Conversation Client SDK for embedding via Lightning Out 2.0",
4
- "version": "1.45.0",
4
+ "version": "1.46.0",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "7c993c5088a22672b43d457613fbbbbdfd46a755"
40
+ "gitHead": "7db371e83587f8839da91d796914c22287862278"
41
41
  }