After the 2.2.0 update, I got an error using connectHeaders in StompSessionProvider, saying that connectHeaders is not a correct property.
In interface StompSessionProviderProps.d.ts, StompConfig is imported from
import { StompConfig } from '@stomp/stompjs/esm6/stomp-config';
but should be imported from
import { StompConfig } from '@stomp/stompjs';
After the 2.2.0 update, I got an error using connectHeaders in StompSessionProvider, saying that connectHeaders is not a correct property. In interface StompSessionProviderProps.d.ts, StompConfig is imported from import { StompConfig } from '@stomp/stompjs/esm6/stomp-config'; but should be imported from
import { StompConfig } from '@stomp/stompjs';