@riocrypto/common 1.0.959 → 1.0.961

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,6 @@ export declare class MissingUserDataError extends CustomError {
5
5
  statusCode: number;
6
6
  internalCode: number;
7
7
  constructor(customMessage: string, missingFields: string[]);
8
- getMessage(): void;
9
8
  serializeErrors(): {
10
9
  code: number;
11
10
  fields: string[];
@@ -8,12 +8,9 @@ class MissingUserDataError extends custom_error_1.CustomError {
8
8
  this.customMessage = customMessage;
9
9
  this.missingFields = missingFields;
10
10
  this.statusCode = 400;
11
- this.internalCode = 39;
11
+ this.internalCode = 88;
12
12
  Object.setPrototypeOf(this, MissingUserDataError.prototype);
13
13
  }
14
- getMessage() {
15
- let message = "This user is missing the following fields: ";
16
- }
17
14
  serializeErrors() {
18
15
  return [
19
16
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.959",
3
+ "version": "1.0.961",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",