Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

transporttycoon

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transporttycoon - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

2

lib/index.d.ts

@@ -26,3 +26,3 @@ import { PlayerPositions } from './models/PlayerPositions';

};
constructor(apiToken?: string, trackCharges?: boolean);
constructor(apiToken?: string, trackCharges?: boolean, timeout?: number);
setupCharges(): Promise<any>;

@@ -29,0 +29,0 @@ getCharges(): number;

@@ -30,3 +30,3 @@ "use strict";

class TransportTycoon {
constructor(apiToken = '', trackCharges = false) {
constructor(apiToken = '', trackCharges = false, timeout = 5000) {
this.charges = {

@@ -44,3 +44,3 @@ checking: false,

baseURL: `http://${tycoonServers[0]}/status`,
timeout: 5000
timeout
});

@@ -47,0 +47,0 @@ if (apiToken)

{
"name": "transporttycoon",
"version": "1.1.4",
"version": "1.1.5",
"description": "Wrapper for the Transport Tycoon FiveM server API",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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