@schukai/monster 3.12.0 → 3.12.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -6,14 +6,12 @@
|
|
6
6
|
*/
|
7
7
|
|
8
8
|
import { internalSymbol, instanceSymbol } from "../../../constants.mjs";
|
9
|
-
import { isObject } from "../../../types/is.mjs";
|
9
|
+
import { isObject,isFunction } from "../../../types/is.mjs";
|
10
10
|
import { Server } from "../server.mjs";
|
11
11
|
import { WriteError } from "./restapi/writeerror.mjs";
|
12
12
|
|
13
13
|
export { RestAPI };
|
14
14
|
|
15
|
-
|
16
|
-
|
17
15
|
/**
|
18
16
|
* @type {symbol}
|
19
17
|
* @memberOf Monster
|
@@ -133,7 +131,7 @@ class RestAPI extends Server {
|
|
133
131
|
self.set(self.transformServerPayload.call(self, obj));
|
134
132
|
};
|
135
133
|
|
136
|
-
return fetchData.call(this, "read", callback);
|
134
|
+
return fetchData.call(this, init,"read", callback);
|
137
135
|
}
|
138
136
|
|
139
137
|
/**
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED