dredless 0.2.0 → 0.3.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.
Files changed (80) hide show
  1. package/README.md +65 -48
  2. package/dist/browser/dredless.global.js +12047 -0
  3. package/dist/browser/dredless.global.js.map +7 -0
  4. package/docs/API_REFERENCE.md +2481 -2481
  5. package/docs/BROWSER_API.md +98 -98
  6. package/docs/NODE_API.md +359 -359
  7. package/package.json +40 -35
  8. package/src/browser-global.js +3 -0
  9. package/src/browser.d.ts +212 -212
  10. package/src/browser.js +133 -133
  11. package/src/client/core.js +1202 -1202
  12. package/src/client/domains/index.js +1818 -1818
  13. package/src/client/index.d.ts +2 -2
  14. package/src/client/index.js +1 -1
  15. package/src/compression/lz4.d.ts +1 -1
  16. package/src/compression/lz4.js +112 -112
  17. package/src/constants.js +74 -74
  18. package/src/crypto/chacha-native.d.ts +9 -9
  19. package/src/crypto/chacha-native.js +48 -48
  20. package/src/crypto/chacha.d.ts +25 -25
  21. package/src/crypto/chacha.js +274 -274
  22. package/src/events.js +39 -39
  23. package/src/index.d.ts +2277 -2277
  24. package/src/index.js +125 -125
  25. package/src/network/browser-session.js +291 -291
  26. package/src/network/connection.d.ts +1 -1
  27. package/src/network/connection.js +31 -31
  28. package/src/network/cookies.js +85 -85
  29. package/src/network/http.js +34 -34
  30. package/src/network/index.d.ts +4 -4
  31. package/src/network/index.js +4 -4
  32. package/src/network/servers.d.ts +7 -7
  33. package/src/network/servers.js +133 -133
  34. package/src/network/session.d.ts +7 -7
  35. package/src/network/session.js +320 -320
  36. package/src/network/ships.d.ts +12 -12
  37. package/src/network/ships.js +73 -73
  38. package/src/node.d.ts +2 -2
  39. package/src/node.js +8 -8
  40. package/src/protocol/codec/binary.d.ts +3 -3
  41. package/src/protocol/codec/binary.js +52 -52
  42. package/src/protocol/codec/msgpack.d.ts +3 -3
  43. package/src/protocol/codec/msgpack.js +555 -555
  44. package/src/protocol/inbound/frame.d.ts +1 -1
  45. package/src/protocol/inbound/frame.js +8 -8
  46. package/src/protocol/inbound/world-payload.d.ts +3 -3
  47. package/src/protocol/inbound/world-payload.js +21 -21
  48. package/src/protocol/index.d.ts +11 -11
  49. package/src/protocol/index.js +19 -19
  50. package/src/protocol/outbound/blueprint.d.ts +22 -22
  51. package/src/protocol/outbound/blueprint.js +36 -36
  52. package/src/protocol/outbound/commands.d.ts +3 -3
  53. package/src/protocol/outbound/commands.js +149 -149
  54. package/src/protocol/outbound/comms.d.ts +28 -28
  55. package/src/protocol/outbound/comms.js +40 -40
  56. package/src/protocol/outbound/inventory.d.ts +64 -64
  57. package/src/protocol/outbound/inventory.js +147 -147
  58. package/src/protocol/outbound/ship-management.d.ts +84 -84
  59. package/src/protocol/outbound/ship-management.js +221 -221
  60. package/src/protocol/outbound/sign.d.ts +18 -18
  61. package/src/protocol/outbound/sign.js +45 -45
  62. package/src/protocol/outbound/ui-config.d.ts +157 -157
  63. package/src/protocol/outbound/ui-config.js +578 -578
  64. package/src/runtime.js +36 -36
  65. package/src/state/generator-maze.d.ts +32 -32
  66. package/src/state/generator-maze.js +370 -370
  67. package/src/state/index.d.ts +3 -3
  68. package/src/state/index.js +3 -3
  69. package/src/state/items.js +20 -20
  70. package/src/state/model/decoder.js +1554 -1554
  71. package/src/state/model/index.d.ts +33 -33
  72. package/src/state/model/index.js +2 -2
  73. package/src/state/model/loader-config.js +1020 -1020
  74. package/src/state/model/reader.js +69 -69
  75. package/src/state/model/state.js +1257 -1257
  76. package/src/state/overworld.js +72 -72
  77. package/src/state/tilesets.js +53 -53
  78. package/src/state/world/index.d.ts +29 -29
  79. package/src/state/world/index.js +180 -180
  80. package/src/state/world/state.js +297 -297
