@soundworks/core
Advanced tools
Comparing version 3.0.0-alpha.2 to 3.0.0-alpha.3
@@ -16,2 +16,4 @@ "use strict"; | ||
var _ParametersFacade = require("../common/ParametersFacade"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -165,4 +167,4 @@ | ||
registerService(name, factory = null, options = {}, dependencies = []) { | ||
const ctor = factory(_Service.default); | ||
this.serviceManager.register(name, ctor, options = {}, dependencies = []); | ||
const ctor = factory(_Service.default, _ParametersFacade.Parameters); | ||
this.serviceManager.register(name, ctor, options, dependencies); | ||
} | ||
@@ -174,3 +176,2 @@ | ||
var _default = Client; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGllbnQvQ2xpZW50LmpzIl0sIm5hbWVzIjpbIkNsaWVudCIsImNvbnN0cnVjdG9yIiwiY2xpZW50VHlwZSIsImlkIiwidXVpZCIsImNvbmZpZyIsInNvY2tldCIsIlNvY2tldCIsInNlcnZpY2VNYW5hZ2VyIiwiU2VydmljZU1hbmFnZXIiLCJzdGF0ZU1hbmFnZXIiLCJpbml0IiwiRXJyb3IiLCJ3ZWJzb2NrZXRzIiwiT2JqZWN0IiwiYXNzaWduIiwidXJsIiwicGF0aCIsIlByb21pc2UiLCJyZXNvbHZlIiwic3RhcnQiLCJfcmVhZHkiLCJyZWplY3QiLCJwYXlsb2FkIiwiZW52IiwicmVxdWlyZWRTZXJ2aWNlcyIsImtleXMiLCJnZXRWYWx1ZXMiLCJhZGRMaXN0ZW5lciIsIlN0YXRlTWFuYWdlciIsInRoZW4iLCJlcnIiLCJ0eXBlIiwibXNnIiwiZGF0YSIsImpvaW4iLCJzZW5kIiwicmVnaXN0ZXJTZXJ2aWNlIiwibmFtZSIsImZhY3RvcnkiLCJvcHRpb25zIiwiZGVwZW5kZW5jaWVzIiwiY3RvciIsIlNlcnZpY2UiLCJyZWdpc3R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uYW1lJywgc2VydmljZUZhY3RvcnkpO1xuICAgKiBgYGBcbiAgICovXG4gIHJlZ2lzdGVyU2VydmljZShuYW1lLCBmYWN0b3J5ID0gbnVsbCwgb3B0aW9ucyA9IHt9LCBkZXBlbmRlbmNpZXMgPSBbXSkge1xuICAgIGNvbnN0IGN0b3IgPSBmYWN0b3J5KFNlcnZpY2UpO1xuICAgIHRoaXMuc2VydmljZU1hbmFnZXIucmVnaXN0ZXIobmFtZSwgY3Rvciwgb3B0aW9ucyA9IHt9LCBkZXBlbmRlbmNpZXMgPSBbXSk7XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IENsaWVudDtcbiJdfQ== | ||
exports.default = _default; |
@@ -56,3 +56,2 @@ "use strict"; | ||
var _default = Experience; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGllbnQvRXhwZXJpZW5jZS5qcyJdLCJuYW1lcyI6WyJsb2ciLCJFeHBlcmllbmNlIiwiY29uc3RydWN0b3IiLCJjbGllbnQiLCJFcnJvciIsInJlcXVpcmUiLCJuYW1lIiwic2VydmljZU1hbmFnZXIiLCJnZXQiLCJzdGFydCIsInNvY2tldCIsInNlbmQiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7OztBQUVBLE1BQU1BLEdBQUcsR0FBRyxvQkFBTSxzQkFBTixDQUFaO0FBRUE7Ozs7Ozs7OztBQVFBLE1BQU1DLFVBQU4sQ0FBaUI7QUFDZkMsRUFBQUEsV0FBVyxDQUFDQyxNQUFELEVBQVM7QUFDbEI7QUFDQSxRQUFJLENBQUNBLE1BQUwsRUFBYTtBQUNYLFlBQU0sSUFBSUMsS0FBSixDQUFVLDhFQUFWLENBQU47QUFDRDs7QUFFRCxTQUFLRCxNQUFMLEdBQWNBLE1BQWQ7QUFDRDtBQUVEOzs7Ozs7O0FBS0FFLEVBQUFBLE9BQU8sQ0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) { | ||
if (!client) { | ||
throw new Error(`[service] 1rst argument should be an instance of Client`); | ||
} | ||
if (!name) { | ||
throw new Error(`[service] 2nd argument should be a valid name`); | ||
} | ||
/** | ||
@@ -33,2 +40,4 @@ * Instance of soundworks client | ||
*/ | ||
this.client = client; | ||
@@ -64,7 +73,12 @@ /** | ||
start: new _SignalAll.default(), | ||
ready: new _Signal.default() | ||
started: new _Signal.default(), | ||
ready: new _Signal.default(), | ||
errored: new _Signal.default() // @needs a payload | ||
}; // start when all required signals are fired | ||
this.signals.start.addObserver(value => this.start()); | ||
this.started = this.started.bind(this); | ||
this.ready = this.ready.bind(this); | ||
this.error = this.error.bind(this); | ||
} | ||
@@ -96,2 +110,23 @@ | ||
/** | ||
* Method to call when the service is effectively started, as it may do async | ||
* job at start (cf. platform-service.client). | ||
* Should be called between `start` and `ready` | ||
* | ||
* @example | ||
* class MyDelayService extends soundworks.Service { | ||
* // ... | ||
* start() { | ||
* setTimeout(() => this.ready(), 3000); | ||
* } | ||
* } | ||
*/ | ||
started() { | ||
// @note - this as no strong incidence on the initialization lifecycle, | ||
// maybe should be enforced | ||
log(`> service "${this.name}" started`); | ||
this.signals.started.value = true; | ||
} | ||
/** | ||
* Method to call in the service lifecycle when it should be considered as | ||
@@ -107,6 +142,11 @@ * `ready` and thus allows the intialization process to continue. | ||
error(msg) { | ||
log(`> service "${this.name}" error: ${msg}`); | ||
this.signals.errored.msg = msg; | ||
this.signals.errored.value = true; | ||
} | ||
} | ||
var _default = Service; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGllbnQvU2VydmljZS5qcyJdLCJuYW1lcyI6WyJsb2ciLCJTZXJ2aWNlIiwiY29uc3RydWN0b3IiLCJjbGllbnQiLCJuYW1lIiwib3B0aW9ucyIsInNpZ25hbHMiLCJzdGFydCIsIlNpZ25hbEFsbCIsInJlYWR5IiwiU2lnbmFsIi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Bjb250aW51ZS5cbiAgICovXG4gIHJlYWR5KCkge1xuICAgIGxvZyhgPiBzZXJ2aWNlIFwiJHt0aGlzLm5hbWV9XCIgcmVhZHlgKTtcbiAgICB0aGlzLnNpZ25hbHMucmVhZHkudmFsdWUgPSB0cnVlO1xuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IFNlcnZpY2U7XG5cbiJdfQ== | ||
exports.default = _default; |
@@ -40,3 +40,3 @@ "use strict"; | ||
this._registeredService = {}; | ||
this._registeredServices = {}; | ||
/** @private */ | ||
@@ -47,3 +47,3 @@ | ||
this.servicesStatus = {}; | ||
this._servicesStatus = {}; | ||
/** @private */ | ||
@@ -88,3 +88,5 @@ | ||
_emitChange() { | ||
this._observers.forEach(observer => observer()); | ||
const status = this.getValues(); | ||
this._observers.forEach(observer => observer(status)); | ||
} | ||
@@ -105,3 +107,3 @@ /** @unstable */ | ||
getValues() { | ||
return Object.assign({}, this.servicesStatus); | ||
return Object.assign({}, this._servicesStatus); | ||
} // end @unstable | ||
@@ -118,3 +120,3 @@ // ------------------ | ||
register(name, ctor, options = {}, dependencies = []) { | ||
this._registeredService[name] = { | ||
this._registeredServices[name] = { | ||
ctor, | ||
@@ -134,4 +136,7 @@ options, | ||
get(name, _experienceRequired = false) { | ||
if (!this._registeredService[name]) { | ||
throw new Error(`Service "${name}" is not defined`); | ||
if (!this._registeredServices[name]) { | ||
throw new Error(`Cannot get or require service "${name}", service is not registered | ||
> registered services are: | ||
${Object.keys(this._registeredServices).map(n => `> - ${n}\n`).join('')} | ||
`); | ||
} // throw an error if manager already started | ||
@@ -149,3 +154,3 @@ | ||
dependencies | ||
} = this._registeredService[name]; | ||
} = this._registeredServices[name]; | ||
const instance = new ctor(this._client, name, options); // wait, at least, for the service manager start signal | ||
@@ -169,6 +174,10 @@ | ||
this.servicesStatus[name] = 'idle'; | ||
this._servicesStatus[name] = 'idle'; | ||
let unsubscribe; | ||
const onServiceStart = () => { | ||
this.servicesStatus[name] = 'started'; | ||
const onServiceStarted = () => { | ||
this._servicesStatus[name] = 'started'; | ||
unsubscribe = instance.state.subscribe(() => { | ||
this._emitChange(); | ||
}); | ||
@@ -178,21 +187,28 @@ this._emitChange(); | ||
const onServiceReady = () => { | ||
this.servicesStatus[name] = 'ready'; | ||
const onServiceErrored = () => { | ||
this._servicesStatus[name] = 'errored'; | ||
this._emitChange(); | ||
instance.signals.start.removeObserver(onServiceStart); | ||
unsubscribe(); | ||
instance.signals.started.removeObserver(onServiceStarted); | ||
instance.signals.ready.removeObserver(onServiceReady); | ||
instance.signals.errored.removeObserver(onServiceErrored); | ||
}; | ||
instance.signals.start.addObserver(onServiceStart); | ||
instance.signals.ready.addObserver(onServiceReady); // trigger updates on params update too | ||
// @note - this should be kept private for now | ||
// @todo - change this for a shared state, using `stateManager` | ||
const onServiceReady = () => { | ||
this._servicesStatus[name] = 'ready'; | ||
if (instance.params && instance.params.addListener) { | ||
instance.params.addListener(() => this._emitChange()); | ||
} // store instance | ||
this._emitChange(); | ||
unsubscribe(); | ||
instance.signals.started.removeObserver(onServiceStarted); | ||
instance.signals.ready.removeObserver(onServiceReady); | ||
instance.signals.errored.removeObserver(onServiceErrored); | ||
}; | ||
instance.signals.started.addObserver(onServiceStarted); | ||
instance.signals.ready.addObserver(onServiceReady); | ||
instance.signals.errored.addObserver(onServiceErrored); // store instance | ||
this._instances[name] = instance; | ||
@@ -210,3 +226,2 @@ } // if instance exists and no other argument given, `get` acts a a pure getter | ||
var _default = ServiceManager; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGllbnQvU2VydmljZU1hbmFnZXIuanMiXSwibmFtZXMiOlsibG9nIiwiU2VydmljZU1hbmFnZXIiLCJjb25zdHJ1Y3RvciIsImNsaWVudCIsIl9pbnN0YW5jZXMiLCJfcmVnaXN0ZXJlZFNlcnZpY2UiLCJfb2JzZXJ2ZXJzIiwiU2V0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GlzdGVuZXIoKCkgPT4gdGhpcy5fZW1pdENoYW5nZSgpKTtcbiAgICAgIH1cblxuICAgICAgLy8gc3RvcmUgaW5zdGFuY2VcbiAgICAgIHRoaXMuX2luc3RhbmNlc1tuYW1lXSA9IGluc3RhbmNlO1xuICAgIH1cblxuICAgIC8vIGlmIGluc3RhbmNlIGV4aXN0cyBhbmQgbm8gb3RoZXIgYXJndW1lbnQgZ2l2ZW4sIGBnZXRgIGFjdHMgYSBhIHB1cmUgZ2V0dGVyXG4gICAgY29uc3QgaW5zdGFuY2UgPSB0aGlzLl9pbnN0YW5jZXNbbmFtZV07XG5cbiAgICByZXR1cm4gaW5zdGFuY2U7XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IFNlcnZpY2VNYW5hZ2VyO1xuXG4iXX0= | ||
exports.default = _default; |
@@ -272,3 +272,2 @@ "use strict"; | ||
var _default = Socket; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGllbnQvU29ja2V0LmpzIl0sIm5hbWVzIjpbImxvZyIsImlzQnJvd3NlciIsIkZ1bmN0aW9uIiwiU29ja2V0IiwiY29uc3RydWN0b3IiLCJ3cyIsIl9zdHJpbmdMaXN0ZW5lcnMiLCJNYXAiLCJfYmluYXJ5TGlzdGVuZXJzIiwiaW5pdCIsImNsaWVudFR5cGUiLCJjb25maWciLCJrZXkiLCJNYXRoIiwicmFuZG9tIiwicmVwbGFjZSIsInBhdGgiLCJ3ZWJzb2NrZXRzIiwidXJsIiwicHJvdG9jb2wiLCJ3aW5kb3ciLCJsb2NhdGlvbiIsImhvc3RuYW1lIiwicG9ydCIsInVzZUh0dHBzIiwiaXAiLCJxdWVyeVBhcmFtcyIsInN0cmluZ1NvY2tldFVybCIsIldlYlNvY2tldCIsInN0cmluZ1NvY2tldFByb21pc2UiLCJQcm9taXNlIiwicmVzb2x2ZSIsInJlamVjdC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IC8qKlxuICAgKiBSZW1vdmUgYWxsIGxpc3RlbmVycyBmcm9tIGJpbmFyeSBjb21wYXRpYmxlIG1lc3NhZ2VzIG9uIGEgZ2l2ZW4gY2hhbm5lbFxuICAgKlxuICAgKiBAcGFyYW0ge1N0cmluZ30gY2hhbm5lbCAtIENoYW5uZWwgb2YgdGhlIG1lc3NhZ2VcbiAgICovXG4gIHJlbW92ZUFsbEJpbmFyeUxpc3RlbmVycyhjaGFubmVsKSB7XG4gICAgdGhpcy5fcmVtb3ZlQWxsTGlzdGVuZXJzKHRoaXMuX2JpbmFyeUxpc3RlbmVycywgY2hhbm5lbCk7XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IFNvY2tldDtcbiJdfQ== | ||
exports.default = _default; |
@@ -307,3 +307,2 @@ "use strict"; | ||
var _default = StateManager; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGllbnQvU3RhdGVNYW5hZ2VyLmpzIl0sIm5hbWVzIjpbImlkR2VuZXJhdG9yIiwiaSIsImdlbmVyYXRlUmVxdWVzdElkIiwicmVxdWVzdFByb21pc2VzIiwiTWFwIiwic3RvcmVSZXF1ZXN0UHJvbWlzZSIsInJlc29sdmUiLCJyZWplY3QiLCJyZXFJZCIsIm5leHQiLCJ2YWx1ZSIsInNldCIsInJlc29sdmVSZXF1ZXN0IiwiZGF0YSIsImdldCIsImRlbGV0ZSIsInJlamVjdFJlcXVlc3QiLCJTdGF0ZSIsImNvbnN0cnVjdG9yIiwiaWQiLCJzY2hlbWFOYW1lIiwic2NoZW1hIiwiY3JlYXRvciIsIm93bmVyIiwiY2xpZW50IiwibWFuYWdlciIsImluaXRWYWx1ZXMiLCJfc2NoZW1hIiwiX2NyZWF0b3IiLCJfb3duZXIiLCJfY2xpZW50IiwiX21hbmFnZXIiLCJfcGFyYW1ldGVycyIsIl9zdWJzY3JpcHRpb25z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pcy5jbGllbnQuc29ja2V0LnNlbmQoT0JTRVJWRV9SRVFVRVNULCByZXFJZCk7XG4gICAgfSk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgU3RhdGVNYW5hZ2VyO1xuIl19 | ||
exports.default = _default; |
@@ -43,3 +43,2 @@ "use strict"; | ||
var _default = Signal; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb21tb24vU2lnbmFsLmpzIl0sIm5hbWVzIjpbIlNpZ25hbCIsImNvbnN0cnVjdG9yIiwiX3N0YXRlIiwiX29ic2VydmVycyIsIlNldCIsInZhbHVlIiwib2JzZXJ2ZXIiLCJhZGRPYnNlcnZlciIsImFkZCIsInJlbW92ZU9ic2VydmVyIiwiZGVsZXRlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7Ozs7QUFJQSxNQUFNQSxNQUFOLENBQWE7QUFDWEMsRUFBQUEsV0FBVyxHQUFHO0FBQ1osU0FBS0MsTUFBTCxHQUFjLEtBQWQ7QUFDQSxTQUFLQyxVQUFMLEdBQWtCLElBQUlDLEdBQUosRUFBbEI7QUFDRDs7QUFFRCxNQUFJQyxLQUFKLENBQVVBLEtBQVYsRUFBaUI7QUFDZixRQUFJQSxLQUFLLEtBQUssS0FBS0gsTUFBbkIsRUFBMkI7QUFDekIsV0FBS0EsTUFBTCxHQUFjRyxLQUFkOztBQUVBLFdBQUssSUFBSUMsUUFBVCxJQUFxQixLQUFLSCxVQUExQixFQUFzQztBQUNwQ0csUUFBQUEsUUFBUSxDQUFDRCxLQUFELENBQVI7QUFDRDtBQUNGO0FBQ0Y7O0FBRUQsTUFBSUEsS0FBSixHQUFZO0FBQ1YsV0FBTyxLQUFLSCxNQUFaO0FBQ0Q7O0FBRURLLEVBQUFBLFdBQVcsQ0FBQ0QsUUFBRCxFQUFXO0FBQ3BCLFNBQUtILFVBQUwsQ0FBZ0JLLEdBQWhCLENBQW9CRixRQUFwQjtBQUNEOztBQUVERyxFQUFBQSxjQUFjLENBQUNILFFBQUQsRUFBVztBQUN2QixTQUFLSCxVQUFMLENBQWdCTyxNQUFoQixDQUF1QkosUUFBdkI7QUFDRDs7QUExQlU7O2VBNkJFTixNIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKlxuICpcbiAqL1xuY2xhc3MgU2lnbmFsIHtcbiAgY29uc3RydWN0b3IoKSB7XG4gICAgdGhpcy5fc3RhdGUgPSBmYWxzZTtcbiAgICB0aGlzLl9vYnNlcnZlcnMgPSBuZXcgU2V0KCk7XG4gIH1cblxuICBzZXQgdmFsdWUodmFsdWUpIHtcbiAgICBpZiAodmFsdWUgIT09IHRoaXMuX3N0YXRlKSB7XG4gICAgICB0aGlzLl9zdGF0ZSA9IHZhbHVlO1xuXG4gICAgICBmb3IgKGxldCBvYnNlcnZlciBvZiB0aGlzLl9vYnNlcnZlcnMpIHtcbiAgICAgICAgb2JzZXJ2ZXIodmFsdWUpO1xuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIGdldCB2YWx1ZSgpIHtcbiAgICByZXR1cm4gdGhpcy5fc3RhdGU7XG4gIH1cblxuICBhZGRPYnNlcnZlcihvYnNlcnZlcikge1xuICAgIHRoaXMuX29ic2VydmVycy5hZGQob2JzZXJ2ZXIpO1xuICB9XG5cbiAgcmVtb3ZlT2JzZXJ2ZXIob2JzZXJ2ZXIpIHtcbiAgICB0aGlzLl9vYnNlcnZlcnMuZGVsZXRlKG9ic2VydmVyKTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBTaWduYWw7XG4iXX0= | ||
exports.default = _default; |
@@ -44,3 +44,2 @@ "use strict"; | ||
var _default = SignalAll; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb21tb24vU2lnbmFsQWxsLmpzIl0sIm5hbW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lIGFkZGVkIHRocm91Z2ggdGhlIGBhZGRgIG1ldGhvZC5cbiAqIEBwcml2YXRlXG4gKi9cbmNsYXNzIFNpZ25hbEFsbCBleHRlbmRzIFNpZ25hbCB7XG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gICAgdGhpcy5fc291cmNlcyA9IG5ldyBTZXQoKTtcbiAgfVxuXG4gIGdldCBsZW5ndGgoKSB7XG4gICAgcmV0dXJuIHRoaXMuX3NvdXJjZXMuc2l6ZTtcbiAgfVxuXG4gIGFkZChzaWduYWwpIHtcbiAgICB0aGlzLl9zb3VyY2VzLmFkZChzaWduYWwpO1xuXG4gICAgc2lnbmFsLmFkZE9ic2VydmVyKCgpID0+IHtcbiAgICAgIGxldCB2YWx1ZSA9IHRydWU7XG5cbiAgICAgIGZvciAobGV0IHNpZ25hbCBvZiB0aGlzLl9zb3VyY2VzKSB7XG4gICAgICAgIHZhbHVlID0gdmFsdWUgJiYgc2lnbmFsLnZhbHVlO1xuICAgICAgfVxuXG4gICAgICBzdXBlci52YWx1ZSA9IHZhbHVlO1xuICAgIH0pO1xuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IFNpZ25hbEFsbDtcbiJdfQ== | ||
exports.default = _default; |
@@ -73,3 +73,2 @@ "use strict"; | ||
return JSON.parse(data); | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb21tb24vc29ja2V0cy1lbmNvZGVyLWRlY29kZXIuanMiXSwibmFtZXMiOlsiZW5jb2RlciIsInJvb3QiLCJUZXh0RW5jb2RlciIsImRlY29kZXIiLCJUZXh0RGVjb2RlciIsInR5cGVzIiwicGFja0JpbmFyeU1lc3NhZ2UiLCJjaGFubmVsIiwiZGF0YSIsImNoYW5uZWxCdWZmZXIiLCJlbmNvZGUiLCJjaGFubmVsU2l6ZSIsImJ5dGVMZW5ndGgiLCJzdGFydE9mZnNldC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yID0gbmV3IFVpbnQ4QXJyYXkoYnVmZmVyLnNsaWNlKDMsIDMgKyBjaGFubmVsU2l6ZSkpO1xuICBjb25zdCBjaGFubmVsID0gZGVjb2Rlci5kZWNvZGUoY2hhbm5lbEJ1ZmZlcik7XG4gIGNvbnN0IHR5cGUgPSB0eXBlc1t0eXBlSW5kZXhdO1xuICAvLyBzbGljZSAoY29weSkgdGhlIHVuZGVybHlpbmcgQXJyYXlCdWZmZXIgdG8gY3JlYXRlIGEgY2xlYW4gVHlwZWRBcnJheVxuICBjb25zdCBkYXRhID0gbmV3IHJvb3RbdHlwZV0oYnVmZmVyLnNsaWNlKHN0YXJ0T2Zmc2V0KSk7XG5cbiAgcmV0dXJuIFtjaGFubmVsLCBkYXRhXTtcbn1cblxuLyoqIHByaXZhdGUgKi9cbmV4cG9ydCBmdW5jdGlvbiBwYWNrU3RyaW5nTWVzc2FnZShjaGFubmVsLCAuLi5hcmdzKSB7XG4gIHJldHVybiBKU09OLnN0cmluZ2lmeShbY2hhbm5lbCwgYXJnc10pO1xufVxuXG4vKiogcHJpdmF0ZSAqL1xuZXhwb3J0IGZ1bmN0aW9uIHVucGFja1N0cmluZ01lc3NhZ2UoZGF0YSkge1xuICByZXR1cm4gSlNPTi5wYXJzZShkYXRhKTtcbn1cbiJdfQ== | ||
} |
@@ -48,3 +48,2 @@ "use strict"; | ||
const UPDATE_NOTIFICATION = 's:u:not'; | ||
exports.UPDATE_NOTIFICATION = UPDATE_NOTIFICATION; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb21tb24vc3RhdGVNYW5hZ2VyQ29uc3RhbnRzLmpzIl0sIm5hbWVzIjpbIlNFUlZFUl9JRCIsIkNSRUFURV9SRVFVRVNUIiwiQ1JFQVRFX1JFU1BPTlNFIiwiQ1JFQVRFX0VSUk9SIiwiREVMRVRFX1JFUVVFU1QiLCJERUxFVEVfUkVTUE9OU0Ui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IGNvbnN0IE9CU0VSVkVfUkVTUE9OU0UgPSAnczpvOnJlcyc7XG5leHBvcnQgY29uc3QgT0JTRVJWRV9OT1RJRklDQVRJT04gPSAnczpvOm5vdCc7XG5cbmV4cG9ydCBjb25zdCBVUERBVEVfUkVRVUVTVCA9ICdzOnU6cmVxJztcbmV4cG9ydCBjb25zdCBVUERBVEVfUkVTUE9OU0UgPSAnczp1OnJlcyc7XG5leHBvcnQgY29uc3QgVVBEQVRFX05PVElGSUNBVElPTiA9ICdzOnU6bm90JztcbiJdfQ== | ||
exports.UPDATE_NOTIFICATION = UPDATE_NOTIFICATION; |
{ | ||
"name": "@soundworks/core", | ||
"version": "3.0.0-alpha.2", | ||
"version": "3.0.0-alpha.3", | ||
"description": "full-stack javascript framework for distributed audio visual experiences on the web", | ||
@@ -34,2 +34,3 @@ "authors": [ | ||
"dependencies": { | ||
"@babel/plugin-proposal-export-default-from": "^7.5.2", | ||
"@ircam/parameters": "^1.2.2", | ||
@@ -36,0 +37,0 @@ "chalk": "^2.4.2", |
@@ -157,3 +157,2 @@ "use strict"; | ||
var _default = Client; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvQ2xpZW50LmpzIl0sIm5hbWVzIjpbImlkR2VuZXJhdG9yIiwiaSIsImdlbmVyYXRlSWQiLCJDbGllbnQiLCJjb25zdHJ1Y3RvciIsImNsaWVudFR5cGUiLCJzb2NrZXQiLCJ0eXBlIiwiaWQiLCJuZXh0IiwidmFsdWUiLCJ1dWlkIiwiY29vcmRpbmF0ZXMiLCJnZW9wb3NpdGlvbiIsImluZGV4IiwibGFiZWwiLCJkZXN0cm95Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7Ozs7QUFFQSxVQUFVQSxXQUFWLEdBQXdCO0FBQ3RCLE9BQUssSUFBSUMsQ0FBQyxHQUFHLENBQWIsRUFBZ0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CAqIEB0eXBlIHtTb2NrZXR9XG5cdFx0ICogQHByaXZhdGVcblx0XHQgKi9cbiAgICB0aGlzLnNvY2tldCA9IHNvY2tldDtcbiAgfVxuXG4gIC8qKlxuICAgKiBSZXR1cm5zIGEgbGlnaHR3ZWlnaHQgdmVyc2lvbiBvZiB0aGUgZGF0YSBkZWZpbmluZyB0aGUgY2xpZW50LlxuICAgKiBAcmV0dXJucyB7T2JqZWN0fVxuICAgKi9cbiAgLy8gc2VyaWFsaXplKCkge1xuICAvLyAgIHJldHVybiB7XG4gIC8vICAgICB0eXBlOiB0aGlzLnR5cGUsXG4gIC8vICAgICB1dWlkOiB0aGlzLnV1aWQsXG4gIC8vICAgICBjb29yZGluYXRlczogdGhpcy5jb29yZGluYXRlcyxcbiAgLy8gICAgIGluZGV4OiB0aGlzLmluZGV4LFxuICAvLyAgICAgbGFiZWw6IHRoaXMubGFiZWwsXG4gIC8vICAgICBhY3Rpdml0aWVzOiB0aGlzLmFjdGl2aXRpZXMsXG4gIC8vICAgfTtcbiAgLy8gfVxuXG4gIC8qKlxuICAgKiBEZXN0cm95IHRoZSBjbGllbnQuXG4gICAqL1xuICBkZXN0cm95KCkge1xuICAgIHRoaXMudXVpZCA9IG51bGw7XG4gICAgdGhpcy5pZCA9IG51bGw7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgQ2xpZW50O1xuIl19 | ||
exports.default = _default; |
@@ -63,3 +63,2 @@ "use strict"; | ||
var _default = Db; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvRGIuanMiXSwibmFtZXMiOlsiRGIiLCJjb25zdHJ1Y3RvciIsIm9wdGlvbnMiLCJkYkRpcmVjdG9yeSIsInBhdGgiLCJqb2luIiwicHJvY2VzcyIsImN3ZCIsImZzIiwiZXhpc3RzU3luYyIsIm1rZGlyU3luYyIsImZpbGVuYW1lIi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4aXN0c1N5bmMoZGJEaXJlY3RvcnkpKSB7XG4gICAgICBmcy5ta2RpclN5bmMoZGJEaXJlY3RvcnkpO1xuICAgIH1cblxuICAgIGNvbnN0IGZpbGVuYW1lID0gcGF0aC5qb2luKGRiRGlyZWN0b3J5LCAna2V5di5kYicpXG5cbiAgICB0aGlzLmtleXYgPSBuZXcgS2V5dih7XG4gICAgICBuYW1lc3BhY2U6ICdzb3VuZHdvcmtzJyxcbiAgICAgIHN0b3JlOiBuZXcgS2V5dkZpbGUoeyBmaWxlbmFtZSB9KSxcbiAgICB9KTtcblxuICAgIHRoaXMua2V5di5vbignZXJyb3InLCBlcnIgPT4gY29uc29sZS5sb2coJ0Nvbm5lY3Rpb24gRXJyb3InLCBlcnIpKTtcbiAgfVxuXG4gIGFzeW5jIGdldChrZXkpIHtcbiAgICBjb25zdCB2YWx1ZSA9IGF3YWl0IHRoaXMua2V5di5nZXQoa2V5KTtcbiAgICByZXR1cm4gdmFsdWU7XG4gIH1cblxuICBhc3luYyBzZXQoa2V5LCB2YWx1ZSwgZXhwaXJlRGVsYXlNcyA9IHVuZGVmaW5lZCkge1xuICAgIGF3YWl0IHRoaXMua2V5di5zZXQoa2V5LCB2YWx1ZSwgZXhwaXJlRGVsYXlNcyk7XG4gIH1cblxuICBhc3luYyBkZWxldGUoa2V5KSB7XG4gICAgYXdhaXQgdGhpcy5rZXl2LmRlbGV0ZShrZXkpO1xuICB9XG5cbiAgYXN5bmMgY2xlYXIoKSB7XG4gICAgYXdhaXQgdGhpcy5rZXl2LmNsZWFyKCk7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgRGI7XG5cbiJdfQ== | ||
exports.default = _default; |
@@ -116,3 +116,2 @@ "use strict"; | ||
var _default = Experience; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvRXhwZXJpZW5jZS5qcyJdLCJ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aWNlIGV4cGVyaWVuY2UgXCIke3RoaXMuY29uc3RydWN0b3IubmFtZX1cImApO1xuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IEV4cGVyaWVuY2U7XG4iXX0= | ||
exports.default = _default; |
@@ -518,3 +518,2 @@ "use strict"; | ||
var _default = Server; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvU2VydmVyLmpzIl0sIm5hbWVzIjpbIlNlcnZlciIsImNvbnN0cnVjdG9yIiwiY29uZmlnIiwicm91dGVyIiwiaHR0cFNlcnZlciIsImRiIiwic29ja2V0cyIsIlNvY2tldHMiLCJzZXJ2aWNlTWFuYWdlciIsIlNlcnZpY2VNYW5hZ2VyIiwic3RhdGVNYW5hZ2VyIiwiX2h0dHBzSW5mb3MiLCJfY2xpZW50VHlwZUFjdGl2aXRpZXNNYXAiLCJhY3Rpdml0aWVzIiwiU2V0IiwiX3JvdXRlcyIsIl9odG1sVGVtcGxhdGVDb25maWciLCJlbmdpbmUiLCJkaXJlY3RvcnkiLCJpbml0IiwiZW52IiwidHlwZSIsInBvcnQiLCJhcHAiLCJuYW1lIiwiY2xpZW50Q29uZmlnRnVuY3Rpb24iLCJjbGllbnRUeXBlIiwic2VydmVyQ29uZmlnIiwiaHR0cFJlcXVlc3QiLCJfY2xpZW50Q29uZmlnRnVuY3Rpb24iLCJ1c2UiLCJTdGF0ZU1hbmFnZXIiLCJEYiIsIlByb21pc2UiLCJyZXNvbHZlIiwic3RhcnQiLCJmb3JFYWNoIiwiYWN0aXZpdHkiLCJjbGllbnRUeXBlcyIsImFkZCIsInVzZUh0dHBzIiwidGhlbiIsImh0dHAiLCJjcmVhdGVTZXJ2ZXIiLCJodHRwc0luZm9zIiwia2V5IiwiY2VydCIsImZzIiwicmVhZEZpbGVTeW5jIiwiaHR0cHNTZXJ2ZXIiLCJodHRwcyIsImVyciIsIm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YXRlQ2VydGlmaWNhdGUoeyBkYXlzOiAxLCBzZWxmU2lnbmVkOiB0cnVlIH0sIGFzeW5jIChlcnIsIGtleXMpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKGVycikge1xuICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBjb25zb2xlLmVycm9yKGVyci5zdGFjayk7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICB0aGlzLl9odHRwc0luZm9zID0ge1xuICAgICAgICAgICAgICAgICAgICAgIGtleToga2V5cy5zZXJ2aWNlS2V5LFxuICAgICAgICAgICAgICAgICAgICAgIGNlcnQ6IGtleXMuY2VydGlmaWNhdGUsXG4gICAgICAgICAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgICAgICAgICAgYXdhaXQgdGhpcy5kYi5zZXQoJ3NlcnZlcjpodHRwc0tleScsIHRoaXMuX2h0dHBzSW5mb3Mua2V5KTtcbiAgICAgICAgICAgICAgICAgICAgYXdhaXQgdGhpcy5kYi5zZXQoJ3NlcnZlcjpodHRwc0NlcnQnLCB0aGlzLl9odHRwc0luZm9zLmNlcnQpO1xuXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGh0dHBzU2VydmVyID0gaHR0cHMuY3JlYXRlU2VydmVyKHRoaXMuX2h0dHBzSW5mb3MpO1xuXG4gICAgICAgICAgICAgICAgICAgIHJlc29sdmUoaHR0cHNTZXJ2ZXIpO1xuICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0pLnRoZW4oaHR0cFNlcnZlciA9PiB7XG4gICAgICAgICAgdGhpcy5odHRwU2VydmVyID0gaHR0cFNlcnZlcjtcbiAgICAgICAgICB0aGlzLnJvdXRlci5zZXJ2ZXIgPSBodHRwU2VydmVyO1xuXG4gICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb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0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS1cbiAgICAgICAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlc29sdmUsIHJlamVjdCkgPT4ge1xuICAgICAgICAgICAgY29uc3QgcG9ydCA9IHRoaXMuY29uZmlnLmVudi5wb3J0O1xuICAgICAgICAgICAgY29uc3QgdXNlSHR0cHMgPSB0aGlzLmNvbmZpZy5lbnYudXNlSHR0cHMgfHzCoGZhbHNlO1xuICAgICAgICAgICAgY29uc3QgcHJvdG9jb2wgPSB1c2VIdHRwcyA/ICdodHRwcycgOiAnaHR0cCc7XG4gICAgICAgICAgICBjb25zdCBpZmFjZXMgPSBvcy5uZXR3b3JrSW50ZXJmYWNlcygpO1xuXG4gICAgICAgICAgICB0aGlzLnJvdXRlci5saXN0ZW4ocG9ydCwgKCkgPT4ge1xuICAgICAgICAgICAgICBsb2dnZXIudGl0bGUoYCR7cHJvdG9jb2x9IHNlcnZlciBsaXN0ZW5pbmcgb25gKTtcblxuICAgICAgICAgICAgICBPYmplY3Qua2V5cyhpZmFjZXMpLmZvckVhY2goZGV2ID0+IHtcbiAgICAgICAgICAgICAgICBpZmFjZXNbZGV2XS5mb3JFYWNoKGRldGFpbHMgPT4ge1xuICAgICAgICAgICAgICAgICAgaWYgKGRldGFpbHMuZmFtaWx5ID09PSAnSVB2NCcpIHtcbiAgICAgICAgICAgICAgICAgICAgbG9nZ2VyLmlwKHByb3RvY29sLCBkZXRhaWxzLmFkZHJlc3MsIHBvcnQpO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgICByZXNvbHZlKCk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSk7XG5cbiAgICAgIGF3YWl0IHRoaXMuc2VydmljZU1hbmFnZXIuc3RhcnQoKTtcblxuICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZSgpO1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kU2VydmljZXMoY2xpZW50VHlwZSk7XG4gICAgICAgIGNvbnN0IG1pc3NpbmdTZXJ2aWNlcyA9IFtdO1xuXG4gICAgICAgIGNsaWVudFJlcXVpcmVkU2VydmljZXMuZm9yRWFjaChzZXJ2aWNlSWQgPT4ge1xuICAgICAgICAgIGlmIChzZXJ2ZXJSZXF1aXJlZFNlcnZpY2VzLmluZGV4T2Yoc2VydmljZUlkKSA9PT0gLTEpIHtcbiAgICAgICAgICAgIG1pc3NpbmdTZXJ2aWNlcy5wdXNoKHNlcnZpY2VJZCk7XG4gICAgICAgICAgfVxuICAgICAgICB9KTtcblxuICAgICAgICBpZiAobWlzc2luZ1NlcnZpY2VzLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICBjb25zdCBlcnIgPSB7XG4gICAgICAgICAgICB0eXBlOiAnc2VydmljZXMnLFxuICAgICAgICAgICAgZGF0YTogbWlzc2luZ1NlcnZpY2VzLFxuICAgICAgICAgIH07XG5cbiAgICAgICAgICBzb2NrZXQuc2VuZCgnczpjbGllbnQ6ZXJyb3InLCBlcnIpO1xuICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBhY3Rpdml0aWVzLmZvckVhY2goYWN0aXZpdHkgPT4gYWN0aXZpdHkuY29ubmVjdChjbGllbnQpKTtcblxuICAgICAgY29uc3QgeyBpZCwgdXVpZCB9ID0gY2xpZW50O1xuICAgICAgc29ja2V0LnNlbmQoJ3M6Y2xpZW50OnN0YXJ0JywgeyBpZCwgdXVpZCB9KTtcbiAgICB9KTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBTZXJ2ZXI7XG4iXX0= | ||
exports.default = _default; |
@@ -18,2 +18,3 @@ "use strict"; | ||
// import | ||
const log = (0, _debug.default)('soundworks:lifecycle'); | ||
@@ -66,3 +67,5 @@ /** | ||
start: new _SignalAll.default(), | ||
ready: new _Signal.default() | ||
started: new _Signal.default(), | ||
ready: new _Signal.default(), | ||
errored: new _Signal.default() | ||
}; | ||
@@ -87,4 +90,11 @@ /** | ||
start() { | ||
start() {// logger.serviceStart(this.name); | ||
} | ||
started() { | ||
// @note - this as no strong incidence on the initialization lifecycle, | ||
// maybe should be enforced | ||
_logger.default.serviceStart(this.name); | ||
this.signals.started.value = true; | ||
} | ||
@@ -114,3 +124,2 @@ /** | ||
var _default = Service; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvU2VydmljZS5qcyJdLCJuYW1lcyI6WyJsb2ciLCJTZXJ2aWNlIiwiY29uc3RydWN0b3IiLCJzZXJ2ZXIiLCJuYW1lIiwib3B0aW9ucyIsInNpZ25hbHMiLCJzdGFydCIsIlNpZ25hbEFsbCIsInJlYWR5IiwiU2lnbmFsIiwiY2xpZW50VHlwZXMiLCJTZXQiLCJhY3Rpdml0aWVzIiwiYWRkIiwiYWRkT2JzZXJ2ZXIiLCJ2YWx1ZSIsImJpbmQiLCJjb25maWd1cmUiLCJkZWZhdWx0cyIsIk9iamVjdCIsImFzc2lnbiIsImxvZ2dlciIsInNlcnZpY2VTdGFydCIsInNlcnZpY2VSZWFkeSIsImNvbm5lY3QiLCJjbGllbnQiLCJpZCIsImRpc2Nvbm5lY3QiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7OztBQUVBLE1BQU1BLEdBQUcsR0FBRyxvQkFBTSxzQkFBTixDQUFaO0FBRUE7Ozs7OztBQUtBLE1BQU1DLE9BQU4sQ0FBYztBQUNaQyxFQUFBQSxXQUFXLENBQUNDLE1BQUQsRUFBU0MsSUFBVCxFQUFlO0FBQUU7O0FBQzFCOzs7Ozs7O0FBT0EsU0FBS0QsTUFBTCxHQUFjQSxNQUFkO0FBRUE7Ozs7Ozs7O0FBT0EsU0FBS0MsSUFBTCxHQUFZQSxJQUFaO0FBRUE7Ozs7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wiJHt0aGlzLm5hbWV9XCJgKTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBTZXJ2aWNlO1xuIl19 | ||
exports.default = _default; |
@@ -103,3 +103,6 @@ "use strict"; | ||
if (!this._registeredServices[name]) { | ||
throw new Error(`Service "${name}" is not defined`); | ||
throw new Error(`Cannot get or require service "${name}", service is not registered | ||
> registered services are: | ||
${Object.keys(this._registeredServices).map(n => `> - ${n}\n`).join('')} | ||
`); | ||
} // required by experience and manager already started | ||
@@ -118,4 +121,3 @@ | ||
dependencies | ||
} = this._registeredServices[name]; // @todo - update that to `new ctor(name, options)` | ||
} = this._registeredServices[name]; | ||
const instance = new ctor(this._server, name, options); | ||
@@ -171,3 +173,2 @@ this.signals.ready.add(instance.signals.ready); | ||
var _default = ServiceManager; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvU2VydmljZU1hbmFnZXIuanMiXSwibmFtZXMiOlsibG9nIiwiU2VydmljZU1hbmFnZXIiLCJjb25zdHJ1Y3RvciIsInNlcnZlciIsIl9yZWdpc3RlcmVkU2VydmljZXMiLCJfaW5zdGFuY2VzIiwiX3NlcnZlciIsImluaXQiLCJzaWduYWxzIiwic3RhcnQiLCJTaWduYWwiLCJyZWFkeSIsIlNpZ25hbEFsbCIsIlByb21pc2UiLCJyZXNvbHZlIiwicmVqZWN0IiwiX3Jlc29sdmVSZWFkeVByb21pc2UiLCJsb2dnZXIiLCJ0aXRsZSIsImFkZE9ic2VydmVyIiwidmFsdWUiLCJsZW5ndGgiLCJyZWdpc3RlciIsIm5hbWUiLCJjdG9yIiwib3B0aW9ucyIsImRlcGVuZGVuY2llcyIsIkVycm9yIiwiZ2V0IiwiX2V4cGVyaWVuY2UiLCJpbnN0YW5jZSIsImFkZCIsImZvckVhY2giLCJkZXBlbmRlbmN5TmFtZSIsImRlcGVuZGVuY3kiLCJj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NlcnZpY2VNYW5hZ2VyO1xuIl19 | ||
exports.default = _default; |
@@ -338,3 +338,2 @@ "use strict"; | ||
var _default = Socket; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvU29ja2V0LmpzIl0sIm5hbWVzIjpbIm5vb3AiLCJjb3VudGVyIiwiQ09OTkVDVElORyIsIk9QRU4iLCJDTE9TSU5HIiwiQ0xPU0VEIiwiUkVBRFlfU1RBVEVTIiwiU29ja2V0IiwiY29uc3RydWN0b3IiLCJ3cyIsImJpbmFyeVdzIiwicm9vbXMiLCJzb2NrZXRzIiwib3B0aW9ucyIsImNvbmZpZyIsInBpbmdJbnRlcnZhbCIsIl9zdHJpbmdMaXN0ZW5lcnMiLCJNYXAiLCJfYmluYXJ5TGlzdGVuZXJzIiwiYWRkRXZlbnRMaXN0ZW5lciIsImUiLCJjaGFubmVsIiwiYXJncyIsImRhdGEiLCJfZW1pdCIsImZvckVhY2giLCJldmVudE5hbWUiLCJfaXNBbGl2ZSIsIm9uIiwiX2ludGVydmFsSWQiLCJzZXRJbnRlcnZhbCIsInBpbmciLCJhZGRMaXN0ZW5lciIsImVyciIsInRlcm1pbmF0ZSIsImNsZWFySW50ZXJ2YWwiLCJrZXkiLCJyb29tIiwiZGVsZXRlIiwiY2xlYXIiLCJzb2NrZXQiLCJyZW1vdmVBbGxMaXN0ZW5lcnMiLCJiaW5hcnkiLCJsaXN0ZW5lcnMiLCJoYXMiLCJjYWxsYmFja3MiLCJnZXQiLCJjYWxsYmFjayIsIl9hZGRMaXN0ZW5lciIsInNldCIsIlNldCIsImFkZCIsIl9yZW1vdmVMaXN0ZW5lciIsInNpemUiLCJfcmVtb3ZlQWxsTGlzdGVuZXJzIiwiYWRkVG9Sb29tIiwicm9vbUlkIiwicmVtb3ZlRnJvbVJvb20iLCJzZW5kIiwibXNnIiwiY29uc29sZSIsImVycm9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luYXJ5IGNvbXBhdGlibGUgbWVzc2FnZXMgb24gYSBnaXZlbiBjaGFubmVsXG4gICAqXG4gICAqIEBwYXJhbSB7U3RyaW5nfSBjaGFubmVsIC0gQ2hhbm5lbCBvZiB0aGUgbWVzc2FnZVxuICAgKi9cbiAgcmVtb3ZlQWxsQmluYXJ5TGlzdGVuZXJzKGNoYW5uZWwpIHtcbiAgICB0aGlzLl9yZW1vdmVBbGxMaXN0ZW5lcnModGhpcy5fYmluYXJ5TGlzdGVuZXJzLCBjaGFubmVsKTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBTb2NrZXQ7XG4iXX0= | ||
exports.default = _default; |
@@ -184,3 +184,2 @@ "use strict"; | ||
var _default = Sockets; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvU29ja2V0cy5qcyJdLCJuYW1lcyI6WyJTb2NrZXRzIiwiY29uc3RydWN0b3IiLCJfcm9vbXMiLCJNYXAiLCJfaW5pdGlhbGl6YXRpb25DYWNoZSIsInN0YXJ0IiwiaHR0cFNlcnZlciIsImNvbmZpZyIsIm9uQ29ubmVjdGlvbkNhbGxiYWNrIiwicGF0aCIsInNldCIsIlNldCIsIndzcyIsIldlYlNvY2tldCIsIlNlcnZlciIsInNlcnZlciIsIm9uIiwid3MiLCJyZXEiLCJxdWVyeVN0cmluZyIsInF1ZXJ5c3RyaW5nIiwiZGVjb2RlIiwidXJsIiwic3BsaXQiLCJjbGllbnRUeXBlIiwia2V5IiwiYmluYXJ5IiwicGFyc2VJbnQiLCJiaW5hcnlUeXBlIiwiaGFzIiwiY2FjaGVkIiwiZ2V0IiwiZGVsZXRlIiwic3RyaW5nV3MiLCJiaW5hcnlXcyIsInNvY2tldCIsIlNvY2tldCIsImFkZFRvUm9vbSIsIl9icm9hZGNhc3QiLCJyb29tSWRzIiwiZXhjbHVkZVNvY2tldCIs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ZXhjbHVkZVNvY2tldCAtIE9wdGlvbm5hbFxuICAgKiAgc29ja2V0IHRvIGlnbm9yZSB3aGVuIGJyb2FkY2FzdGluZyB0aGUgbWVzc2FnZSwgdHlwaWNhbGx5IHRoZSBjbGllbnRcbiAgICogIGF0IHRoZSBvcmlnaW4gb2YgdGhlIG1lc3NhZ2VcbiAgICogQHBhcmFtIHtTdHJpbmd9IGNoYW5uZWwgLSBDaGFubmVsIG9mIHRoZSBtZXNzYWdlXG4gICAqIEBwYXJhbSB7Li4uKn0gYXJncyAtIEFyZ3VtZW50cyBvZiB0aGUgbWVzc2FnZSAoYXMgbWFueSBhcyBuZWVkZWQsIG9mIGFueSB0eXBlKVxuICAgKi9cbiAgYnJvYWRjYXN0QmluYXJ5KHJvb21JZHMsIGV4Y2x1ZGVTb2NrZXQsIGNoYW5uZWwsIHR5cGVkQXJyYXkpIHtcbiAgICB0aGlzLl9icm9hZGNhc3QodHJ1ZSwgcm9vbUlkcywgZXhjbHVkZVNvY2tldCwgY2hhbm5lbCwgdHlwZWRBcnJheSk7XG4gIH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IFNvY2tldHM7XG4iXX0= | ||
exports.default = _default; |
@@ -365,3 +365,2 @@ "use strict"; | ||
var _default = StateManager; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zZXJ2ZXIvU3RhdGVNYW5hZ2VyLmpzIl0sIm5hbWVzIjpbIlN0YXRlIiwiY29uc3RydWN0b3IiLCJpZCIsInNjaGVtYU5hbWUiLCJzY2hlbWEiLCJjcmVhdG9yIiwib3duZXIiLCJtYW5hZ2VyIiwiX3NjaGVtYSIsIl9jcmVhdG9yIiwiX293bmVyIiwiX21hbmFnZXIiLCJfcGFyYW1ldGVycyIsIl9hdHRhY2hlZENsaWVudHMiLCJTZXQiLCJfc3Vic2NyaXB0aW9ucyIsIl9vbkRldGFjaENhbG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5ub3QgY3JlYXRlIHN0YXRlLCBzdGF0ZSBcIiR7bmFtZX1cIiAoY3JlYXRvcjogXCIke2NyZWF0b3J9XCIsIG93bmVyOiBcIiR7X293bmVyfVwiKSBhbHJlYWR5IGV4aXN0c2ApO1xuICAgICAgfVxuICAgIH0gZWxzZSB7XG4gICAgICB0aHJvdyhgQ2Fubm90IGNyZWF0ZSBzdGF0ZSwgc2NoZW1hIFwiJHtuYW1lfVwiIGRvZXMgbm90IGV4aXN0c2ApO1xuICAgIH1cbiAgfVxuXG4gIGF0dGFjaChzY2hlbWFOYW1lLCBub2RlSWQpIHtcbiAgICBpZiAobm9kZUlkICE9PSBTRVJWRVJfSUQpIHtcbiAgICAgIGNvbnN0IGlkID0gdGhpcy5fZ2V0U2NoZW1hSWQoc2NoZW1hTmFtZSwgbm9kZUlkLCBTRVJWRVJfSUQpO1xuICAgICAgY29uc3Qgc3RhdGUgPSB0aGlzLl9zdGF0ZXNCeUlkLmdldChpZCk7XG4gICAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKHN0YXRlKTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KGBDYW5ub3QgYXR0YWNoLCBzZXJ2ZXIgaXMgY3JlYXRvciBvZiB0aGUgc3RhdGVgKTtcbiAgICB9XG4gIH1cblxuICBvYnNlcnZlKGZ1bmMpIHtcbiAgICB0aGlzLl9vYnNlcnZlTGlzdGVuZXJzLmFkZChmdW5jKTtcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBTdGF0ZU1hbmFnZXI7XG4iXX0= | ||
exports.default = _default; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3
112632
17
23
2773
+ Added@ampproject/remapping@2.3.0(transitive)
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/compat-data@7.26.2(transitive)
+ Added@babel/core@7.26.0(transitive)
+ Added@babel/generator@7.26.2(transitive)
+ Added@babel/helper-compilation-targets@7.25.9(transitive)
+ Added@babel/helper-module-imports@7.25.9(transitive)
+ Added@babel/helper-module-transforms@7.26.0(transitive)
+ Added@babel/helper-plugin-utils@7.25.9(transitive)
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/helper-validator-option@7.25.9(transitive)
+ Added@babel/helpers@7.26.0(transitive)
+ Added@babel/parser@7.26.2(transitive)
+ Added@babel/plugin-proposal-export-default-from@7.25.9(transitive)
+ Added@babel/template@7.25.9(transitive)
+ Added@babel/traverse@7.25.9(transitive)
+ Added@babel/types@7.26.0(transitive)
+ Added@jridgewell/gen-mapping@0.3.5(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Addedbrowserslist@4.24.2(transitive)
+ Addedcaniuse-lite@1.0.30001680(transitive)
+ Addedconvert-source-map@2.0.0(transitive)
+ Addedelectron-to-chromium@1.5.62(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedgensync@1.0.0-beta.2(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjsesc@3.0.2(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedlru-cache@5.1.1(transitive)
+ Addednode-releases@2.0.18(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedsemver@6.3.1(transitive)
+ Addedupdate-browserslist-db@1.1.1(transitive)
+ Addedyallist@3.1.1(transitive)