@vibexnpm/talkx 3.0.4 → 3.0.6
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 +4 -2
- package/dist/talkflow-sdk.esm.js +1 -1
- package/dist/talkflow-sdk.esm.js.map +1 -1
- package/dist/talkflow-sdk.standalone.js +1 -1
- package/dist/talkflow-sdk.standalone.js.map +1 -1
- package/dist/talkflow-sdk.umd.js +1 -1
- package/dist/talkflow-sdk.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/TalkFlowClient.js +39 -4
- package/types/index.d.ts +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -1735,9 +1735,11 @@ export default class TalkFlowClient implements SdkEventEmitter<TalkFlowClientEve
|
|
|
1735
1735
|
// 다국어 (Multilingual)
|
|
1736
1736
|
/** 내 기본 선호 언어 설정 (전 방 공통) — BCP-47 / 'OFF'(원문) / null·''(미설정). 방별은 setMyRoomLanguage. */
|
|
1737
1737
|
setPreferredLanguage(language: string | null): Promise<unknown>;
|
|
1738
|
-
/** 브라우저 locale 감지 —
|
|
1738
|
+
/** 브라우저 locale 감지 — 소문자 + 지역 변형 축약('ko-KR'→'ko', zh 계열은 'zh-tw' 보존). 비브라우저/미가용 시 null. */
|
|
1739
1739
|
static detectBrowserLanguage(): string | null;
|
|
1740
|
-
/**
|
|
1740
|
+
/** 언어 코드 canonical 정규화 — 소문자 + 지역 변형 축약(zh 보존). 서버 LanguageCode 규칙 미러. 'OFF' 는 유지. */
|
|
1741
|
+
static normalizeLanguageCode(code: string | null | undefined): string | null;
|
|
1742
|
+
/** 표시 헬퍼 — message.translations[myLang] ?? message.content. myLang 은 자동 canonical 정규화. */
|
|
1741
1743
|
static displayText(message: ChatMessage, myLang?: string): string | null;
|
|
1742
1744
|
|
|
1743
1745
|
// Push
|