-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use applicableSections and supportedAPIs to get consentState (#1818)
* Use applicableSections and supportedAPIs to get consentState * Add changeset * Update @types/node to @types/node * Update comments * Change const from applicableSections to applicableSection Co-authored-by: Ravi <[email protected]> * Change const from applicableSections to applicableSection * Extend test to cover failed api * Update function to find supportedAPI * Add more tests for getConsentState --------- Co-authored-by: Ravi <[email protected]>
- Loading branch information
1 parent
c3a02d4
commit 4f6efbd
Showing
3 changed files
with
68 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@guardian/libs': patch | ||
--- | ||
|
||
Use applicableSections and supportedAPI to get consent state in the US |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters