File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -532,6 +532,9 @@ Sentry.init({...});
532
532
/**
533
533
* Returns if default PII should be sent to Sentry and propagated in ourgoing requests
534
534
* when Tracing is used.
535
+ *
536
+ * @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function
537
+ * only unnecessarily increased API surface but only wrapped accessing the option.
535
538
*/
536
539
public shouldSendDefaultPii ( ) : boolean {
537
540
const client = this . getClient ( ) ;
Original file line number Diff line number Diff line change @@ -245,6 +245,9 @@ export interface Hub {
245
245
/**
246
246
* Returns if default PII should be sent to Sentry and propagated in ourgoing requests
247
247
* when Tracing is used.
248
+ *
249
+ * @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function
250
+ * only unnecessarily increased API surface but only wrapped accessing the option.
248
251
*/
249
252
shouldSendDefaultPii ( ) : boolean ;
250
253
}
You can’t perform that action at this time.
0 commit comments