()
| 113 | } |
| 114 | |
| 115 | async disable(): Promise<void> { |
| 116 | await this.consentManager.revokeConsent(); |
| 117 | if (typeof posthog !== 'undefined' && posthog.opt_out_capturing) { |
| 118 | posthog.opt_out_capturing(); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | async deleteAllData(): Promise<void> { |
| 123 | await this.consentManager.deleteAllData(); |
no test coverage detected