@fluidframework/protocol-base
Advanced tools
Comparing version 0.1022.0-19141 to 0.1022.0-19693
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/protocol-base"; | ||
export declare const pkgVersion = "0.1022.0-19141"; | ||
export declare const pkgVersion = "0.1022.0-19693"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/protocol-base"; | ||
exports.pkgVersion = "0.1022.0-19141"; | ||
exports.pkgVersion = "0.1022.0-19693"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -6,4 +6,5 @@ /*! | ||
/** | ||
* Check if the string is a system message type, which includes | ||
* MessageType.RemoteHelp, MessageType.ClientJoin, MessageType.ClientLeave | ||
* Check if the string is a service message type, which includes | ||
* MessageType.ClientJoin, MessageType.ClientLeave, MessageType.Control, | ||
* MessageType.NoClient, MessageType.SummaryAck, and MessageType.SummaryNack | ||
* | ||
@@ -13,3 +14,3 @@ * @param type - the type to check | ||
*/ | ||
export declare const isSystemType: (type: string) => boolean; | ||
export declare const isServiceMessageType: (type: string) => boolean; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -7,7 +7,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isSystemType = void 0; | ||
exports.isServiceMessageType = void 0; | ||
const protocol_definitions_1 = require("@fluidframework/protocol-definitions"); | ||
/** | ||
* Check if the string is a system message type, which includes | ||
* MessageType.RemoteHelp, MessageType.ClientJoin, MessageType.ClientLeave | ||
* Check if the string is a service message type, which includes | ||
* MessageType.ClientJoin, MessageType.ClientLeave, MessageType.Control, | ||
* MessageType.NoClient, MessageType.SummaryAck, and MessageType.SummaryNack | ||
* | ||
@@ -17,7 +18,9 @@ * @param type - the type to check | ||
*/ | ||
const isSystemType = (type) => (type === protocol_definitions_1.MessageType.RemoteHelp || | ||
type === protocol_definitions_1.MessageType.ClientJoin || | ||
const isServiceMessageType = (type) => (type === protocol_definitions_1.MessageType.ClientJoin || | ||
type === protocol_definitions_1.MessageType.ClientLeave || | ||
type === protocol_definitions_1.MessageType.Control); | ||
exports.isSystemType = isSystemType; | ||
type === protocol_definitions_1.MessageType.Control || | ||
type === protocol_definitions_1.MessageType.NoClient || | ||
type === protocol_definitions_1.MessageType.SummaryAck || | ||
type === protocol_definitions_1.MessageType.SummaryNack); | ||
exports.isServiceMessageType = isServiceMessageType; | ||
//# sourceMappingURL=utils.js.map |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/protocol-base"; | ||
export declare const pkgVersion = "0.1022.0-19141"; | ||
export declare const pkgVersion = "0.1022.0-19693"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/protocol-base"; | ||
export const pkgVersion = "0.1022.0-19141"; | ||
export const pkgVersion = "0.1022.0-19693"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -6,4 +6,5 @@ /*! | ||
/** | ||
* Check if the string is a system message type, which includes | ||
* MessageType.RemoteHelp, MessageType.ClientJoin, MessageType.ClientLeave | ||
* Check if the string is a service message type, which includes | ||
* MessageType.ClientJoin, MessageType.ClientLeave, MessageType.Control, | ||
* MessageType.NoClient, MessageType.SummaryAck, and MessageType.SummaryNack | ||
* | ||
@@ -13,3 +14,3 @@ * @param type - the type to check | ||
*/ | ||
export declare const isSystemType: (type: string) => boolean; | ||
export declare const isServiceMessageType: (type: string) => boolean; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -7,4 +7,5 @@ /*! | ||
/** | ||
* Check if the string is a system message type, which includes | ||
* MessageType.RemoteHelp, MessageType.ClientJoin, MessageType.ClientLeave | ||
* Check if the string is a service message type, which includes | ||
* MessageType.ClientJoin, MessageType.ClientLeave, MessageType.Control, | ||
* MessageType.NoClient, MessageType.SummaryAck, and MessageType.SummaryNack | ||
* | ||
@@ -14,6 +15,8 @@ * @param type - the type to check | ||
*/ | ||
export const isSystemType = (type) => (type === MessageType.RemoteHelp || | ||
type === MessageType.ClientJoin || | ||
export const isServiceMessageType = (type) => (type === MessageType.ClientJoin || | ||
type === MessageType.ClientLeave || | ||
type === MessageType.Control); | ||
type === MessageType.Control || | ||
type === MessageType.NoClient || | ||
type === MessageType.SummaryAck || | ||
type === MessageType.SummaryNack); | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@fluidframework/protocol-base", | ||
"version": "0.1022.0-19141", | ||
"version": "0.1022.0-19693", | ||
"description": "Fluid protocol base", | ||
@@ -57,4 +57,4 @@ "homepage": "https://fluidframework.com", | ||
"@fluidframework/common-utils": "^0.28.0-0", | ||
"@fluidframework/gitresources": "0.1022.0-19141", | ||
"@fluidframework/protocol-definitions": "0.1022.0-19141", | ||
"@fluidframework/gitresources": "0.1022.0-19693", | ||
"@fluidframework/protocol-definitions": "0.1022.0-19693", | ||
"assert": "^2.0.0", | ||
@@ -61,0 +61,0 @@ "lodash": "^4.17.21" |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/protocol-base"; | ||
export const pkgVersion = "0.1022.0-19141"; | ||
export const pkgVersion = "0.1022.0-19693"; |
@@ -9,4 +9,5 @@ /*! | ||
/** | ||
* Check if the string is a system message type, which includes | ||
* MessageType.RemoteHelp, MessageType.ClientJoin, MessageType.ClientLeave | ||
* Check if the string is a service message type, which includes | ||
* MessageType.ClientJoin, MessageType.ClientLeave, MessageType.Control, | ||
* MessageType.NoClient, MessageType.SummaryAck, and MessageType.SummaryNack | ||
* | ||
@@ -16,6 +17,8 @@ * @param type - the type to check | ||
*/ | ||
export const isSystemType = (type: string) => ( | ||
type === MessageType.RemoteHelp || | ||
export const isServiceMessageType = (type: string) => ( | ||
type === MessageType.ClientJoin || | ||
type === MessageType.ClientLeave || | ||
type === MessageType.Control); | ||
type === MessageType.Control || | ||
type === MessageType.NoClient || | ||
type === MessageType.SummaryAck || | ||
type === MessageType.SummaryNack); |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
217441
2657
+ Added@fluidframework/gitresources@0.1022.0-19693(transitive)
+ Added@fluidframework/protocol-definitions@0.1022.0-19693(transitive)
- Removed@fluidframework/gitresources@0.1022.0-19141(transitive)
- Removed@fluidframework/protocol-definitions@0.1022.0-19141(transitive)