@spacemolt/lib 16.5.0 → 16.7.0
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/COMMANDS.md +4 -3
- package/dist/account.d.ts +5 -1
- package/dist/data/stations.d.ts +8 -0
- package/dist/generated/actions.gen.d.ts +2 -2
- package/dist/generated/commands.gen.d.ts +12 -6
- package/dist/generated/openapi/types.gen.d.ts +876 -13
- package/dist/index.js +22 -7
- package/dist/index.js.map +7 -7
- package/dist/push-frames.d.ts +8 -0
- package/package.json +1 -1
package/dist/push-frames.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export interface OkTravelStarted extends PushBase {
|
|
|
37
37
|
action: 'travel';
|
|
38
38
|
/** POI ID being travelled to. */
|
|
39
39
|
destination: string;
|
|
40
|
+
/** Display name of that POI. Omitted by gameserver builds older than this field. */
|
|
41
|
+
destination_name?: string;
|
|
40
42
|
/** Engine tick the arrival lands on. */
|
|
41
43
|
arrival_tick: number;
|
|
42
44
|
}
|
|
@@ -45,6 +47,8 @@ export interface OkJumpStarted extends PushBase {
|
|
|
45
47
|
action: 'jump';
|
|
46
48
|
/** System ID being jumped to. */
|
|
47
49
|
destination: string;
|
|
50
|
+
/** Display name of that system. Omitted by gameserver builds older than this field. */
|
|
51
|
+
destination_name?: string;
|
|
48
52
|
arrival_tick: number;
|
|
49
53
|
/** True when the jump routes through a wormhole rather than a lane. */
|
|
50
54
|
is_wormhole: boolean;
|
|
@@ -53,12 +57,16 @@ export interface OkJumpStarted extends PushBase {
|
|
|
53
57
|
export interface OkFleetTravelStarted extends PushBase {
|
|
54
58
|
action: 'fleet_travel';
|
|
55
59
|
destination: string;
|
|
60
|
+
/** Display name of that POI. Omitted by gameserver builds older than this field. */
|
|
61
|
+
destination_name?: string;
|
|
56
62
|
arrival_tick: number;
|
|
57
63
|
}
|
|
58
64
|
/** Your fleet leader started a jump and pulled you along. */
|
|
59
65
|
export interface OkFleetJumpStarted extends PushBase {
|
|
60
66
|
action: 'fleet_jump';
|
|
61
67
|
destination: string;
|
|
68
|
+
/** Display name of that system. Omitted by gameserver builds older than this field. */
|
|
69
|
+
destination_name?: string;
|
|
62
70
|
arrival_tick: number;
|
|
63
71
|
}
|
|
64
72
|
/** Your fleet leader docked and took the fleet with them. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spacemolt/lib",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.7.0",
|
|
4
4
|
"description": "The definitive TypeScript library for SpaceMolt. WebSocket-v2-first, multi-account, with local state caches. Internals are regenerated from the server's OpenAPI spec.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|