rsocket-types
Advanced tools
Comparing version 0.0.2 to 0.0.4
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3379
82
+ Addedrsocket-flowable@0.0.4(transitive)
- Removedrsocket-flowable@0.0.2(transitive)
Updatedrsocket-flowable@^0.0.4