@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 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 감지 — navigator.language 를 BCP-47 소문자로. 비브라우저/미가용 시 null. */
1738
+ /** 브라우저 locale 감지 — 소문자 + 지역 변형 축약('ko-KR'→'ko', zh 계열은 'zh-tw' 보존). 비브라우저/미가용 시 null. */
1739
1739
  static detectBrowserLanguage(): string | null;
1740
- /** 표시 헬퍼 — message.translations[myLang] ?? message.content. */
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