@devicecloud.dev/dcd 4.4.5 → 4.4.6
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/README.md +0 -5
- package/dist/commands/cloud.d.ts +1 -0
- package/dist/commands/cloud.js +11 -0
- package/dist/commands/upload.d.ts +1 -0
- package/dist/commands/upload.js +11 -0
- package/dist/types/domain/device.types.d.ts +1 -0
- package/dist/types/domain/device.types.js +1 -0
- package/oclif.manifest.json +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
# devicecloud.dev CLI
|
|
2
2
|
|
|
3
|
-
> **Notice:** This CLI is being replaced by a new standalone repository at
|
|
4
|
-
> [moropo-com/cli](https://github.com/moropo-com/cli). Active development,
|
|
5
|
-
> releases, and new features (including `dcd login`) live there. The version
|
|
6
|
-
> in this directory is retained for historical reference and will be removed
|
|
7
|
-
> once the migration is complete.
|
|
8
3
|
|
|
9
4
|
---
|
|
10
5
|
|
package/dist/commands/cloud.d.ts
CHANGED
package/dist/commands/cloud.js
CHANGED
|
@@ -620,5 +620,16 @@ class Cloud extends core_1.Command {
|
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
+
toErrorJson(err) {
|
|
624
|
+
if (err instanceof Error) {
|
|
625
|
+
return {
|
|
626
|
+
error: {
|
|
627
|
+
message: err.message,
|
|
628
|
+
...(err.code ? { code: err.code } : {}),
|
|
629
|
+
},
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
return { error: { message: String(err) } };
|
|
633
|
+
}
|
|
623
634
|
}
|
|
624
635
|
exports.default = Cloud;
|
package/dist/commands/upload.js
CHANGED
|
@@ -94,5 +94,16 @@ class Upload extends core_1.Command {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
+
toErrorJson(err) {
|
|
98
|
+
if (err instanceof Error) {
|
|
99
|
+
return {
|
|
100
|
+
error: {
|
|
101
|
+
message: err.message,
|
|
102
|
+
...(err.code ? { code: err.code } : {}),
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
return { error: { message: String(err) } };
|
|
107
|
+
}
|
|
97
108
|
}
|
|
98
109
|
exports.default = Upload;
|
|
@@ -19,6 +19,7 @@ var EiOSDevices;
|
|
|
19
19
|
})(EiOSDevices || (exports.EiOSDevices = EiOSDevices = {}));
|
|
20
20
|
var EAndroidDevices;
|
|
21
21
|
(function (EAndroidDevices) {
|
|
22
|
+
EAndroidDevices["generic-tablet"] = "generic-tablet";
|
|
22
23
|
EAndroidDevices["pixel-6"] = "pixel-6";
|
|
23
24
|
EAndroidDevices["pixel-6-pro"] = "pixel-6-pro";
|
|
24
25
|
EAndroidDevices["pixel-7"] = "pixel-7";
|
package/oclif.manifest.json
CHANGED