Angular Sign in widget documentation bugs

I believe the following documentation needs updating:

https://developer.okta.com/code/angular/okta_angular_sign-in_widget#create-an-angular-app

In one application I have a dependency on “@okta/okta-angular”: “^0.0.13”,

In which there is a service:

export declare class OktaAuthService {

/**
* Returns the OktaAuth object to handle flows outside of this lib.
/
getOktaAuth(): any;
/
*
* Checks if there is a current accessToken in the TokenManager.
/
isAuthenticated(): boolean;
/
*
* Returns the current accessToken in the tokenManager.
*/
getAccessToken(): any;

}

Recently I started another app with a dependency on “@okta/okta-angular”: “^1.0.1”,

In which the signature of the OktaAuthServeice is changed to:
export declare class OktaAuthService {
 ...
    /**
     * Checks if there is an access token and id token
     */
    isAuthenticated(): Promise<boolean>;
    private emitAuthenticationState(state);
    /**
     * Returns the current accessToken in the tokenManager.
     */
    getAccessToken(): Promise<string | undefined>;


}

So, obviously things have changed.

However the documentation in the link above has not kept pace. It still recommends (for example):

<button *ngIf="!signIn.isAuthenticated()" routerLink="/login"> Login

Where signIn is an instance of OktaAuthService. And this, of course causes problems as isAuthenticated() returns a Promise, not a boolean anymore.

In addition, there is a big markup in the middle of the page that says to install

npm install https://github.com/lboyette-okta/zone.js.git#issue-891 --save

which may be bad advice.

TM