sprof 0.0.129 → 0.0.130

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.
@@ -27,7 +27,6 @@ declare class Auth<UserT> {
27
27
  isSubmit: boolean;
28
28
  disabled: boolean;
29
29
  chunk: import('.').AuthChunks;
30
- submit: boolean;
31
30
  GetChunk: () => import('.').AuthChunks;
32
31
  type?: import('../types').Statuses | undefined;
33
32
  condition?: boolean | undefined;
@@ -38,7 +37,6 @@ declare class Auth<UserT> {
38
37
  isSubmit: boolean;
39
38
  disabled: boolean;
40
39
  chunk: import('.').AuthChunks;
41
- submit: boolean;
42
40
  GetChunk: () => import('.').AuthChunks;
43
41
  type?: import('../types').Statuses | undefined;
44
42
  condition?: boolean | undefined;
@@ -84,7 +82,6 @@ declare class Auth<UserT> {
84
82
  isSubmit: boolean;
85
83
  disabled: boolean;
86
84
  chunk: import('.').AuthChunks;
87
- submit: boolean;
88
85
  GetChunk: () => import('.').AuthChunks;
89
86
  type?: import('../types').Statuses | undefined;
90
87
  condition?: boolean | undefined;
@@ -95,7 +92,6 @@ declare class Auth<UserT> {
95
92
  isSubmit: boolean;
96
93
  disabled: boolean;
97
94
  chunk: import('.').AuthChunks;
98
- submit: boolean;
99
95
  GetChunk: () => import('.').AuthChunks;
100
96
  type?: import('../types').Statuses | undefined;
101
97
  condition?: boolean | undefined;
@@ -3,6 +3,6 @@ import { default as Button } from '../../ui/Btn';
3
3
  export default class AuthButton extends Button {
4
4
  id: string;
5
5
  chunk: AuthChunks;
6
- submit: boolean;
6
+ isSubmit: boolean;
7
7
  GetChunk(): AuthChunks;
8
8
  }
@@ -26,7 +26,6 @@ export default abstract class PF {
26
26
  isSubmit: boolean;
27
27
  disabled: boolean;
28
28
  chunk: import('./auth').AuthChunks;
29
- submit: boolean;
30
29
  GetChunk: () => import('./auth').AuthChunks;
31
30
  type?: import('./types').Statuses | undefined;
32
31
  condition?: boolean | undefined;
@@ -37,7 +36,6 @@ export default abstract class PF {
37
36
  isSubmit: boolean;
38
37
  disabled: boolean;
39
38
  chunk: import('./auth').AuthChunks;
40
- submit: boolean;
41
39
  GetChunk: () => import('./auth').AuthChunks;
42
40
  type?: import('./types').Statuses | undefined;
43
41
  condition?: boolean | undefined;
@@ -83,7 +81,6 @@ export default abstract class PF {
83
81
  isSubmit: boolean;
84
82
  disabled: boolean;
85
83
  chunk: import('./auth').AuthChunks;
86
- submit: boolean;
87
84
  GetChunk: () => import('./auth').AuthChunks;
88
85
  type?: import('./types').Statuses | undefined;
89
86
  condition?: boolean | undefined;
@@ -94,7 +91,6 @@ export default abstract class PF {
94
91
  isSubmit: boolean;
95
92
  disabled: boolean;
96
93
  chunk: import('./auth').AuthChunks;
97
- submit: boolean;
98
94
  GetChunk: () => import('./auth').AuthChunks;
99
95
  type?: import('./types').Statuses | undefined;
100
96
  condition?: boolean | undefined;
@@ -1,11 +1,12 @@
1
+ type authDataT = {
2
+ [k: string]: string;
3
+ };
1
4
  declare class S {
2
- Login(data?: {
3
- [k: string]: string;
4
- }): Promise<void>;
5
+ Login(data?: authDataT): Promise<void>;
5
6
  LoginAs(email: string): Promise<void>;
6
- Register(): Promise<void>;
7
- RestorePassword(): Promise<void>;
8
- passwordChange(): Promise<void>;
7
+ Register(data?: authDataT): Promise<void>;
8
+ RestorePassword(data?: authDataT): Promise<void>;
9
+ PasswordChange(data?: authDataT): Promise<void>;
9
10
  RefreshToken(): Promise<void>;
10
11
  CheckUuid(checkObj: {
11
12
  userId: string;
@@ -2,11 +2,17 @@ export default abstract class S {
2
2
  static Auth: {
3
3
  Login(data?: {
4
4
  [k: string]: string;
5
- } | undefined): Promise<void>;
5
+ }): Promise<void>;
6
6
  LoginAs(email: string): Promise<void>;
7
- Register(): Promise<void>;
8
- RestorePassword(): Promise<void>;
9
- passwordChange(): Promise<void>;
7
+ Register(data?: {
8
+ [k: string]: string;
9
+ }): Promise<void>;
10
+ RestorePassword(data?: {
11
+ [k: string]: string;
12
+ }): Promise<void>;
13
+ PasswordChange(data?: {
14
+ [k: string]: string;
15
+ }): Promise<void>;
10
16
  RefreshToken(): Promise<void>;
11
17
  CheckUuid(checkObj: {
12
18
  userId: string;