package/package.json CHANGED
@@ -1,25 +1,27 @@
1
1
  {
2
2
  "name": "dredless",
3
- "version": "0.2.0",
4
- "description": "A from-scratch simple headless drednot.io client.",
5
- "license": "MIT",
6
- "homepage": "https://github.com/certainhuman/dredless#readme",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+ssh://git@github.com/certainhuman/dredless.git"
10
- },
11
- "bugs": {
12
- "url": "https://github.com/certainhuman/dredless/issues"
13
- },
14
- "keywords": [
15
- "drednot",
16
- "drednot.io",
17
- "headless",
18
- "websocket"
19
- ],
3
+ "version": "0.3.0",
4
+ "description": "A fully-featured and from-scratch headless drednot.io client implementation written in pure js.",
5
+ "license": "MIT",
6
+ "homepage": "https://github.com/certainhuman/dredless#readme",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+ssh://git@github.com/certainhuman/dredless.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/certainhuman/dredless/issues"
13
+ },
14
+ "keywords": [
15
+ "drednot",
16
+ "drednot.io",
17
+ "headless",
18
+ "websocket"
19
+ ],
20
20
  "type": "module",
21
21
  "main": "src/index.js",
22
22
  "types": "./src/index.d.ts",
23
+ "unpkg": "./dist/browser/dredless.global.js",
24
+ "jsdelivr": "./dist/browser/dredless.global.js",
23
25
  "exports": {
24
26
  ".": {
25
27
  "types": "./src/index.d.ts",
@@ -149,25 +151,28 @@
149
151
  "default": "./src/compression/lz4.js"
150
152
  }
151
153
  },
