@fluidframework/container-runtime 2.63.0-359461 → 2.63.0-359962
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/container-runtime.test-files.tar +0 -0
- package/dist/blobManager/blobManager.d.ts +62 -55
- package/dist/blobManager/blobManager.d.ts.map +1 -1
- package/dist/blobManager/blobManager.js +330 -308
- package/dist/blobManager/blobManager.js.map +1 -1
- package/dist/containerRuntime.d.ts.map +1 -1
- package/dist/containerRuntime.js +3 -9
- package/dist/containerRuntime.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/blobManager/blobManager.d.ts +62 -55
- package/lib/blobManager/blobManager.d.ts.map +1 -1
- package/lib/blobManager/blobManager.js +334 -312
- package/lib/blobManager/blobManager.js.map +1 -1
- package/lib/containerRuntime.d.ts.map +1 -1
- package/lib/containerRuntime.js +3 -9
- package/lib/containerRuntime.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 +17 -17
- package/src/blobManager/blobManager.ts +425 -352
- package/src/containerRuntime.ts +4 -13
- package/src/packageVersion.ts +1 -1
package/src/containerRuntime.ts
CHANGED
|
@@ -41,7 +41,6 @@ import type {
|
|
|
41
41
|
IContainerRuntimeWithResolveHandle_Deprecated,
|
|
42
42
|
JoinedStatus,
|
|
43
43
|
OutboundExtensionMessage,
|
|
44
|
-
UnverifiedBrand,
|
|
45
44
|
} from "@fluidframework/container-runtime-definitions/internal";
|
|
46
45
|
import type {
|
|
47
46
|
FluidObject,
|
|
@@ -710,13 +709,6 @@ export interface UnknownIncomingTypedMessage extends TypedMessage {
|
|
|
710
709
|
content: OpaqueJsonDeserialized<unknown>;
|
|
711
710
|
}
|
|
712
711
|
|
|
713
|
-
/**
|
|
714
|
-
* Does nothing helper to apply unverified branding to a value.
|
|
715
|
-
*/
|
|
716
|
-
function markUnverified<const T>(value: T): T & UnverifiedBrand<T> {
|
|
717
|
-
return value as T & UnverifiedBrand<T>;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
712
|
type UnsequencedSignalEnvelope = Omit<ISignalEnvelope, "clientBroadcastSignalSequenceNumber">;
|
|
721
713
|
|
|
722
714
|
/**
|
|
@@ -1943,7 +1935,7 @@ export class ContainerRuntime
|
|
|
1943
1935
|
}),
|
|
1944
1936
|
isBlobDeleted: (blobPath: string) => this.garbageCollector.isNodeDeleted(blobPath),
|
|
1945
1937
|
runtime: this,
|
|
1946
|
-
|
|
1938
|
+
pendingBlobs: pendingRuntimeState?.pendingAttachmentBlobs,
|
|
1947
1939
|
createBlobPayloadPending: this.sessionSchema.createBlobPayloadPending === true,
|
|
1948
1940
|
});
|
|
1949
1941
|
|
|
@@ -3330,12 +3322,12 @@ export class ContainerRuntime
|
|
|
3330
3322
|
local: boolean,
|
|
3331
3323
|
): void {
|
|
3332
3324
|
const envelope = message.content;
|
|
3333
|
-
const transformed =
|
|
3325
|
+
const transformed = {
|
|
3334
3326
|
clientId: message.clientId,
|
|
3335
3327
|
content: envelope.contents.content,
|
|
3336
3328
|
type: envelope.contents.type,
|
|
3337
3329
|
targetClientId: message.targetClientId,
|
|
3338
|
-
}
|
|
3330
|
+
};
|
|
3339
3331
|
|
|
3340
3332
|
// Only collect signal telemetry for broadcast messages sent by the current client.
|
|
3341
3333
|
if (message.clientId === this.clientId) {
|
|
@@ -3358,8 +3350,7 @@ export class ContainerRuntime
|
|
|
3358
3350
|
|
|
3359
3351
|
private routeNonContainerSignal(
|
|
3360
3352
|
address: string,
|
|
3361
|
-
signalMessage: IInboundSignalMessage<UnknownIncomingTypedMessage
|
|
3362
|
-
UnverifiedBrand<UnknownIncomingTypedMessage>,
|
|
3353
|
+
signalMessage: IInboundSignalMessage<UnknownIncomingTypedMessage>,
|
|
3363
3354
|
local: boolean,
|
|
3364
3355
|
): void {
|
|
3365
3356
|
// channelCollection signals are identified by no starting `/` in address.
|
package/src/packageVersion.ts
CHANGED