Variable connected$Const

connected$: Subject<unknown> = ...

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

   import { PrivateWs } from 'ts-kraken';

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