@citizenfx/server 2.0.7510-1 → 2.0.7512-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 (2) hide show
  1. package/index.d.ts +2 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -83,10 +83,12 @@ type CitizenImmediate = Omit<CitizenTimer, 'refresh'>;
83
83
  declare var Citizen: CitizenInterface;
84
84
 
85
85
  declare function addRawEventListener(eventName: string, callback: Function): void
86
+ declare function setMaxRawEventListeners(max: number): void
86
87
 
87
88
  declare function addEventListener(eventName: string, callback: Function, netSafe?: boolean): void
88
89
  declare function on(eventName: string, callback: Function): void
89
90
  declare function AddEventHandler(eventName: string, callback: Function): void
91
+ declare function setMaxEventListeners(max: number): void
90
92
 
91
93
  declare function addNetEventListener(eventName: string, callback: Function): void
92
94
  declare function onNet(eventName: string, callback: Function): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/server",
3
- "version": "2.0.7510-1",
3
+ "version": "2.0.7512-1",
4
4
  "description": "Typings for the CitizenFX server JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {