@jealous-robot-dev/shared-types-responses 1.19.7 → 1.19.11

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.
@@ -18,8 +18,8 @@ export declare enum PermissionCookies {
18
18
  DELETE_EVENT = "_de"
19
19
  }
20
20
  export declare enum CookieAges {
21
- SHORT = 3600,
22
- MEDIUM = 43200,
23
- LARGE = 2592000
21
+ SHORT = 3600000,
22
+ MEDIUM = 43200000,
23
+ LARGE = 2592000000
24
24
  }
25
25
  export declare const PWRequiringPermissionsList: PermissionCookies[];
@@ -24,9 +24,9 @@ var PermissionCookies;
24
24
  })(PermissionCookies = exports.PermissionCookies || (exports.PermissionCookies = {}));
25
25
  var CookieAges;
26
26
  (function (CookieAges) {
27
- CookieAges[CookieAges["SHORT"] = 3600] = "SHORT";
28
- CookieAges[CookieAges["MEDIUM"] = 43200] = "MEDIUM";
29
- CookieAges[CookieAges["LARGE"] = 2592000] = "LARGE";
27
+ CookieAges[CookieAges["SHORT"] = 3600000] = "SHORT";
28
+ CookieAges[CookieAges["MEDIUM"] = 43200000] = "MEDIUM";
29
+ CookieAges[CookieAges["LARGE"] = 2592000000] = "LARGE";
30
30
  })(CookieAges = exports.CookieAges || (exports.CookieAges = {}));
