@fluidframework/container-loader 2.0.0-internal.6.2.1 → 2.0.0-internal.6.2.2
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/dist/connectionManager.d.ts +1 -15
- package/dist/connectionManager.d.ts.map +1 -1
- package/dist/connectionManager.js +1 -15
- package/dist/connectionManager.js.map +1 -1
- package/dist/container.d.ts +15 -1
- package/dist/container.d.ts.map +1 -1
- package/dist/container.js +15 -1
- package/dist/container.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/connectionManager.d.ts +1 -15
- package/lib/connectionManager.d.ts.map +1 -1
- package/lib/connectionManager.js +1 -15
- package/lib/connectionManager.js.map +1 -1
- package/lib/container.d.ts +15 -1
- package/lib/container.d.ts.map +1 -1
- package/lib/container.js +15 -1
- package/lib/container.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +8 -8
- package/src/connectionManager.ts +1 -15
- package/src/container.ts +15 -1
- package/src/packageVersion.ts +1 -1
package/lib/packageVersion.d.ts
CHANGED
|
@@ -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-loader";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-internal.6.2.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-internal.6.2.2";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -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-loader";
|
|
8
|
-
export const pkgVersion = "2.0.0-internal.6.2.
|
|
8
|
+
export const pkgVersion = "2.0.0-internal.6.2.2";
|
|
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,kCAAkC,CAAC;AAC1D,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-loader\";\nexport const pkgVersion = \"2.0.0-internal.6.2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,kCAAkC,CAAC;AAC1D,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-loader\";\nexport const pkgVersion = \"2.0.0-internal.6.2.2\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-loader",
|
|
3
|
-
"version": "2.0.0-internal.6.2.
|
|
3
|
+
"version": "2.0.0-internal.6.2.2",
|
|
4
4
|
"description": "Fluid container loader",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@fluidframework/common-utils": "^1.1.1",
|
|
39
|
-
"@fluidframework/container-definitions": ">=2.0.0-internal.6.2.
|
|
40
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.6.2.
|
|
41
|
-
"@fluidframework/driver-definitions": ">=2.0.0-internal.6.2.
|
|
42
|
-
"@fluidframework/driver-utils": ">=2.0.0-internal.6.2.
|
|
39
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.6.2.2 <2.0.0-internal.6.3.0",
|
|
40
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.6.2.2 <2.0.0-internal.6.3.0",
|
|
41
|
+
"@fluidframework/driver-definitions": ">=2.0.0-internal.6.2.2 <2.0.0-internal.6.3.0",
|
|
42
|
+
"@fluidframework/driver-utils": ">=2.0.0-internal.6.2.2 <2.0.0-internal.6.3.0",
|
|
43
43
|
"@fluidframework/protocol-base": "^1.0.1",
|
|
44
44
|
"@fluidframework/protocol-definitions": "^1.1.0",
|
|
45
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.2.
|
|
45
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.2.2 <2.0.0-internal.6.3.0",
|
|
46
46
|
"debug": "^4.1.1",
|
|
47
47
|
"double-ended-queue": "^2.1.0-0",
|
|
48
48
|
"events": "^3.1.0",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"uuid": "^9.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@fluid-internal/test-loader-utils": ">=2.0.0-internal.6.2.
|
|
54
|
+
"@fluid-internal/test-loader-utils": ">=2.0.0-internal.6.2.2 <2.0.0-internal.6.3.0",
|
|
55
55
|
"@fluid-tools/build-cli": "^0.23.0",
|
|
56
56
|
"@fluidframework/build-common": "^2.0.0",
|
|
57
57
|
"@fluidframework/build-tools": "^0.23.0",
|
|
58
58
|
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.0.0-internal.6.1.1",
|
|
59
59
|
"@fluidframework/eslint-config-fluid": "^2.1.0",
|
|
60
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.2.
|
|
60
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.2.2 <2.0.0-internal.6.3.0",
|
|
61
61
|
"@microsoft/api-extractor": "^7.34.4",
|
|
62
62
|
"@types/double-ended-queue": "^2.1.0",
|
|
63
63
|
"@types/events": "^3.0.0",
|
package/src/connectionManager.ts
CHANGED
|
@@ -430,21 +430,7 @@ export class ConnectionManager implements IConnectionManager {
|
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
/**
|
|
433
|
-
*
|
|
434
|
-
* Hosts may have read only views, indicating to data stores that no edits are allowed.
|
|
435
|
-
* This is independent from this._readonlyPermissions (permissions) and this.connectionMode
|
|
436
|
-
* (server can return "write" mode even when asked for "read")
|
|
437
|
-
* Leveraging same "readonly" event as runtime & data stores should behave the same in such case
|
|
438
|
-
* as in read-only permissions.
|
|
439
|
-
* But this.active can be used by some DDSes to figure out if ops can be sent
|
|
440
|
-
* (for example, read-only view still participates in code proposals / upgrades decisions)
|
|
441
|
-
*
|
|
442
|
-
* Forcing Readonly does not prevent DDS from generating ops. It is up to user code to honour
|
|
443
|
-
* the readonly flag. If ops are generated, they will accumulate locally and not be sent. If
|
|
444
|
-
* there are pending in the outbound queue, it will stop sending until force readonly is
|
|
445
|
-
* cleared.
|
|
446
|
-
*
|
|
447
|
-
* @param readonly - set or clear force readonly.
|
|
433
|
+
* {@inheritDoc Container.forceReadonly}
|
|
448
434
|
*/
|
|
449
435
|
public forceReadonly(readonly: boolean) {
|
|
450
436
|
if (readonly !== this._forceReadonly) {
|
package/src/container.ts
CHANGED
|
@@ -623,7 +623,21 @@ export class Container
|
|
|
623
623
|
}
|
|
624
624
|
|
|
625
625
|
/**
|
|
626
|
-
*
|
|
626
|
+
* Sends signal to runtime (and data stores) to be read-only.
|
|
627
|
+
* Hosts may have read only views, indicating to data stores that no edits are allowed.
|
|
628
|
+
* This is independent from this._readonlyPermissions (permissions) and this.connectionMode
|
|
629
|
+
* (server can return "write" mode even when asked for "read")
|
|
630
|
+
* Leveraging same "readonly" event as runtime & data stores should behave the same in such case
|
|
631
|
+
* as in read-only permissions.
|
|
632
|
+
* But this.active can be used by some DDSes to figure out if ops can be sent
|
|
633
|
+
* (for example, read-only view still participates in code proposals / upgrades decisions)
|
|
634
|
+
*
|
|
635
|
+
* Forcing Readonly does not prevent DDS from generating ops. It is up to user code to honour
|
|
636
|
+
* the readonly flag. If ops are generated, they will accumulate locally and not be sent. If
|
|
637
|
+
* there are pending in the outbound queue, it will stop sending until force readonly is
|
|
638
|
+
* cleared.
|
|
639
|
+
*
|
|
640
|
+
* @param readonly - set or clear force readonly.
|
|
627
641
|
*/
|
|
628
642
|
public forceReadonly(readonly: boolean) {
|
|
629
643
|
this._deltaManager.connectionManager.forceReadonly(readonly);
|
package/src/packageVersion.ts
CHANGED