@experts_hub/shared 1.0.697 → 1.0.698

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
@@ -39,6 +39,7 @@ declare class LoginDto {
39
39
  email: string;
40
40
  password: string;
41
41
  scope: ScopeEnum$3;
42
+ ip: string;
42
43
  }
43
44
 
44
45
  declare enum LoginViaOtpScopeEnum {
@@ -51,6 +52,7 @@ declare class LoginViaOtpDto {
51
52
  email: string;
52
53
  otp: string;
53
54
  scope: LoginViaOtpScopeEnum;
55
+ ip: string;
54
56
  }
55
57
 
56
58
  declare class RefreshDto {
package/dist/index.d.ts CHANGED
@@ -39,6 +39,7 @@ declare class LoginDto {
39
39
  email: string;
40
40
  password: string;
41
41
  scope: ScopeEnum$3;
42
+ ip: string;
42
43
  }
43
44
 
44
45
  declare enum LoginViaOtpScopeEnum {
@@ -51,6 +52,7 @@ declare class LoginViaOtpDto {
51
52
  email: string;
52
53
  otp: string;
53
54
  scope: LoginViaOtpScopeEnum;
55
+ ip: string;
54
56
  }
55
57
 
56
58
  declare class RefreshDto {
package/dist/index.js CHANGED
@@ -542,6 +542,9 @@ __decorateClass([
542
542
  message: `Scope must be one of: ${Object.values(ScopeEnum).join(", ")}`
543
543
  })
544
544
  ], LoginDto.prototype, "scope", 2);
545
+ __decorateClass([
546
+ (0, import_class_validator.IsOptional)()
547
+ ], LoginDto.prototype, "ip", 2);
545
548
 
546
549
  // src/modules/authentication/dto/login-via-otp.dto.ts
547
550
  var import_class_validator2 = require("class-validator");
@@ -565,6 +568,9 @@ __decorateClass([
565
568
  message: `Scope must be one of: ${Object.values(LoginViaOtpScopeEnum).join(", ")}`
566
569
  })
567
570
  ], LoginViaOtpDto.prototype, "scope", 2);
571
+ __decorateClass([
572
+ (0, import_class_validator2.IsOptional)()
573
+ ], LoginViaOtpDto.prototype, "ip", 2);
568
574
 
569
575
  // src/modules/authentication/dto/refresh.dto.ts
570
576
  var import_class_validator3 = require("class-validator");