Skip to content

Conversation

@sevriugin
Copy link
Contributor

Description

This PR update OnConsentChangedFunction function signature to make consentToken parameter type any (Object). Didomi WEB SDK calls this function with CWT object and not a string.

Summary of changes

  • update OnConsentChangedFunction type definition in index.d.ts file;
  • update @didomi/react version from 1.8.0 to 1.8.1 in `package.json'.

Related Issue

argument 'consentToken' of 'onConsentChanged' value is not a string but a CWT from didomi/cwt-node #45

@ermurri
Copy link

ermurri commented Nov 23, 2021

LGTM

@sevriugin sevriugin merged commit f53b4f3 into master Nov 23, 2021
@sevriugin sevriugin deleted the fix/cwt-token branch November 23, 2021 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants