Skip to content

Commit

Permalink
publish: output for 882702c
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardssh committed Dec 23, 2021
1 parent 0d97473 commit 723cdb6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion dist/rage-rpc.esm.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
2 changes: 1 addition & 1 deletion dist/rage-rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion dist/rage-rpc.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 723cdb6

Please sign in to comment.