Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes crypto.Credentials deprecated error message #5

Merged

Conversation

trianglesphere
Copy link
Contributor

Description

We were importing the entire crypto module which includes
createCredentials and Credentials portions. We are not using them, but
as they are being deprecated, we were still receiving the warning.

To fix this, utils now directly imports the required functions from the
crypto module and not the entire module.

Tested

Tests in the utils package run. Unknown impact on the mobile phone package.

Backwards compatibility

Yes.

We were importing the entire crypto module which includes
createCredentials and Credentials portions. We are not using them, but
as they are being deprecated, we were still receiving the warning.

To fix this, utils now directly imports the required functions from the
crypto module and not the entire module.
medhakothari pushed a commit that referenced this pull request Jul 18, 2019
Pin mobile segment version to 1.2 since we are not ready for androidx
@trianglesphere trianglesphere merged commit 6fb4d2c into master Jul 22, 2019
@trianglesphere trianglesphere deleted the trianglesphere/crypto-credentials-deprecated-warning branch July 22, 2019 17:59
H34D referenced this pull request in H34D/celo-monorepo Nov 26, 2019
jcortejoso pushed a commit that referenced this pull request Jan 22, 2020
barbaraliau pushed a commit to barbaraliau/celo-monorepo that referenced this pull request Dec 11, 2020
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