yolkbot 0.0.0-1

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 (103) hide show
  1. package/README.md +38 -0
  2. package/browser/build/global.js +3 -0
  3. package/browser/build/module.js +3 -0
  4. package/dist/api.js +3 -0
  5. package/dist/bot/GamePlayer.js +3 -0
  6. package/dist/bot.js +3 -0
  7. package/dist/comm/Codes.js +3 -0
  8. package/dist/comm/CommIn.js +3 -0
  9. package/dist/comm/CommOut.js +3 -0
  10. package/dist/comm/OutBuffer.js +3 -0
  11. package/dist/comm/Pool.js +3 -0
  12. package/dist/comm/index.js +3 -0
  13. package/dist/constants/challenges.js +3 -0
  14. package/dist/constants/changelog.js +3 -0
  15. package/dist/constants/codes.js +3 -0
  16. package/dist/constants/guns.js +3 -0
  17. package/dist/constants/housePromo.js +3 -0
  18. package/dist/constants/index.js +3 -0
  19. package/dist/constants/items.js +3 -0
  20. package/dist/constants/language.js +3 -0
  21. package/dist/constants/maps.js +3 -0
  22. package/dist/constants/shellNews.js +3 -0
  23. package/dist/constants/shellYoutube.js +3 -0
  24. package/dist/constants/shopItems.js +3 -0
  25. package/dist/constants/sounds.js +3 -0
  26. package/dist/dispatches/BootPlayerDispatch.js +3 -0
  27. package/dist/dispatches/ChatDispatch.js +3 -0
  28. package/dist/dispatches/FireDispatch.js +3 -0
  29. package/dist/dispatches/GameOptionsDispatch.js +3 -0
  30. package/dist/dispatches/GoToAmmoDispatch.js +3 -0
  31. package/dist/dispatches/GoToCoopDispatch.js +3 -0
  32. package/dist/dispatches/GoToGrenadeDispatch.js +3 -0
  33. package/dist/dispatches/GoToPlayerDispatch.js +3 -0
  34. package/dist/dispatches/GoToSpatulaDispatch.js +3 -0
  35. package/dist/dispatches/LookAtDispatch.js +3 -0
  36. package/dist/dispatches/LookAtPosDispatch.js +3 -0
  37. package/dist/dispatches/MeleeDispatch.js +3 -0
  38. package/dist/dispatches/MovementDispatch.js +3 -0
  39. package/dist/dispatches/PauseDispatch.js +3 -0
  40. package/dist/dispatches/ReloadDispatch.js +3 -0
  41. package/dist/dispatches/ReportPlayerDispatch.js +3 -0
  42. package/dist/dispatches/SaveLoadoutDispatch.js +3 -0
  43. package/dist/dispatches/SpawnDispatch.js +3 -0
  44. package/dist/dispatches/SwapWeaponDispatch.js +3 -0
  45. package/dist/dispatches/SwitchTeamDispatch.js +3 -0
  46. package/dist/dispatches/ThrowGrenadeDispatch.js +3 -0
  47. package/dist/dispatches/index.js +3 -0
  48. package/dist/globals.js +3 -0
  49. package/dist/index.js +10 -0
  50. package/dist/matchmaker.js +3 -0
  51. package/dist/pathing/astar.js +3 -0
  52. package/dist/pathing/binaryheap.js +3 -0
  53. package/dist/pathing/mapnode.js +3 -0
  54. package/dist/socket.js +3 -0
  55. package/dist/types/api.d.ts +14 -0
  56. package/dist/types/bot/GamePlayer.d.ts +119 -0
  57. package/dist/types/bot.d.ts +331 -0
  58. package/dist/types/comm/Codes.d.ts +21 -0
  59. package/dist/types/comm/CommIn.d.ts +22 -0
  60. package/dist/types/comm/CommOut.d.ts +10 -0
  61. package/dist/types/comm/OutBuffer.d.ts +24 -0
  62. package/dist/types/comm/Pool.d.ts +20 -0
  63. package/dist/types/comm/index.d.ts +16 -0
  64. package/dist/types/constants/challenges.d.ts +19 -0
  65. package/dist/types/constants/changelog.d.ts +7 -0
  66. package/dist/types/constants/codes.d.ts +52 -0
  67. package/dist/types/constants/guns.d.ts +248 -0
  68. package/dist/types/constants/housePromo.d.ts +40 -0
  69. package/dist/types/constants/index.d.ts +123 -0
  70. package/dist/types/constants/items.d.ts +21 -0
  71. package/dist/types/constants/language.d.ts +3 -0
  72. package/dist/types/constants/maps.d.ts +98 -0
  73. package/dist/types/constants/shellNews.d.ts +12 -0
  74. package/dist/types/constants/shellYoutube.d.ts +12 -0
  75. package/dist/types/constants/shopItems.d.ts +15 -0
  76. package/dist/types/constants/sounds.d.ts +10 -0
  77. package/dist/types/dispatches/BootPlayerDispatch.d.ts +12 -0
  78. package/dist/types/dispatches/ChatDispatch.d.ts +10 -0
  79. package/dist/types/dispatches/FireDispatch.d.ts +10 -0
  80. package/dist/types/dispatches/GameOptionsDispatch.d.ts +8 -0
  81. package/dist/types/dispatches/GoToAmmoDispatch.d.ts +8 -0
  82. package/dist/types/dispatches/GoToCoopDispatch.d.ts +8 -0
  83. package/dist/types/dispatches/GoToGrenadeDispatch.d.ts +8 -0
  84. package/dist/types/dispatches/GoToPlayerDispatch.d.ts +11 -0
  85. package/dist/types/dispatches/GoToSpatulaDispatch.d.ts +8 -0
  86. package/dist/types/dispatches/LookAtDispatch.d.ts +14 -0
  87. package/dist/types/dispatches/LookAtPosDispatch.d.ts +18 -0
  88. package/dist/types/dispatches/MeleeDispatch.d.ts +8 -0
  89. package/dist/types/dispatches/MovementDispatch.d.ts +12 -0
  90. package/dist/types/dispatches/PauseDispatch.d.ts +8 -0
  91. package/dist/types/dispatches/ReloadDispatch.d.ts +8 -0
  92. package/dist/types/dispatches/ReportPlayerDispatch.d.ts +22 -0
  93. package/dist/types/dispatches/SaveLoadoutDispatch.d.ts +34 -0
  94. package/dist/types/dispatches/SpawnDispatch.d.ts +8 -0
  95. package/dist/types/dispatches/SwapWeaponDispatch.d.ts +8 -0
  96. package/dist/types/dispatches/SwitchTeamDispatch.d.ts +8 -0
  97. package/dist/types/dispatches/ThrowGrenadeDispatch.d.ts +10 -0
  98. package/dist/types/dispatches/index.d.ts +174 -0
  99. package/dist/types/matchmaker.d.ts +72 -0
  100. package/dist/types/socket.d.ts +7 -0
  101. package/dist/types/util.d.ts +4 -0
  102. package/dist/util.js +3 -0
  103. package/package.json +102 -0
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class GoToGrenadeDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default GoToGrenadeDispatch;
@@ -0,0 +1,11 @@
1
+ import Bot from '../bot';
2
+ import GamePlayer from '../bot/GamePlayer';
3
+
4
+ export declare class GoToPlayerDispatch {
5
+ constructor(target: GamePlayer);
6
+
7
+ check(bot: Bot): boolean;
8
+ execute(bot: Bot): void;
9
+ }
10
+
11
+ export default GoToPlayerDispatch;
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class GoToSpatulaDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default GoToSpatulaDispatch;
@@ -0,0 +1,14 @@
1
+ import Bot from '../bot';
2
+
3
+ declare class LookAtDispatch {
4
+ idOrName: number | string;
5
+ id?: number;
6
+ name?: string;
7
+
8
+ constructor(idOrName: number | string);
9
+
10
+ check(bot: Bot): boolean;
11
+ execute(bot: Bot): void;
12
+ }
13
+
14
+ export default LookAtDispatch;
@@ -0,0 +1,18 @@
1
+ import Bot from '../bot';
2
+
3
+ type Position = {
4
+ x: number;
5
+ y: number;
6
+ z: number;
7
+ }
8
+
9
+ export declare class LookAtPosDispatch {
10
+ pos: Position;
11
+
12
+ constructor(pos: Position);
13
+
14
+ check(bot: Bot): boolean;
15
+ execute(bot: Bot): void;
16
+ }
17
+
18
+ export default LookAtPosDispatch;
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class MeleeDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default MeleeDispatch;
@@ -0,0 +1,12 @@
1
+ import Bot from '../bot';
2
+
3
+ export class MovementDispatch {
4
+ controlKeys: number;
5
+
6
+ constructor(controlKeys: number | number[]);
7
+
8
+ check(bot: Bot): boolean;
9
+ execute(bot: Bot): void;
10
+ }
11
+
12
+ export default MovementDispatch;
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class PauseDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default PauseDispatch;
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class ReloadDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default ReloadDispatch;
@@ -0,0 +1,22 @@
1
+ import Bot from '../bot';
2
+
3
+ type CheatingReasons = {
4
+ cheating?: boolean;
5
+ harassment?: boolean;
6
+ offensive?: boolean;
7
+ other?: boolean;
8
+ }
9
+
10
+ export class ReportPlayerDispatch {
11
+ id?: number;
12
+ name?: string;
13
+ reasons: boolean[];
14
+ reasonInt: number;
15
+
16
+ constructor(idOrName: number | string, reasons?: CheatingReasons);
17
+
18
+ check(bot: Bot): boolean;
19
+ execute(bot: Bot): void;
20
+ }
21
+
22
+ export default ReportPlayerDispatch;
@@ -0,0 +1,34 @@
1
+ import Bot from '../bot';
2
+
3
+ type Changes = {
4
+ classIdx?: number;
5
+ hatId?: number;
6
+ stampId?: number;
7
+ grenadeId?: number;
8
+ meleeId?: number;
9
+ colorIdx?: number;
10
+ primaryId?: number[];
11
+ secondaryId?: number[];
12
+ }
13
+
14
+ type Opts = {
15
+ gunId?: number;
16
+ hatId?: number;
17
+ stampId?: number;
18
+ grenadeId?: number;
19
+ meleeId?: number;
20
+ eggColor?: number;
21
+ primaryIds?: number[];
22
+ secondaryIds?: number[];
23
+ }
24
+
25
+ export class SaveLoadoutDispatch {
26
+ changes: Changes;
27
+
28
+ constructor(opts: Opts);
29
+
30
+ check(bot: Bot): boolean;
31
+ execute(bot: Bot): void;
32
+ }
33
+
34
+ export default SaveLoadoutDispatch;
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class SpawnDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default SpawnDispatch;
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class SwapWeaponDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default SwapWeaponDispatch;
@@ -0,0 +1,8 @@
1
+ import Bot from '../bot';
2
+
3
+ export class SwitchTeamDispatch {
4
+ check(bot: Bot): boolean;
5
+ execute(bot: Bot): void;
6
+ }
7
+
8
+ export default SwitchTeamDispatch;
@@ -0,0 +1,10 @@
1
+ import Bot from '../bot';
2
+
3
+ export class ThrowGrenadeDispatch {
4
+ constructor(power?: number);
5
+
6
+ check(bot: Bot): boolean;
7
+ execute(bot: Bot): void;
8
+ }
9
+
10
+ export default ThrowGrenadeDispatch;
@@ -0,0 +1,174 @@
1
+ import BootPlayerDispatch from './BootPlayerDispatch';
2
+ import ChatDispatch from './ChatDispatch';
3
+ import FireDispatch from './FireDispatch';
4
+ import GameOptionsDispatch from './GameOptionsDispatch';
5
+ import GoToAmmoDispatch from './GoToAmmoDispatch';
6
+ import GoToCoopDispatch from './GoToCoopDispatch';
7
+ import GoToGrenadeDispatch from './GoToGrenadeDispatch';
8
+ import GoToPlayerDispatch from './GoToPlayerDispatch';
9
+ import GoToSpatulaDispatch from './GoToSpatulaDispatch';
10
+ import LookAtDispatch from './LookAtDispatch';
11
+ import LookAtPosDispatch from './LookAtPosDispatch';
12
+ import MeleeDispatch from './MeleeDispatch';
13
+ import MovementDispatch from './MovementDispatch';
14
+ import PauseDispatch from './PauseDispatch';
15
+ import ReloadDispatch from './ReloadDispatch';
16
+ import ReportPlayerDispatch from './ReportPlayerDispatch';
17
+ import SaveLoadoutDispatch from './SaveLoadoutDispatch';
18
+ import SpawnDispatch from './SpawnDispatch';
19
+ import SwapWeaponDispatch from './SwapWeaponDispatch';
20
+ import SwitchTeamDispatch from './SwitchTeamDispatch';
21
+ import ThrowGrenadeDispatch from './ThrowGrenadeDispatch';
22
+
23
+ declare module 'BootPlayerDispatch' {
24
+ export default BootPlayerDispatch;
25
+ }
26
+
27
+ declare module 'ChatDispatch' {
28
+ export default ChatDispatch;
29
+ }
30
+
31
+ declare module 'FireDispatch' {
32
+ export default FireDispatch;
33
+ }
34
+
35
+ declare module 'GameOptionsDispatch' {
36
+ export default GameOptionsDispatch;
37
+ }
38
+
39
+ declare module 'GoToAmmoDispatch' {
40
+ export default GoToAmmoDispatch;
41
+ }
42
+
43
+ declare module 'GoToCoopDispatch' {
44
+ export default GoToCoopDispatch;
45
+ }
46
+
47
+ declare module 'GoToGrenadeDispatch' {
48
+ export default GoToGrenadeDispatch;
49
+ }
50
+
51
+ declare module 'GoToPlayerDispatch' {
52
+ export default GoToPlayerDispatch;
53
+ }
54
+
55
+ declare module 'GoToSpatulaDispatch' {
56
+ export default GoToSpatulaDispatch;
57
+ }
58
+
59
+ declare module 'LookAtDispatch' {
60
+ export default LookAtDispatch;
61
+ }
62
+
63
+ declare module 'LookAtPosDispatch' {
64
+ export default LookAtPosDispatch;
65
+ }
66
+
67
+ declare module 'MeleeDispatch' {
68
+ export default MeleeDispatch;
69
+ }
70
+
71
+ declare module 'MovementDispatch' {
72
+ export default MovementDispatch;
73
+ }
74
+
75
+ declare module 'PauseDispatch' {
76
+ export default PauseDispatch;
77
+ }
78
+
79
+ declare module 'ReloadDispatch' {
80
+ export default ReloadDispatch;
81
+ }
82
+
83
+ declare module 'ReportPlayerDispatch' {
84
+ export default ReportPlayerDispatch;
85
+ }
86
+
87
+ declare module 'SaveLoadoutDispatch' {
88
+ export default SaveLoadoutDispatch;
89
+ }
90
+
91
+ declare module 'SpawnDispatch' {
92
+ export default SpawnDispatch;
93
+ }
94
+
95
+ declare module 'SwapWeaponDispatch' {
96
+ export default SwapWeaponDispatch;
97
+ }
98
+
99
+ declare module 'SwitchTeamDispatch' {
100
+ export default SwitchTeamDispatch;
101
+ }
102
+
103
+ declare module 'dispatches' {
104
+ export {
105
+ BootPlayerDispatch,
106
+ ChatDispatch,
107
+ FireDispatch,
108
+ GameOptionsDispatch,
109
+ GoToAmmoDispatch,
110
+ GoToCoopDispatch,
111
+ GoToGreandeDispatch,
112
+ GoToPlayerDispatch,
113
+ GoToSpatulaDispatch,
114
+ LookAtDispatch,
115
+ LookAtPosDispatch,
116
+ MeleeDispatch,
117
+ MovementDispatch,
118
+ PauseDispatch,
119
+ ReloadDispatch,
120
+ ReportPlayerDispatch,
121
+ SaveLoadoutDispatch,
122
+ SpawnDispatch,
123
+ SwapWeaponDispatch,
124
+ SwitchTeamDispatch
125
+ }
126
+
127
+ const dispatches: {
128
+ BootPlayerDispatch: typeof BootPlayerDispatch,
129
+ ChatDispatch: typeof ChatDispatch,
130
+ FireDispatch: typeof FireDispatch,
131
+ GameOptionsDispatch: typeof GameOptionsDispatch,
132
+ GoToAmmoDispatch: typeof GoToAmmoDispatch,
133
+ GoToCoopDispatch: typeof GoToCoopDispatch,
134
+ GoToGrenadeDispatch: typeof GoToGrenadeDispatch,
135
+ GoToPlayerDispatch: typeof GoToPlayerDispatch,
136
+ GoToSpatulaDispatch: typeof GoToSpatulaDispatch,
137
+ LookAtDispatch: typeof LookAtDispatch,
138
+ LookAtPosDispatch: typeof LookAtPosDispatch,
139
+ MeleeDispatch: typeof MeleeDispatch,
140
+ MovementDispatch: typeof MovementDispatch,
141
+ PauseDispatch: typeof PauseDispatch,
142
+ ReloadDispatch: typeof ReloadDispatch,
143
+ ReportPlayerDispatch: typeof ReportPlayerDispatch,
144
+ SaveLoadoutDispatch: typeof SaveLoadoutDispatch,
145
+ SpawnDispatch: typeof SpawnDispatch,
146
+ SwapWeaponDispatch: typeof SwapWeaponDispatch,
147
+ SwitchTeamDispatch: typeof SwitchTeamDispatch
148
+ };
149
+
150
+ export default dispatches;
151
+ }
152
+
153
+ export type ADispatch =
154
+ BootPlayerDispatch |
155
+ ChatDispatch |
156
+ FireDispatch |
157
+ GameOptionsDispatch |
158
+ GoToAmmoDispatch |
159
+ GoToCoopDispatch |
160
+ GoToGrenadeDispatch |
161
+ GoToPlayerDispatch |
162
+ GoToSpatulaDispatch |
163
+ LookAtDispatch |
164
+ LookAtPosDispatch |
165
+ MeleeDispatch |
166
+ MovementDispatch |
167
+ PauseDispatch |
168
+ ReloadDispatch |
169
+ ReportPlayerDispatch |
170
+ SaveLoadoutDispatch |
171
+ SpawnDispatch |
172
+ SwapWeaponDispatch |
173
+ SwitchTeamDispatch |
174
+ ThrowGrenadeDispatch;
@@ -0,0 +1,72 @@
1
+ import { GameModes, PlayTypes } from './constants/index.js';
2
+ import yolkws from './socket.js';
3
+
4
+ type MatchmakerParams = {
5
+ instance?: string;
6
+ protocol?: string;
7
+ proxy?: string;
8
+ sessionId?: string;
9
+ noLogin?: boolean;
10
+ };
11
+
12
+ type Region = {
13
+ id: string;
14
+ name: string;
15
+ };
16
+
17
+ type FindGameParams = {
18
+ region: string;
19
+ mode: keyof typeof GameModes;
20
+ };
21
+
22
+ type RegionListResponse = {
23
+ command: 'regionList';
24
+ regionList: Region[];
25
+ };
26
+
27
+ export interface RawGameData {
28
+ command: 'gameFound';
29
+ region: string;
30
+ subdomain: string;
31
+ id: string;
32
+ uuid: string;
33
+ private: boolean;
34
+ noobLobby: boolean;
35
+ }
36
+
37
+ type CommandSend = {
38
+ command: string;
39
+ [key: string]: any;
40
+ }
41
+
42
+ export declare class Matchmaker {
43
+ connected: boolean;
44
+ onceConnected: Function[];
45
+
46
+ proxy: string | null;
47
+ sessionId: string;
48
+ onListeners: Map<string, Function[]>;
49
+ onceListeners: Map<string, Function[]>;
50
+
51
+ regionList: Region[] | null;
52
+ ws: yolkws;
53
+
54
+ constructor(params?: MatchmakerParams);
55
+
56
+ send(msg: CommandSend): void;
57
+
58
+ getRegions(): Promise<Region[]>;
59
+ findPublicGame(params: FindGameParams): Promise<RawGameData>;
60
+
61
+ getRandomRegion(): string;
62
+ getRandomGameMode(): keyof typeof GameModes;
63
+
64
+ waitForConnect(): Promise<void>;
65
+ close(): void;
66
+
67
+ on(event: string, callback: Function): void;
68
+ once(event: string, callback: Function): void;
69
+ off(event: string, callback: Function): void;
70
+ }
71
+
72
+ export default Matchmaker;
@@ -0,0 +1,7 @@
1
+ import NodeWebSocket from 'ws';
2
+
3
+ declare class yolkws extends NodeWebSocket {
4
+ constructor(url: string, proxy: string);
5
+ }
6
+
7
+ export default yolkws;
@@ -0,0 +1,4 @@
1
+ import { MapJSON } from './constants/maps';
2
+
3
+ export declare function fetchMap(name: string, hash: string): Promise<MapJSON>;
4
+ export declare function initKotcZones(meshData: Array<{ x: number; y: number; z: number }>): Array<Array<{ x: number; y: number; z: number; zone: number }>>;
package/dist/util.js ADDED
@@ -0,0 +1,3 @@
1
+ /* eslint-disable */
2
+
3
+ import{IsBrowser as p}from"./constants/index.js";async function y(i,r){if(p)return await(await fetch(`https://esm.sh/gh/yolkorg/maps/maps/${i}.json?${r}`)).json();{const{existsSync:t,mkdirSync:a,readFileSync:l,writeFileSync:z}=await import("node:fs"),{join:o}=await import("node:path"),{homedir:s}=await import("node:os"),e=o(s(),".yolkbot"),n=o(e,"maps");t(e)||a(e),t(n)||a(n);const c=o(n,`${i}-${r}.json`);if(t(c))return JSON.parse(l(c,"utf-8"));const f=await(await fetch(`https://esm.sh/gh/yolkorg/maps/maps/${i}.json?${r}`)).json();return z(c,JSON.stringify(f,null,4),{flag:"w+"}),f}}function x(i){let r=0;const t={},a=[];for(const o of i)t[o.x]||(t[o.x]={}),t[o.x][o.y]||(t[o.x][o.y]={}),t[o.x][o.y][o.z]={zone:null};const l=[{x:-1,z:0},{x:1,z:0},{x:0,z:-1},{x:0,z:1}];function z(o,s,e){return t[o]&&t[o][s]&&t[o][s][e]?t[o][s][e]:null}for(const o of i)if(!t[o.x][o.y][o.z].zone){o.zone=++r,t[o.x][o.y][o.z].zone=o.zone;const s=[o];let e;do{e=0;for(const n of i)if(!t[n.x][n.y][n.z].zone)for(const c of l){const f=z(n.x+c.x,n.y,n.z+c.z);if(f&&f.zone==o.zone){e++,n.zone=o.zone,t[n.x][n.y][n.z].zone=o.zone,s.push(n);break}}}while(e>0);a.push(s)}return a}export{y as fetchMap,x as initKotcZones};
package/package.json ADDED
@@ -0,0 +1,102 @@
1
+ {
2
+ "name": "yolkbot",
3
+ "description": "create a shell shockers bot in under 10 lines.",
4
+ "version": "0.0.0-1",
5
+ "keywords": [
6
+ "shell shockers",
7
+ "shellshock.io",
8
+ "blue wizard",
9
+ "yolkbot"
10
+ ],
11
+ "homepage": "https://github.com/yolkorg/yolkbot#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/yolkorg/yolkbot/issues",
14
+ "email": "bugs@villainsrule.xyz"
15
+ },
16
+ "author": "1ust",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/yolkorg/yolkbot.git"
20
+ },
21
+ "type": "module",
22
+ "files": [
23
+ "browser/build/*.js",
24
+ "data/*.*",
25
+ "dist/**/*",
26
+ "package.json",
27
+ "README.md"
28
+ ],
29
+ "exports": {
30
+ "./package.json": "./package.json",
31
+ ".": "./dist/index.js",
32
+ "./api": {
33
+ "import": "./dist/api.js",
34
+ "types": "./dist/types/api.d.ts"
35
+ },
36
+ "./browser": "./browser/build/module.js",
37
+ "./browser/*": "./browser/build/*.js",
38
+ "./browser/*.js": "./browser/build/*.js",
39
+ "./comm": {
40
+ "import": "./dist/comm/index.js",
41
+ "types": "./dist/types/comm/index.d.ts"
42
+ },
43
+ "./matchmaker": {
44
+ "import": "./dist/matchmaker.js",
45
+ "types": "./dist/types/matchmaker.d.ts"
46
+ },
47
+ "./util": {
48
+ "import": "./dist/util.js",
49
+ "types": "./dist/types/util.d.ts"
50
+ },
51
+ "./pathing/*": "./dist/pathing/*.js",
52
+ "./pathing/*.js": "./dist/pathing/*.js",
53
+ "./bot": {
54
+ "import": "./dist/bot.js",
55
+ "types": "./dist/types/bot.d.ts"
56
+ },
57
+ "./bot/*": {
58
+ "import": "./dist/bot/*.js",
59
+ "types": "./dist/types/bot/*.d.ts"
60
+ },
61
+ "./bot/*.js": {
62
+ "import": "./dist/bot/*.js",
63
+ "types": "./dist/types/bot/*.d.ts"
64
+ },
65
+ "./constants": {
66
+ "import": "./dist/constants/index.js",
67
+ "types": "./dist/types/constants/index.d.ts"
68
+ },
69
+ "./constants/*": {
70
+ "import": "./dist/constants/*.js",
71
+ "types": "./dist/types/constants/*.d.ts"
72
+ },
73
+ "./constants/*.js": {
74
+ "import": "./dist/constants/*.js",
75
+ "types": "./dist/types/constants/*.d.ts"
76
+ },
77
+ "./dispatch": {
78
+ "import": "./dist/dispatches/index.js",
79
+ "types": "./dist/types/dispatches.d.ts"
80
+ },
81
+ "./dispatch/*": {
82
+ "import": "./dist/dispatches/*.js",
83
+ "types": "./dist/types/dispatches/*.d.ts"
84
+ },
85
+ "./dispatch/*.js": {
86
+ "import": "./dist/dispatches/*.js",
87
+ "types": "./dist/types/dispatches/*.d.ts"
88
+ }
89
+ },
90
+ "dependencies": {
91
+ "smallsocks": "^1.0.2",
92
+ "undici": "^7.8.0",
93
+ "ws": "^8.18.1"
94
+ },
95
+ "devDependencies": {
96
+ "@eslint/js": "^9.25.0",
97
+ "@stylistic/eslint-plugin": "^4.2.0",
98
+ "esbuild": "^0.25.2",
99
+ "eslint": "^9.25.0",
100
+ "globals": "^15.15.0"
101
+ }
102
+ }