@seamly/web-ui 21.0.3-beta.1 → 21.0.3-beta.3

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": "@seamly/web-ui",
3
- "version": "21.0.3-beta.1",
3
+ "version": "21.0.3-beta.3",
4
4
  "main": "build/dist/lib/index.js",
5
5
  "types": "build/src/javascripts/index.d.ts",
6
6
  "module": "",
@@ -166,8 +166,8 @@ export default class ConversationConnector {
166
166
  #emitConnectionState(payload: ConnectionState) {
167
167
  // Loop in reverse order to enable splicing the array while iterating
168
168
  for (let i = this.#connectionListeners.length - 1; i >= 0; i--) {
169
- const cb = this.#connectionListeners[i]
170
- const complete = cb(payload)
169
+ const callback = this.#connectionListeners[i]
170
+ const complete = callback(payload)
171
171
 
172
172
  // If we only want to execute the callback once, remove it from the listener
173
173
  if (complete) {
@@ -1,6 +1,5 @@
1
1
  import ChatFrame from 'ui/components/layout/deprecated-chat-frame'
2
2
  import { useShowInlineView, useVisibility } from 'domains/visibility/hooks'
3
- import { useSeamlyChat } from '../../hooks/seamly-hooks'
4
3
  import Conversation from '../conversation/conversation'
5
4
  import DeprecatedToggleButton from '../entry/deprecated-toggle-button'
6
5
  import AgentInfo from '../layout/agent-info'
@@ -15,7 +14,6 @@ const ShowInlineView = ({ children }) => {
15
14
  }
16
15
 
17
16
  const DeprecatedView = () => {
18
- useSeamlyChat()
19
17
  const { isVisible, openChat, closeChat } = useVisibility()
20
18
 
21
19
  return (