@fluidframework/container-loader 2.10.0 → 2.11.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 +6 -1
- package/dist/container.d.ts.map +1 -1
- package/dist/container.js +7 -0
- 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/container.d.ts +6 -1
- package/lib/container.d.ts.map +1 -1
- package/lib/container.js +7 -0
- 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 +14 -18
- package/src/container.ts +9 -0
- 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.
|
|
8
|
+
export declare const pkgVersion = "2.11.0";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
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,QAAQ,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.
|
|
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,QAAQ,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.11.0\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/container-loader",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.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.
|
|
123
|
-
"@fluidframework/container-definitions": "~2.
|
|
124
|
-
"@fluidframework/core-interfaces": "~2.
|
|
125
|
-
"@fluidframework/core-utils": "~2.
|
|
126
|
-
"@fluidframework/driver-definitions": "~2.
|
|
127
|
-
"@fluidframework/driver-utils": "~2.
|
|
128
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
122
|
+
"@fluid-internal/client-utils": "~2.11.0",
|
|
123
|
+
"@fluidframework/container-definitions": "~2.11.0",
|
|
124
|
+
"@fluidframework/core-interfaces": "~2.11.0",
|
|
125
|
+
"@fluidframework/core-utils": "~2.11.0",
|
|
126
|
+
"@fluidframework/driver-definitions": "~2.11.0",
|
|
127
|
+
"@fluidframework/driver-utils": "~2.11.0",
|
|
128
|
+
"@fluidframework/telemetry-utils": "~2.11.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,14 +136,14 @@
|
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@arethetypeswrong/cli": "^0.16.4",
|
|
138
138
|
"@biomejs/biome": "~1.9.3",
|
|
139
|
-
"@fluid-internal/client-utils": "~2.
|
|
140
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
141
|
-
"@fluid-private/test-loader-utils": "~2.
|
|
139
|
+
"@fluid-internal/client-utils": "~2.11.0",
|
|
140
|
+
"@fluid-internal/mocha-test-setup": "~2.11.0",
|
|
141
|
+
"@fluid-private/test-loader-utils": "~2.11.0",
|
|
142
142
|
"@fluid-tools/build-cli": "^0.51.0",
|
|
143
143
|
"@fluidframework/build-common": "^2.0.3",
|
|
144
144
|
"@fluidframework/build-tools": "^0.51.0",
|
|
145
|
-
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader
|
|
146
|
-
"@fluidframework/eslint-config-fluid": "^5.
|
|
145
|
+
"@fluidframework/container-loader-previous": "npm:@fluidframework/container-loader@2.10.0",
|
|
146
|
+
"@fluidframework/eslint-config-fluid": "^5.6.0",
|
|
147
147
|
"@microsoft/api-extractor": "7.47.8",
|
|
148
148
|
"@types/debug": "^4.1.5",
|
|
149
149
|
"@types/double-ended-queue": "^2.1.0",
|
|
@@ -166,11 +166,7 @@
|
|
|
166
166
|
"typescript": "~5.4.5"
|
|
167
167
|
},
|
|
168
168
|
"typeValidation": {
|
|
169
|
-
"broken": {
|
|
170
|
-
"Interface_IContainerExperimental": {
|
|
171
|
-
"backCompat": false
|
|
172
|
-
}
|
|
173
|
-
},
|
|
169
|
+
"broken": {},
|
|
174
170
|
"entrypoint": "legacy"
|
|
175
171
|
},
|
|
176
172
|
"scripts": {
|
package/src/container.ts
CHANGED
|
@@ -67,6 +67,7 @@ import {
|
|
|
67
67
|
ISequencedDocumentMessage,
|
|
68
68
|
ISignalMessage,
|
|
69
69
|
type ConnectionMode,
|
|
70
|
+
type IContainerPackageInfo,
|
|
70
71
|
} from "@fluidframework/driver-definitions/internal";
|
|
71
72
|
import {
|
|
72
73
|
getSnapshotTree,
|
|
@@ -718,6 +719,14 @@ export class Container
|
|
|
718
719
|
return this._loadedCodeDetails;
|
|
719
720
|
}
|
|
720
721
|
|
|
722
|
+
/**
|
|
723
|
+
* Get the package info for the code details that were used to load the container.
|
|
724
|
+
* @returns The package info for the code details that were used to load the container if it is loaded, undefined otherwise
|
|
725
|
+
*/
|
|
726
|
+
public getContainerPackageInfo?(): IContainerPackageInfo | undefined {
|
|
727
|
+
return getPackageName(this._loadedCodeDetails);
|
|
728
|
+
}
|
|
729
|
+
|
|
721
730
|
private _loadedModule: IFluidModuleWithDetails | undefined;
|
|
722
731
|
|
|
723
732
|
/**
|
package/src/packageVersion.ts
CHANGED