@cybermp-community/client-types 2.3.2 → 2.3.4

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/README.md CHANGED
@@ -9,8 +9,6 @@ This package includes built-in types for **[Codeware](https://github.com/psiberx
9
9
 
10
10
  ## 📦 Installation
11
11
 
12
- ### 1. Install Package
13
-
14
12
  Using NPM:
15
13
 
16
14
  ```bash
@@ -29,18 +27,6 @@ Using Bun:
29
27
  bun add -d @cybermp-community/client-types
30
28
  ```
31
29
 
32
- ### 2. Set types in tsconfig.json
33
-
34
- ```json
35
- {
36
- "compilerOptions": {
37
- "types": [
38
- "@cybermp-community/client-types"
39
- ]
40
- }
41
- }
42
- ```
43
-
44
30
  ## 📜 Disclaimer
45
31
 
46
32
  This repository is developed by [CyberMP Community Developers](https://gitlab.com/cybermp) and is not directly related to CyberMP (cyber.mp).
@@ -70,6 +70,11 @@ declare module '../classes.d.ts' {
70
70
  StartMainMenu(): void;
71
71
  }
72
72
 
73
+ // TODO: Research
74
+ // export interface gamePuppet {
75
+ // GetGender(): CyberEnums.EPlayerGender;
76
+ // }
77
+
73
78
  export interface ScriptedPuppet {
74
79
  GetGender(): CyberEnums.EPlayerGender;
75
80
  }
@@ -123,7 +123,7 @@ declare module '../mp.d.ts' {
123
123
  /**
124
124
  * Returns time in ms since game start.
125
125
  */
126
- getGameTimer(): number;
126
+ getTimer(): number;
127
127
 
128
128
  getLauncherSettingsJSON(): string;
129
129
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cybermp-community/client-types",
3
- "version": "2.3.2",
3
+ "version": "2.3.4",
4
4
  "description": "TypeScript type definitions for the CyberMP client-side environment.",
5
5
  "license": "MIT",
6
6
  "author": {