tachyon-protocol 0.1.0 → 0.1.2

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.
Files changed (48) hide show
  1. package/dist/account/getToken/request.json +72 -72
  2. package/dist/account/getToken/response.json +90 -90
  3. package/dist/account/login/request.json +31 -31
  4. package/dist/account/login/response.json +299 -299
  5. package/dist/account/recover/request.json +14 -14
  6. package/dist/account/recover/response.json +57 -57
  7. package/dist/account/register/request.json +51 -51
  8. package/dist/account/register/response.json +77 -77
  9. package/dist/account/rename/request.json +32 -32
  10. package/dist/account/rename/response.json +65 -65
  11. package/dist/bot/slave/request.json +28 -28
  12. package/dist/bot/slave/response.json +57 -57
  13. package/dist/bot/unslave/request.json +14 -14
  14. package/dist/bot/unslave/response.json +57 -57
  15. package/dist/game/launch/response.json +69 -69
  16. package/dist/index.d.ts +926 -923
  17. package/dist/lobby/close/request.json +14 -14
  18. package/dist/lobby/close/response.json +57 -57
  19. package/dist/lobby/create/request.json +51 -51
  20. package/dist/lobby/create/response.json +65 -65
  21. package/dist/lobby/join/request.json +35 -35
  22. package/dist/lobby/join/response.json +85 -85
  23. package/dist/lobby/joined/response.json +255 -255
  24. package/dist/lobby/leave/request.json +14 -14
  25. package/dist/lobby/leave/response.json +61 -61
  26. package/dist/lobby/left/response.json +57 -57
  27. package/dist/lobby/list/request.json +14 -14
  28. package/dist/lobby/list/response.json +266 -266
  29. package/dist/lobby/receiveMessage/response.json +79 -79
  30. package/dist/lobby/sendMessage/request.json +32 -32
  31. package/dist/lobby/sendMessage/response.json +65 -65
  32. package/dist/lobby/updated/response.json +211 -211
  33. package/dist/matchmaking/cancel/request.json +14 -14
  34. package/dist/matchmaking/cancel/response.json +61 -61
  35. package/dist/matchmaking/found/response.json +69 -69
  36. package/dist/matchmaking/list/request.json +14 -14
  37. package/dist/matchmaking/list/response.json +104 -104
  38. package/dist/matchmaking/lost/response.json +57 -57
  39. package/dist/matchmaking/queue/request.json +30 -30
  40. package/dist/matchmaking/queue/response.json +65 -65
  41. package/dist/matchmaking/queueUpdate/response.json +69 -69
  42. package/dist/matchmaking/ready/request.json +14 -14
  43. package/dist/matchmaking/ready/response.json +61 -61
  44. package/dist/matchmaking/readyUpdate/response.json +73 -73
  45. package/dist/system/disconnect/request.json +14 -14
  46. package/dist/system/disconnected/response.json +57 -57
  47. package/dist/system/version/response.json +95 -70
  48. package/package.json +3 -3
