geniebox-shared-lib 1.0.31 → 1.0.32

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.
@@ -26,7 +26,6 @@ export interface Tokens {
26
26
  export interface AuthResponse {
27
27
  userId: string;
28
28
  sessionId: string;
29
- email: string;
30
29
  tokens?: Tokens | undefined;
31
30
  }
32
31
  export interface UserResponse {
@@ -223,7 +223,7 @@ exports.Tokens = {
223
223
  },
224
224
  };
225
225
  function createBaseAuthResponse() {
226
- return { userId: "", sessionId: "", email: "" };
226
+ return { userId: "", sessionId: "" };
227
227
  }
228
228
  exports.AuthResponse = {
229
229
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -233,11 +233,8 @@ exports.AuthResponse = {
233
233
  if (message.sessionId !== "") {
234
234
  writer.uint32(18).string(message.sessionId);
235
235
  }
236
- if (message.email !== "") {
237
- writer.uint32(26).string(message.email);
238
- }
239
236
  if (message.tokens !== undefined) {
240
- exports.Tokens.encode(message.tokens, writer.uint32(34).fork()).join();
237
+ exports.Tokens.encode(message.tokens, writer.uint32(26).fork()).join();
241
238
  }
242
239
  return writer;
243
240
  },
@@ -266,13 +263,6 @@ exports.AuthResponse = {
266
263
  if (tag !== 26) {
267
264
  break;
268
265
  }
269
- message.email = reader.string();
270
- continue;
271
- }
272
- case 4: {
273
- if (tag !== 34) {
274
- break;
275
- }
276
266
  message.tokens = exports.Tokens.decode(reader, reader.uint32());
277
267
  continue;
278
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geniebox-shared-lib",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "Shared NestJS library with gRPC clients",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",