transporttycoon
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22659