@nativewrappers/fivem 0.0.105 → 0.0.106

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.
@@ -0,0 +1 @@
1
+ export declare function randomInt(min: number, max: number): number;
@@ -0,0 +1,9 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ function randomInt(min, max) {
4
+ return Math.random() * (max - min) + min;
5
+ }
6
+ __name(randomInt, "randomInt");
7
+ export {
8
+ randomInt
9
+ };
package/index.d.ts CHANGED
@@ -164,6 +164,7 @@ export * from "./common/utils/cleanPlayerName";
164
164
  export * from "./common/utils/enumValues";
165
165
  export * from "./common/utils/getStringFromUInt8Array";
166
166
  export * from "./common/utils/getUInt32FromUint8Array";
167
+ export * from "./common/utils/randomInt";
167
168
  export * from "./common/net/NetworkedMap";
168
169
  export * from "./common/decors/Events";
169
170
  export * from "./cfx/StateBagChangeHandler";
package/index.js CHANGED
@@ -164,6 +164,7 @@ export * from "./common/utils/cleanPlayerName";
164
164
  export * from "./common/utils/enumValues";
165
165
  export * from "./common/utils/getStringFromUInt8Array";
166
166
  export * from "./common/utils/getUInt32FromUint8Array";
167
+ export * from "./common/utils/randomInt";
167
168
  export * from "./common/net/NetworkedMap";
168
169
  export * from "./common/decors/Events";
169
170
  export * from "./cfx/StateBagChangeHandler";
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "license": "MIT",
10
10
  "type": "module",
11
- "version": "0.0.105",
11
+ "version": "0.0.106",
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "https://github.com/nativewrappers/nativewrappers.git"