hanbiro-react16-sdk 1.0.31 → 1.0.33

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.js CHANGED
@@ -1,22 +1,19 @@
1
1
  /*!
2
- * hanbiro-react16-sdk v1.0.31
3
- * Build Date: 2026-05-27
2
+ * hanbiro-react16-sdk v1.0.33
3
+ * Build Date: 2026-06-23
4
4
  */
5
5
  /* empty css */
6
+ import { applyVersionAttribute } from "./utils/url.js";
7
+ import { getAppVersion } from "./utils/url.js";
6
8
  import { AI_LANG_FLAGS } from "./constants/index.js";
7
9
  import { default as default2 } from "./components/ChatAIDraft/index.js";
8
- import { default as default3 } from "./components/LoadingCircular/index.js";
9
- import { default as default4 } from "./components/LoadingContainer/index.js";
10
- import { default as default5 } from "./components/Pagination/index.js";
11
- import { default as default6 } from "./components/SummaryAIEmails/index.js";
12
- import { initHanbiroReactSDK, setLibLang } from "./utils/url.js";
10
+ import { default as default3 } from "./components/LoadingContainer/index.js";
11
+ import { default as default4 } from "./components/SummaryAIEmails/index.js";
12
+ applyVersionAttribute();
13
13
  export {
14
14
  AI_LANG_FLAGS,
15
15
  default2 as ChatAIDraft,
16
- default3 as LoadingCircular,
17
- default4 as LoadingContainer,
18
- default5 as Pagination,
19
- default6 as SummaryAIEmails,
20
- initHanbiroReactSDK,
21
- setLibLang
16
+ default3 as LoadingContainer,
17
+ default4 as SummaryAIEmails,
18
+ getAppVersion
22
19
  };
@@ -1,14 +1,14 @@
1
- import { SDKConfig } from "../utils/url.js";
2
1
  import { en } from "./en.js";
3
2
  import { vi } from "./vi.js";
4
3
  import { ko } from "./ko.js";
4
+ import { CURRENT_LANG } from "../utils/lang.js";
5
5
  const dicts = {
6
6
  en,
7
7
  vi,
8
8
  ko
9
9
  };
10
10
  const t = (key) => {
11
- const lang = SDKConfig.lang || "en";
11
+ const lang = CURRENT_LANG || "en";
12
12
  const prefix = lang.split("-")[0];
13
13
  const dict = dicts[lang] || dicts[prefix] || dicts.en;
14
14
  return dict[key] || en[key] || key;