@fluidframework/container-loader 2.0.0-internal.6.1.2 → 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.
- 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 +9 -9
- 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.1.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-internal.6.1.3";
|
|
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.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,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.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.1.3\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-loader",
|
|
3
|
-
"version": "2.0.0-internal.6.1.
|
|
3
|
+
"version": "2.0.0-internal.6.1.3",
|
|
4
4
|
"description": "Fluid container loader",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -37,14 +37,14 @@
|
|
|
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.
|
|
41
|
-
"@fluidframework/container-utils": ">=2.0.0-internal.6.1.
|
|
42
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.6.1.
|
|
43
|
-
"@fluidframework/driver-definitions": ">=2.0.0-internal.6.1.
|
|
44
|
-
"@fluidframework/driver-utils": ">=2.0.0-internal.6.1.
|
|
40
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
41
|
+
"@fluidframework/container-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
42
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
43
|
+
"@fluidframework/driver-definitions": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
44
|
+
"@fluidframework/driver-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
45
45
|
"@fluidframework/protocol-base": "^1.0.1",
|
|
46
46
|
"@fluidframework/protocol-definitions": "^1.1.0",
|
|
47
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.1.
|
|
47
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
48
48
|
"debug": "^4.1.1",
|
|
49
49
|
"double-ended-queue": "^2.1.0-0",
|
|
50
50
|
"events": "^3.1.0",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"uuid": "^8.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@fluid-internal/test-loader-utils": ">=2.0.0-internal.6.1.
|
|
56
|
+
"@fluid-internal/test-loader-utils": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
57
57
|
"@fluid-tools/build-cli": "^0.22.0",
|
|
58
58
|
"@fluidframework/build-common": "^2.0.0",
|
|
59
59
|
"@fluidframework/build-tools": "^0.22.0",
|
|
60
60
|
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.0.0-internal.6.1.1",
|
|
61
61
|
"@fluidframework/eslint-config-fluid": "^2.0.0",
|
|
62
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.1.
|
|
62
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.6.1.3 <2.0.0-internal.6.2.0",
|
|
63
63
|
"@microsoft/api-extractor": "^7.34.4",
|
|
64
64
|
"@types/double-ended-queue": "^2.1.0",
|
|
65
65
|
"@types/events": "^3.0.0",
|
package/src/connectionManager.ts
CHANGED
|
@@ -425,21 +425,7 @@ export class ConnectionManager implements IConnectionManager {
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
*
|
|
429
|
-
* Hosts may have read only views, indicating to data stores that no edits are allowed.
|
|
430
|
-
* This is independent from this._readonlyPermissions (permissions) and this.connectionMode
|
|
431
|
-
* (server can return "write" mode even when asked for "read")
|
|
432
|
-
* Leveraging same "readonly" event as runtime & data stores should behave the same in such case
|
|
433
|
-
* as in read-only permissions.
|
|
434
|
-
* But this.active can be used by some DDSes to figure out if ops can be sent
|
|
435
|
-
* (for example, read-only view still participates in code proposals / upgrades decisions)
|
|
436
|
-
*
|
|
437
|
-
* Forcing Readonly does not prevent DDS from generating ops. It is up to user code to honour
|
|
438
|
-
* the readonly flag. If ops are generated, they will accumulate locally and not be sent. If
|
|
439
|
-
* there are pending in the outbound queue, it will stop sending until force readonly is
|
|
440
|
-
* cleared.
|
|
441
|
-
*
|
|
442
|
-
* @param readonly - set or clear force readonly.
|
|
428
|
+
* {@inheritDoc Container.forceReadonly}
|
|
443
429
|
*/
|
|
444
430
|
public forceReadonly(readonly: boolean) {
|
|
445
431
|
if (readonly !== this._forceReadonly) {
|
package/src/container.ts
CHANGED
|
@@ -613,7 +613,21 @@ export class Container
|
|
|
613
613
|
}
|
|
614
614
|
|
|
615
615
|
/**
|
|
616
|
-
*
|
|
616
|
+
* Sends signal to runtime (and data stores) to be read-only.
|
|
617
|
+
* Hosts may have read only views, indicating to data stores that no edits are allowed.
|
|
618
|
+
* This is independent from this._readonlyPermissions (permissions) and this.connectionMode
|
|
619
|
+
* (server can return "write" mode even when asked for "read")
|
|
620
|
+
* Leveraging same "readonly" event as runtime & data stores should behave the same in such case
|
|
621
|
+
* as in read-only permissions.
|
|
622
|
+
* But this.active can be used by some DDSes to figure out if ops can be sent
|
|
623
|
+
* (for example, read-only view still participates in code proposals / upgrades decisions)
|
|
624
|
+
*
|
|
625
|
+
* Forcing Readonly does not prevent DDS from generating ops. It is up to user code to honour
|
|
626
|
+
* the readonly flag. If ops are generated, they will accumulate locally and not be sent. If
|
|
627
|
+
* there are pending in the outbound queue, it will stop sending until force readonly is
|
|
628
|
+
* cleared.
|
|
629
|
+
*
|
|
630
|
+
* @param readonly - set or clear force readonly.
|
|
617
631
|
*/
|
|
618
632
|
public forceReadonly(readonly: boolean) {
|
|
619
633
|
this._deltaManager.connectionManager.forceReadonly(readonly);
|
package/src/packageVersion.ts
CHANGED