@xyo-network/signing
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -8,3 +8,3 @@ "use strict"; | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 11:06:36 am | ||
* @Last modified time: Wednesday, 12th December 2018 12:19:14 pm | ||
* @License: All Rights Reserved | ||
@@ -23,3 +23,3 @@ * @Copyright: Copyright XY | The Findables Company | ||
static deserialize(data, serializationService) { | ||
const parsed = serialization_1.parse(data, serializationService.schema); | ||
const parsed = serializationService.parse(data); | ||
return new XyoStubPublicKey(parsed.data.toString('hex')); | ||
@@ -26,0 +26,0 @@ } |
@@ -8,3 +8,3 @@ "use strict"; | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 11:07:08 am | ||
* @Last modified time: Wednesday, 12th December 2018 12:18:43 pm | ||
* @License: All Rights Reserved | ||
@@ -31,3 +31,3 @@ * @Copyright: Copyright XY | The Findables Company | ||
static deserialize(data, serializationService) { | ||
const parsed = serialization_1.parse(data, serializationService.schema); | ||
const parsed = serializationService.parse(data); | ||
return new XyoStubSignature(parsed.data.toString('hex')); | ||
@@ -34,0 +34,0 @@ } |
{ | ||
"name": "@xyo-network/signing", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "Signing Types and Services for the XYO Network", | ||
@@ -10,4 +10,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@xyo-network/serialization": "^0.6.0", | ||
"@xyo-network/serialization-schema": "^0.6.0" | ||
"@xyo-network/serialization": "^0.7.0", | ||
"@xyo-network/serialization-schema": "^0.7.0" | ||
}, | ||
@@ -23,3 +23,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "cbb5c5c20b4f081ebbd619dbdbd2ddace174db34" | ||
"gitHead": "95077b5c60fd3a2fe5252422f38346c47739271a" | ||
} |
@@ -7,3 +7,3 @@ /* | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 11:06:36 am | ||
* @Last modified time: Wednesday, 12th December 2018 12:19:14 pm | ||
* @License: All Rights Reserved | ||
@@ -15,3 +15,3 @@ * @Copyright: Copyright XY | The Findables Company | ||
import { schema } from "@xyo-network/serialization-schema" | ||
import { XyoBaseSerializable, parse, IXyoSerializationService } from '@xyo-network/serialization' | ||
import { XyoBaseSerializable, IXyoSerializationService } from '@xyo-network/serialization' | ||
@@ -22,3 +22,3 @@ export class XyoStubPublicKey extends XyoBaseSerializable implements IXyoPublicKey { | ||
public static deserialize(data: Buffer, serializationService: IXyoSerializationService): XyoStubPublicKey { | ||
const parsed = parse(data, serializationService.schema) | ||
const parsed = serializationService.parse(data) | ||
return new XyoStubPublicKey((parsed.data as Buffer).toString('hex')) | ||
@@ -25,0 +25,0 @@ } |
@@ -7,3 +7,3 @@ /* | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 11:07:08 am | ||
* @Last modified time: Wednesday, 12th December 2018 12:18:43 pm | ||
* @License: All Rights Reserved | ||
@@ -14,3 +14,3 @@ * @Copyright: Copyright XY | The Findables Company | ||
import { IXyoSignature, IXyoPublicKey } from "./@types" | ||
import { parse, XyoBaseSerializable, IXyoSerializationService } from '@xyo-network/serialization' | ||
import { XyoBaseSerializable, IXyoSerializationService } from '@xyo-network/serialization' | ||
import { schema } from "@xyo-network/serialization-schema" | ||
@@ -23,3 +23,3 @@ | ||
public static deserialize(data: Buffer, serializationService: IXyoSerializationService): XyoStubSignature { | ||
const parsed = parse(data, serializationService.schema) | ||
const parsed = serializationService.parse(data) | ||
return new XyoStubSignature((parsed.data as Buffer).toString('hex')) | ||
@@ -26,0 +26,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
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
22771
+ Added@xyo-network/base@0.7.0(transitive)
+ Added@xyo-network/errors@0.7.0(transitive)
+ Added@xyo-network/serialization@0.7.0(transitive)
+ Added@xyo-network/serialization-schema@0.7.0(transitive)
- Removed@xyo-network/base@0.6.0(transitive)
- Removed@xyo-network/errors@0.6.0(transitive)
- Removed@xyo-network/serialization@0.6.0(transitive)
- Removed@xyo-network/serialization-schema@0.6.0(transitive)