## Docs


1.0.02 years ago4 years agoMinified + gzip package size for @adobe/opt-in in KB


Opt In


  • Workflow: Open this html page in a browser.

Release notes

Version 0.0.1-beta.10

  • Refactored IAB Plugin to narrow down all APIs to on: fetchConsentData.
  • IAB Plugin calls the CMP as soon as it's registered.
  • IAB Plugin approves categories in OptIn based on consent received from __cmp.
  • Support passing a timeout to fetchConsentData and isApproved.
  • Changed the callback signature to function(<error, data>).

Version 0.0.1-beta.12

  • Register callbacks in fetchConsentData to handle multiple callers.

Version 0.0.1-beta.13

  • Fix bug in Emitter to make sure if a subscriber unsubscribes, we would still call the rest of the subscribers.

Version 0.0.1-beta.15

  • Use String.indexOf instead of String.includes so we don't have to use a polyfill.

Version 0.0.1-beta.17

  • Approve all IAB vendors if GDPR does not apply.

Version 0.0.1-beta.18

  • REVERT: Approve all IAB vendors if GDPR does not apply.

Version 1.0.0

  • Update the IAB plugin to support IAB 2.0

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.