@storyous/features
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -69,3 +69,3 @@ 'use strict'; | ||
this._loadDefinitionsRepetitively(); | ||
this.firstLoadPromise = this._loadDefinitionsRepetitively(); | ||
} | ||
@@ -79,3 +79,3 @@ | ||
var lastValue = void 0; | ||
this._providers.reduce(function (previous, provider) { | ||
return this._providers.reduce(function (previous, provider) { | ||
return previous.then(function (def) { | ||
@@ -101,3 +101,13 @@ lastValue = def; | ||
} | ||
/** | ||
* @returns {Promise} | ||
*/ | ||
}, { | ||
key: 'getReadyPromise', | ||
value: function getReadyPromise() { | ||
return this.firstLoadPromise; | ||
} | ||
}, { | ||
key: 'destroy', | ||
@@ -104,0 +114,0 @@ value: function destroy() { |
{ | ||
"name": "@storyous/features", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
21435
503