message: feat: Update to work with v7 of SDK (getsentry/sentry-replay#65)
  `getDsn()` has a breaking change that removes `user` in favor of `publicKey`
diff: import * as Sentry from '@sentry/browser';
  -import { DsnComponents, Event, Scope, Transaction } from '@sentry/types';
  +import {
  + DsnComponents,
  + Event,
  + Integration,
  + Scope,
  + Transaction,
  +} from '@sentry/types';
  import { record } from 'rrweb';
  import type { eventWithTime } from 'rrweb/typings/types';
  @@ -48,7 +54,7 @@ interface SentryReplayConfiguration extends PluginOptions {
  rrwebConfig?: RRWebOptions;
  }
  -export class SentryReplay {
  +export class SentryReplay implements Integration {
  /**
  * @inheritDoc
  */
  @@ -96,12 +102,12 @@ export class SentryReplay {
  session: ReplaySession | undefined;
  static attachmentUrlFromDsn(dsn: DsnComponents, eventId: string) {
  - const { host, projectId, protocol, user } = dsn;
  + const { host, projectId, protocol, publicKey } = dsn;
  const port = dsn.port !== '' ? `:${dsn.port}` : '';
  const path = dsn.path !== '' ? `/${dsn.path}` : '';
  - return `${protocol}://${host}${port}${path}/api/${projectId}/events/${eventId}/attachments/?sentry_key=${user}&sentry_version=7&sentry_client=replay`;
  + return `${protocol}://${host}${port}${path}/api/${projectId}/events/${eventId}/attachments/?sentry_key=${publicKey}&sentry_version=7&sentry_client=replay`;
  }
  constructor({
  