Hi, I am getting an error when trying to install the session replay plugin for amplitude
The error is as follows:
Property 'setup' in type 'SessionReplayPlugin' is not assignable to the same property in base type 'DestinationPlugin<CoreClient, Config>'.
Type '(config: BrowserConfig, client?: BrowserClient | undefined) => Promise<void>' is not assignable to type '(config: Config, client: CoreClient) => Promise<void>'.
Types of parameters 'client' and 'client' are incompatible.
Type 'CoreClient' is missing the following properties from type 'BrowserClient': init, setTransport, getUserId, setUserId, and 6 more.
Versions used"@amplitude/analytics-browser": "^2.8.1","@amplitude/analytics-types": "^2.5.1","@amplitude/plugin-session-replay-browser": "^1.4.1",