@hastehaul/common 3.10.0 → 3.12.0

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  */
7
7
  export * from "./connections-wrappers/redis-connection-wrapper";
8
8
  export * from "./connections-wrappers/redis-wrapper";
9
+ export * from "./connections-wrappers/emitter-wrapper";
9
10
  /**
10
11
  * Re-exports all the contents from the "socket-connection-wrapper" module.
11
12
  *
package/build/index.js CHANGED
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  */
24
24
  __exportStar(require("./connections-wrappers/redis-connection-wrapper"), exports);
25
25
  __exportStar(require("./connections-wrappers/redis-wrapper"), exports);
26
+ __exportStar(require("./connections-wrappers/emitter-wrapper"), exports);
26
27
  /**
27
28
  * Re-exports all the contents from the "socket-connection-wrapper" module.
28
29
  *
@@ -47,7 +47,8 @@ export declare enum AccountStatus {
47
47
  TooManyRequestError = 2308,// 2308 => Too Many request error
48
48
  CustomerNotFound = 2309,// 2306 => Resource not found Error
49
49
  IncorrectOrNotFoundOTP = 2400,// 2400 => Incorrect/Not Found OTP
50
- OTPExpired = 2401
50
+ OTPExpired = 2401,// 2401 => OTP expired
51
+ OutOfServiceArea = 2402
51
52
  }
52
53
  export declare enum StatusCodes {
53
54
  CONTINUE = 100,
@@ -60,6 +60,7 @@ var AccountStatus;
60
60
  AccountStatus[AccountStatus["CustomerNotFound"] = 2309] = "CustomerNotFound";
61
61
  AccountStatus[AccountStatus["IncorrectOrNotFoundOTP"] = 2400] = "IncorrectOrNotFoundOTP";
62
62
  AccountStatus[AccountStatus["OTPExpired"] = 2401] = "OTPExpired";
63
+ AccountStatus[AccountStatus["OutOfServiceArea"] = 2402] = "OutOfServiceArea";
63
64
  })(AccountStatus || (exports.AccountStatus = AccountStatus = {}));
64
65
  var StatusCodes;
65
66
  (function (StatusCodes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hastehaul/common",
3
- "version": "3.10.0",
3
+ "version": "3.12.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",