@fluidframework/container-loader
Advanced tools
Comparing version 2.20.0 to 2.21.0
# @fluidframework/container-loader | ||
## 2.21.0 | ||
Dependency updates only. | ||
## 2.20.0 | ||
@@ -4,0 +8,0 @@ |
@@ -428,3 +428,3 @@ "use strict"; | ||
let connectRepeatCount = 0; | ||
const connectStartTime = client_utils_1.performance.now(); | ||
const connectStartTime = (0, client_utils_1.performanceNow)(); | ||
let lastError; | ||
@@ -448,3 +448,3 @@ const abortController = new AbortController(); | ||
attempts: connectRepeatCount, | ||
duration: (0, internal_4.formatTick)(client_utils_1.performance.now() - connectStartTime), | ||
duration: (0, internal_4.formatTick)((0, client_utils_1.performanceNow)() - connectStartTime), | ||
connectionEstablished: false, | ||
@@ -506,3 +506,3 @@ }); | ||
eventName: "DeltaConnectionFailureToConnect", | ||
duration: (0, internal_4.formatTick)(client_utils_1.performance.now() - connectStartTime), | ||
duration: (0, internal_4.formatTick)((0, client_utils_1.performanceNow)() - connectStartTime), | ||
}, origError); | ||
@@ -515,3 +515,3 @@ lastError = origError; | ||
} | ||
const waitStartTime = client_utils_1.performance.now(); | ||
const waitStartTime = (0, client_utils_1.performanceNow)(); | ||
const retryDelayFromError = (0, internal_3.getRetryDelayFromError)(origError); | ||
@@ -539,3 +539,3 @@ // If the error told us to wait or browser signals us that we are offline, then calculate the time we | ||
eventName: "WaitBetweenConnectionAttempts", | ||
duration: client_utils_1.performance.now() - waitStartTime, | ||
duration: (0, client_utils_1.performanceNow)() - waitStartTime, | ||
details: JSON.stringify({ | ||
@@ -553,3 +553,3 @@ retryDelayFromError, | ||
attempts: connectRepeatCount, | ||
duration: (0, internal_4.formatTick)(client_utils_1.performance.now() - connectStartTime), | ||
duration: (0, internal_4.formatTick)((0, client_utils_1.performanceNow)() - connectStartTime), | ||
}, lastError); | ||
@@ -563,3 +563,3 @@ } | ||
attempts: connectRepeatCount, | ||
duration: (0, internal_4.formatTick)(client_utils_1.performance.now() - connectStartTime), | ||
duration: (0, internal_4.formatTick)((0, client_utils_1.performanceNow)() - connectStartTime), | ||
connectionEstablished: true, | ||
@@ -566,0 +566,0 @@ }); |
@@ -5,2 +5,3 @@ /*! | ||
*/ | ||
import type { ILayerCompatDetails, IProvideLayerCompatDetails } from "@fluid-internal/client-utils"; | ||
import { AttachState, IAudience, ICriticalContainerError } from "@fluidframework/container-definitions"; | ||
@@ -16,3 +17,3 @@ import { IBatchMessage, IContainerContext, ILoader, ILoaderOptions, IDeltaManager } from "@fluidframework/container-definitions/internal"; | ||
*/ | ||
export declare class ContainerContext implements IContainerContext { | ||
export declare class ContainerContext implements IContainerContext, IProvideLayerCompatDetails { | ||
readonly options: ILoaderOptions; | ||
@@ -52,2 +53,5 @@ readonly scope: FluidObject; | ||
readonly snapshotWithContents?: ISnapshot | undefined; | ||
/** | ||
* @deprecated - This has been replaced by ILayerCompatDetails. | ||
*/ | ||
readonly supportedFeatures: ReadonlyMap<string, unknown>; | ||
@@ -64,2 +68,3 @@ get clientId(): string | undefined; | ||
get connected(): boolean; | ||
get ILayerCompatDetails(): ILayerCompatDetails; | ||
constructor(options: ILoaderOptions, scope: FluidObject, baseSnapshot: ISnapshotTree | undefined, _version: IVersion | undefined, deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>, storage: IDocumentStorageService, quorum: IQuorumClients, audience: IAudience, loader: ILoader, submitFn: (type: MessageType, contents: unknown, batch: boolean, appData: unknown) => number, submitSummaryFn: (summaryOp: ISummaryContent, referenceSequenceNumber?: number) => number, | ||
@@ -66,0 +71,0 @@ /** |
@@ -8,2 +8,3 @@ "use strict"; | ||
exports.ContainerContext = void 0; | ||
const layerCompatState_js_1 = require("./layerCompatState.js"); | ||
/** | ||
@@ -29,2 +30,5 @@ * {@inheritDoc @fluidframework/container-definitions#IContainerContext} | ||
} | ||
get ILayerCompatDetails() { | ||
return layerCompatState_js_1.LoaderCompatDetails; | ||
} | ||
constructor(options, scope, baseSnapshot, _version, deltaManager, storage, quorum, audience, loader, submitFn, submitSummaryFn, | ||
@@ -67,2 +71,5 @@ /** | ||
this.snapshotWithContents = snapshotWithContents; | ||
/** | ||
* @deprecated - This has been replaced by ILayerCompatDetails. | ||
*/ | ||
this.supportedFeatures = new Map([ | ||
@@ -69,0 +76,0 @@ /** |
@@ -73,3 +73,3 @@ "use strict"; | ||
let tick = ""; | ||
tick = `tick=${(0, internal_1.formatTick)(client_utils_1.performance.now())}`; | ||
tick = `tick=${(0, internal_1.formatTick)((0, client_utils_1.performanceNow)())}`; | ||
// Extract stack to put it last, but also to avoid escaping '\n' in it by JSON.stringify below | ||
@@ -76,0 +76,0 @@ const stack = newEvent.stack ?? ""; |
@@ -116,3 +116,3 @@ "use strict"; | ||
processDeltas() { | ||
const start = client_utils_1.performance.now(); | ||
const start = (0, client_utils_1.performanceNow)(); | ||
let count = 0; | ||
@@ -131,3 +131,3 @@ // For grouping to work we must process all local messages immediately and in the single turn. | ||
} | ||
const duration = client_utils_1.performance.now() - start; | ||
const duration = (0, client_utils_1.performanceNow)() - start; | ||
if (this.q.length === 0) { | ||
@@ -134,0 +134,0 @@ this.emit("idle", count, duration); |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/container-loader"; | ||
export declare const pkgVersion = "2.20.0"; | ||
export declare const pkgVersion = "2.21.0"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/container-loader"; | ||
exports.pkgVersion = "2.20.0"; | ||
exports.pkgVersion = "2.21.0"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -103,7 +103,2 @@ /*! | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key: string): ICommittedProposal | undefined; | ||
/** | ||
* Proposes a new value. Returns a promise that will either: | ||
@@ -152,7 +147,2 @@ * - Resolve when the proposal is accepted | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key: string): ICommittedProposal | undefined; | ||
/** | ||
* Adds a new client to the quorum | ||
@@ -159,0 +149,0 @@ */ |
@@ -141,9 +141,2 @@ "use strict"; | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key) { | ||
return this.values.get(key); | ||
} | ||
/** | ||
* Proposes a new value. Returns a promise that will either: | ||
@@ -362,9 +355,2 @@ * - Resolve when the proposal is accepted | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key) { | ||
return this.quorumProposals.getApprovalData(key); | ||
} | ||
/** | ||
* Adds a new client to the quorum | ||
@@ -371,0 +357,0 @@ */ |
@@ -5,3 +5,3 @@ /*! | ||
*/ | ||
import { TypedEventEmitter, performance } from "@fluid-internal/client-utils"; | ||
import { TypedEventEmitter, performanceNow } from "@fluid-internal/client-utils"; | ||
import { LogLevel, } from "@fluidframework/core-interfaces"; | ||
@@ -426,3 +426,3 @@ import { assert } from "@fluidframework/core-utils/internal"; | ||
let connectRepeatCount = 0; | ||
const connectStartTime = performance.now(); | ||
const connectStartTime = performanceNow(); | ||
let lastError; | ||
@@ -446,3 +446,3 @@ const abortController = new AbortController(); | ||
attempts: connectRepeatCount, | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
connectionEstablished: false, | ||
@@ -504,3 +504,3 @@ }); | ||
eventName: "DeltaConnectionFailureToConnect", | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
}, origError); | ||
@@ -513,3 +513,3 @@ lastError = origError; | ||
} | ||
const waitStartTime = performance.now(); | ||
const waitStartTime = performanceNow(); | ||
const retryDelayFromError = getRetryDelayFromError(origError); | ||
@@ -537,3 +537,3 @@ // If the error told us to wait or browser signals us that we are offline, then calculate the time we | ||
eventName: "WaitBetweenConnectionAttempts", | ||
duration: performance.now() - waitStartTime, | ||
duration: performanceNow() - waitStartTime, | ||
details: JSON.stringify({ | ||
@@ -551,3 +551,3 @@ retryDelayFromError, | ||
attempts: connectRepeatCount, | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
}, lastError); | ||
@@ -561,3 +561,3 @@ } | ||
attempts: connectRepeatCount, | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
connectionEstablished: true, | ||
@@ -564,0 +564,0 @@ }); |
@@ -5,2 +5,3 @@ /*! | ||
*/ | ||
import type { ILayerCompatDetails, IProvideLayerCompatDetails } from "@fluid-internal/client-utils"; | ||
import { AttachState, IAudience, ICriticalContainerError } from "@fluidframework/container-definitions"; | ||
@@ -16,3 +17,3 @@ import { IBatchMessage, IContainerContext, ILoader, ILoaderOptions, IDeltaManager } from "@fluidframework/container-definitions/internal"; | ||
*/ | ||
export declare class ContainerContext implements IContainerContext { | ||
export declare class ContainerContext implements IContainerContext, IProvideLayerCompatDetails { | ||
readonly options: ILoaderOptions; | ||
@@ -52,2 +53,5 @@ readonly scope: FluidObject; | ||
readonly snapshotWithContents?: ISnapshot | undefined; | ||
/** | ||
* @deprecated - This has been replaced by ILayerCompatDetails. | ||
*/ | ||
readonly supportedFeatures: ReadonlyMap<string, unknown>; | ||
@@ -64,2 +68,3 @@ get clientId(): string | undefined; | ||
get connected(): boolean; | ||
get ILayerCompatDetails(): ILayerCompatDetails; | ||
constructor(options: ILoaderOptions, scope: FluidObject, baseSnapshot: ISnapshotTree | undefined, _version: IVersion | undefined, deltaManager: IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>, storage: IDocumentStorageService, quorum: IQuorumClients, audience: IAudience, loader: ILoader, submitFn: (type: MessageType, contents: unknown, batch: boolean, appData: unknown) => number, submitSummaryFn: (summaryOp: ISummaryContent, referenceSequenceNumber?: number) => number, | ||
@@ -66,0 +71,0 @@ /** |
@@ -5,2 +5,3 @@ /*! | ||
*/ | ||
import { LoaderCompatDetails } from "./layerCompatState.js"; | ||
/** | ||
@@ -26,2 +27,5 @@ * {@inheritDoc @fluidframework/container-definitions#IContainerContext} | ||
} | ||
get ILayerCompatDetails() { | ||
return LoaderCompatDetails; | ||
} | ||
constructor(options, scope, baseSnapshot, _version, deltaManager, storage, quorum, audience, loader, submitFn, submitSummaryFn, | ||
@@ -64,2 +68,5 @@ /** | ||
this.snapshotWithContents = snapshotWithContents; | ||
/** | ||
* @deprecated - This has been replaced by ILayerCompatDetails. | ||
*/ | ||
this.supportedFeatures = new Map([ | ||
@@ -66,0 +73,0 @@ /** |
@@ -5,3 +5,3 @@ /*! | ||
*/ | ||
import { performance } from "@fluid-internal/client-utils"; | ||
import { performanceNow } from "@fluid-internal/client-utils"; | ||
import { createMultiSinkLogger, eventNamespaceSeparator, formatTick, } from "@fluidframework/telemetry-utils/internal"; | ||
@@ -68,3 +68,3 @@ // This import style is necessary to ensure the emitted JS code works in both CJS and ESM. | ||
let tick = ""; | ||
tick = `tick=${formatTick(performance.now())}`; | ||
tick = `tick=${formatTick(performanceNow())}`; | ||
// Extract stack to put it last, but also to avoid escaping '\n' in it by JSON.stringify below | ||
@@ -71,0 +71,0 @@ const stack = newEvent.stack ?? ""; |
@@ -5,3 +5,3 @@ /*! | ||
*/ | ||
import { TypedEventEmitter, performance } from "@fluid-internal/client-utils"; | ||
import { TypedEventEmitter, performanceNow } from "@fluid-internal/client-utils"; | ||
import { assert } from "@fluidframework/core-utils/internal"; | ||
@@ -111,3 +111,3 @@ import Deque from "double-ended-queue"; | ||
processDeltas() { | ||
const start = performance.now(); | ||
const start = performanceNow(); | ||
let count = 0; | ||
@@ -126,3 +126,3 @@ // For grouping to work we must process all local messages immediately and in the single turn. | ||
} | ||
const duration = performance.now() - start; | ||
const duration = performanceNow() - start; | ||
if (this.q.length === 0) { | ||
@@ -129,0 +129,0 @@ this.emit("idle", count, duration); |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/container-loader"; | ||
export declare const pkgVersion = "2.20.0"; | ||
export declare const pkgVersion = "2.21.0"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/container-loader"; | ||
export const pkgVersion = "2.20.0"; | ||
export const pkgVersion = "2.21.0"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -103,7 +103,2 @@ /*! | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key: string): ICommittedProposal | undefined; | ||
/** | ||
* Proposes a new value. Returns a promise that will either: | ||
@@ -152,7 +147,2 @@ * - Resolve when the proposal is accepted | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key: string): ICommittedProposal | undefined; | ||
/** | ||
* Adds a new client to the quorum | ||
@@ -159,0 +149,0 @@ */ |
@@ -134,9 +134,2 @@ /*! | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key) { | ||
return this.values.get(key); | ||
} | ||
/** | ||
* Proposes a new value. Returns a promise that will either: | ||
@@ -354,9 +347,2 @@ * - Resolve when the proposal is accepted | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
getApprovalData(key) { | ||
return this.quorumProposals.getApprovalData(key); | ||
} | ||
/** | ||
* Adds a new client to the quorum | ||
@@ -363,0 +349,0 @@ */ |
{ | ||
"name": "@fluidframework/container-loader", | ||
"version": "2.20.0", | ||
"version": "2.21.0", | ||
"description": "Fluid container loader", | ||
@@ -122,9 +122,9 @@ "homepage": "https://fluidframework.com", | ||
"dependencies": { | ||
"@fluid-internal/client-utils": "~2.20.0", | ||
"@fluidframework/container-definitions": "~2.20.0", | ||
"@fluidframework/core-interfaces": "~2.20.0", | ||
"@fluidframework/core-utils": "~2.20.0", | ||
"@fluidframework/driver-definitions": "~2.20.0", | ||
"@fluidframework/driver-utils": "~2.20.0", | ||
"@fluidframework/telemetry-utils": "~2.20.0", | ||
"@fluid-internal/client-utils": "~2.21.0", | ||
"@fluidframework/container-definitions": "~2.21.0", | ||
"@fluidframework/core-interfaces": "~2.21.0", | ||
"@fluidframework/core-utils": "~2.21.0", | ||
"@fluidframework/driver-definitions": "~2.21.0", | ||
"@fluidframework/driver-utils": "~2.21.0", | ||
"@fluidframework/telemetry-utils": "~2.21.0", | ||
"@types/events_pkg": "npm:@types/events@^3.0.0", | ||
@@ -140,10 +140,10 @@ "@ungap/structured-clone": "^1.2.0", | ||
"@biomejs/biome": "~1.9.3", | ||
"@fluid-internal/client-utils": "~2.20.0", | ||
"@fluid-internal/mocha-test-setup": "~2.20.0", | ||
"@fluid-private/test-loader-utils": "~2.20.0", | ||
"@fluid-internal/client-utils": "~2.21.0", | ||
"@fluid-internal/mocha-test-setup": "~2.21.0", | ||
"@fluid-private/test-loader-utils": "~2.21.0", | ||
"@fluid-tools/build-cli": "^0.51.0", | ||
"@fluidframework/build-common": "^2.0.3", | ||
"@fluidframework/build-tools": "^0.51.0", | ||
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.13.0", | ||
"@fluidframework/eslint-config-fluid": "^5.6.0", | ||
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.20.0", | ||
"@fluidframework/eslint-config-fluid": "^5.7.3", | ||
"@microsoft/api-extractor": "7.47.8", | ||
@@ -204,3 +204,3 @@ "@types/debug": "^4.1.5", | ||
"ci:build:docs": "api-extractor run", | ||
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc", | ||
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc", | ||
"eslint": "eslint --format stylish src", | ||
@@ -207,0 +207,0 @@ "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout", |
@@ -6,3 +6,3 @@ /*! | ||
import { TypedEventEmitter, performance } from "@fluid-internal/client-utils"; | ||
import { TypedEventEmitter, performanceNow } from "@fluid-internal/client-utils"; | ||
import { ICriticalContainerError } from "@fluidframework/container-definitions"; | ||
@@ -587,3 +587,3 @@ import { IDeltaQueue, ReadOnlyInfo } from "@fluidframework/container-definitions/internal"; | ||
let connectRepeatCount = 0; | ||
const connectStartTime = performance.now(); | ||
const connectStartTime = performanceNow(); | ||
let lastError: unknown; | ||
@@ -609,3 +609,3 @@ | ||
attempts: connectRepeatCount, | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
connectionEstablished: false, | ||
@@ -681,3 +681,3 @@ }); | ||
eventName: "DeltaConnectionFailureToConnect", | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
}, | ||
@@ -695,3 +695,3 @@ origError, | ||
const waitStartTime = performance.now(); | ||
const waitStartTime = performanceNow(); | ||
const retryDelayFromError = getRetryDelayFromError(origError); | ||
@@ -722,3 +722,3 @@ // If the error told us to wait or browser signals us that we are offline, then calculate the time we | ||
eventName: "WaitBetweenConnectionAttempts", | ||
duration: performance.now() - waitStartTime, | ||
duration: performanceNow() - waitStartTime, | ||
details: JSON.stringify({ | ||
@@ -739,3 +739,3 @@ retryDelayFromError, | ||
attempts: connectRepeatCount, | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
}, | ||
@@ -752,3 +752,3 @@ lastError, | ||
attempts: connectRepeatCount, | ||
duration: formatTick(performance.now() - connectStartTime), | ||
duration: formatTick(performanceNow() - connectStartTime), | ||
connectionEstablished: true, | ||
@@ -755,0 +755,0 @@ }); |
@@ -6,2 +6,6 @@ /*! | ||
import type { | ||
ILayerCompatDetails, | ||
IProvideLayerCompatDetails, | ||
} from "@fluid-internal/client-utils"; | ||
import { | ||
@@ -34,6 +38,11 @@ AttachState, | ||
import { LoaderCompatDetails } from "./layerCompatState.js"; | ||
/** | ||
* {@inheritDoc @fluidframework/container-definitions#IContainerContext} | ||
*/ | ||
export class ContainerContext implements IContainerContext { | ||
export class ContainerContext implements IContainerContext, IProvideLayerCompatDetails { | ||
/** | ||
* @deprecated - This has been replaced by ILayerCompatDetails. | ||
*/ | ||
public readonly supportedFeatures: ReadonlyMap<string, unknown> = new Map([ | ||
@@ -67,2 +76,6 @@ /** | ||
public get ILayerCompatDetails(): ILayerCompatDetails { | ||
return LoaderCompatDetails; | ||
} | ||
constructor( | ||
@@ -69,0 +82,0 @@ public readonly options: ILoaderOptions, |
@@ -6,3 +6,3 @@ /*! | ||
import { performance } from "@fluid-internal/client-utils"; | ||
import { performanceNow } from "@fluid-internal/client-utils"; | ||
import { | ||
@@ -92,3 +92,3 @@ ITelemetryBaseEvent, | ||
let tick = ""; | ||
tick = `tick=${formatTick(performance.now())}`; | ||
tick = `tick=${formatTick(performanceNow())}`; | ||
@@ -95,0 +95,0 @@ // Extract stack to put it last, but also to avoid escaping '\n' in it by JSON.stringify below |
@@ -6,3 +6,3 @@ /*! | ||
import { TypedEventEmitter, performance } from "@fluid-internal/client-utils"; | ||
import { TypedEventEmitter, performanceNow } from "@fluid-internal/client-utils"; | ||
import { | ||
@@ -157,3 +157,3 @@ IDeltaQueue, | ||
} { | ||
const start = performance.now(); | ||
const start = performanceNow(); | ||
let count = 0; | ||
@@ -174,3 +174,3 @@ | ||
const duration = performance.now() - start; | ||
const duration = performanceNow() - start; | ||
if (this.q.length === 0) { | ||
@@ -177,0 +177,0 @@ this.emit("idle", count, duration); |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/container-loader"; | ||
export const pkgVersion = "2.20.0"; | ||
export const pkgVersion = "2.21.0"; |
@@ -225,10 +225,2 @@ /*! | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
public getApprovalData(key: string): ICommittedProposal | undefined { | ||
return this.values.get(key); | ||
} | ||
/** | ||
* Proposes a new value. Returns a promise that will either: | ||
@@ -510,10 +502,2 @@ * - Resolve when the proposal is accepted | ||
/** | ||
* Returns additional data about the approved consensus value | ||
* @deprecated Removed in recent protocol-definitions. Use get() instead. | ||
*/ | ||
public getApprovalData(key: string): ICommittedProposal | undefined { | ||
return this.quorumProposals.getApprovalData(key); | ||
} | ||
/** | ||
* Adds a new client to the quorum | ||
@@ -520,0 +504,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 too big to display
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
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 too big to display
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
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 too big to display
2737734
339
29090
+ Added@fluid-internal/client-utils@2.21.0(transitive)
+ Added@fluidframework/container-definitions@2.21.0(transitive)
+ Added@fluidframework/core-interfaces@2.21.0(transitive)
+ Added@fluidframework/core-utils@2.21.0(transitive)
+ Added@fluidframework/driver-definitions@2.21.0(transitive)
+ Added@fluidframework/driver-utils@2.21.0(transitive)
+ Added@fluidframework/telemetry-utils@2.21.0(transitive)
- Removed@fluid-internal/client-utils@2.20.0(transitive)
- Removed@fluidframework/container-definitions@2.20.0(transitive)
- Removed@fluidframework/core-interfaces@2.20.0(transitive)
- Removed@fluidframework/core-utils@2.20.0(transitive)
- Removed@fluidframework/driver-definitions@2.20.0(transitive)
- Removed@fluidframework/driver-utils@2.20.0(transitive)
- Removed@fluidframework/telemetry-utils@2.20.0(transitive)