@typeberry/jam 0.1.2-80d53fd → 0.1.2-8c85275

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/index.js CHANGED
@@ -58872,16 +58872,12 @@ class PartiallyUpdatedState {
58872
58872
  *
58873
58873
  * NOTE the info may be updated compared to what is in the state.
58874
58874
  *
58875
- * Takes into account newly created services as well.
58875
+ * Takes into account ejected and newly created services as well.
58876
58876
  */
58877
58877
  getServiceInfo(destination) {
58878
58878
  if (destination === null) {
58879
58879
  return null;
58880
58880
  }
58881
- const isEjected = this.stateUpdate.services.servicesRemoved.some((x) => x === destination);
58882
- if (isEjected) {
58883
- return null;
58884
- }
58885
58881
  const maybeNewService = this.stateUpdate.services.servicesUpdates.find((update) => update.serviceId === destination);
58886
58882
  if (maybeNewService !== undefined) {
58887
58883
  return maybeNewService.action.account;