@mtkruto/node 0.102.0 → 0.102.1
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/esm/types/0_bot_token_check_result.d.ts +9 -7
- package/esm/types/0_bot_token_check_result.d.ts.map +1 -1
- package/esm/types/0_code_check_result.d.ts +15 -3
- package/esm/types/0_code_check_result.d.ts.map +1 -1
- package/esm/types/0_password_check_result.d.ts +17 -11
- package/esm/types/0_password_check_result.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/types/0_bot_token_check_result.d.ts +9 -7
- package/script/types/0_bot_token_check_result.d.ts.map +1 -1
- package/script/types/0_code_check_result.d.ts +15 -3
- package/script/types/0_code_check_result.d.ts.map +1 -1
- package/script/types/0_password_check_result.d.ts +17 -11
- package/script/types/0_password_check_result.d.ts.map +1 -1
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
/**
|
|
21
|
+
* The bot token was correct. The bot was signed in.
|
|
22
|
+
* @unlisted
|
|
23
|
+
*/
|
|
24
|
+
export interface BotTokenCheckResultSignedIn {
|
|
25
|
+
/** @discriminator */
|
|
26
|
+
type: "signed_in";
|
|
27
|
+
userId: number;
|
|
26
28
|
}
|
|
27
29
|
/** A result after checking a sent code. */
|
|
28
|
-
export type BotTokenCheckResult =
|
|
30
|
+
export type BotTokenCheckResult = BotTokenCheckResultSignedIn;
|
|
29
31
|
//# sourceMappingURL=0_bot_token_check_result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_bot_token_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_bot_token_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,
|
|
1
|
+
{"version":3,"file":"0_bot_token_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_bot_token_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,2CAA2C;AAC3C,MAAM,MAAM,mBAAmB,GAAG,2BAA2B,CAAC"}
|
|
@@ -17,16 +17,28 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The code was correct, but an additional password is required to sign in.
|
|
22
|
+
* @unlisted
|
|
23
|
+
*/
|
|
21
24
|
export interface CodeCheckResultPasswordRequired {
|
|
25
|
+
/** @discriminator */
|
|
22
26
|
type: "password_required";
|
|
23
27
|
}
|
|
24
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The code entered was incorrect.
|
|
30
|
+
* @unlisted
|
|
31
|
+
*/
|
|
25
32
|
export interface CodeCheckResultInvalidCode {
|
|
33
|
+
/** @discriminator */
|
|
26
34
|
type: "invalid_code";
|
|
27
35
|
}
|
|
28
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The code was correct. The user was signed in.
|
|
38
|
+
* @unlisted
|
|
39
|
+
*/
|
|
29
40
|
export interface CodeCheckResultSignedIn {
|
|
41
|
+
/** @discriminator */
|
|
30
42
|
type: "signed_in";
|
|
31
43
|
userId: number;
|
|
32
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_code_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_code_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH
|
|
1
|
+
{"version":3,"file":"0_code_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_code_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C,qBAAqB;IACrB,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,qBAAqB;IACrB,IAAI,EAAE,cAAc,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,6CAA6C;AAC7C,MAAM,MAAM,eAAe,GAAG,+BAA+B,GAAG,0BAA0B,GAAG,uBAAuB,CAAC"}
|
|
@@ -17,17 +17,23 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
/**
|
|
21
|
+
* The password entered was incorrect.
|
|
22
|
+
* @unlisted
|
|
23
|
+
*/
|
|
24
|
+
export interface PasswordCheckResultInvalidPassword {
|
|
25
|
+
/** @discriminator */
|
|
26
|
+
type: "invalid_password";
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The password was correct. The user was signed in.
|
|
30
|
+
* @unlisted
|
|
31
|
+
*/
|
|
32
|
+
export interface PasswordCheckResultSignedIn {
|
|
33
|
+
/** @discriminator */
|
|
34
|
+
type: "signed_in";
|
|
35
|
+
userId: number;
|
|
30
36
|
}
|
|
31
37
|
/** A result after checking a sent code. */
|
|
32
|
-
export type PasswordCheckResult =
|
|
38
|
+
export type PasswordCheckResult = PasswordCheckResultInvalidPassword | PasswordCheckResultSignedIn;
|
|
33
39
|
//# sourceMappingURL=0_password_check_result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_password_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_password_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,
|
|
1
|
+
{"version":3,"file":"0_password_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_password_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,MAAM,WAAW,kCAAkC;IACjD,qBAAqB;IACrB,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,2CAA2C;AAC3C,MAAM,MAAM,mBAAmB,GAAG,kCAAkC,GAAG,2BAA2B,CAAC"}
|
package/package.json
CHANGED
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
/**
|
|
21
|
+
* The bot token was correct. The bot was signed in.
|
|
22
|
+
* @unlisted
|
|
23
|
+
*/
|
|
24
|
+
export interface BotTokenCheckResultSignedIn {
|
|
25
|
+
/** @discriminator */
|
|
26
|
+
type: "signed_in";
|
|
27
|
+
userId: number;
|
|
26
28
|
}
|
|
27
29
|
/** A result after checking a sent code. */
|
|
28
|
-
export type BotTokenCheckResult =
|
|
30
|
+
export type BotTokenCheckResult = BotTokenCheckResultSignedIn;
|
|
29
31
|
//# sourceMappingURL=0_bot_token_check_result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_bot_token_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_bot_token_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,
|
|
1
|
+
{"version":3,"file":"0_bot_token_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_bot_token_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,2CAA2C;AAC3C,MAAM,MAAM,mBAAmB,GAAG,2BAA2B,CAAC"}
|
|
@@ -17,16 +17,28 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* The code was correct, but an additional password is required to sign in.
|
|
22
|
+
* @unlisted
|
|
23
|
+
*/
|
|
21
24
|
export interface CodeCheckResultPasswordRequired {
|
|
25
|
+
/** @discriminator */
|
|
22
26
|
type: "password_required";
|
|
23
27
|
}
|
|
24
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The code entered was incorrect.
|
|
30
|
+
* @unlisted
|
|
31
|
+
*/
|
|
25
32
|
export interface CodeCheckResultInvalidCode {
|
|
33
|
+
/** @discriminator */
|
|
26
34
|
type: "invalid_code";
|
|
27
35
|
}
|
|
28
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* The code was correct. The user was signed in.
|
|
38
|
+
* @unlisted
|
|
39
|
+
*/
|
|
29
40
|
export interface CodeCheckResultSignedIn {
|
|
41
|
+
/** @discriminator */
|
|
30
42
|
type: "signed_in";
|
|
31
43
|
userId: number;
|
|
32
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_code_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_code_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH
|
|
1
|
+
{"version":3,"file":"0_code_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_code_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C,qBAAqB;IACrB,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,qBAAqB;IACrB,IAAI,EAAE,cAAc,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,6CAA6C;AAC7C,MAAM,MAAM,eAAe,GAAG,+BAA+B,GAAG,0BAA0B,GAAG,uBAAuB,CAAC"}
|
|
@@ -17,17 +17,23 @@
|
|
|
17
17
|
* You should have received a copy of the GNU Lesser General Public License
|
|
18
18
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
19
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
/**
|
|
21
|
+
* The password entered was incorrect.
|
|
22
|
+
* @unlisted
|
|
23
|
+
*/
|
|
24
|
+
export interface PasswordCheckResultInvalidPassword {
|
|
25
|
+
/** @discriminator */
|
|
26
|
+
type: "invalid_password";
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The password was correct. The user was signed in.
|
|
30
|
+
* @unlisted
|
|
31
|
+
*/
|
|
32
|
+
export interface PasswordCheckResultSignedIn {
|
|
33
|
+
/** @discriminator */
|
|
34
|
+
type: "signed_in";
|
|
35
|
+
userId: number;
|
|
30
36
|
}
|
|
31
37
|
/** A result after checking a sent code. */
|
|
32
|
-
export type PasswordCheckResult =
|
|
38
|
+
export type PasswordCheckResult = PasswordCheckResultInvalidPassword | PasswordCheckResultSignedIn;
|
|
33
39
|
//# sourceMappingURL=0_password_check_result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0_password_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_password_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,
|
|
1
|
+
{"version":3,"file":"0_password_check_result.d.ts","sourceRoot":"","sources":["../../src/types/0_password_check_result.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;GAGG;AACH,MAAM,WAAW,kCAAkC;IACjD,qBAAqB;IACrB,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,qBAAqB;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,2CAA2C;AAC3C,MAAM,MAAM,mBAAmB,GAAG,kCAAkC,GAAG,2BAA2B,CAAC"}
|