tachyon-protocol 0.1.10 → 0.1.12
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/index.d.ts
CHANGED
|
@@ -67,7 +67,14 @@ export type AccountLoginResponse =
|
|
|
67
67
|
| {
|
|
68
68
|
command: "account/login/response";
|
|
69
69
|
status: "failed";
|
|
70
|
-
reason:
|
|
70
|
+
reason:
|
|
71
|
+
| "invalid_token"
|
|
72
|
+
| "expired_token"
|
|
73
|
+
| "unvalidated"
|
|
74
|
+
| "banned"
|
|
75
|
+
| "internal_error"
|
|
76
|
+
| "unauthorized"
|
|
77
|
+
| "invalid_command";
|
|
71
78
|
};
|
|
72
79
|
export type AccountRecoverResponse =
|
|
73
80
|
| {
|
|
@@ -458,7 +465,7 @@ export type SystemVersionResponse =
|
|
|
458
465
|
command: "system/version/response";
|
|
459
466
|
status: "success";
|
|
460
467
|
data: {
|
|
461
|
-
tachyonVersion: "0.1.
|
|
468
|
+
tachyonVersion: "0.1.12";
|
|
462
469
|
versionParity: "major_mismatch" | "minor_mismatch" | "patch_mismatch" | "match" | "unknown";
|
|
463
470
|
};
|
|
464
471
|
}
|
|
@@ -687,6 +694,9 @@ export interface AccountGetTokenRequest {
|
|
|
687
694
|
username: string;
|
|
688
695
|
}
|
|
689
696
|
) & {
|
|
697
|
+
/**
|
|
698
|
+
* md5 hash of the user's password input
|
|
699
|
+
*/
|
|
690
700
|
hashedPassword: string;
|
|
691
701
|
};
|
|
692
702
|
}
|
|
@@ -704,6 +714,9 @@ export interface AccountRegisterRequest {
|
|
|
704
714
|
data: {
|
|
705
715
|
email: string;
|
|
706
716
|
username: string;
|
|
717
|
+
/**
|
|
718
|
+
* md5 hash of the user's password input
|
|
719
|
+
*/
|
|
707
720
|
hashedPassword: string;
|
|
708
721
|
};
|
|
709
722
|
}
|
package/dist/meta.json
CHANGED