breaking: remove deprecated removeCCPAState method#1237
breaking: remove deprecated removeCCPAState method#1237
Conversation
Remove the deprecated `removeCCPAState` method and associated code/tests. Users should use `removeCCPAConsentState` instead. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
IConsentState was an empty extension of ConsentState that added no properties. Replace usages with ConsentState directly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The TODO indicated this cast should be removed once removeCCPAState was removed. Since removeCCPAState is being removed in this PR, the cast is no longer needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
PR SummaryMedium Risk Overview Updates Written by Cursor Bugbot for commit 8f70c58. This will update automatically on new commits. Configure here. |



Summary
removeCCPAStatemethod from the consent module. Users should useremoveCCPAConsentStateinstead.removeCCPAStateproperty from theIConsentStateinterface and associated TODO comments.removeCCPAState.Breaking Change
removeCCPAStatewas deprecated in favor ofremoveCCPAConsentState. This PR completes that deprecation by removing the method entirely. Any consumers still callingremoveCCPAStatemust migrate toremoveCCPAConsentState.Test plan
removeCCPAStatein source (only CHANGELOG history)🤖 Generated with Claude Code