@live-change/server 0.8.1 → 0.8.3

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/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2019-2022 Michał Łaszczewski
1
+ Copyright 2019-2024 Michał Łaszczewski
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
4
 
package/lib/Services.js CHANGED
@@ -143,6 +143,16 @@ class Services {
143
143
  out.end()
144
144
  }
145
145
 
146
+ async processDefinitions() {
147
+ for(const defn of this.serviceDefinitions) {
148
+ if(!defn.processed) {
149
+ app.processServiceDefinition(defn)
150
+ defn.processed = true
151
+ }
152
+ }
153
+ }
154
+
155
+
146
156
  async update() {
147
157
  /*await Promise.all(this.serviceDefinitions.map(defn => {
148
158
  if(!defn.processed) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/server",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "Live Change Framework - server",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,11 +23,11 @@
23
23
  "homepage": "https://github.com/live-change/live-change-framework",
24
24
  "dependencies": {
25
25
  "@live-change/dao": "0.6.0",
26
- "@live-change/dao-sockjs": "0.6.0",
27
- "@live-change/db-server": "0.7.3",
28
- "@live-change/framework": "^0.8.1",
26
+ "@live-change/dao-sockjs": "0.8.2",
27
+ "@live-change/db-server": "^0.8.3",
28
+ "@live-change/framework": "0.8.2",
29
29
  "@live-change/sockjs": "0.4.1",
30
- "@live-change/uid": "^0.8.1",
30
+ "@live-change/uid": "0.8.2",
31
31
  "dotenv": "^16.4.4",
32
32
  "express": "^4.18.2",
33
33
  "express-static-gzip": "2.1.7",
@@ -39,5 +39,5 @@
39
39
  "websocket": "^1.0.34",
40
40
  "yargs": "^17.7.2"
41
41
  },
42
- "gitHead": "d26056b63edb7fecb98c6b9ee14eba859360f900"
42
+ "gitHead": "81b4ac5a36ab1abdf9d521e3c4fbea6d194bb892"
43
43
  }
package/.idea/misc.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager">
4
- <output url="file://$PROJECT_DIR$/out" />
5
- </component>
6
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/server.iml" filepath="$PROJECT_DIR$/server.iml" />
6
- </modules>
7
- </component>
8
- </project>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="" vcs="Git" />
5
- </component>
6
- </project>
package/server.iml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
9
- </module>