31
31
  exports.PWRequiringPermissionsList = [
32
32
  PermissionCookies.DELETE_ACCOUNT,
@@ -14,6 +14,7 @@ export declare enum AuthenticationWindows {
14
14
  WELCOME_BACK = "welcome back",
15
15
  FINISH_SIGNUP = "finish sign up",
16
16
  VERIFY_EMAIL = "verify email",
17
+ VERIFY_DEVICE = "verify device",
17
18
  WELCOME = "welcome"
18
19
  }
19
20
  export interface AuthFormExternalLinks {
@@ -91,6 +92,14 @@ export interface VerifyEmailPhrases {
91
92
  description: string;
92
93
  input: AuthFormInputField;
93
94
  }
95
+ export interface VerifyDevicePhrases {
96
+ title: string;
97
+ description: string;
98
+ inputs: AuthFormInputField;
99
+ go_to_main: string;
100
+ verification_failed: LND;
101
+ ps: string;
102
+ }
94
103
  export interface WelcomeBackPhrases {
95
104
  title: string;
96
105
  password: AuthFormInputField;
@@ -122,3 +131,10 @@ export declare enum PositiveAuthResponse {
122
131
  VERIFY_EMAIL = "VERIFY_EMAIL",
123
132
  PASS = "PASS"
124
133
  }
134
+ export declare enum DeviceVerificationResults {
135
+ INVALID = "INVALID",
136
+ EXPIRED = "EXPIRED",
137
+ CORRECT = "CORRECT",
138
+ NOT_FOUND = "NOT_FOUND",
139
+ NO_MORE_ATTEMPTS = "NO_MORE_ATTEMPTS"
140
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PositiveAuthResponse = exports.AUTH_ID_TYPE = exports.AuthenticationWindows = exports.AuthID = exports.AuthInstrumentsList = exports.AuthenticationProviders = void 0;
3
+ exports.DeviceVerificationResults = exports.PositiveAuthResponse = exports.AUTH_ID_TYPE = exports.AuthenticationWindows = exports.AuthID = exports.AuthInstrumentsList = exports.AuthenticationProviders = void 0;
4
4
  var AuthenticationProviders;
5
5
  (function (AuthenticationProviders) {
6
6
  AuthenticationProviders["GOOGLE"] = "google";
@@ -19,6 +19,7 @@ var AuthenticationWindows;
19
19
  AuthenticationWindows["WELCOME_BACK"] = "welcome back";
20
20
  AuthenticationWindows["FINISH_SIGNUP"] = "finish sign up";
21
21
  AuthenticationWindows["VERIFY_EMAIL"] = "verify email";
22
+ AuthenticationWindows["VERIFY_DEVICE"] = "verify device";
22
23
  AuthenticationWindows["WELCOME"] = "welcome";
23
24
  })(AuthenticationWindows = exports.AuthenticationWindows || (exports.AuthenticationWindows = {}));
24
25
  var AUTH_ID_TYPE;
@@ -34,3 +35,11 @@ var PositiveAuthResponse;
34
35
  PositiveAuthResponse["VERIFY_EMAIL"] = "VERIFY_EMAIL";
35
36
  PositiveAuthResponse["PASS"] = "PASS";
36
37
  })(PositiveAuthResponse = exports.PositiveAuthResponse || (exports.PositiveAuthResponse = {}));
38
+ var DeviceVerificationResults;
39
+ (function (DeviceVerificationResults) {
40
+ DeviceVerificationResults["INVALID"] = "INVALID";
41
+ DeviceVerificationResults["EXPIRED"] = "EXPIRED";
42
+ DeviceVerificationResults["CORRECT"] = "CORRECT";
43
+ DeviceVerificationResults["NOT_FOUND"] = "NOT_FOUND";
44
+ DeviceVerificationResults["NO_MORE_ATTEMPTS"] = "NO_MORE_ATTEMPTS";
45
+ })(DeviceVerificationResults = exports.DeviceVerificationResults || (exports.DeviceVerificationResults = {}));
@@ -1,5 +1,4 @@
1
1
  export * from './sharer';
2
2
  export * from './authentication';
3
3
  export * from './forgot-password';
4
- export * from './device-verification';
5
4
  export * from './set-new-password';
@@ -13,5 +13,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./sharer"), exports);
14
14
  __exportStar(require("./authentication"), exports);
15
15
  __exportStar(require("./forgot-password"), exports);
16
- __exportStar(require("./device-verification"), exports);
17
16
  __exportStar(require("./set-new-password"), exports);
@@ -1,4 +1,4 @@
1
- import { PasswordCharacteristics } from '../common';
1
+ import { LND, PasswordCharacteristics } from '../common';
2
2
  export interface SetNewPasswordPhrases {
3
3
  title: string;
4
4
  description: string;
@@ -15,9 +15,7 @@ export interface SetNewPasswordPhrases {
15
15
  };
16
16
  password_mismatch: string;
17
17
  };
18
+ success: LND;
18
19
  pw_characteristics: PasswordCharacteristics;
19
20
  login: string;
20
21
  }
21
- export interface SetNewPasswordData {
22
- firstname: string;
23
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.19.7",
3
+ "version": "1.19.11",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -1,29 +0,0 @@
1
- import { LND, QueryResponse } from '../common';
2
- import { AuthFormExternalLinks } from './authentication';
3
- export interface DeviceVerificationPhrases {
4
- title: string;
5
- description: string;
6
- inputs: {
7
- code: {
8
- placeholder: string;
9
- };
10
- };
11
- invalid_code: string;
12
- go_to_main: string;
13
- verification_failed: LND;
14
- resend_code: AuthFormExternalLinks;
15
- ps: string;
16
- }
17
- export interface DeviceVerificationData {
18
- firstname: string;
19
- attempts: number;
20
- }
21
- export declare enum DeviceVerificationResults {
22
- INVALID = "INVALID",
23
- EXPIRED = "EXPIRED",
24
- CORRECT = "CORRECT",
25
- NOT_FOUND = "NOT_FOUND",
26
- NO_MORE_ATTEMPTS = "NO_MORE_ATTEMPTS"
27
- }
28
- export interface DeviceVerificationResponse extends QueryResponse<DeviceVerificationData, DeviceVerificationPhrases> {
29
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeviceVerificationResults = void 0;
4
- var DeviceVerificationResults;
5
- (function (DeviceVerificationResults) {
6
- DeviceVerificationResults["INVALID"] = "INVALID";
7
- DeviceVerificationResults["EXPIRED"] = "EXPIRED";
8
- DeviceVerificationResults["CORRECT"] = "CORRECT";
9
- DeviceVerificationResults["NOT_FOUND"] = "NOT_FOUND";
10
- DeviceVerificationResults["NO_MORE_ATTEMPTS"] = "NO_MORE_ATTEMPTS";
11
- })(DeviceVerificationResults = exports.DeviceVerificationResults || (exports.DeviceVerificationResults = {}));