Socket
Socket
Sign inDemoInstall

@altv/types-client

Package Overview
Dependencies
Maintainers
1
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altv/types-client - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

41

index.d.ts

@@ -0,1 +1,4 @@

/**
* @module alt-client
*/
declare module "alt-client" {

@@ -373,2 +376,14 @@ export const enum Locale {

/** @alpha */
public dot(x: number, y: number, z: number): Vector3;
/** @alpha */
public dot(value: number): Vector3;
/** @alpha */
public dot(array: [number, number, number]): Vector3;
/** @alpha */
public dot(vector: IVector3): Vector3;
public mul(x: number, y: number, z: number): Vector3;

@@ -807,6 +822,28 @@

/** Vehicle gear */
public readonly gear: number;
/**
* Vehicle gear
*
* @remarks Setter is only available in dev branch.
*
* @param value The desired gear.
*
* @alpha
*/
public set gear(value: number);
/**
* Vehicle gear
*
* @returns A number indicating actual gear.
*/
public get gear(): number;
/**
* Vehicle max gear.
*
* @alpha
*/
public maxGear: number;
/**
* Vehicle handling, which affects how vehicle responds and reacts to the inputs of a driver.

@@ -813,0 +850,0 @@ */

2

package.json
{
"name": "@altv/types-client",
"version": "1.6.0",
"version": "1.6.1",
"description": "This package contains types definitions for alt:V client-side module.",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc