@tuya-miniapp/ark-extension-virtual-device 0.0.16 → 0.0.17-beta-1

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.
@@ -173907,6 +173907,7 @@ var lastLangContent = null;
173907
173907
  async function getLangContent(params) {
173908
173908
  if (!deviceInfo) {
173909
173909
  return {
173910
+ data: { langContent: { zh: {}, en: {} } },
173910
173911
  errorCode: "-1",
173911
173912
  errorMsg: "\u8BF7\u786E\u8BA4\u5DF2\u5B8C\u6210\u6388\u6743\u767B\u5F55\u5E76\u5728 project.tuya.json \u6587\u4EF6\u4E2D\u5DF2\u914D\u7F6E productId \u5B57\u6BB5\uFF0C\u53E6\u9700\u6CE8\u610F\u4EA7\u54C1\u9700\u8981\u5728\u81EA\u5DF1 IoT \u8D26\u53F7\u4E0B\uFF0C\u6216\u5DF2\u6388\u6743\u5230\u81EA\u5DF1 IoT \u8D26\u53F7\u4E0B\u5E76\u5207\u6362\u5230\u6388\u6743\u7684\u7A7A\u95F4\u3002\u6DFB\u52A0 productId \u540E\u8BF7\u5728 Virtual Device \u4E2D\u7ED1\u5B9A\u865A\u62DF\u8BBE\u5907\uFF0C\u9000\u51FA\u5E76\u518D\u6B21\u8FDB\u5165\u8BE5\u5C0F\u7A0B\u5E8F\u8C03\u8BD5\u754C\u9762\u3002"
173912
173913
  };
@@ -173939,7 +173940,11 @@ async function getLangContent(params) {
173939
173940
  const response = import_lodash.default.merge(pI18n, uI18n);
173940
173941
  const langContent = response.data.result;
173941
173942
  if (!langContent) {
173942
- return { errorMsg: "\u83B7\u53D6\u591A\u8BED\u8A00\u5931\u8D25", errorCode: -1, data: null };
173943
+ return {
173944
+ errorMsg: "\u83B7\u53D6\u591A\u8BED\u8A00\u5931\u8D25",
173945
+ errorCode: -1,
173946
+ data: { langContent: { zh: {}, en: {} } }
173947
+ };
173943
173948
  }
173944
173949
  lastLangContent = langContent;
173945
173950
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-miniapp/ark-extension-virtual-device",
3
- "version": "0.0.16",
3
+ "version": "0.0.17-beta-1",
4
4
  "files": [
5
5
  "manifest.json",
6
6
  "dist/"