@fluidframework/container-runtime 2.0.0-internal.6.1.1 → 2.0.0-internal.6.1.3

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.1.1";
8
+ export declare const pkgVersion = "2.0.0-internal.6.1.3";
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.1.1";
8
+ export const pkgVersion = "2.0.0-internal.6.1.3";
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.1.1\";\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.1.3\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-runtime",
3
- "version": "2.0.0-internal.6.1.1",
3
+ "version": "2.0.0-internal.6.1.3",
4
4
  "description": "Fluid container runtime",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -37,18 +37,18 @@
37
37
  "dependencies": {
38
38
  "@fluidframework/common-definitions": "^0.20.1",
39
39
  "@fluidframework/common-utils": "^1.1.1",
40
- "@fluidframework/container-definitions": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
41
- "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
42
- "@fluidframework/container-utils": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
43
- "@fluidframework/core-interfaces": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
44
- "@fluidframework/core-utils": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
45
- "@fluidframework/datastore": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
46
- "@fluidframework/driver-definitions": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
47
- "@fluidframework/driver-utils": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
40
+ "@fluidframework/container-definitions": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
41
+ "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
42
+ "@fluidframework/container-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
43
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
44
+ "@fluidframework/core-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
45
+ "@fluidframework/datastore": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
46
+ "@fluidframework/driver-definitions": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
47
+ "@fluidframework/driver-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
48
48
  "@fluidframework/protocol-definitions": "^1.1.0",
49
- "@fluidframework/runtime-definitions": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
50
- "@fluidframework/runtime-utils": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
51
- "@fluidframework/telemetry-utils": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
49
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
50
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
51
+ "@fluidframework/telemetry-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
52
52
  "double-ended-queue": "^2.1.0-0",
53
53
  "events": "^3.1.0",
54
54
  "lz4js": "^0.2.0",
@@ -56,15 +56,15 @@
56
56
  "uuid": "^8.3.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
59
+ "@fluid-internal/stochastic-test-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
60
60
  "@fluid-tools/benchmark": "^0.48.0",
61
61
  "@fluid-tools/build-cli": "^0.22.0",
62
62
  "@fluidframework/build-common": "^2.0.0",
63
63
  "@fluidframework/build-tools": "^0.22.0",
64
- "@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@2.0.0-internal.6.0.0",
64
+ "@fluidframework/container-runtime-previous": "npm:@fluidframework/container-runtime@2.0.0-internal.6.1.1",
65
65
  "@fluidframework/eslint-config-fluid": "^2.0.0",
66
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
67
- "@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.1.1 <2.0.0-internal.6.2.0",
66
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
67
+ "@fluidframework/test-runtime-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
68
68
  "@microsoft/api-extractor": "^7.34.4",
69
69
  "@types/double-ended-queue": "^2.1.0",
70
70
  "@types/events": "^3.0.0",
@@ -1568,35 +1568,6 @@ export class ContainerRuntime
1568
1568
  }
1569
1569
  }
1570
1570
 
1571
- this.deltaManager.on("readonly", (readonly: boolean) => {
1572
- // we accumulate ops while being in read-only state.
1573
- // once user gets write permissions and we have active connection, flush all pending ops.
1574
- // Note that the inner (non-proxy) delta manager is needed here to get the readonly information.
1575
- assert(
1576
- readonly === this.innerDeltaManager.readOnlyInfo.readonly,
1577
- 0x124 /* "inconsistent readonly property/event state" */,
1578
- );
1579
-
1580
- // We need to be very careful with when we (re)send pending ops, to ensure that we only send ops
1581
- // when we either never send an op, or attempted to send it but we know for sure it was not
1582
- // sequenced by server and will never be sequenced (i.e. was lost)
1583
- // For loss of connection, we wait for our own "join" op and use it a a barrier to know all the
1584
- // ops that made it from previous connection, before switching clientId and raising "connected" event
1585
- // But with read-only permissions, if we transition between read-only and r/w states while on same
1586
- // connection, then we have no good signal to tell us when it's safe to send ops we accumulated while
1587
- // being in read-only state.
1588
- // For that reason, we support getting to read-only state only when disconnected. This ensures that we
1589
- // can rely on same safety mechanism and resend ops only when we establish new connection.
1590
- // This is applicable for read-only permissions (event is raised before connection is properly registered),
1591
- // but it's an extra requirement for Container.forceReadonly() API
1592
- assert(
1593
- !readonly || !this.connected,
1594
- 0x125 /* "Unsafe to transition to read-only state!" */,
1595
- );
1596
-
1597
- this.replayPendingStates();
1598
- });
1599
-
1600
1571
  // logging hardware telemetry
1601
1572
  logger.sendTelemetryEvent({
1602
1573
  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.1.1";
9
+ export const pkgVersion = "2.0.0-internal.6.1.3";