@fluidframework/container-runtime 2.0.0-internal.6.3.3 → 2.0.0-internal.6.3.4

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.
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/container-runtime";
8
- export declare const pkgVersion = "2.0.0-internal.6.3.3";
8
+ export declare const pkgVersion = "2.0.0-internal.6.3.4";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/container-runtime";
8
- export const pkgVersion = "2.0.0-internal.6.3.3";
8
+ export const pkgVersion = "2.0.0-internal.6.3.4";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/container-runtime\";\nexport const pkgVersion = \"2.0.0-internal.6.3.3\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,mCAAmC,CAAC;AAC3D,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/container-runtime\";\nexport const pkgVersion = \"2.0.0-internal.6.3.4\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-runtime",
3
- "version": "2.0.0-internal.6.3.3",
3
+ "version": "2.0.0-internal.6.3.4",
4
4
  "description": "Fluid container runtime",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,18 +35,18 @@
35
35
  "temp-directory": "nyc/.nyc_output"
36
36
  },
37
37
  "dependencies": {
38
- "@fluid-internal/client-utils": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
39
- "@fluidframework/container-definitions": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
40
- "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
41
- "@fluidframework/core-interfaces": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
42
- "@fluidframework/core-utils": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
43
- "@fluidframework/datastore": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
44
- "@fluidframework/driver-definitions": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
45
- "@fluidframework/driver-utils": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
38
+ "@fluid-internal/client-utils": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
39
+ "@fluidframework/container-definitions": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
40
+ "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
41
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
42
+ "@fluidframework/core-utils": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
43
+ "@fluidframework/datastore": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
44
+ "@fluidframework/driver-definitions": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
45
+ "@fluidframework/driver-utils": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
46
46
  "@fluidframework/protocol-definitions": "^1.1.0",
47
- "@fluidframework/runtime-definitions": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
48
- "@fluidframework/runtime-utils": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
49
- "@fluidframework/telemetry-utils": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
47
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
48
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
49
+ "@fluidframework/telemetry-utils": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
50
50
  "double-ended-queue": "^2.1.0-0",
51
51
  "events": "^3.1.0",
52
52
  "lz4js": "^0.2.0",
@@ -54,15 +54,15 @@
54
54
  "uuid": "^9.0.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
57
+ "@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
58
58
  "@fluid-tools/benchmark": "^0.48.0",
59
59
  "@fluid-tools/build-cli": "^0.22.0",
60
60
  "@fluidframework/build-common": "^2.0.0",
61
61
  "@fluidframework/build-tools": "^0.22.0",
62
62
  "@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@2.0.0-internal.6.3.1",
63
63
  "@fluidframework/eslint-config-fluid": "^2.1.0",
64
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
65
- "@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.3.3 <2.0.0-internal.6.4.0",
64
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
65
+ "@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.3.4 <2.0.0-internal.6.4.0",
66
66
  "@microsoft/api-extractor": "^7.34.4",
67
67
  "@types/double-ended-queue": "^2.1.0",
68
68
  "@types/events": "^3.0.0",
@@ -1638,35 +1638,6 @@ export class ContainerRuntime
1638
1638
  }
1639
1639
  }
1640
1640
 
1641
- this.deltaManager.on("readonly", (readonly: boolean) => {
1642
- // we accumulate ops while being in read-only state.
1643
- // once user gets write permissions and we have active connection, flush all pending ops.
1644
- // Note that the inner (non-proxy) delta manager is needed here to get the readonly information.
1645
- assert(
1646
- readonly === this.innerDeltaManager.readOnlyInfo.readonly,
1647
- 0x124 /* "inconsistent readonly property/event state" */,
1648
- );
1649
-
1650
- // We need to be very careful with when we (re)send pending ops, to ensure that we only send ops
1651
- // when we either never send an op, or attempted to send it but we know for sure it was not
1652
- // sequenced by server and will never be sequenced (i.e. was lost)
1653
- // For loss of connection, we wait for our own "join" op and use it a a barrier to know all the
1654
- // ops that made it from previous connection, before switching clientId and raising "connected" event
1655
- // But with read-only permissions, if we transition between read-only and r/w states while on same
1656
- // connection, then we have no good signal to tell us when it's safe to send ops we accumulated while
1657
- // being in read-only state.
1658
- // For that reason, we support getting to read-only state only when disconnected. This ensures that we
1659
- // can rely on same safety mechanism and resend ops only when we establish new connection.
1660
- // This is applicable for read-only permissions (event is raised before connection is properly registered),
1661
- // but it's an extra requirement for Container.forceReadonly() API
1662
- assert(
1663
- !readonly || !this.connected,
1664
- 0x125 /* "Unsafe to transition to read-only state!" */,
1665
- );
1666
-
1667
- this.replayPendingStates();
1668
- });
1669
-
1670
1641
  // logging hardware telemetry
1671
1642
  logger.sendTelemetryEvent({
1672
1643
  eventName: "DeviceSpec",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-runtime";
9
- export const pkgVersion = "2.0.0-internal.6.3.3";
9
+ export const pkgVersion = "2.0.0-internal.6.3.4";