@ar.io/sdk 2.3.0-alpha.6 → 2.3.0-alpha.7
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.
|
@@ -43,7 +43,7 @@ class AOProcess {
|
|
|
43
43
|
process: this.processId,
|
|
44
44
|
tags,
|
|
45
45
|
});
|
|
46
|
-
if (result.Messages.length === 0) {
|
|
46
|
+
if (result.Messages === undefined || result.Messages.length === 0) {
|
|
47
47
|
throw new Error(`Process ${this.processId} does not support provided action.`);
|
|
48
48
|
}
|
|
49
49
|
const tagsOutput = result.Messages[0].Tags;
|
package/lib/cjs/version.js
CHANGED
|
@@ -40,7 +40,7 @@ export class AOProcess {
|
|
|
40
40
|
process: this.processId,
|
|
41
41
|
tags,
|
|
42
42
|
});
|
|
43
|
-
if (result.Messages.length === 0) {
|
|
43
|
+
if (result.Messages === undefined || result.Messages.length === 0) {
|
|
44
44
|
throw new Error(`Process ${this.processId} does not support provided action.`);
|
|
45
45
|
}
|
|
46
46
|
const tagsOutput = result.Messages[0].Tags;
|
package/lib/esm/version.js
CHANGED
package/lib/types/version.d.ts
CHANGED