@daeryun/dr_components 0.8.61 → 0.8.62
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/components/Daeryuntalk/ChatHomeView.jsx +1 -1
- package/dist/components/Daeryuntalk/ChatHomeView.tsx +1 -1
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.js +1 -1
- package/dist/components/Daeryuntalk/_api/daeryuntalk/index.ts +1 -1
- package/dist/components/Daeryuntalk/_hooks/talkprovider/useSocketEventHandler.ts +1 -1
- package/dist/styles/globals.css +0 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -58,7 +58,7 @@ const ChatHomeView = ({ hashValue, onClose, isMobile, isHash }) => {
|
|
|
58
58
|
${isMobile ? 'h-[100dvh]' : 'h-[100dvh] xs:h-auto xs:rounded-[30px] '}
|
|
59
59
|
`}>
|
|
60
60
|
<div className={`
|
|
61
|
-
relative
|
|
61
|
+
relative overflow-hidden bg-white
|
|
62
62
|
${isMobile
|
|
63
63
|
? `h-[100dvh] w-full rounded-[0px]`
|
|
64
64
|
: `
|
|
@@ -114,7 +114,7 @@ const ChatHomeView: React.FC<ChatHomeViewProps> = ({ hashValue, onClose, isMobil
|
|
|
114
114
|
>
|
|
115
115
|
<div
|
|
116
116
|
className={`
|
|
117
|
-
relative
|
|
117
|
+
relative overflow-hidden bg-white
|
|
118
118
|
${
|
|
119
119
|
isMobile
|
|
120
120
|
? `h-[100dvh] w-full rounded-[0px]`
|
|
@@ -396,7 +396,7 @@ export function getChatInquiryMessageList(chatInquiryNumber, standardDateTime, s
|
|
|
396
396
|
*/
|
|
397
397
|
export function initializeDaeryuntalk(hashValue, isOpen, setIsConnected, isMobile, onWebSocketConnected, onWebSocketMessage, version) {
|
|
398
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
399
|
-
if (typeof window !== 'undefined' &&
|
|
399
|
+
if (typeof window !== 'undefined' && hashValue) {
|
|
400
400
|
localStorage.removeItem('daeryunchatinquirytoken');
|
|
401
401
|
}
|
|
402
402
|
console.log('[Daeryuntalk 초기화 시작] 전체 흐름 실행', version ? `버전: ${version}` : `기본 버전: ${DEFAULT_API_VERSION}`);
|
|
@@ -512,7 +512,7 @@ export async function initializeDaeryuntalk(
|
|
|
512
512
|
socket: WebSocket;
|
|
513
513
|
hashAuth: any;
|
|
514
514
|
}> {
|
|
515
|
-
if (typeof window !== 'undefined' &&
|
|
515
|
+
if (typeof window !== 'undefined' && hashValue) {
|
|
516
516
|
localStorage.removeItem('daeryunchatinquirytoken');
|
|
517
517
|
}
|
|
518
518
|
console.log(
|