@aws-amplify/ui-angular 5.0.4 → 5.0.6

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.
@@ -53,7 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
53
53
  }]
54
54
  }] });
55
55
 
56
- const VERSION = '5.0.4';
56
+ const VERSION = '5.0.6';
57
57
 
58
58
  const logger$1 = new ConsoleLogger('state-machine');
59
59
  /**
@@ -202,8 +202,8 @@ class AuthenticatorService {
202
202
  const onSignOut = () => {
203
203
  this._authStatus = 'unauthenticated';
204
204
  };
205
- this._unsubscribeHub = listenToAuthHub(this._authService, async (data, service) => {
206
- await defaultAuthHubHandler(data, service, { onSignIn, onSignOut });
205
+ this._unsubscribeHub = listenToAuthHub(this._authService, (data, service) => {
206
+ defaultAuthHubHandler(data, service, { onSignIn, onSignOut });
207
207
  this._hubSubject.next();
208
208
  });
209
209
  }