@gta5urban/types-server 2.2.4 → 2.2.5

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 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1953,7 +1953,7 @@ declare interface CommandsMp {
1953
1953
  getCommands: (player: PlayerMp) => CommandsMpInterface[];
1954
1954
  }
1955
1955
 
1956
- declare namespace rpc {
1956
+ declare namespace RpcMp {
1957
1957
  export function register(name: string, cb: ProcedureListener): () => void;
1958
1958
  export function unregister(name: string): void;
1959
1959
 
@@ -2019,7 +2019,7 @@ declare interface Mp {
2019
2019
 
2020
2020
  commands: CommandsMp;
2021
2021
 
2022
- rpc: typeof rpc;
2022
+ rpc: typeof RpcMp;
2023
2023
 
2024
2024
  }
2025
2025
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gta5urban/types-server",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "Types definitions for RAGE:MP server-side module",
5
5
  "main": "index.d.ts",
6
6
  "files": [