@live-change/framework 0.5.18 → 0.5.21

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/lib/App.js CHANGED
@@ -98,7 +98,15 @@ class App {
98
98
  processors.unshift(...service.processors)
99
99
  }
100
100
  processUse(sourceService)
101
- for(let processor of processors) processor(sourceService, this)
101
+ //console.log("FOUND PROCESSORS", processors.length)
102
+ processors = processors.filter(function(item, pos, self) {
103
+ return self.indexOf(item) == pos
104
+ })
105
+ //console.log("RUNNING PROCESSORS", processors.length)
106
+ for(let processor of processors) {
107
+ //console.log("PROCESSOR", processor)
108
+ processor(sourceService, this)
109
+ }
102
110
  }
103
111
 
104
112
  computeChanges( oldServiceJson, newService ) {
@@ -44,7 +44,7 @@ class Action {
44
44
  }
45
45
  if(parameters._commandId) command.id = parameters._commandId
46
46
  //console.log("CALL COMMAND", JSON.stringify(command, null, " "))
47
- return this.service.app.command(command, this.definition.requestTimeout)
47
+ return this.service.app.command(command, this.definition.requestTimeout || this.definition.timeout)
48
48
  }
49
49
  }
50
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.5.18",
3
+ "version": "0.5.21",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/live-change/framework.git"
11
+ "url": "git+https://github.com/live-change/live-change-framework.git"
12
12
  },
13
13
  "author": {
14
14
  "email": "m8@em8.pl",
@@ -17,22 +17,23 @@
17
17
  },
18
18
  "license": "MIT",
19
19
  "bugs": {
20
- "url": "https://github.com/live-change/framework/issues"
20
+ "url": "https://github.com/live-change/live-change-framework/issues"
21
21
  },
22
- "homepage": "https://github.com/live-change/framework",
22
+ "homepage": "https://github.com/live-change/live-change-framework",
23
23
  "devDependencies": {
24
- "@live-change/dao": "^0.3.13",
25
- "@live-change/dao-websocket": "^0.3.2",
26
- "@live-change/db": "^0.3.64",
27
- "@live-change/db-store-level": "^0.1.15",
28
- "@live-change/db-store-lmdb": "^0.1.22",
29
- "@live-change/uid": "^0.1.4",
24
+ "@live-change/dao": "0.4.1",
25
+ "@live-change/dao-websocket": "0.4.1",
26
+ "@live-change/db": "0.5.4",
27
+ "@live-change/db-store-level": "0.5.4",
28
+ "@live-change/db-store-lmdb": "0.5.4",
29
+ "@live-change/sockjs": "^0.4.0-rc.1",
30
+ "@live-change/uid": "0.5.20",
30
31
  "cookie": "^0.4.1",
31
32
  "express": "^4.17.1",
32
33
  "os-service": "^2.2.0",
33
34
  "rimraf": "^3.0.2",
34
- "@live-change/sockjs": "^0.4.0-rc.1",
35
35
  "tape": "^5.3.2",
36
36
  "websocket": "^1.0.34"
37
- }
37
+ },
38
+ "gitHead": "00708b95082fc8c701e5ca32b9063c88a2c02a34"
38
39
  }