@@ -35,30 +35,28 @@ const ALREADY_SEEN_ERROR = "Not capturing exception because it's already been ca
3535/**
3636 * Base implementation for all JavaScript SDK clients.
3737 *
38- * Call the constructor with the corresponding backend constructor and options
39- * specific to the client subclass. To access these options later, use
40- * {@link Client.getOptions}. Also, the Backend instance is available via
41- * {@link Client.getBackend}.
38+ * Call the constructor with the options specific to the client subclass.
39+ * To access these options later, use {@link Client.getOptions}.
4240 *
4341 * If a Dsn is specified in the options, it will be parsed and stored. Use
4442 * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is
4543 * invalid, the constructor will throw a {@link SentryException}. Note that
4644 * without a valid Dsn, the SDK will not send any events to Sentry.
4745 *
48- * Before sending an event via the backend , it is passed through
49- * { @link BaseClient._prepareEvent} to add SDK information and scope data
50- * (breadcrumbs and context). To add more custom information, override this
51- * method and extend the resulting prepared event.
46+ * Before sending an event, it is passed through { @link BaseClient._prepareEvent}
47+ * to add SDK information and scope data (breadcrumbs and context).
48+ * To add more custom information, override this method and extend the
49+ * resulting prepared event.
5250 *
5351 * To issue automatically created events (e.g. via instrumentation), use
5452 * {@link Client.captureEvent}. It will prepare the event and pass it through
5553 * the callback lifecycle. To issue auto-breadcrumbs, use
5654 * {@link Client.addBreadcrumb}.
5755 *
5856 * @example
59- * class NodeClient extends BaseClient<NodeBackend, NodeOptions> {
57+ * class NodeClient extends BaseClient<NodeOptions> {
6058 * public constructor(options: NodeOptions) {
61- * super(NodeBackend, options);
59+ * super(options);
6260 * }
6361 *
6462 * // ...
@@ -83,7 +81,6 @@ export abstract class BaseClient<O extends Options> implements Client<O> {
8381 /**
8482 * Initializes this client instance.
8583 *
86- * @param backendClass A constructor function to create the backend.
8784 * @param options Options for the client.
8885 */
8986 protected constructor ( options : O ) {
0 commit comments