Socket
Socket
Sign inDemoInstall

rc-js-common

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-js-common - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

12

bin/endpoints/ws-endpoint/websocket-endpoint-options.d.ts

@@ -6,9 +6,9 @@ import { IPath } from "../i-path";

import { IVersionControlled } from "../i-version-controlled";
export interface IWebsocketEndpointOptions<TMessageToServer extends object, TMessageFromServer extends object, TParameters extends IDictionary<TUrlParameterValue>> extends IPath, IVersionControlled {
export interface IWebsocketEndpointOptions<TMessageToServer extends object | null, TMessageFromServer extends object | null, TParameters extends IDictionary<TUrlParameterValue> | null> extends IPath, IVersionControlled {
readonly method: "WEBSOCKET";
readonly schema: TMessageToServer extends null ? null : TModelSanitizerSpecification<TMessageToServer>;
readonly urlParameterSchema: IDictionaryModelSpecification<TParameters> & TNonNullRequired<TParameters>;
readonly schema: TMessageToServer extends null ? null : TModelSanitizerSpecification<NonNullable<TMessageToServer>>;
readonly urlParameterSchema: TParameters extends null ? null : IDictionaryModelSpecification<NonNullable<TParameters>> & TNonNullRequired<TParameters>;
readonly _responseType: TMessageFromServer;
}
export declare class WebsocketEndpointOptions<TMessageToServer extends object, TMessageFromServer extends object, TParameters extends IDictionary<TUrlParameterValue>> implements IWebsocketEndpointOptions<TMessageToServer, TMessageFromServer, TParameters> {
export declare class WebsocketEndpointOptions<TMessageToServer extends object | null, TMessageFromServer extends object | null, TParameters extends IDictionary<TUrlParameterValue> | null> implements IWebsocketEndpointOptions<TMessageToServer, TMessageFromServer, TParameters> {
readonly parent: IPath;

@@ -18,6 +18,6 @@ readonly version: number;

readonly path: string;
readonly schema: TMessageToServer extends null ? null : TModelSanitizerSpecification<TMessageToServer>;
readonly schema: TMessageToServer extends null ? null : TModelSanitizerSpecification<NonNullable<TMessageToServer>>;
readonly _responseType: TMessageFromServer;
readonly urlParameterSchema: IDictionaryModelSpecification<TParameters> & TNonNullRequired<TParameters>;
readonly urlParameterSchema: TParameters extends null ? null : IDictionaryModelSpecification<NonNullable<TParameters>> & TNonNullRequired<TParameters>;
constructor(config: Omit<IWebsocketEndpointOptions<TMessageToServer, TMessageFromServer, TParameters>, "_responseBody" | "method" | "_responseType">);
}
{
"name": "rc-js-common",
"version": "0.9.0",
"version": "0.10.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

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

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