@@ -1,73 +1,73 @@
1
- {
2
- "$id": "account/getToken/request",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "type": "object",
6
- "properties": {
7
- "command": {
8
- "const": "account/getToken/request",
9
- "type": "string"
10
- },
11
- "data": {
12
- "examples": [
13
- {
14
- "email": "bob@test.com",
15
- "hashedPassword": "1b311ff1a6af12fba8720bd2ce02c960"
16
- }
17
- ],
18
- "allOf": [
19
- {
20
- "anyOf": [
21
- {
22
- "type": "object",
23
- "properties": {
24
- "email": {
25
- "format": "email",
26
- "examples": [
27
- "bob@test.com"
28
- ],
29
- "type": "string"
30
- }
31
- },
32
- "required": [
33
- "email"
34
- ]
35
- },
36
- {
37
- "type": "object",
38
- "properties": {
39
- "username": {
40
- "minLength": 3,
41
- "maxLength": 20,
42
- "pattern": "^[A-Za-z0-9_-]+$",
43
- "examples": [
44
- "Bob"
45
- ],
46
- "type": "string"
47
- }
48
- },
49
- "required": [
50
- "username"
51
- ]
52
- }
53
- ]
54
- },
55
- {
56
- "type": "object",
57
- "properties": {
58
- "hashedPassword": {
59
- "type": "string"
60
- }
61
- },
62
- "required": [
63
- "hashedPassword"
64
- ]
65
- }
66
- ]
67
- }
68
- },
69
- "required": [
70
- "command",
71
- "data"
72
- ]
1
+ {
2
+ "$id": "account/getToken/request",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "type": "object",
6
+ "properties": {
7
+ "command": {
8
+ "const": "account/getToken/request",
9
+ "type": "string"
10
+ },
11
+ "data": {
12
+ "examples": [
13
+ {
14
+ "email": "bob@test.com",
15
+ "hashedPassword": "1b311ff1a6af12fba8720bd2ce02c960"
16
+ }
17
+ ],
18
+ "allOf": [
19
+ {
20
+ "anyOf": [
21
+ {
22
+ "type": "object",
23
+ "properties": {
24
+ "email": {
25
+ "format": "email",
26
+ "examples": [
27
+ "bob@test.com"
28
+ ],
29
+ "type": "string"
30
+ }
31
+ },
32
+ "required": [
33
+ "email"
34
+ ]
35
+ },
36
+ {
37
+ "type": "object",
38
+ "properties": {
39
+ "username": {
40
+ "minLength": 3,
41
+ "maxLength": 20,
42
+ "pattern": "^[A-Za-z0-9_-]+$",
43
+ "examples": [
44
+ "Bob"
45
+ ],
46
+ "type": "string"
47
+ }
48
+ },
49
+ "required": [
50
+ "username"
51
+ ]
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "type": "object",
57
+ "properties": {
58
+ "hashedPassword": {
59
+ "type": "string"
60
+ }
61
+ },
62
+ "required": [
63
+ "hashedPassword"
64
+ ]
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ "required": [
70
+ "command",
71
+ "data"
72
+ ]
73
73
  }
@@ -1,91 +1,91 @@
1
- {
2
- "$id": "account/getToken/response",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "anyOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "command": {
10
- "const": "account/getToken/response",
11
- "type": "string"
12
- },
13
- "status": {
14
- "const": "success",
15
- "type": "string"
16
- },
17
- "data": {
18
- "examples": [
19
- {
20
- "token": "d2d5135930dacad758584b2586d03426"
21
- }
22
- ],
23
- "type": "object",
24
- "properties": {
25
- "token": {
26
- "type": "string"
27
- }
28
- },
29
- "required": [
30
- "token"
31
- ]
32
- }
33
- },
34
- "required": [
35
- "command",
36
- "status",
37
- "data"
38
- ]
39
- },
40
- {
41
- "type": "object",
42
- "properties": {
43
- "command": {
44
- "const": "account/getToken/response",
45
- "type": "string"
46
- },
47
- "status": {
48
- "const": "failed",
49
- "type": "string"
50
- },
51
- "reason": {
52
- "anyOf": [
53
- {
54
- "const": "no_user_found",
55
- "type": "string"
56
- },
57
- {
58
- "const": "unverified",
59
- "type": "string"
60
- },
61
- {
62
- "const": "invalid_password",
63
- "type": "string"
64
- },
65
- {
66
- "const": "max_attempts",
67
- "type": "string"
68
- },
69
- {
70
- "const": "internal_error",
71
- "type": "string"
72
- },
73
- {
74
- "const": "unauthorized",
75
- "type": "string"
76
- },
77
- {
78
- "const": "invalid_command",
79
- "type": "string"
80
- }
81
- ]
82
- }
83
- },
84
- "required": [
85
- "command",
86
- "status",
87
- "reason"
88
- ]
89
- }
90
- ]
1
+ {
2
+ "$id": "account/getToken/response",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "command": {
10
+ "const": "account/getToken/response",
11
+ "type": "string"
12
+ },
13
+ "status": {
14
+ "const": "success",
15
+ "type": "string"
16
+ },
17
+ "data": {
18
+ "examples": [
19
+ {
20
+ "token": "d2d5135930dacad758584b2586d03426"
21
+ }
22
+ ],
23
+ "type": "object",
24
+ "properties": {
25
+ "token": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": [
30
+ "token"
31
+ ]
32
+ }
33
+ },
34
+ "required": [
35
+ "command",
36
+ "status",
37
+ "data"
38
+ ]
39
+ },
40
+ {
41
+ "type": "object",
42
+ "properties": {
43
+ "command": {
44
+ "const": "account/getToken/response",
45
+ "type": "string"
46
+ },
47
+ "status": {
48
+ "const": "failed",
49
+ "type": "string"
50
+ },
51
+ "reason": {
52
+ "anyOf": [
53
+ {
54
+ "const": "no_user_found",
55
+ "type": "string"
56
+ },
57
+ {
58
+ "const": "unverified",
59
+ "type": "string"
60
+ },
61
+ {
62
+ "const": "invalid_password",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "const": "max_attempts",
67
+ "type": "string"
68
+ },
69
+ {
70
+ "const": "internal_error",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "const": "unauthorized",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "const": "invalid_command",
79
+ "type": "string"
80
+ }
81
+ ]
82
+ }
83
+ },
84
+ "required": [
85
+ "command",
86
+ "status",
87
+ "reason"
88
+ ]
89
+ }
90
+ ]
91
91
  }
@@ -1,32 +1,32 @@
1
- {
2
- "$id": "account/login/request",
3
- "requiresLogin": false,
4
- "requiresRole": false,
5
- "type": "object",
6
- "properties": {
7
- "command": {
8
- "const": "account/login/request",
9
- "type": "string"
10
- },
11
- "data": {
12
- "examples": [
13
- {
14
- "token": "d2d5135930dacad758584b2586d03426"
15
- }
16
- ],
17
- "type": "object",
18
- "properties": {
19
- "token": {
20
- "type": "string"
21
- }
22
- },
23
- "required": [
24
- "token"
25
- ]
26
- }
27
- },
28
- "required": [
29
- "command",
30
- "data"
31
- ]
1
+ {
2
+ "$id": "account/login/request",
3
+ "requiresLogin": false,
4
+ "requiresRole": false,
5
+ "type": "object",
6
+ "properties": {
7
+ "command": {
8
+ "const": "account/login/request",
9
+ "type": "string"
10
+ },
11
+ "data": {
12
+ "examples": [
13
+ {
14
+ "token": "d2d5135930dacad758584b2586d03426"
15
+ }
16
+ ],
17
+ "type": "object",
18
+ "properties": {
19
+ "token": {
20
+ "type": "string"
21
+ }
22
+ },
23
+ "required": [
24
+ "token"
25
+ ]
26
+ }
27
+ },
28
+ "required": [
29
+ "command",
30
+ "data"
31
+ ]
32
32
  }