Skip to content

Commit d44775a

Browse files
committed
Fix module not initializing
1 parent ec9b424 commit d44775a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ import { NativeModules } from 'react-native';
22

33
const RNArgon2Module = NativeModules.RNArgon2;
44

5-
export default async function argon2 (password, salt) {
6-
return RNArgon2Module.argon2(password, salt)
7-
}
5+
export default RNArgon2Module.argon2;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-argon2",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "React Native Wrapper around Argon2",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)