@blocklet/discuss-kit 1.3.9 → 1.3.10
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/lib/cjs/locales/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const flat = require("flat");
|
|
3
4
|
const discussKitUx = require("@blocklet/discuss-kit-ux");
|
|
4
5
|
const en = require("./en");
|
|
5
6
|
const zh = require("./zh");
|
|
6
7
|
const _interopDefaultLegacy = (e) => e && typeof e === "object" && "default" in e ? e : { default: e };
|
|
8
|
+
const flat__default = /* @__PURE__ */ _interopDefaultLegacy(flat);
|
|
7
9
|
const en__default = /* @__PURE__ */ _interopDefaultLegacy(en);
|
|
8
10
|
const zh__default = /* @__PURE__ */ _interopDefaultLegacy(zh);
|
|
9
|
-
const translations = { zh: { ...zh__default.default, ...discussKitUx.translations.zh }, en: { ...en__default.default, ...discussKitUx.translations.en } };
|
|
11
|
+
const translations = { zh: { ...zh__default.default, ...flat__default.default(discussKitUx.translations.zh) }, en: { ...en__default.default, ...flat__default.default(discussKitUx.translations.en) } };
|
|
10
12
|
exports.translations = translations;
|
package/lib/es/locales/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import flat from "flat";
|
|
1
2
|
import { translations as translations$1 } from "@blocklet/discuss-kit-ux";
|
|
2
3
|
import en from "./en";
|
|
3
4
|
import zh from "./zh";
|
|
4
|
-
const translations = { zh: { ...zh, ...translations$1.zh }, en: { ...en, ...translations$1.en } };
|
|
5
|
+
const translations = { zh: { ...zh, ...flat(translations$1.zh) }, en: { ...en, ...flat(translations$1.en) } };
|
|
5
6
|
export {
|
|
6
7
|
translations
|
|
7
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10",
|
|
4
4
|
"description": "A react component for Discuss Kit blocklet.",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/es/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@arcblock/did-connect": "^2.5.34",
|
|
38
38
|
"@arcblock/ux": "^2.5.34",
|
|
39
39
|
"@arcblock/ws": "^1.18.75",
|
|
40
|
-
"@blocklet/discuss-kit-ux": "1.3.
|
|
41
|
-
"@blocklet/editor": "1.3.
|
|
40
|
+
"@blocklet/discuss-kit-ux": "1.3.10",
|
|
41
|
+
"@blocklet/editor": "1.3.10",
|
|
42
42
|
"@emotion/react": "^11.10.5",
|
|
43
43
|
"@emotion/styled": "^11.10.5",
|
|
44
44
|
"@mui/icons-material": "^5.10.9",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"vite-plugin-build": "^0.7.1",
|
|
78
78
|
"vite-plugin-svgr": "^2.2.2"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "a87d9aed896905121b745a35a95f6127b38c6ce2"
|
|
81
81
|
}
|