eth-crypto-js
Advanced tools
Comparing version 0.2.16 to 0.2.17
@@ -10,3 +10,3 @@ import { createIdentity } from './createIdentity'; | ||
declare const hash: { | ||
keccak256: (params: string | import("./hash").Param[]) => string; | ||
keccak256: (params: import("./hash").Param[] | string) => string; | ||
}; | ||
@@ -27,5 +27,5 @@ export { createIdentity, decryptWithPrivateKey, encryptWithPublicKey, hash, keccak256, publicKeyByPrivateKey, recoverPublicKey, sign, Encrypted, }; | ||
hash: { | ||
keccak256: (params: string | import("./hash").Param[]) => string; | ||
keccak256: (params: import("./hash").Param[] | string) => string; | ||
}; | ||
keccak256: (params: string | import("./hash").Param[]) => string; | ||
keccak256: (params: import("./hash").Param[] | string) => string; | ||
publicKeyByPrivateKey: (privateKey: string) => string; | ||
@@ -32,0 +32,0 @@ recoverPublicKey: (signature: string, hash: string) => string; |
{ | ||
"name": "eth-crypto-js", | ||
"version": "0.2.16", | ||
"version": "0.2.17", | ||
"description": "Cryptographic javascript-functions for ethereum and tutorials on how to use them together with web3js and solidity", | ||
@@ -50,2 +50,3 @@ "author": "Olivier Esuka <oesukan@gmail.com> (https://oesukam.me)", | ||
"prebuild": "rimraf dist", | ||
"build": "microbundle", | ||
"rollup:build": "rollup --config --sourcemap --validate --bundleConfigAsCjs", | ||
@@ -58,3 +59,2 @@ "rimraf": "rimraf dist", | ||
"lint:fix": "npm run lint -- --fix", | ||
"build": "npm run rimraf && microbundle", | ||
"build:dev": "microbundle watch", | ||
@@ -69,2 +69,4 @@ "coveralls": "cat ./coverage/lcov.info | coveralls", | ||
"@babel/preset-typescript": "^7.24.7", | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@eslint/js": "^9.5.0", | ||
@@ -80,2 +82,3 @@ "@rollup/plugin-commonjs": "^26.0.1", | ||
"@typescript-eslint/eslint-plugin": "^6.4.0", | ||
"@typescript-eslint/parser": "^7.16.0", | ||
"audit-ci": "^7.0.1", | ||
@@ -90,3 +93,3 @@ "babel-jest": "^29.7.0", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"husky": "^8.0.3", | ||
"husky": "^9.0.11", | ||
"jest": "^29.7.0", | ||
@@ -93,0 +96,0 @@ "microbundle": "^0.15.1", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
90461
0
34
46
660