@bob-kit/client 0.0.20 → 0.0.22
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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BobError } from "./error";
|
|
1
|
+
import { BobError } from "./error.js";
|
|
2
2
|
import { WASM } from "./wasm.js";
|
|
3
3
|
import { BobErrors } from "@bob-kit/types/errors";
|
|
4
4
|
let bobInstance;
|
|
@@ -29,7 +29,7 @@ export default function bob(driver) {
|
|
|
29
29
|
}
|
|
30
30
|
if (value?.actions) {
|
|
31
31
|
if (value.actions.length > 1) {
|
|
32
|
-
throw new BobError(BobErrors.MultipleActions, "
|
|
32
|
+
throw new BobError(BobErrors.MultipleActions, "Too many actions are not allowed");
|
|
33
33
|
}
|
|
34
34
|
if (value.actions.length === 1) {
|
|
35
35
|
return (await driver.querier(value.actions[0], ...parameters));
|