@deriv-com/translations 1.3.12 → 1.4.0
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I as f, j as s } from "../jsx-runtime-oIKL5WiM.js";
|
|
2
2
|
import { useMemo as g, createElement as m, createContext as d, useState as i, useEffect as x } from "react";
|
|
3
3
|
import "../crc32-BeCcwohL.js";
|
|
4
|
-
import { L } from "../constants-
|
|
4
|
+
import { L } from "../constants-HKuDWVkt.js";
|
|
5
5
|
function p(t) {
|
|
6
6
|
let {
|
|
7
7
|
i18n: e,
|
package/dist/utils/constants.js
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as e } from "./initialize-i18n.js";
|
|
2
2
|
import { default as l } from "./localize.js";
|
|
3
3
|
import { default as r } from "./otasdk.js";
|
|
4
|
-
import { c as i } from "../constants-
|
|
4
|
+
import { c as i } from "../constants-HKuDWVkt.js";
|
|
5
5
|
import { getAllowedLanguages as d, getInitialLanguage as g, loadIncontextTranslation as x } from "./lang-utils.js";
|
|
6
6
|
export {
|
|
7
7
|
r as OtaSdk,
|
package/dist/utils/lang-utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../crc32-BeCcwohL.js";
|
|
2
|
-
import { L as s, D as c, A as o } from "../constants-
|
|
2
|
+
import { L as s, D as c, A as o } from "../constants-HKuDWVkt.js";
|
|
3
3
|
const p = () => {
|
|
4
4
|
const a = new URLSearchParams(window.location.search).get("lang");
|
|
5
5
|
let t = localStorage.getItem(s) ?? '"EN"';
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"deriv-extract-translations": "./dist/deriv-extract-translations.cjs"
|
|
11
11
|
},
|
|
12
12
|
"private": false,
|
|
13
|
-
"version": "1.
|
|
13
|
+
"version": "1.4.0",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"dev": "vite",
|
|
16
16
|
"build": "tsc && vite build && cp ./src/scripts/deriv-extract-translations.cjs ./dist/deriv-extract-translations.cjs",
|