152
- "dependencies": {
153
- "ws": "^8.18.0"
154
- },
155
- "files": [
156
- "src",
157
- "docs",
158
- "README.md"
159
- ],
160
- "publishConfig": {
161
- "access": "public"
162
- },
163
- "scripts": {
164
- "check": "node scripts/check-syntax.js",
165
- "test": "node --test \"test/*.test.js\"",
166
- "pack:check": "npm pack --dry-run",
167
- "prepublishOnly": "npm run check && npm test",
154
+ "dependencies": {
155
+ "ws": "^8.18.0"
156
+ },
157
+ "files": [
158
+ "src",
159
+ "docs",
160
+ "README.md",
161
+ "dist"
162
+ ],
163
+ "publishConfig": {
164
+ "access": "public"
165
+ },
166
+ "scripts": {
167
+ "build": "node scripts/build-browser.js",
168
+ "check": "node scripts/check-syntax.js",
169
+ "test": "node --test \"test/*.test.js\"",
170
+ "pack:check": "npm pack --dry-run",
171
+ "prepublishOnly": "npm run check && npm test && npm run build",
168
172
  "update:item-schema": "node scripts/update-item-schema.js"
169
173
  },
170
174
  "devDependencies": {
171
- "dsa-shipshape": "^0.1.2"
175
+ "dsa-shipshape": "^0.1.2",
176
+ "esbuild": "^0.28.2"
172
177
  }
173
- }
178
+ }
@@ -0,0 +1,3 @@
1
+ import DredlessBrowser from "./browser.js";
2
+
3
+ globalThis.Dredless = DredlessBrowser;
package/src/browser.d.ts CHANGED
@@ -1,212 +1,212 @@
1
- export {
2
- Connection,
3
- DredlessClient,
4
- WrenchMode,
5
- TurretMode,
6
- WorldStore,
7
- WorldState,
8
- ModelState,
9
- FabricatorType,
10
- decodeModelData,
11
- generateGeneratorMaze,
12
- solveGeneratorMazeSeed,
13
- maybeSolveGeneratorMazeSeed,
14
- buildBlueprintPlacementMessage,
15
- decodeMsgpack,
16
- encodeMsgpack,
17
- buildCommsMessage,
18
- flattenRichText,
19
- normalizeCommsEvent,
20
- buildSignedCommandPacket,
21
- buildEquipItemCommand,
22
- buildInventoryDragCommand,
23
- buildUnequipItemCommand,
24
- equipmentSlotName,
25
- normalizeEquipmentSlot,
26
- normalizeInventoryEvent,
27
- EquipmentSlot,
28
- buildBanPlayerMessage,
29
- buildDemoteSelfMessage,
30
- buildInviteResetMessage,
31
- buildKickPlayerMessage,
32
- buildPlayerListMessage,
33
- buildShipManagementMessage,
34
- buildSetPlayerRankMessage,
35
- buildShipPrivacyMessage,
36
- buildStarterRecoveryMessage,
37
- normalizeCaptainSubrank,
38
- normalizeShipPlayerList,
39
- normalizePlayerRank,
40
- normalizePrivacy,
41
- normalizeShipConfig,
42
- SignDisplayMode,
43
- buildSignTextMessage,
44
- normalizeSignDisplayMode,
45
- signDisplayModeName,
46
- buildCargoEjectorClipboardDirectionData,
47
- buildCargoEjectorCopyConfigData,
48
- buildCargoEjectorDirectionData,
49
- buildCargoEjectorPasteConfigData,
50
- buildCargoHatchCopyConfigData,
51
- buildCargoHatchFilterConfigData,
52
- buildCargoHatchFilterItemsData,
53
- buildCargoHatchFullConfigData,
54
- buildClipboardConfigData,
55
- buildClipboardFixedAngleData,
56
- buildExpandoClipboardAngleData,
57
- buildGeneratorClipboardDirectionData,
58
- buildGeneratorMazePuzzleData,
59
- buildLoaderClipboardConfigData,
60
- buildLoaderConfigData,
61
- buildLoaderCopyConfigData,
62
- buildLoaderFilterConfigData,
63
- buildLoaderFilterItemsData,
64
- buildLoaderFullConfigData,
65
- buildNavigationUnitClipboardConfigData,
66
- buildNavigationUnitConfigData,
67
- buildNavigationUnitPasteConfigData,
68
- buildPusherConfigData,
69
- buildPusherFilterItemsData,
70
- PusherMode,
71
- LoaderPosition,
72
- LoaderFilterMode,
73
- FixedAngleDirection,
74
- LoaderPriority,
75
- decryptPayload,
76
- decompressLz4Frame,
77
- fetchNoticeVersion,
78
- fetchGameVersion,
79
- fetchServers
80
- } from "./index.js";
81
-
82
- export type {
83
- Server,
84
- Ship,
85
- ShipList,
86
- ShipRef,
87
- ShipSpec,
88
- ServerRef,
89
- SessionSnapshot,
90
- Account,
91
- ConnectionSnapshot,
92
- BlueprintPlacement,
93
- BlueprintPlacementMessage,
94
- Command,
95
- DredlessClientSnapshot,
96
- WorldSnapshot,
97
- EntitySummary,
98
- EntityDebugSummary,
99
- InventorySnapshot,
100
- ReadWorldScope
101
- } from "./index.js";
102
-
103
- import type {Connection, DredlessClient, Server, ServerRef, SessionSnapshot, Ship, ShipList, ShipRef} from "./index.js";
104
-
105
-
106
- export class BrowserSession {
107
- constructor(baseUrl?: string);
108
-
109
- baseUrl: string;
110
- gameVersion: string | null;
111
- ambientAuth: true;
112
- account: unknown | null;
113
- geoServer: number | null;
114
- upgraded: boolean;
115
- isRegistered: boolean;
116
- showAds: boolean;
117
- forceTutorial: boolean;
118
- ban: unknown;
119
-
120
- get gameSession(): string;
121
-
122
- get gameToken(): string;
123
-
124
- get anonKey(): string;
125
-
126
- get noticeVersion(): number | string | null;
127
- set noticeVersion(value: number | string | null);
128
-
129
- request(path: string, init?: RequestInit & { body?: BodyInit | Record<string, unknown> | null }): Promise<Response>;
130
-
131
- readAnonKey(): Promise<string>;
132
-
133
- fetchAnonKey(noticeVersion?: number | null): Promise<string>;
134
-
135
- fetchAccountStatus(): Promise<unknown>;
136
-
137
- fetchShips(server: ServerRef): Promise<Ship[]>;
138
-
139
- fetchShipList(server: ServerRef): Promise<ShipList>;
140
-
141
- joinShipConnection(server: ServerRef, ship?: ShipRef): Promise<Connection>;
142
-
143
- startShipConnection(server: ServerRef, ship?: ShipRef): Promise<Connection>;
144
-
145
- startNewShipConnection(server: ServerRef, name?: string, color?: string): Promise<Connection>;
146
-
147
- joinInviteConnection(server: ServerRef, code: string): Promise<Connection>;
148
-
149
- joinShip(server: ServerRef, ship?: ShipRef): Promise<DredlessClient>;
150
-
151
- startShip(server: ServerRef, ship?: ShipRef): Promise<DredlessClient>;
152
-
153
- startNewShip(server: ServerRef, name?: string, color?: string): Promise<DredlessClient>;
154
-
155
- joinInvite(server: ServerRef, code: string): Promise<DredlessClient>;
156
-
157
- toJSON(): SessionSnapshot & { ambientAuth: true };
158
- }
159
-
160
- export function browserSession(baseUrl?: string): BrowserSession;
161
-
162
- export function createBrowserSession(baseUrl?: string): BrowserSession;
163
-
164
- export function createSession(noticeVersion?: number | null, baseUrl?: string): Promise<BrowserSession>;
165
-
166
- export function createAnonSession(anonKey?: string | null, noticeVersion?: number | null, baseUrl?: string): Promise<BrowserSession>;
167
-
168
- export function createAnonToken(noticeVersion?: number | null, baseUrl?: string): Promise<string>;
169
-
170
- export function fetchAnonKey(noticeVersion?: number | null, baseUrl?: string): Promise<string>;
171
-
172
- export function setBrowserSession(session?: BrowserSession | null): BrowserSession | null;
173
-
174
- export function fetchAccountStatus(session?: BrowserSession | null): Promise<unknown>;
175
-
176
- export function fetchShips(server: ServerRef, session?: BrowserSession | null): Promise<Ship[]>;
177
-
178
- export function fetchShipList(server: ServerRef, session?: BrowserSession | null): Promise<ShipList>;
179
-
180
- export function joinShip(server: ServerRef, ship?: ShipRef, session?: BrowserSession | null): Promise<DredlessClient>;
181
-
182
- export function startShip(server: ServerRef, ship?: ShipRef, session?: BrowserSession | null): Promise<DredlessClient>;
183
-
184
- export function startNewShip(server: ServerRef, name?: string, color?: string, session?: BrowserSession | null): Promise<DredlessClient>;
185
-
186
- export function joinInvite(server: ServerRef, code: string, session?: BrowserSession | null): Promise<DredlessClient>;
187
-
188
- export interface DredlessBrowserNamespace {
189
- BrowserSession: typeof BrowserSession;
190
- Connection: typeof import("./index.js").Connection;
191
- DredlessClient: typeof import("./index.js").DredlessClient;
192
- browserSession: typeof browserSession;
193
- createBrowserSession: typeof createBrowserSession;
194
- createSession: typeof createSession;
195
- createAnonSession: typeof createAnonSession;
196
- createAnonToken: typeof createAnonToken;
197
- fetchAnonKey: typeof fetchAnonKey;
198
- setBrowserSession: typeof setBrowserSession;
199
- fetchAccountStatus: typeof fetchAccountStatus;
200
- fetchNoticeVersion: typeof import("./index.js").fetchNoticeVersion;
201
- fetchGameVersion: typeof import("./index.js").fetchGameVersion;
202
- fetchServers: typeof import("./index.js").fetchServers;
203
- fetchShips: typeof fetchShips;
204
- fetchShipList: typeof fetchShipList;
205
- joinShip: typeof joinShip;
206
- startShip: typeof startShip;
207
- startNewShip: typeof startNewShip;
208
- joinInvite: typeof joinInvite;
209
- }
210
-
211
- export const DredlessBrowser: DredlessBrowserNamespace;
212
- export default DredlessBrowser;
1
+ export {
2
+ Connection,
3
+ DredlessClient,
4
+ WrenchMode,
5
+ TurretMode,
6
+ WorldStore,
7
+ WorldState,
8
+ ModelState,
9
+ FabricatorType,
10
+ decodeModelData,
11
+ generateGeneratorMaze,
12
+ solveGeneratorMazeSeed,
13
+ maybeSolveGeneratorMazeSeed,
14
+ buildBlueprintPlacementMessage,
15
+ decodeMsgpack,
16
+ encodeMsgpack,
17
+ buildCommsMessage,
18
+ flattenRichText,
19
+ normalizeCommsEvent,
20
+ buildSignedCommandPacket,
21
+ buildEquipItemCommand,
22
+ buildInventoryDragCommand,
23
+ buildUnequipItemCommand,
24
+ equipmentSlotName,
25
+ normalizeEquipmentSlot,
26
+ normalizeInventoryEvent,
27
+ EquipmentSlot,
28
+ buildBanPlayerMessage,
29
+ buildDemoteSelfMessage,
30
+ buildInviteResetMessage,
31
+ buildKickPlayerMessage,
32
+ buildPlayerListMessage,
33
+ buildShipManagementMessage,
34
+ buildSetPlayerRankMessage,
35
+ buildShipPrivacyMessage,
36
+ buildStarterRecoveryMessage,
37
+ normalizeCaptainSubrank,
38
+ normalizeShipPlayerList,
39
+ normalizePlayerRank,
40
+ normalizePrivacy,
41
+ normalizeShipConfig,
42
+ SignDisplayMode,
43
+ buildSignTextMessage,
44
+ normalizeSignDisplayMode,
45
+ signDisplayModeName,
46
+ buildCargoEjectorClipboardDirectionData,
47
+ buildCargoEjectorCopyConfigData,
48
+ buildCargoEjectorDirectionData,
49
+ buildCargoEjectorPasteConfigData,
50
+ buildCargoHatchCopyConfigData,
51
+ buildCargoHatchFilterConfigData,
52
+ buildCargoHatchFilterItemsData,
53
+ buildCargoHatchFullConfigData,
54
+ buildClipboardConfigData,
55
+ buildClipboardFixedAngleData,
56
+ buildExpandoClipboardAngleData,
57
+ buildGeneratorClipboardDirectionData,
58
+ buildGeneratorMazePuzzleData,
59
+ buildLoaderClipboardConfigData,
60
+ buildLoaderConfigData,
61
+ buildLoaderCopyConfigData,
62
+ buildLoaderFilterConfigData,
63
+ buildLoaderFilterItemsData,
64
+ buildLoaderFullConfigData,
65
+ buildNavigationUnitClipboardConfigData,
66
+ buildNavigationUnitConfigData,
67
+ buildNavigationUnitPasteConfigData,
68
+ buildPusherConfigData,
69
+ buildPusherFilterItemsData,
70
+ PusherMode,
71
+ LoaderPosition,
72
+ LoaderFilterMode,
73
+ FixedAngleDirection,
74
+ LoaderPriority,
75
+ decryptPayload,
76
+ decompressLz4Frame,
77
+ fetchNoticeVersion,
78
+ fetchGameVersion,
79
+ fetchServers
80
+ } from "./index.js";
81
+
82
+ export type {
83
+ Server,
84
+ Ship,
85
+ ShipList,
86
+ ShipRef,
87
+ ShipSpec,
88
+ ServerRef,
89
+ SessionSnapshot,
90
+ Account,
91
+ ConnectionSnapshot,
92
+ BlueprintPlacement,
93
+ BlueprintPlacementMessage,
94
+ Command,
95
+ DredlessClientSnapshot,
96
+ WorldSnapshot,
97
+ EntitySummary,
98
+ EntityDebugSummary,
99
+ InventorySnapshot,
100
+ ReadWorldScope
101
+ } from "./index.js";
102
+
103
+ import type {Connection, DredlessClient, Server, ServerRef, SessionSnapshot, Ship, ShipList, ShipRef} from "./index.js";
104
+
105
+
106
+ export class BrowserSession {
107
+ constructor(baseUrl?: string);
108
+
109
+ baseUrl: string;
110
+ gameVersion: string | null;
111
+ ambientAuth: true;
112
+ account: unknown | null;
113
+ geoServer: number | null;
114
+ upgraded: boolean;
115
+ isRegistered: boolean;
116
+ showAds: boolean;
117
+ forceTutorial: boolean;
118
+ ban: unknown;
119
+
120
+ get gameSession(): string;
121
+
122
+ get gameToken(): string;
123
+
124
+ get anonKey(): string;
125
+
126
+ get noticeVersion(): number | string | null;
127
+ set noticeVersion(value: number | string | null);
128
+
129
+ request(path: string, init?: RequestInit & { body?: BodyInit | Record<string, unknown> | null }): Promise<Response>;
130
+
131
+ readAnonKey(): Promise<string>;
132
+
133
+ fetchAnonKey(noticeVersion?: number | null): Promise<string>;
134
+
135
+ fetchAccountStatus(): Promise<unknown>;
136
+
137
+ fetchShips(server: ServerRef): Promise<Ship[]>;
138
+
139
+ fetchShipList(server: ServerRef): Promise<ShipList>;
140
+
141
+ joinShipConnection(server: ServerRef, ship?: ShipRef): Promise<Connection>;
142
+
143
+ startShipConnection(server: ServerRef, ship?: ShipRef): Promise<Connection>;
144
+
145
+ startNewShipConnection(server: ServerRef, name?: string, color?: string): Promise<Connection>;
146
+
147
+ joinInviteConnection(server: ServerRef, code: string): Promise<Connection>;
148
+
149
+ joinShip(server: ServerRef, ship?: ShipRef): Promise<DredlessClient>;
150
+
151
+ startShip(server: ServerRef, ship?: ShipRef): Promise<DredlessClient>;
152
+
153
+ startNewShip(server: ServerRef, name?: string, color?: string): Promise<DredlessClient>;
154
+
155
+ joinInvite(server: ServerRef, code: string): Promise<DredlessClient>;
156
+
157
+ toJSON(): SessionSnapshot & { ambientAuth: true };
158
+ }
159
+
160
+ export function browserSession(baseUrl?: string): BrowserSession;
161
+
162
+ export function createBrowserSession(baseUrl?: string): BrowserSession;
163
+
164
+ export function createSession(noticeVersion?: number | null, baseUrl?: string): Promise<BrowserSession>;
165
+
166
+ export function createAnonSession(anonKey?: string | null, noticeVersion?: number | null, baseUrl?: string): Promise<BrowserSession>;
167
+
168
+ export function createAnonToken(noticeVersion?: number | null, baseUrl?: string): Promise<string>;
169
+
170
+ export function fetchAnonKey(noticeVersion?: number | null, baseUrl?: string): Promise<string>;
171
+
172
+ export function setBrowserSession(session?: BrowserSession | null): BrowserSession | null;
173
+
174
+ export function fetchAccountStatus(session?: BrowserSession | null): Promise<unknown>;
175
+
176
+ export function fetchShips(server: ServerRef, session?: BrowserSession | null): Promise<Ship[]>;
177
+
178
+ export function fetchShipList(server: ServerRef, session?: BrowserSession | null): Promise<ShipList>;
179
+
180
+ export function joinShip(server: ServerRef, ship?: ShipRef, session?: BrowserSession | null): Promise<DredlessClient>;
181
+
182
+ export function startShip(server: ServerRef, ship?: ShipRef, session?: BrowserSession | null): Promise<DredlessClient>;
183
+
184
+ export function startNewShip(server: ServerRef, name?: string, color?: string, session?: BrowserSession | null): Promise<DredlessClient>;
185
+
186
+ export function joinInvite(server: ServerRef, code: string, session?: BrowserSession | null): Promise<DredlessClient>;
187
+
188
+ export interface DredlessBrowserNamespace {
189
+ BrowserSession: typeof BrowserSession;
190
+ Connection: typeof import("./index.js").Connection;
191
+ DredlessClient: typeof import("./index.js").DredlessClient;
192
+ browserSession: typeof browserSession;
193
+ createBrowserSession: typeof createBrowserSession;
194
+ createSession: typeof createSession;
195
+ createAnonSession: typeof createAnonSession;
196
+ createAnonToken: typeof createAnonToken;
197
+ fetchAnonKey: typeof fetchAnonKey;
198
+ setBrowserSession: typeof setBrowserSession;
199
+ fetchAccountStatus: typeof fetchAccountStatus;
200
+ fetchNoticeVersion: typeof import("./index.js").fetchNoticeVersion;
201
+ fetchGameVersion: typeof import("./index.js").fetchGameVersion;
202
+ fetchServers: typeof import("./index.js").fetchServers;
203
+ fetchShips: typeof fetchShips;
204
+ fetchShipList: typeof fetchShipList;
205
+ joinShip: typeof joinShip;
206
+ startShip: typeof startShip;
207
+ startNewShip: typeof startNewShip;
208
+ joinInvite: typeof joinInvite;
209
+ }
210
+
211
+ export const DredlessBrowser: DredlessBrowserNamespace;
212
+ export default DredlessBrowser;