New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rbxts/flamework-gateways-mod

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rbxts/flamework-gateways-mod - npm Package Compare versions

Comparing version 0.0.6 to 0.1.0

4

out/create-client/client.d.ts
/// <reference types="@rbxts/types" />
/// <reference types="compiler-types" />
import { ConnectionClientImpl } from "../interfaces/connection";
import { ConnectionClient } from "../interfaces/connection";
import { FunctionParameters, UnwrapFunctionReturn } from "../interfaces/function.type";
import { Gateway, GatewayEvents, GatewayRequests, OmitPlayerParameter } from "../interfaces/gateway";
import { ClientRemote } from "./client-remote";
export declare class Client<S extends Gateway = {}, C extends Gateway = {}> implements ConnectionClientImpl<S, C> {
export declare class Client<S extends Gateway, C extends Gateway> implements ConnectionClient<S, C> {
/** @hidden */

@@ -9,0 +9,0 @@ readonly _remote: ClientRemote;

/// <reference types="@rbxts/types" />
/// <reference types="compiler-types" />
import { ConnectionServerImpl } from "../interfaces/connection";
import { ConnectionServer } from "../interfaces/connection";
import { FunctionParameters } from "../interfaces/function.type";
import { Gateway, GatewayEvents } from "../interfaces/gateway";
import { ServerRemote } from "./server-remote";
export declare class Server<S extends Gateway = {}, C extends Gateway = {}> implements ConnectionServerImpl<S, C> {
export declare class Server<S extends Gateway, C extends Gateway> implements ConnectionServer<S, C> {
/** @hidden */

@@ -9,0 +9,0 @@ readonly _remote: ServerRemote;

/// <reference types="@rbxts/types" />
/// <reference types="compiler-types" />
import { BindRemote } from "../bind-remote.interface";
import { FunctionParameters, FunctionReturn, UnwrapFunctionReturn } from "../function.type";
import { FunctionParameters, UnwrapFunctionReturn } from "../function.type";
import { Gateway, GatewayEvents, GatewayRequests, OmitPlayerParameter } from "../gateway";

@@ -9,12 +9,3 @@ /**

*/
export declare type ConnectionClient<S extends Gateway = {}, C extends Gateway = {}> = ConnectionClientImpl<S, C> & Sender<S> & Receiver<C>;
declare type Sender<S extends Gateway> = {
[K in keyof GatewayEvents<S>]: (...args: FunctionParameters<OmitPlayerParameter<GatewayEvents<S>[K]>>) => void;
} & {
[K in keyof GatewayRequests<S>]: (...args: FunctionParameters<OmitPlayerParameter<GatewayRequests<S>[K]>>) => FunctionReturn<GatewayRequests<S>[K]>;
};
declare type Receiver<C extends Gateway> = {
[K in keyof GatewayEvents<C>]: (listener: (...args: FunctionParameters<GatewayEvents<C>[K]>) => void) => RBXScriptConnection;
};
export interface ConnectionClientImpl<S extends Gateway, C extends Gateway> {
export interface ConnectionClient<S extends Gateway = {}, C extends Gateway = {}> {
/** @hidden */

@@ -55,2 +46,1 @@ readonly _remote: BindRemote;

}
export {};

@@ -9,10 +9,3 @@ /// <reference types="@rbxts/types" />

*/
export declare type ConnectionServer<S extends Gateway = {}, C extends Gateway = {}> = ConnectionServerImpl<S, C> & Sender<C> & Receiver<S>;
declare type Sender<C extends Gateway> = {
[K in keyof GatewayEvents<C>]: (players: Player | Player[], ...args: FunctionParameters<GatewayEvents<C>[K]>) => void;
};
declare type Receiver<S extends Gateway> = {
[K in keyof GatewayEvents<S>]: (listener: (...args: FunctionParameters<GatewayEvents<S>[K]>) => void) => RBXScriptConnection;
};
export interface ConnectionServerImpl<S extends Gateway, C extends Gateway> {
export interface ConnectionServer<S extends Gateway = {}, C extends Gateway = {}> {
/** @hidden */

@@ -52,2 +45,1 @@ readonly _remote: BindRemote;

}
export {};

@@ -1,2 +0,2 @@

export { ConnectionClient, ConnectionClientImpl } from "./connection-client.interface";
export { ConnectionServer, ConnectionServerImpl } from "./connection-server.interface";
export { ConnectionClient } from "./connection-client.interface";
export { ConnectionServer } from "./connection-server.interface";
{
"name": "@rbxts/flamework-gateways-mod",
"version": "0.0.6",
"version": "0.1.0",
"description": "A class-based Flamework networking mod",

@@ -5,0 +5,0 @@ "main": "out/init.lua",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc