Variable connected$Const

connected$: Subject<unknown> = ...

You can call .subscribe() on this RxJS Observable.

   import { PublicWs } from 'ts-kraken';

PublicWs.connected$.subscribe(() => {
console.log('Public WebsocketV2 connected successfully!\n');
});