@fluidframework/container-loader 2.5.0-302463 → 2.5.0
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/CHANGELOG.md +4 -0
- package/dist/container.d.ts +1 -1
- package/dist/container.d.ts.map +1 -1
- package/dist/container.js +4 -5
- package/dist/container.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/container.d.ts +1 -1
- package/lib/container.d.ts.map +1 -1
- package/lib/container.js +4 -5
- package/lib/container.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.d.ts.map +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +12 -12
- package/src/container.ts +4 -5
- 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.5.0
|
|
8
|
+
export declare const pkgVersion = "2.5.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,qCAAqC,CAAC;AAC1D,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,qCAAqC,CAAC;AAC1D,eAAO,MAAM,UAAU,UAAU,CAAC"}
|
package/lib/packageVersion.js
CHANGED
|
@@ -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,
|
|
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,OAAO,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.5.0\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-loader",
|
|
3
|
-
"version": "2.5.0
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Fluid container loader",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -119,13 +119,13 @@
|
|
|
119
119
|
"temp-directory": "nyc/.nyc_output"
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@fluid-internal/client-utils": "2.5.0
|
|
123
|
-
"@fluidframework/container-definitions": "2.5.0
|
|
124
|
-
"@fluidframework/core-interfaces": "2.5.0
|
|
125
|
-
"@fluidframework/core-utils": "2.5.0
|
|
126
|
-
"@fluidframework/driver-definitions": "2.5.0
|
|
127
|
-
"@fluidframework/driver-utils": "2.5.0
|
|
128
|
-
"@fluidframework/telemetry-utils": "2.5.0
|
|
122
|
+
"@fluid-internal/client-utils": "~2.5.0",
|
|
123
|
+
"@fluidframework/container-definitions": "~2.5.0",
|
|
124
|
+
"@fluidframework/core-interfaces": "~2.5.0",
|
|
125
|
+
"@fluidframework/core-utils": "~2.5.0",
|
|
126
|
+
"@fluidframework/driver-definitions": "~2.5.0",
|
|
127
|
+
"@fluidframework/driver-utils": "~2.5.0",
|
|
128
|
+
"@fluidframework/telemetry-utils": "~2.5.0",
|
|
129
129
|
"@types/events_pkg": "npm:@types/events@^3.0.0",
|
|
130
130
|
"@ungap/structured-clone": "^1.2.0",
|
|
131
131
|
"debug": "^4.3.4",
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@arethetypeswrong/cli": "^0.16.4",
|
|
138
138
|
"@biomejs/biome": "~1.9.3",
|
|
139
|
-
"@fluid-internal/client-utils": "2.5.0
|
|
140
|
-
"@fluid-internal/mocha-test-setup": "2.5.0
|
|
141
|
-
"@fluid-private/test-loader-utils": "2.5.0
|
|
139
|
+
"@fluid-internal/client-utils": "~2.5.0",
|
|
140
|
+
"@fluid-internal/mocha-test-setup": "~2.5.0",
|
|
141
|
+
"@fluid-private/test-loader-utils": "~2.5.0",
|
|
142
142
|
"@fluid-tools/build-cli": "^0.49.0",
|
|
143
143
|
"@fluidframework/build-common": "^2.0.3",
|
|
144
144
|
"@fluidframework/build-tools": "^0.49.0",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"moment": "^2.21.0",
|
|
163
163
|
"prettier": "~3.0.3",
|
|
164
164
|
"rimraf": "^4.4.0",
|
|
165
|
-
"sinon": "^
|
|
165
|
+
"sinon": "^18.0.1",
|
|
166
166
|
"typescript": "~5.4.5"
|
|
167
167
|
},
|
|
168
168
|
"typeValidation": {
|
package/src/container.ts
CHANGED
|
@@ -602,7 +602,7 @@ export class Container
|
|
|
602
602
|
* During initialization we pause the inbound queues. We track this state to ensure we only call resume once
|
|
603
603
|
*/
|
|
604
604
|
private inboundQueuePausedFromInit = true;
|
|
605
|
-
private
|
|
605
|
+
private connectionCount = 0;
|
|
606
606
|
private readonly connectionTransitionTimes: number[] = [];
|
|
607
607
|
private _loadedFromVersion: IVersion | undefined;
|
|
608
608
|
private _dirtyContainer = false;
|
|
@@ -2148,7 +2148,6 @@ export class Container
|
|
|
2148
2148
|
const duration = time - this.connectionTransitionTimes[oldState];
|
|
2149
2149
|
|
|
2150
2150
|
let durationFromDisconnected: number | undefined;
|
|
2151
|
-
let connectionInitiationReason: string | undefined;
|
|
2152
2151
|
let autoReconnect: ReconnectMode | undefined;
|
|
2153
2152
|
let checkpointSequenceNumber: number | undefined;
|
|
2154
2153
|
let opsBehind: number | undefined;
|
|
@@ -2167,7 +2166,6 @@ export class Container
|
|
|
2167
2166
|
opsBehind = checkpointSequenceNumber - this.deltaManager.lastSequenceNumber;
|
|
2168
2167
|
}
|
|
2169
2168
|
}
|
|
2170
|
-
connectionInitiationReason = this.firstConnection ? "InitialConnect" : "AutoReconnect";
|
|
2171
2169
|
}
|
|
2172
2170
|
|
|
2173
2171
|
this.mc.logger.sendPerformanceEvent(
|
|
@@ -2177,7 +2175,7 @@ export class Container
|
|
|
2177
2175
|
duration,
|
|
2178
2176
|
durationFromDisconnected,
|
|
2179
2177
|
reason: reason?.text,
|
|
2180
|
-
|
|
2178
|
+
connectionCount: this.connectionCount,
|
|
2181
2179
|
pendingClientId: this.connectionStateHandler.pendingClientId,
|
|
2182
2180
|
clientId: this.connectionStateHandler.clientId,
|
|
2183
2181
|
autoReconnect,
|
|
@@ -2187,6 +2185,7 @@ export class Container
|
|
|
2187
2185
|
this.lastVisible === undefined ? undefined : performance.now() - this.lastVisible,
|
|
2188
2186
|
checkpointSequenceNumber,
|
|
2189
2187
|
quorumSize: this._protocolHandler?.quorum.getMembers().size,
|
|
2188
|
+
audienceSize: this._protocolHandler?.audience.getMembers().size,
|
|
2190
2189
|
isDirty: this.isDirty,
|
|
2191
2190
|
...this._deltaManager.connectionProps,
|
|
2192
2191
|
},
|
|
@@ -2194,7 +2193,7 @@ export class Container
|
|
|
2194
2193
|
);
|
|
2195
2194
|
|
|
2196
2195
|
if (value === ConnectionState.Connected) {
|
|
2197
|
-
this.
|
|
2196
|
+
this.connectionCount++;
|
|
2198
2197
|
}
|
|
2199
2198
|
}
|
|
2200
2199
|
|
package/src/packageVersion.ts
CHANGED