@experts_hub/shared 1.0.354 → 1.0.355

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.
package/dist/index.d.mts CHANGED
@@ -117,8 +117,6 @@ declare class FreelancerCreateAccountDto {
117
117
  email: string;
118
118
  mobileCode: string;
119
119
  mobile: string;
120
- password: string;
121
- confirmPassword: string;
122
120
  onBoardedBy: string;
123
121
  }
124
122
 
package/dist/index.d.ts CHANGED
@@ -117,8 +117,6 @@ declare class FreelancerCreateAccountDto {
117
117
  email: string;
118
118
  mobileCode: string;
119
119
  mobile: string;
120
- password: string;
121
- confirmPassword: string;
122
120
  onBoardedBy: string;
123
121
  }
124
122
 
package/dist/index.js CHANGED
@@ -657,18 +657,6 @@ __decorateClass([
657
657
  (0, import_class_validator13.IsNotEmpty)({ message: "Please enter mobile number." }),
658
658
  IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
659
659
  ], FreelancerCreateAccountDto.prototype, "mobile", 2);
660
- __decorateClass([
661
- (0, import_class_validator13.IsNotEmpty)({ message: "Please enter password." }),
662
- (0, import_class_validator13.MinLength)(6),
663
- (0, import_class_validator13.MaxLength)(32),
664
- (0, import_class_validator13.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
665
- message: "Password must include letters, numbers and symbols."
666
- })
667
- ], FreelancerCreateAccountDto.prototype, "password", 2);
668
- __decorateClass([
669
- (0, import_class_validator13.IsNotEmpty)({ message: "Please enter confirm password." }),
670
- Match("password", { message: "Passwords do not match" })
671
- ], FreelancerCreateAccountDto.prototype, "confirmPassword", 2);
672
660
  __decorateClass([
673
661
  (0, import_class_validator13.IsOptional)()
674
662
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
package/dist/index.mjs CHANGED
@@ -246,8 +246,6 @@ import {
246
246
  IsNotEmpty as IsNotEmpty10,
247
247
  IsEmail as IsEmail2,
248
248
  Matches as Matches3,
249
- MinLength as MinLength3,
250
- MaxLength as MaxLength3,
251
249
  IsString as IsString3,
252
250
  IsOptional as IsOptional2
253
251
  } from "class-validator";
@@ -442,18 +440,6 @@ __decorateClass([
442
440
  IsNotEmpty10({ message: "Please enter mobile number." }),
443
441
  IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
444
442
  ], FreelancerCreateAccountDto.prototype, "mobile", 2);
445
- __decorateClass([
446
- IsNotEmpty10({ message: "Please enter password." }),
447
- MinLength3(6),
448
- MaxLength3(32),
449
- Matches3(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
450
- message: "Password must include letters, numbers and symbols."
451
- })
452
- ], FreelancerCreateAccountDto.prototype, "password", 2);
453
- __decorateClass([
454
- IsNotEmpty10({ message: "Please enter confirm password." }),
455
- Match("password", { message: "Passwords do not match" })
456
- ], FreelancerCreateAccountDto.prototype, "confirmPassword", 2);
457
443
  __decorateClass([
458
444
  IsOptional2()
459
445
  ], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
@@ -3,7 +3,5 @@ export declare class FreelancerCreateAccountDto {
3
3
  email: string;
4
4
  mobileCode: string;
5
5
  mobile: string;
6
- password: string;
7
- confirmPassword: string;
8
6
  onBoardedBy: string;
9
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.354",
3
+ "version": "1.0.355",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",