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.
@@ -56,6 +56,7 @@
56
56
  "type": "object",
57
57
  "properties": {
58
58
  "hashedPassword": {
59
+ "description": "md5 hash of the user's password input",
59
60
  "type": "string"
60
61
  }
61
62
  },
@@ -271,6 +271,10 @@
271
271
  "const": "expired_token",
272
272
  "type": "string"
273
273
  },
274
+ {
275
+ "const": "unvalidated",
276
+ "type": "string"
277
+ },
274
278
  {
275
279
  "const": "banned",
276
280
  "type": "string"
@@ -35,6 +35,7 @@
35
35
  "type": "string"
36
36
  },
37
37
  "hashedPassword": {
38
+ "description": "md5 hash of the user's password input",
38
39
  "type": "string"
39
40
  }
40
41
  },
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: "invalid_token" | "expired_token" | "banned" | "internal_error" | "unauthorized" | "invalid_command";
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.10";
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.10",
2
+ "version": "0.1.12",
3
3
  "ids": {
4
4
  "account": {
5
5
  "getToken": [
@@ -18,7 +18,7 @@
18
18
  "type": "object",
19
19
  "properties": {
20
20
  "tachyonVersion": {
21
- "const": "0.1.10",
21
+ "const": "0.1.12",
22
22
  "type": "string"
23
23
  },
24
24
  "versionParity": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tachyon-protocol",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "dev": "nodemon --watch src/** --ext ts --exec npm run build",