@fluidframework/protocol-base
Advanced tools
Comparing version 2.0.0-181438 to 2.0.0-190573
@@ -7,3 +7,2 @@ /*! | ||
import { IQuorumSnapshot, Quorum } from "./quorum"; | ||
export declare const OnlyValidTermValue: 1; | ||
export interface IScribeProtocolState { | ||
@@ -10,0 +9,0 @@ sequenceNumber: number; |
@@ -7,7 +7,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ProtocolOpHandler = exports.OnlyValidTermValue = void 0; | ||
exports.ProtocolOpHandler = void 0; | ||
const protocol_definitions_1 = require("@fluidframework/protocol-definitions"); | ||
const quorum_1 = require("./quorum"); | ||
// "term" was an experimental feature that is being removed. The only safe value to use is 1. | ||
exports.OnlyValidTermValue = 1; | ||
/** | ||
@@ -29,3 +27,2 @@ * Handles protocol specific ops. | ||
sequenceNumber: this.sequenceNumber, | ||
term: exports.OnlyValidTermValue, | ||
}; | ||
@@ -32,0 +29,0 @@ } |
@@ -7,3 +7,2 @@ /*! | ||
import { IQuorumSnapshot, Quorum } from "./quorum"; | ||
export declare const OnlyValidTermValue: 1; | ||
export interface IScribeProtocolState { | ||
@@ -10,0 +9,0 @@ sequenceNumber: number; |
@@ -7,4 +7,2 @@ /*! | ||
import { Quorum } from "./quorum"; | ||
// "term" was an experimental feature that is being removed. The only safe value to use is 1. | ||
export const OnlyValidTermValue = 1; | ||
/** | ||
@@ -26,3 +24,2 @@ * Handles protocol specific ops. | ||
sequenceNumber: this.sequenceNumber, | ||
term: OnlyValidTermValue, | ||
}; | ||
@@ -29,0 +26,0 @@ } |
{ | ||
"name": "@fluidframework/protocol-base", | ||
"version": "2.0.0-181438", | ||
"version": "2.0.0-190573", | ||
"description": "Fluid protocol base", | ||
@@ -25,3 +25,3 @@ "homepage": "https://fluidframework.com", | ||
"ci:build:docs": "api-extractor run", | ||
"clean": "rimraf --glob \"dist\" \"lib\" \"*.tsbuildinfo\" \"*.build.log\"", | ||
"clean": "rimraf --glob 'dist' 'lib' '*.tsbuildinfo' '*.build.log' '_api-extractor-temp' 'nyc'", | ||
"eslint": "eslint --format stylish src", | ||
@@ -34,4 +34,4 @@ "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", | ||
"prettier:fix": "prettier --write . --ignore-path ../../.prettierignore", | ||
"test": "mocha --recursive dist/test/*.spec.js --unhandled-rejections=strict", | ||
"test:coverage": "nyc npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", | ||
"test": "mocha --recursive dist/test/*.spec.js", | ||
"test:coverage": "c8 npm test -- --reporter xunit --reporter-option output=nyc/junit-report.xml", | ||
"tsc": "tsc", | ||
@@ -42,3 +42,3 @@ "tsc:watch": "tsc --watch", | ||
}, | ||
"nyc": { | ||
"c8": { | ||
"all": true, | ||
@@ -65,4 +65,4 @@ "cache-dir": "nyc/.cache", | ||
"@fluidframework/common-utils": "^1.1.1", | ||
"@fluidframework/gitresources": "2.0.0-181438", | ||
"@fluidframework/protocol-definitions": "^1.1.0", | ||
"@fluidframework/gitresources": "2.0.0-190573", | ||
"@fluidframework/protocol-definitions": "^2.1.0", | ||
"events": "^3.1.0" | ||
@@ -79,8 +79,8 @@ }, | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^16.18.16", | ||
"concurrently": "^7.6.0", | ||
"@types/node": "^18.17.1", | ||
"c8": "^7.7.1", | ||
"concurrently": "^8.2.1", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "~8.27.0", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "~2.6.2", | ||
@@ -138,2 +138,9 @@ "rimraf": "^4.4.0", | ||
"backCompat": false | ||
}, | ||
"InterfaceDeclaration_IProtocolHandler": { | ||
"backCompat": false | ||
}, | ||
"FunctionDeclaration_buildGitTreeHierarchy": { | ||
"forwardCompat": false, | ||
"backCompat": false | ||
} | ||
@@ -140,0 +147,0 @@ } |
@@ -21,5 +21,2 @@ /*! | ||
// "term" was an experimental feature that is being removed. The only safe value to use is 1. | ||
export const OnlyValidTermValue = 1 as const; | ||
export interface IScribeProtocolState { | ||
@@ -69,3 +66,2 @@ sequenceNumber: number; | ||
sequenceNumber: this.sequenceNumber, | ||
term: OnlyValidTermValue, | ||
}; | ||
@@ -72,0 +68,0 @@ } |
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
199761
2476
+ Added@fluidframework/gitresources@2.0.0-190573(transitive)
+ Added@fluidframework/protocol-definitions@2.1.0(transitive)
- Removed@fluidframework/gitresources@2.0.0-181438(transitive)
- Removed@fluidframework/protocol-definitions@1.2.0(transitive)