divhunt 2.0.13 → 2.0.14

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.
@@ -6,7 +6,7 @@ commands.Item({
6
6
  type: 'JSON',
7
7
  in: {
8
8
  id: ['string', null, true],
9
- data: ['object']
9
+ data: ['object', {}]
10
10
  },
11
11
  out: {
12
12
  data: ['string|object|boolean|number|array'],
@@ -29,7 +29,7 @@ commands.Item({
29
29
 
30
30
  try
31
31
  {
32
- const result = await commands.Item(properties.id).Fn('run', (properties.data || {}));
32
+ const result = await commands.Item(properties.id).Fn('run', properties.data, null, this);
33
33
 
34
34
  resolve({
35
35
  data: result.data,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "divhunt",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "Full-stack isomorphic JavaScript framework built from scratch. One addon abstraction powers databases, servers, commands, pages, directives, queues, and more.",
5
5
  "type": "module",
6
6
  "main": "lib/load.js",