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.0.3 to 1.0.4

2

package.json
{
"name": "transporttycoon",
"version": "1.0.3",
"version": "1.0.4",
"description": "Wrapper for the Transport Tycoon FiveM server API",

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

@@ -15,10 +15,10 @@ # TT-API

```js
const { TransportTycoon } = require('tt-api');
const { TransportTycoon } = require('transporttycoon');
(async () => {
const TT = new TransportTycoon('API KEY', true);
await TT.setupCharges();
})();
(async () => {
const TT = new TransportTycoon('API KEY', true);
await TT.setupCharges();
})();
```
`setupCharges()` should only be called if the second parameter of the constructor is true (trackCharges)
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