@fluidframework/container-loader 0.58.0-55561 → 0.58.1001

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/quorum.d.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
  import { EventForwarder } from "@fluidframework/common-utils";
6
- import { ICommittedProposal, IQuorum, IQuorumEvents, ISequencedClient } from "@fluidframework/protocol-definitions";
6
+ import { IQuorum, IQuorumEvents, ISequencedClient } from "@fluidframework/protocol-definitions";
7
7
  /**
8
8
  * Proxies Quorum events.
9
9
  */
@@ -11,7 +11,6 @@ export declare class QuorumProxy extends EventForwarder<IQuorumEvents> implement
11
11
  readonly propose: (key: string, value: any) => Promise<void>;
12
12
  readonly has: (key: string) => boolean;
13
13
  readonly get: (key: string) => any;
14
- readonly getApprovalData: (key: string) => ICommittedProposal | undefined;
15
14
  readonly getMembers: () => Map<string, ISequencedClient>;
16
15
  readonly getMember: (clientId: string) => ISequencedClient | undefined;
17
16
  constructor(quorum: IQuorum);
@@ -1 +1 @@
1
- {"version":3,"file":"quorum.d.ts","sourceRoot":"","sources":["../src/quorum.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,cAAc,EAAmB,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EACH,kBAAkB,EAClB,OAAO,EACP,aAAa,EACb,gBAAgB,EACnB,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,qBAAa,WAAY,SAAQ,cAAc,CAAC,aAAa,CAAE,YAAW,OAAO;IAC7E,SAAgB,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,SAAgB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9C,SAAgB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,GAAG,CAAC;IAC1C,SAAgB,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAC;IACjF,SAAgB,UAAU,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAChE,SAAgB,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,gBAAgB,GAAG,SAAS,CAAC;gBAElE,MAAM,EAAE,OAAO;CAa9B"}
1
+ {"version":3,"file":"quorum.d.ts","sourceRoot":"","sources":["../src/quorum.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,cAAc,EAAmB,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EACH,OAAO,EACP,aAAa,EACb,gBAAgB,EACnB,MAAM,sCAAsC,CAAC;AAE9C;;GAEG;AACH,qBAAa,WAAY,SAAQ,cAAc,CAAC,aAAa,CAAE,YAAW,OAAO;IAC7E,SAAgB,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpE,SAAgB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAC9C,SAAgB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,GAAG,CAAC;IAC1C,SAAgB,UAAU,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAChE,SAAgB,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,gBAAgB,GAAG,SAAS,CAAC;gBAElE,MAAM,EAAE,OAAO;CAY9B"}
package/lib/quorum.js CHANGED
@@ -14,7 +14,6 @@ export class QuorumProxy extends EventForwarder {
14
14
  this.propose = doIfNotDisposed(this, quorum.propose.bind(quorum));
15
15
  this.has = doIfNotDisposed(this, quorum.has.bind(quorum));
16
16
  this.get = doIfNotDisposed(this, quorum.get.bind(quorum));
17
- this.getApprovalData = doIfNotDisposed(this, quorum.getApprovalData.bind(quorum));
18
17
  this.getMembers = doIfNotDisposed(this, quorum.getMembers.bind(quorum));
19
18
  this.getMember = doIfNotDisposed(this, quorum.getMember.bind(quorum));
20
19
  }
package/lib/quorum.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"quorum.js","sourceRoot":"","sources":["../src/quorum.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAQ/E;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,cAA6B;IAQ1D,YAAY,MAAe;QACvB,KAAK,CAAC,MAAM,CAAC,CAAC;QAEd,6EAA6E;QAC7E,KAAK,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAE1B,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC1D,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC1D,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAClF,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACxE,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1E,CAAC;CACJ","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { EventForwarder, doIfNotDisposed } from \"@fluidframework/common-utils\";\nimport {\n ICommittedProposal,\n IQuorum,\n IQuorumEvents,\n ISequencedClient,\n} from \"@fluidframework/protocol-definitions\";\n\n/**\n * Proxies Quorum events.\n */\nexport class QuorumProxy extends EventForwarder<IQuorumEvents> implements IQuorum {\n public readonly propose: (key: string, value: any) => Promise<void>;\n public readonly has: (key: string) => boolean;\n public readonly get: (key: string) => any;\n public readonly getApprovalData: (key: string) => ICommittedProposal | undefined;\n public readonly getMembers: () => Map<string, ISequencedClient>;\n public readonly getMember: (clientId: string) => ISequencedClient | undefined;\n\n constructor(quorum: IQuorum) {\n super(quorum);\n\n // This is heavily used object, increase limit at which Node prints warnings.\n super.setMaxListeners(50);\n\n this.propose = doIfNotDisposed(this, quorum.propose.bind(quorum));\n this.has = doIfNotDisposed(this, quorum.has.bind(quorum));\n this.get = doIfNotDisposed(this, quorum.get.bind(quorum));\n this.getApprovalData = doIfNotDisposed(this, quorum.getApprovalData.bind(quorum));\n this.getMembers = doIfNotDisposed(this, quorum.getMembers.bind(quorum));\n this.getMember = doIfNotDisposed(this, quorum.getMember.bind(quorum));\n }\n}\n"]}
1
+ {"version":3,"file":"quorum.js","sourceRoot":"","sources":["../src/quorum.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAO/E;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,cAA6B;IAO1D,YAAY,MAAe;QACvB,KAAK,CAAC,MAAM,CAAC,CAAC;QAEd,6EAA6E;QAC7E,KAAK,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAE1B,IAAI,CAAC,OAAO,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC1D,IAAI,CAAC,GAAG,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC1D,IAAI,CAAC,UAAU,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACxE,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1E,CAAC;CACJ","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { EventForwarder, doIfNotDisposed } from \"@fluidframework/common-utils\";\nimport {\n IQuorum,\n IQuorumEvents,\n ISequencedClient,\n} from \"@fluidframework/protocol-definitions\";\n\n/**\n * Proxies Quorum events.\n */\nexport class QuorumProxy extends EventForwarder<IQuorumEvents> implements IQuorum {\n public readonly propose: (key: string, value: any) => Promise<void>;\n public readonly has: (key: string) => boolean;\n public readonly get: (key: string) => any;\n public readonly getMembers: () => Map<string, ISequencedClient>;\n public readonly getMember: (clientId: string) => ISequencedClient | undefined;\n\n constructor(quorum: IQuorum) {\n super(quorum);\n\n // This is heavily used object, increase limit at which Node prints warnings.\n super.setMaxListeners(50);\n\n this.propose = doIfNotDisposed(this, quorum.propose.bind(quorum));\n this.has = doIfNotDisposed(this, quorum.has.bind(quorum));\n this.get = doIfNotDisposed(this, quorum.get.bind(quorum));\n this.getMembers = doIfNotDisposed(this, quorum.getMembers.bind(quorum));\n this.getMember = doIfNotDisposed(this, quorum.getMember.bind(quorum));\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-loader",
3
- "version": "0.58.0-55561",
3
+ "version": "0.58.1001",
4
4
  "description": "Fluid container loader",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": "https://github.com/microsoft/FluidFramework",
@@ -58,14 +58,14 @@
58
58
  "dependencies": {
59
59
  "@fluidframework/common-definitions": "^0.20.1",
60
60
  "@fluidframework/common-utils": "^0.32.1",
61
- "@fluidframework/container-definitions": "^0.46.0-0",
62
- "@fluidframework/container-utils": "0.58.0-55561",
61
+ "@fluidframework/container-definitions": "^0.47.1000",
62
+ "@fluidframework/container-utils": "^0.58.1001",
63
63
  "@fluidframework/core-interfaces": "^0.42.0",
64
- "@fluidframework/driver-definitions": "^0.45.0-0",
65
- "@fluidframework/driver-utils": "0.58.0-55561",
66
- "@fluidframework/protocol-base": "^0.1034.0",
67
- "@fluidframework/protocol-definitions": "^0.1026.0",
68
- "@fluidframework/telemetry-utils": "0.58.0-55561",
64
+ "@fluidframework/driver-definitions": "^0.45.1000",
65
+ "@fluidframework/driver-utils": "^0.58.1001",
66
+ "@fluidframework/protocol-base": "^0.1035.1000",
67
+ "@fluidframework/protocol-definitions": "^0.1027.1000",
68
+ "@fluidframework/telemetry-utils": "^0.58.1001",
69
69
  "abort-controller": "^3.0.0",
70
70
  "double-ended-queue": "^2.1.0-0",
71
71
  "lodash": "^4.17.21",
@@ -73,9 +73,9 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@fluidframework/build-common": "^0.23.0",
76
- "@fluidframework/eslint-config-fluid": "^0.26.0-0",
77
- "@fluidframework/mocha-test-setup": "0.58.0-55561",
78
- "@fluidframework/test-loader-utils": "0.58.0-55561",
76
+ "@fluidframework/eslint-config-fluid": "^0.26.0",
77
+ "@fluidframework/mocha-test-setup": "^0.58.1001",
78
+ "@fluidframework/test-loader-utils": "^0.58.1001",
79
79
  "@microsoft/api-extractor": "^7.16.1",
80
80
  "@rushstack/eslint-config": "^2.5.1",
81
81
  "@types/double-ended-queue": "^2.1.0",
package/src/container.ts CHANGED
@@ -1322,8 +1322,7 @@ export class Container extends EventEmitterWithErrorHandling<IContainerEvents> i
1322
1322
  proposals,
1323
1323
  values,
1324
1324
  (key, value) => this.submitMessage(MessageType.Propose, { key, value }),
1325
- // Quorum proposal rejection removed, delete when protocol-base 0.1035 is integrated.
1326
- () => {});
1325
+ );
1327
1326
 
1328
1327
  const protocolLogger = ChildLogger.create(this.subLogger, "ProtocolHandler");
1329
1328
 
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-loader";
9
- export const pkgVersion = "0.58.0-55561";
9
+ export const pkgVersion = "0.58.1001";
package/src/quorum.ts CHANGED
@@ -4,7 +4,6 @@
4
4
  */
5
5
  import { EventForwarder, doIfNotDisposed } from "@fluidframework/common-utils";
6
6
  import {
7
- ICommittedProposal,
8
7
  IQuorum,
9
8
  IQuorumEvents,
10
9
  ISequencedClient,
@@ -17,7 +16,6 @@ export class QuorumProxy extends EventForwarder<IQuorumEvents> implements IQuoru
17
16
  public readonly propose: (key: string, value: any) => Promise<void>;
18
17
  public readonly has: (key: string) => boolean;
19
18
  public readonly get: (key: string) => any;
20
- public readonly getApprovalData: (key: string) => ICommittedProposal | undefined;
21
19
  public readonly getMembers: () => Map<string, ISequencedClient>;
22
20
  public readonly getMember: (clientId: string) => ISequencedClient | undefined;
23
21
 
@@ -30,7 +28,6 @@ export class QuorumProxy extends EventForwarder<IQuorumEvents> implements IQuoru
30
28
  this.propose = doIfNotDisposed(this, quorum.propose.bind(quorum));
31
29
  this.has = doIfNotDisposed(this, quorum.has.bind(quorum));
32
30
  this.get = doIfNotDisposed(this, quorum.get.bind(quorum));
33
- this.getApprovalData = doIfNotDisposed(this, quorum.getApprovalData.bind(quorum));
34
31
  this.getMembers = doIfNotDisposed(this, quorum.getMembers.bind(quorum));
35
32
  this.getMember = doIfNotDisposed(this, quorum.getMember.bind(quorum));
36
33
  }