@xyo-network/hashing
Advanced tools
Comparing version 0.7.0 to 0.8.0
@@ -7,4 +7,5 @@ /// <reference types="node" /> | ||
abstract verifyHash(data: Buffer): Promise<boolean>; | ||
getReadableValue(): string; | ||
getData(): Buffer; | ||
} | ||
//# sourceMappingURL=xyo-base-hash.d.ts.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 5th December 2018 11:06:36 am | ||
* @Last modified time: Wednesday, 12th December 2018 1:37:19 pm | ||
* @License: All Rights Reserved | ||
@@ -16,2 +16,5 @@ * @Copyright: Copyright XY | The Findables Company | ||
class XyoBaseHash extends serialization_1.XyoBaseSerializable { | ||
getReadableValue() { | ||
return this.getHash().toString('hex'); | ||
} | ||
getData() { | ||
@@ -18,0 +21,0 @@ return this.getHash(); |
@@ -8,3 +8,3 @@ "use strict"; | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 11:05:01 am | ||
* @Last modified time: Wednesday, 12th December 2018 1:37:10 pm | ||
* @License: All Rights Reserved | ||
@@ -11,0 +11,0 @@ * @Copyright: Copyright XY | The Findables Company |
{ | ||
"name": "@xyo-network/hashing", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "Hashing Types and Services for the Xyo Network", | ||
@@ -10,6 +10,6 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@xyo-network/base": "^0.7.0", | ||
"@xyo-network/errors": "^0.7.0", | ||
"@xyo-network/serialization": "^0.7.0", | ||
"@xyo-network/serialization-schema": "^0.7.0" | ||
"@xyo-network/base": "^0.8.0", | ||
"@xyo-network/errors": "^0.8.0", | ||
"@xyo-network/serialization": "^0.8.0", | ||
"@xyo-network/serialization-schema": "^0.8.0" | ||
}, | ||
@@ -25,3 +25,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "95077b5c60fd3a2fe5252422f38346c47739271a" | ||
"gitHead": "7367c87d96afe3ecec362c40290e4e719b5415df" | ||
} |
@@ -7,3 +7,3 @@ /* | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 5th December 2018 11:06:36 am | ||
* @Last modified time: Wednesday, 12th December 2018 1:37:19 pm | ||
* @License: All Rights Reserved | ||
@@ -20,2 +20,6 @@ * @Copyright: Copyright XY | The Findables Company | ||
public getReadableValue() { | ||
return this.getHash().toString('hex') | ||
} | ||
public getData(): Buffer { | ||
@@ -22,0 +26,0 @@ return this.getHash() |
@@ -7,3 +7,3 @@ /* | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 11:05:01 am | ||
* @Last modified time: Wednesday, 12th December 2018 1:37:10 pm | ||
* @License: All Rights Reserved | ||
@@ -10,0 +10,0 @@ * @Copyright: Copyright XY | The Findables Company |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31784
610
+ Added@xyo-network/base@0.8.0(transitive)
+ Added@xyo-network/errors@0.8.0(transitive)
+ Added@xyo-network/logger@0.8.0(transitive)
+ Added@xyo-network/serialization@0.8.3(transitive)
+ Added@xyo-network/serialization-schema@0.8.3(transitive)
- Removed@xyo-network/base@0.7.0(transitive)
- Removed@xyo-network/errors@0.7.0(transitive)
- Removed@xyo-network/logger@0.7.0(transitive)
- Removed@xyo-network/serialization@0.7.0(transitive)
- Removed@xyo-network/serialization-schema@0.7.0(transitive)
Updated@xyo-network/base@^0.8.0
Updated@xyo-network/errors@^0.8.0