File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,9 @@ export abstract class SdkBase {
198198 return isOptoutIdentity ( this . _identity ) ;
199199 }
200200
201+ /**
202+ * @deprecated disconnect() should no longer be used for anything
203+ */
201204 public disconnect ( ) {
202205 this . abort ( `${ this . _product . name } SDK disconnected.` ) ;
203206 // Note: This silently fails to clear the cookie if init hasn't been called and a cookieDomain is used!
@@ -215,6 +218,9 @@ export abstract class SdkBase {
215218 }
216219
217220 // Note: This doesn't invoke callbacks. It's a hard, silent reset.
221+ /**
222+ * @deprecated abort() should no longer be used for anything
223+ */
218224 public abort ( reason ?: string ) {
219225 this . _tokenPromiseHandler . rejectAllPromises (
220226 reason ?? new Error ( `${ this . _product . name } SDK aborted.` )
You can’t perform that action at this time.
0 commit comments