Skip to content

Commit

Permalink
chore(release): 0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Aug 31, 2023
1 parent 461c53b commit fb23c1d
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.11.1

- chore: add warning when API URL is not available client-side.

## 0.11.0

- refactor: rewrite NUI to use React
Expand Down
2 changes: 1 addition & 1 deletion integrations/alpr/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game "gta5"

author "Casper Iversen"
description "ALPR integration with support for Wraith ARS 2X"
version "0.11.0"
version "0.11.1"

server_scripts {"server/server.js"}
client_scripts {"client/client.js"}
2 changes: 1 addition & 1 deletion integrations/call911/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game "gta5"

author "Casper Iversen"
description "/call911 command that connects to SnailyCADv4"
version "0.11.0"
version "0.11.1"

server_scripts {"server/server.js"}
client_scripts {"client/client.js"}
2 changes: 1 addition & 1 deletion integrations/calltaxi/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game "gta5"

author "Casper Iversen"
description "/calltaxi command that connects to SnailyCADv4"
version "0.11.0"
version "0.11.1"

server_scripts {"server/server.js"}
client_scripts {"client/client.js"}
2 changes: 1 addition & 1 deletion integrations/calltow/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game "gta5"

author "Casper Iversen"
description "/calltow command that connects to SnailyCADv4"
version "0.11.0"
version "0.11.1"

server_scripts {"server/server.js"}
client_scripts {"client/client.js"}
2 changes: 1 addition & 1 deletion integrations/postals/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ game "gta5"

author "Casper Iversen"
description "This allow you to define custom postals"
version "0.11.0"
version "0.11.1"

11 changes: 11 additions & 0 deletions integrations/sync/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ import "./flows/traffic-stop";

const API_URL = GetConvar("snailycad_url", "null");

if (API_URL === "null") {
console.error(`
---------------------------------------
[${GetCurrentResourceName()}] Failed to find the "snailycad_url" convar in your server.cfg. Please make sure you are using \`setr\` and not \`set\`:
\`setr snailycad_url "<api-url-here>/v1" \`
---------------------------------------`);
}

emit(
"chat:addSuggestion",
`/${SnCommands.PanicButton}`,
Expand Down
2 changes: 1 addition & 1 deletion integrations/sync/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ game "gta5"

author "Casper Iversen"
description "Sync SnailyCAD with FiveM."
version "0.11.0"
version "0.11.1"

ui_page "nui/index.html"

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@snailycad/fivem-integrations",
"version": "0.11.0",
"version": "0.11.1",
"author": {
"name": "Casper Iversen",
"url": "https://casperiv.dev"
Expand Down

0 comments on commit fb23c1d

Please sign in to comment.