diff --git a/README.md b/README.md index bd09116..3025030 100644 --- a/README.md +++ b/README.md @@ -54,13 +54,13 @@ You can install via [github](https://github.com/LeonardSSH/rage-rpc) ```bash # With npm -npm i github:leonardssh/rage-rpc#v0.2.2 +npm i github:leonardssh/rage-rpc#v0.2.3 # With yarn -yarn add github:leonardssh/rage-rpc#v0.2.2 +yarn add github:leonardssh/rage-rpc#v0.2.3 # With pnpm -pnpm add github:leonardssh/rage-rpc#v0.2.2 +pnpm add github:leonardssh/rage-rpc#v0.2.3 ``` From here, you can simply require the package in any RAGE context: @@ -533,6 +533,10 @@ You can now use rage-rpc as a full on replacement for mp.events. API functions t Check the releases tab for an up-to-date changelog. +#### 0.2.3 + +- FIX: Player null type assignment + #### 0.2.2 - ADD: Terser to minify generated bundle @@ -545,7 +549,7 @@ Check the releases tab for an up-to-date changelog. - FIX: ES6, CommonJS and UMD compatibility - ADD: Debug Mode -- ADD: generics type-safe to call functions +- ADD: Generics type-safe to call functions #### 0.1.0 diff --git a/dist/rage-rpc.esm.mjs b/dist/rage-rpc.esm.mjs index f28cf85..36940c2 100644 --- a/dist/rage-rpc.esm.mjs +++ b/dist/rage-rpc.esm.mjs @@ -828,6 +828,6 @@ function triggerBrowser(browser, name, args) { void _callBrowser(browser, TRIGGER_EVENT, [name, args], { noRet: 1 }); } // eslint-disable-next-line @typescript-eslint/no-inferrable-types -const version = '0.2.2'; +const version = '0.2.3'; export { call, callBrowser, callBrowsers, callClient, callServer, off, on, register, setDebugMode, trigger, triggerBrowser, triggerBrowsers, triggerClient, triggerServer, unregister, version }; diff --git a/dist/rage-rpc.js b/dist/rage-rpc.js index bafdcda..fc7a133 100644 --- a/dist/rage-rpc.js +++ b/dist/rage-rpc.js @@ -832,7 +832,7 @@ function triggerBrowser(browser, name, args) { void _callBrowser(browser, TRIGGER_EVENT, [name, args], { noRet: 1 }); } // eslint-disable-next-line @typescript-eslint/no-inferrable-types -const version = '0.2.2'; +const version = '0.2.3'; exports.call = call; exports.callBrowser = callBrowser; diff --git a/dist/rage-rpc.umd.js b/dist/rage-rpc.umd.js index b6d9a06..96010c7 100644 --- a/dist/rage-rpc.umd.js +++ b/dist/rage-rpc.umd.js @@ -834,7 +834,7 @@ void _callBrowser(browser, TRIGGER_EVENT, [name, args], { noRet: 1 }); } // eslint-disable-next-line @typescript-eslint/no-inferrable-types - const version = '0.2.2'; + const version = '0.2.3'; exports.call = call; exports.callBrowser = callBrowser; diff --git a/package.json b/package.json index ae979af..590b0c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rage-rpc", - "version": "0.2.2", + "version": "0.2.3", "description": "A universal, asynchronous RPC implementation for RAGE Multiplayer", "scripts": { "lint": "eslint src --ext mjs,js,ts,tsx --fix",