react-native-aes-lite 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,18 +1,15 @@
1
1
  {
2
2
  "name": "react-native-aes-lite",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "AES encryption for React Native",
5
5
  "main": "src/index.js",
6
-
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1"
9
- },
10
- "types": "src/index.d.ts",
11
- "keywords": ["aes", "encryption", "react-native"],
6
+ "keywords": [
7
+ "aes",
8
+ "encryption",
9
+ "react-native",
10
+ "key",
11
+ "decryption"
12
+ ],
12
13
  "author": "Ammachi",
13
- "license": "MIT",
14
- "devDependencies": {
15
- "@types/node": "^25.0.3",
16
- "typescript": "^5.9.3"
17
- }
14
+ "license": "MIT"
18
15
  }
package/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const AES = require("./AES");
2
- const generateKey = require("./keygen");
1
+ import AES from "./AES";
2
+ import generateKey from "./keygen";
3
3
 
4
- module.exports = { AES, generateKey };
4
+ export { AES, generateKey };
package/src/keygen.js CHANGED
@@ -36,4 +36,4 @@ function generateKey(format = "hex", options = {}) {
36
36
  }
37
37
  }
38
38
 
39
- module.exports = generateKey;
39
+ export default generateKey;