tectiv3 / react-native-aes

Native module for AES encryption
MIT License
188 stars 135 forks source link

fixed index.d.ts #69

Closed ljungqvist closed 2 years ago

ljungqvist commented 2 years ago

The types aren't working (Tested IntelliJ and Visual Studio Code) in the way index.d.ts was defined. It would have been supported as

import { Aes } from 'react-native-aes-crypto';

but the code actually require it to be

import Aes from 'react-native-aes-crypto';

(as the documentation states as well).

danscan commented 2 years ago

I just came here to contribute this as well. Glad to see @ljungqvist already did. Is there anything blocking this from being merged that I can help with?

SYoder1 commented 2 years ago

@tectiv3 Can we please get a new version published with this fix?

tectiv3 commented 2 years ago

done