hadron-app-registry
Advanced tools
Comparing version 5.2.0 to 5.3.0
@@ -202,2 +202,17 @@ 'use strict'; | ||
/** | ||
* Calls onDataServiceInitialized on all the stores in the registry. | ||
* | ||
* @param {DataService} dataService - The data service before connection. | ||
* | ||
* @returns {AppRegistry} The app registry. | ||
*/ | ||
onDataServiceInitialized(dataService) { | ||
return this.callOnStores((store) => { | ||
if (store.onDataServiceInitialized) { | ||
store.onDataServiceInitialized(dataService); | ||
} | ||
}); | ||
} | ||
/** | ||
* Register an action in the registry. | ||
@@ -204,0 +219,0 @@ * |
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/hadron-app-registry", | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"repository": { | ||
@@ -10,0 +10,0 @@ "type": "git", |
24468
482