@xyo-network/heuristics
Advanced tools
Comparing version 0.24.0 to 0.31.0
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoObjectSchema } from '@xyo-network/serialization'; | ||
@@ -2,0 +3,0 @@ declare type NumberType = 'unsigned-integer' | 'signed-integer' | 'float' | 'double'; |
@@ -8,3 +8,3 @@ "use strict"; | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 1:47:24 pm | ||
* @Last modified time: Wednesday, 6th March 2019 4:42:51 pm | ||
* @License: All Rights Reserved | ||
@@ -37,3 +37,3 @@ * @Copyright: Copyright XY | The Findables Company | ||
} | ||
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, errors_1.XyoErrors.CRITICAL); | ||
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`); | ||
} | ||
@@ -67,3 +67,3 @@ getReadableValue() { | ||
else { | ||
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, errors_1.XyoErrors.CRITICAL); | ||
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`); | ||
} | ||
@@ -70,0 +70,0 @@ return new XyoSerializableNumber(number, serializationService.schema, this.schemaObjectId, this.numberType); |
{ | ||
"name": "@xyo-network/heuristics", | ||
"version": "0.24.0", | ||
"version": "0.31.0", | ||
"description": "Helper utility for creating heuristics that are serializable / deserializable", | ||
@@ -10,5 +10,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@xyo-network/buffer-utils": "^0.24.0", | ||
"@xyo-network/errors": "^0.24.0", | ||
"@xyo-network/serialization": "^0.24.0" | ||
"@xyo-network/buffer-utils": "^0.31.0", | ||
"@xyo-network/errors": "^0.31.0", | ||
"@xyo-network/serialization": "^0.31.0" | ||
}, | ||
@@ -24,3 +24,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "629618ae9a38cc374b662561d1786827b618c2fd" | ||
"gitHead": "19f9752b9915e96430496a0adf86e5dc79c08ded" | ||
} |
@@ -7,3 +7,3 @@ /* | ||
* @Last modified by: ryanxyo | ||
* @Last modified time: Wednesday, 12th December 2018 1:47:24 pm | ||
* @Last modified time: Wednesday, 6th March 2019 4:42:51 pm | ||
* @License: All Rights Reserved | ||
@@ -46,3 +46,3 @@ * @Copyright: Copyright XY | The Findables Company | ||
throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, XyoErrors.CRITICAL) | ||
throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`) | ||
} | ||
@@ -76,3 +76,3 @@ | ||
} else { | ||
throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, XyoErrors.CRITICAL) | ||
throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`) | ||
} | ||
@@ -79,0 +79,0 @@ |
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
243
14866
+ Added@xyo-network/base@0.31.0(transitive)
+ Added@xyo-network/buffer-utils@0.31.0(transitive)
+ Added@xyo-network/errors@0.31.0(transitive)
+ Added@xyo-network/meta-list@0.31.0(transitive)
+ Added@xyo-network/serialization@0.31.0(transitive)
+ Added@xyo-network/utils@0.31.0(transitive)
+ Addedbase-x@3.0.10(transitive)
+ Addedbs58@4.0.1(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
- Removed@xyo-network/base@0.24.0(transitive)
- Removed@xyo-network/buffer-utils@0.24.0(transitive)
- Removed@xyo-network/errors@0.24.0(transitive)
- Removed@xyo-network/serialization@0.24.0(transitive)
Updated@xyo-network/errors@^0.31.0