@resolveio/client-lib-core 1.4.2 → 1.5.0

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.
@@ -1206,11 +1206,9 @@ class SocketManagerService {
1206
1206
  if (collectionUpdates.length) {
1207
1207
  this.send('Offline Updates', new Date(), this.messageId++, 'offline', collectionUpdates.sort((a, b) => a.date.getTime() - b.date.getTime()));
1208
1208
  }
1209
- if (this.initConnection) {
1210
- this._subArray.forEach(sub => {
1211
- this.send(sub.messageRoute, new Date(), sub.messageId, 'subscription', 'sub', sub.subscription, ...sub.parameters);
1212
- });
1213
- }
1209
+ this._subArray.forEach(sub => {
1210
+ this.send(sub.messageRoute, new Date(), sub.messageId, 'subscription', 'sub', sub.subscription, ...sub.parameters);
1211
+ });
1214
1212
  this.initConnection = true;
1215
1213
  }, 1000);
1216
1214
  };