@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schukai/monster",
3
- "version": "3.12.0",
3
+ "version": "3.12.2",
4
4
  "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
5
5
  "keywords": [
6
6
  "framework",
@@ -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
  /**
@@ -142,7 +142,7 @@ function getMonsterVersion() {
142
142
  }
143
143
 
144
144
  /** don't touch, replaced by make with package.json version */
145
- monsterVersion = new Version("3.12.0");
145
+ monsterVersion = new Version("3.12.2");
146
146
 
147
147
  return monsterVersion;
148
148
  }
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version("3.12.0")
10
+ monsterVersion = new Version("3.12.2")
11
11
 
12
12
  let m = getMonsterVersion();
13
13