@fluidframework/container-loader 2.0.0-internal.4.4.2 → 2.0.0-internal.4.4.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-loader";
8
- export declare const pkgVersion = "2.0.0-internal.4.4.2";
8
+ export declare const pkgVersion = "2.0.0-internal.4.4.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-loader";
8
- export const pkgVersion = "2.0.0-internal.4.4.2";
8
+ export const pkgVersion = "2.0.0-internal.4.4.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,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.4.4.2\";\n"]}
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.4.4.4\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-loader",
3
- "version": "2.0.0-internal.4.4.2",
3
+ "version": "2.0.0-internal.4.4.4",
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.4.4.2 <2.0.0-internal.4.5.0",
41
- "@fluidframework/container-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
42
- "@fluidframework/core-interfaces": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
43
- "@fluidframework/driver-definitions": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
44
- "@fluidframework/driver-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
40
+ "@fluidframework/container-definitions": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.0",
41
+ "@fluidframework/container-utils": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.0",
42
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.0",
43
+ "@fluidframework/driver-definitions": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.0",
44
+ "@fluidframework/driver-utils": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.0",
45
45
  "@fluidframework/protocol-base": "^0.1039.1000",
46
46
  "@fluidframework/protocol-definitions": "^1.1.0",
47
- "@fluidframework/telemetry-utils": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
47
+ "@fluidframework/telemetry-utils": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.0",
48
48
  "abort-controller": "^3.0.0",
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.4.4.2 <2.0.0-internal.4.5.0",
56
+ "@fluid-internal/test-loader-utils": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.0",
57
57
  "@fluid-tools/build-cli": "^0.18.2",
58
58
  "@fluidframework/build-common": "^1.1.0",
59
59
  "@fluidframework/build-tools": "^0.18.2",
60
60
  "@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.0.0-internal.4.1.0",
61
61
  "@fluidframework/eslint-config-fluid": "^2.0.0",
62
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.4.4.2 <2.0.0-internal.4.5.0",
62
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.4.4.4 <2.0.0-internal.4.5.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/container.ts CHANGED
@@ -845,8 +845,8 @@ export class Container
845
845
  document !== null &&
846
846
  typeof document.addEventListener === "function" &&
847
847
  document.addEventListener !== null;
848
- // keep track of last time page was visible for telemetry
849
- if (isDomAvailable) {
848
+ // keep track of last time page was visible for telemetry (on interactive clients only)
849
+ if (isDomAvailable && interactive) {
850
850
  this.lastVisible = document.hidden ? performance.now() : undefined;
851
851
  this.visibilityEventHandler = () => {
852
852
  if (document.hidden) {
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/container-loader";
9
- export const pkgVersion = "2.0.0-internal.4.4.2";
9
+ export const pkgVersion = "2.0.0-internal.4.4.4";