@adminforth/agent 1.43.20 → 1.43.21

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/build.log CHANGED
@@ -62,5 +62,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
62
62
  custom/speech_recognition_frontend/types/
63
63
  custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
64
64
 
65
- sent 1,666,147 bytes received 921 bytes 3,334,136.00 bytes/sec
66
- total size is 1,661,994 speedup is 1.00
65
+ sent 1,666,180 bytes received 921 bytes 3,334,202.00 bytes/sec
66
+ total size is 1,662,027 speedup is 1.00
@@ -33,7 +33,7 @@
33
33
  <div
34
34
  class="w-full min-h-0 max-h-full flex flex-col h-dvh"
35
35
  :style="{
36
- height: !agentStore.isIos ? dvh + 'px' : '100dvh',
36
+ height: !coreStore.isIos ? dvh + 'px' : '100dvh',
37
37
  }"
38
38
  >
39
39
  <ChatHeader />
@@ -88,7 +88,7 @@ const agentStore = useAgentStore();
88
88
  const agentTransitions = useAgentTransitions();
89
89
  const coreStore = useCoreStore();
90
90
 
91
- const dvh = ref(window.innerHeight)
91
+ const dvh = ref(window.visualViewport?.height || window.innerHeight);
92
92
 
93
93
  let startX = 0
94
94
  let startWidth = 0
@@ -33,7 +33,7 @@
33
33
  <div
34
34
  class="w-full min-h-0 max-h-full flex flex-col h-dvh"
35
35
  :style="{
36
- height: !agentStore.isIos ? dvh + 'px' : '100dvh',
36
+ height: !coreStore.isIos ? dvh + 'px' : '100dvh',
37
37
  }"
38
38
  >
39
39
  <ChatHeader />
@@ -88,7 +88,7 @@ const agentStore = useAgentStore();
88
88
  const agentTransitions = useAgentTransitions();
89
89
  const coreStore = useCoreStore();
90
90
 
91
- const dvh = ref(window.innerHeight)
91
+ const dvh = ref(window.visualViewport?.height || window.innerHeight);
92
92
 
93
93
  let startX = 0
94
94
  let startWidth = 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/agent",
3
- "version": "1.43.20",
3
+ "version": "1.43.21",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",