cleanup + better descriptions

This commit is contained in:
Danya H 2025-07-08 23:52:42 +01:00
parent 563ef864b7
commit 8a361f67ec
3 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@entityseven/fivem-rpc",
"description": "FiveM RPC is an abstraction for handling events in GTA V FiveM servers in JS/TS",
"description": "FiveM RPC is an all-in-one package with asynchronous RPC implementation for FiveM servers in JS/TS",
"version": "0.1.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -64,9 +64,6 @@ class RPCFactory<T extends RPCEnvironment> extends Wrapper {
}
export { RPCFactory }
// export const rpcClient = new RPCFactory({ env: "client" }).get();
// export const rpcServer = new RPCFactory({ env: "server" }).get();
// export const rpcWebview = new RPCFactory({ env: "webview" }).get();
export * from './utils/types'
export * from './utils/native'
export type * from './core/server'

View File

@ -1,6 +1,6 @@
{
"name": "@entityseven/fivem-rpc-shared-types",
"description": "Shared types for @entityseven/fivem-rpc. Highly recommended to install together",
"description": "Shared (enhanced) types for @entityseven/fivem-rpc. Highly recommended to install together",
"version": "0.1.0",
"types": "types/types/index.d.ts",
"files": [