@alba-cars/common-modules 1.2.1 → 1.2.3

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.
@@ -1,3 +1,2 @@
1
- import { AppError } from "./AppError";
2
- import * as ErrorHandlers from "./errorHandler";
3
- export { AppError, ErrorHandlers };
1
+ export * from "./AppError";
2
+ export * from "./errorHandler";
@@ -10,21 +10,9 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
24
15
  };
25
16
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.ErrorHandlers = exports.AppError = void 0;
27
- const AppError_1 = require("./AppError");
28
- Object.defineProperty(exports, "AppError", { enumerable: true, get: function () { return AppError_1.AppError; } });
29
- const ErrorHandlers = __importStar(require("./errorHandler"));
30
- exports.ErrorHandlers = ErrorHandlers;
17
+ __exportStar(require("./AppError"), exports);
18
+ __exportStar(require("./errorHandler"), exports);
@@ -1,4 +1,4 @@
1
- export * as ErrorUtils from "./error-handling";
1
+ export * from "./error-handling";
2
2
  export * from "./enums";
3
3
  export * from "./models";
4
4
  export * from "./network";
@@ -10,24 +10,11 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
15
  };
28
16
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ErrorUtils = void 0;
30
- exports.ErrorUtils = __importStar(require("./error-handling"));
17
+ __exportStar(require("./error-handling"), exports);
31
18
  __exportStar(require("./enums"), exports);
32
19
  __exportStar(require("./models"), exports);
33
20
  __exportStar(require("./network"), exports);
package/package.json CHANGED
@@ -3,14 +3,14 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.2.1",
6
+ "version": "1.2.3",
7
7
  "description": "A package containing DTOs, validation classes and common modules and interfaces for Alba Cars",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
- "types": "./index.d.ts",
13
- "default": "./index.ts"
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
14
  }
15
15
  },
16
16
  "scripts": {