@royalinvest/dto 0.76.3 → 0.76.5

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/auth.d.ts CHANGED
@@ -23,6 +23,8 @@ export type IGoogleToken = {
23
23
  token: string;
24
24
  token_type: string;
25
25
  market?: CountryEnum;
26
+ userRole: UserRoleType;
27
+ returnTo?: string | null;
26
28
  };
27
29
  export interface IOAuthSignIn {
28
30
  token: IToken;
@@ -45,6 +45,7 @@ class Consumer {
45
45
  for (const key of this.routingKeys) {
46
46
  await this.channel.bindQueue(this.queue, this.exchange, key);
47
47
  }
48
+ await this.channel.prefetch(5);
48
49
  this.channel.consume(this.queue, this.processMessage.bind(this), { noAck: false });
49
50
  }
50
51
  async processMessage(msg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.76.3",
3
+ "version": "0.76.5",
4
4
  "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",