-
Notifications
You must be signed in to change notification settings - Fork 81
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
CryptoKey definition not found #356
Comments
You are right. Do you want to throw a PR together? If not, I can get to it after I release |
Its just a missing type export I guess? Then a PR would be possible. |
Well, probably it's missing |
I think i hava the same issue but the definition is needed in third-party code. I'm trying to sign a jwt using jose library (alg: RS256) and somewhere it performs isCryptoKey check. I can't find the function in node_modules so ig i can't manually add import. Is there a work around? The project doesn't use ts yet if that matters. |
I have this fix in an upcoming PR |
Using the newest 0.7.0-rc.10 the definition of
CryptoKey
does not seem to be properly exported?I have to manually import it using
import { CryptoKey } from "react-native-quick-crypto/src/keys"
Is there a way to have it available using tsconfig/babel resolve?
The text was updated successfully, but these errors were encountered: