vr-commons 1.0.144 → 1.0.145

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.
@@ -60,10 +60,10 @@ export declare const stockUtil: {
60
60
  * Generate serial number from pair ID and dedication
61
61
  * Format: VIBERIDE-{RIDER|PASSENGER}-{pairId}
62
62
  */
63
- generateSerialNumber(pairId: string, dedication: string): Promise<string>;
63
+ generateSerialNumber(pairId: string, dedication: string): string;
64
64
  /**
65
65
  * Validate pair ID format
66
66
  * No letter 'O' to avoid confusion with 0
67
67
  */
68
- validatePairIdFormat(pairId: string): Promise<boolean>;
68
+ validatePairIdFormat(pairId: string): boolean;
69
69
  };
@@ -233,14 +233,14 @@ exports.stockUtil = {
233
233
  * Generate serial number from pair ID and dedication
234
234
  * Format: VIBERIDE-{RIDER|PASSENGER}-{pairId}
235
235
  */
236
- async generateSerialNumber(pairId, dedication) {
236
+ generateSerialNumber(pairId, dedication) {
237
237
  return `VIBERIDE-${dedication}-${pairId}`;
238
238
  },
239
239
  /**
240
240
  * Validate pair ID format
241
241
  * No letter 'O' to avoid confusion with 0
242
242
  */
243
- async validatePairIdFormat(pairId) {
243
+ validatePairIdFormat(pairId) {
244
244
  return admin_devices_validations_1.PAIR_ID_REGEX.test(pairId);
245
245
  },
246
246
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-commons",
3
- "version": "1.0.144",
3
+ "version": "1.0.145",
4
4
  "description": "Shared functions package",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",