@tuya-miniapp/ark-extension-virtual-device 0.0.24 → 0.0.25-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.
@@ -173888,13 +173888,6 @@ var services_default = services_exports;
173888
173888
 
173889
173889
  // worker/api/TYUniLocalizationManager.ts
173890
173890
  var import_lodash = __toESM(require_lodash());
173891
- function getLangKey(params) {
173892
- return {
173893
- data: { langKey: "zh" },
173894
- errorCode: 0,
173895
- errorMsg: "success"
173896
- };
173897
- }
173898
173891
  var lastProductId = null;
173899
173892
  var lastLangContent = null;
173900
173893
  async function getLangContent(params) {
@@ -173949,9 +173942,7 @@ async function getLangContent(params) {
173949
173942
  async function init() {
173950
173943
  const projectInfo = await services_default.getTuyaProjectInfo();
173951
173944
  if (projectInfo.type === "panel-app") {
173952
- ark.miniapp.addPluginMethod("TUNILocalizationManager", "getLangKey", getLangKey);
173953
173945
  ark.miniapp.addPluginMethod("TUNILocalizationManager", "getLangContent", getLangContent);
173954
- ark.miniapp.addPluginMethod("TYUniLocalizationManager", "getLangKey", getLangKey);
173955
173946
  ark.miniapp.addPluginMethod("TYUniLocalizationManager", "getLangContent", getLangContent);
173956
173947
  }
173957
173948
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-miniapp/ark-extension-virtual-device",
3
- "version": "0.0.24",
3
+ "version": "0.0.25-beta-1",
4
4
  "files": [
5
5
  "manifest.json",
6
6
  "dist/"