geniebox-shared-lib 1.0.56 → 1.0.57

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.
@@ -66,7 +66,8 @@ export interface ConfirmEmailRequest {
66
66
  token: string;
67
67
  }
68
68
  export interface ConfirmEmailByCodeRequest {
69
- token: string;
69
+ userId: string;
70
+ code: string;
70
71
  }
71
72
  export interface ConfirmEmailResponse {
72
73
  userId: string;
@@ -670,12 +670,15 @@ exports.ConfirmEmailRequest = {
670
670
  },
671
671
  };
672
672
  function createBaseConfirmEmailByCodeRequest() {
673
- return { token: "" };
673
+ return { userId: "", code: "" };
674
674
  }
675
675
  exports.ConfirmEmailByCodeRequest = {
676
676
  encode(message, writer = new wire_1.BinaryWriter()) {
677
- if (message.token !== "") {
678
- writer.uint32(10).string(message.token);
677
+ if (message.userId !== "") {
678
+ writer.uint32(10).string(message.userId);
679
+ }
680
+ if (message.code !== "") {
681
+ writer.uint32(18).string(message.code);
679
682
  }
680
683
  return writer;
681
684
  },
@@ -690,7 +693,14 @@ exports.ConfirmEmailByCodeRequest = {
690
693
  if (tag !== 10) {
691
694
  break;
692
695
  }
693
- message.token = reader.string();
696
+ message.userId = reader.string();
697
+ continue;
698
+ }
699
+ case 2: {
700
+ if (tag !== 18) {
701
+ break;
702
+ }
703
+ message.code = reader.string();
694
704
  continue;
695
705
  }
696
706
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geniebox-shared-lib",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "Shared NestJS library with gRPC clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",