vr-commons 1.0.41 → 1.0.43

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.
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.logEvent = void 0;
4
4
  const vr_models_1 = require("vr-models");
5
- const logEvent = async ({ actorId = null, actorType = "SYSTEM", action, entity, entityId = null, metadata = {}, ipAddress = null, userAgent = null, transaction, // Optional transaction parameter
5
+ const logEvent = async ({ actorId = null, actorType = "USER", action, entity, entityId = null, metadata = {}, ipAddress = null, userAgent = null, transaction, // Optional transaction parameter
6
6
  }) => {
7
7
  try {
8
8
  // Create event log with optional transaction
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "riderLoginSchema", { enumerable: true, get: func
8
8
  Object.defineProperty(exports, "forgotPasswordSchema", { enumerable: true, get: function () { return auth_validations_1.forgotPasswordSchema; } });
9
9
  Object.defineProperty(exports, "userLoginSchema", { enumerable: true, get: function () { return auth_validations_1.userLoginSchema; } });
10
10
  var profiles_validations_1 = require("./profiles.validations");
11
- // Admin/Super Admin Schemas
11
+ // Admin/Super Admin Schema
12
12
  Object.defineProperty(exports, "createUserSchema", { enumerable: true, get: function () { return profiles_validations_1.createUserSchema; } });
13
13
  Object.defineProperty(exports, "getUserByIdSchema", { enumerable: true, get: function () { return profiles_validations_1.getUserByIdSchema; } });
14
14
  Object.defineProperty(exports, "updateUserProfileSchema", { enumerable: true, get: function () { return profiles_validations_1.updateUserProfileSchema; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-commons",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "Shared functions package",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -98,13 +98,12 @@
98
98
  "@types/uuid": "^10.0.0",
99
99
  "axios": "^1.9.0",
100
100
  "date-fns": "^4.1.0",
101
- "vr-models": "^1.0.8",
101
+ "vr-models": "^1.0.25",
102
102
  "rimraf": "^5.0.5",
103
103
  "typescript": "^5.3.3",
104
104
  "zod": "^3.25.20"
105
105
  },
106
106
  "dependencies": {
107
- "@types/cookie": "^1.0.0",
108
107
  "@types/socket.io": "^3.0.2",
109
108
  "csv-stringify": "^6.5.2",
110
109
  "csv-writer": "^1.6.0",