@tuya-miniapp/ark-extension-virtual-device 1.4.3 → 1.4.4-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.
@@ -213424,7 +213424,7 @@ var require_package = __commonJS({
213424
213424
  "package.json"(exports, module2) {
213425
213425
  module2.exports = {
213426
213426
  name: "@tuya-miniapp/ark-extension-virtual-device",
213427
- version: "1.4.0",
213427
+ version: "1.4.3",
213428
213428
  license: "MIT",
213429
213429
  files: [
213430
213430
  "manifest.json",
@@ -255584,6 +255584,7 @@ var startConnect = (0, import_lodash.debounce)(
255584
255584
  return;
255585
255585
  } else if (!devInfo.devId?.startsWith("vdevo")) {
255586
255586
  const version = message.slice(0, 3).toString("utf8");
255587
+ console.log("--------version", version);
255587
255588
  switch (version) {
255588
255589
  case "2.0":
255589
255590
  {
@@ -255645,6 +255646,10 @@ var startConnect = (0, import_lodash.debounce)(
255645
255646
  }
255646
255647
  console.log("\u6536\u5230dp", result);
255647
255648
  if (result?.data?.dps) {
255649
+ if (result?.data?.dps.data && result?.data?.dps.type && topic.startsWith("m/dg")) {
255650
+ console.log("-----\u6536\u5230 Matter \u4E8B\u4EF6", result?.data?.dps.data);
255651
+ return;
255652
+ }
255648
255653
  const { schema = [] } = deviceInfo || groupInfo || {};
255649
255654
  if (Array.isArray(schema)) {
255650
255655
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-miniapp/ark-extension-virtual-device",
3
- "version": "1.4.3",
3
+ "version": "1.4.4-beta-1",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "manifest.json",