@tuya-miniapp/ark-extension-virtual-device 1.8.7-beta-2 → 1.8.7-beta-3
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/dist/worker/index.js +2 -2
- package/package.json +1 -1
package/dist/worker/index.js
CHANGED
|
@@ -220752,7 +220752,7 @@ var require_package2 = __commonJS({
|
|
|
220752
220752
|
"package.json"(exports, module2) {
|
|
220753
220753
|
module2.exports = {
|
|
220754
220754
|
name: "@tuya-miniapp/ark-extension-virtual-device",
|
|
220755
|
-
version: "1.8.7-beta-
|
|
220755
|
+
version: "1.8.7-beta-2",
|
|
220756
220756
|
license: "MIT",
|
|
220757
220757
|
files: [
|
|
220758
220758
|
"manifest.json",
|
|
@@ -280142,7 +280142,7 @@ async function getProductInfo2(params) {
|
|
|
280142
280142
|
}
|
|
280143
280143
|
});
|
|
280144
280144
|
if (deviceList) {
|
|
280145
|
-
const result = deviceList.data?.result;
|
|
280145
|
+
const result = deviceList.data?.result || [];
|
|
280146
280146
|
cachedDeviceList = result;
|
|
280147
280147
|
const p2 = result.filter((item) => item.productId === params.productId).pop();
|
|
280148
280148
|
if (p2) {
|