Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rsocket-types

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsocket-types - npm Package Compare versions

Comparing version 0.0.2 to 0.0.4

2

build/index.js

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

*
*
*
*/

@@ -12,0 +12,0 @@

'use strict';
Object.defineProperty(exports, '__esModule', {
value: true,
}); /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
*/
Object.defineProperty(exports, '__esModule', {value: true}); /**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*
*/
/**
* Represents a network connection with input/output used by a ReactiveSocket to
* send/receive data.
*/ const CONNECTION_STATUS = (exports.CONNECTION_STATUS = {
CLOSED: Object.freeze({kind: 'CLOSED'}),
CONNECTED: Object.freeze({kind: 'CONNECTED'}),
CONNECTING: Object.freeze({kind: 'CONNECTING'}),
NOT_CONNECTED: Object.freeze({kind: 'NOT_CONNECTED'}),
}); /**
* Describes the connection status of a ReactiveSocket/DuplexConnection.
* - NOT_CONNECTED: no connection established or pending.
* - CONNECTING: when `connect()` has been called but a connection is not yet
* established.
* - CONNECTED: when a connection is established.
* - CLOSED: when the connection has been explicitly closed via `close()`.
* - ERROR: when the connection has been closed for any other reason.
*/ /**
* Represents a network connection with input/output used by a ReactiveSocket to
* send/receive data.
*/ const CONNECTION_STATUS = exports.CONNECTION_STATUS = {
CLOSED: Object.freeze({ kind: 'CLOSED' }),
CONNECTED: Object.freeze({ kind: 'CONNECTED' }),
CONNECTING: Object.freeze({ kind: 'CONNECTING' }),
NOT_CONNECTED: Object.freeze({ kind: 'NOT_CONNECTED' }) }; /**
/**
* A type that can be written to a buffer.
*/
* Describes the connection status of a ReactiveSocket/DuplexConnection.
* - NOT_CONNECTED: no connection established or pending.
* - CONNECTING: when `connect()` has been called but a connection is not yet
* established.
* - CONNECTED: when a connection is established.
* - CLOSED: when the connection has been explicitly closed via `close()`.
* - ERROR: when the connection has been closed for any other reason.
*/ /**
* A contract providing different interaction models per the [ReactiveSocket protocol]
(https://github.com/ReactiveSocket/reactivesocket/blob/master/Protocol.md).
*/ /**
* A single unit of data exchanged between the peers of a `ReactiveSocket`.
*/
* A single unit of data exchanged between the peers of a `ReactiveSocket`.
*/
/**
* A type that can be written to a buffer.
*/
// prettier-ignore

@@ -43,0 +40,0 @@

{
"name": "rsocket-types",
"description": "RSocket types",
"version": "0.0.2",
"version": "0.0.4",
"repository": {

@@ -14,4 +14,4 @@ "type": "git",

"fbjs": "^0.8.12",
"rsocket-flowable": "^0.0.2"
"rsocket-flowable": "^0.0.4"
}
}
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