@jealous-robot-dev/shared-types-responses 1.33.3 → 1.33.6

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.
@@ -1,4 +1,11 @@
1
1
  import { HostEventTime, HostEventPics, EventTypes, FormEventFields, HostEventFee } from '@jealous-robot-dev/drophr-common';
2
+ export interface HELookup {
3
+ data?: {
4
+ selected_currency: string;
5
+ max: number;
6
+ min: number;
7
+ };
8
+ }
2
9
  export interface ShortDraft {
3
10
  id: string;
4
11
  lm: string;
@@ -9,6 +9,18 @@ export interface ShortAuthFormData {
9
9
  export interface AuthFormData {
10
10
  prev_session?: ShortAuthFormData;
11
11
  }
12
+ export interface AuthenticationDevice {
13
+ platform: {
14
+ name: string;
15
+ version: string;
16
+ };
17
+ browser?: {
18
+ name: string;
19
+ version: string;
20
+ };
21
+ userAgent: string;
22
+ isMobile: boolean;
23
+ }
12
24
  export declare enum PositiveAuthResponse {
13
25
  NEW_USER = "NEW_USER",
14
26
  WELCOME_BACK = "WELCOME_BACK",
@@ -1,4 +1,4 @@
1
- import { AuthenticationProviders, Currency, Locale, UITHEME, TextDirection } from '@jealous-robot-dev/drophr-common';
1
+ import { AuthenticationProviders, Currency, Locale, UITHEME, TextDirection, DropHRUserAgents } from '@jealous-robot-dev/drophr-common';
2
2
  import { DropWebEnv, Pages } from '@jealous-robot-dev/shared-ui-lib';
3
3
  import { MainPhrases } from '@jealous-robot-dev/shared-phrases';
4
4
  import { QueryResponse } from './common';
@@ -26,6 +26,11 @@ export interface CommonData {
26
26
  currentUser: MainUserData | null;
27
27
  no_consent?: boolean;
28
28
  device_id: string | null;
29
+ token_expires_at: string;
30
+ agent: DropHRUserAgents;
31
+ country: string;
32
+ region: string;
33
+ token: string;
29
34
  page: Pages;
30
35
  dropWebEnv: DropWebEnv;
31
36
  direction: TextDirection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.33.3",
3
+ "version": "1.33.6",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "typescript": "^3.8.3"
25
25
  },
26
26
  "dependencies": {
27
- "@jealous-robot-dev/drophr-common": "^1.0.8",
27
+ "@jealous-robot-dev/drophr-common": "^1.1.17",
28
28
  "@jealous-robot-dev/shared-phrases": "^1.0.1",
29
29
  "@jealous-robot-dev/shared-ui-lib": "^1.2.22"
30
30
  }