@live-change/framework
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -137,2 +137,22 @@ const ReactiveDao = require("@live-change/dao") | ||
} | ||
}, | ||
api: { | ||
observable(parameters) { | ||
return new ReactiveDao.ObservablePromiseProxy( | ||
Promise.all( | ||
config.services.map(service => service.app.clientSideDefinition(service, clientData)) | ||
).then(services => new ReactiveDao.ObservableValue({ | ||
client: clientData, | ||
services | ||
})) | ||
) | ||
}, | ||
async get(parameters) { | ||
return Promise.all( | ||
config.services.map(service => service.app.clientSideDefinition(service, clientData)) | ||
).then(services => ({ | ||
client: clientData, | ||
services | ||
})) | ||
} | ||
} | ||
@@ -139,0 +159,0 @@ } |
{ | ||
"name": "@live-change/framework", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Live Change Framework - ultimate solution for real time mobile/web apps", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157932
4288