@streamoji/avatar-widget 0.4.3 → 0.4.5
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/avatar-widget.cjs +5 -5
- package/dist/avatar-widget.css +1 -1
- package/dist/avatar-widget.js +587 -568
- package/dist/avatar-widget.umd.js +146 -146
- package/dist/avatar-widget.umd.js.map +1 -1
- package/dist/index.d.ts +2 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,12 +7,10 @@ export interface UserDetails {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export interface AvatarWidgetProps {
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** Optional unique identifier for the agent instance. */
|
|
11
|
+
agentId?: string;
|
|
12
12
|
/** Called when the agent requests navigation; if omitted, opens in new tab. */
|
|
13
13
|
onNavigationRequested?: (url: string) => void;
|
|
14
|
-
/** Gender of the avatar to select appropriate idle animations. Defaults to 'male'. */
|
|
15
|
-
avatarGender?: "male" | "female";
|
|
16
14
|
/** Optional user details to identify logged-in users and skip lead capture. */
|
|
17
15
|
presetUserDetails?: UserDetails;
|
|
18
16
|
/** Callback triggered when the avatar is ready, providing action functions. */
|