@harmony-js/crypto
Advanced tools
Comparing version 0.1.23 to 0.1.27
@@ -74,3 +74,3 @@ "use strict"; | ||
} | ||
throw new Error(addr + " is valid address format"); | ||
throw new Error("\"" + addr + "\" is an invalid address format"); | ||
}; | ||
@@ -77,0 +77,0 @@ return HarmonyAddress; |
@@ -1372,3 +1372,3 @@ /** | ||
} | ||
throw new Error(addr + " is valid address format"); | ||
throw new Error("\"" + addr + "\" is an invalid address format"); | ||
}; | ||
@@ -1375,0 +1375,0 @@ return HarmonyAddress; |
@@ -1369,3 +1369,3 @@ /** | ||
} | ||
throw new Error(addr + " is valid address format"); | ||
throw new Error("\"" + addr + "\" is an invalid address format"); | ||
}; | ||
@@ -1372,0 +1372,0 @@ return HarmonyAddress; |
@@ -1369,3 +1369,3 @@ /** | ||
} | ||
throw new Error(addr + " is valid address format"); | ||
throw new Error("\"" + addr + "\" is an invalid address format"); | ||
}; | ||
@@ -1372,0 +1372,0 @@ return HarmonyAddress; |
{ | ||
"name": "@harmony-js/crypto", | ||
"version": "0.1.23", | ||
"version": "0.1.27", | ||
"description": "crypto libraries for harmony", | ||
@@ -21,3 +21,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@harmony-js/utils": "0.1.23", | ||
"@harmony-js/utils": "0.1.27", | ||
"aes-js": "^3.1.2", | ||
@@ -34,3 +34,3 @@ "bip39": "^2.5.0", | ||
}, | ||
"gitHead": "3dbcc4b173e690f08cc0c4e632aab65454babd50" | ||
"gitHead": "6e1abec93bbdb2ca5fd1acfc8d0093165688ef91" | ||
} |
@@ -1,6 +0,2 @@ | ||
import { | ||
isAddress, | ||
isBech32Address, | ||
isBech32TestNetAddress, | ||
} from '@harmony-js/utils'; | ||
import { isAddress, isBech32Address, isBech32TestNetAddress } from '@harmony-js/utils'; | ||
@@ -74,3 +70,3 @@ import { toChecksumAddress } from './keyTool'; | ||
throw new Error(`${addr} is valid address format`); | ||
throw new Error(`"${addr}" is an invalid address format`); | ||
} | ||
@@ -77,0 +73,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
604489
7397
+ Added@harmony-js/utils@0.1.27(transitive)
- Removed@harmony-js/utils@0.1.23(transitive)
Updated@harmony-js/utils@0.1.27