@fluidframework/shared-object-base 2.0.0-internal.6.4.0 → 2.0.0-internal.7.1.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 +48 -0
- package/api-extractor.json +9 -1
- package/api-report/shared-object-base.api.md +166 -0
- package/dist/handle.js +6 -6
- package/dist/handle.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/dist/remoteObjectHandle.d.ts.map +1 -1
- package/dist/remoteObjectHandle.js +12 -11
- package/dist/remoteObjectHandle.js.map +1 -1
- package/dist/shared-object-base-alpha.d.ts +479 -0
- package/dist/shared-object-base-beta.d.ts +479 -0
- package/dist/shared-object-base-public.d.ts +479 -0
- package/dist/shared-object-base.d.ts +491 -0
- package/dist/sharedObject.js +21 -21
- package/dist/sharedObject.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/valueType.js +1 -1
- package/dist/valueType.js.map +1 -1
- package/lib/handle.js +6 -6
- package/lib/handle.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/lib/remoteObjectHandle.d.ts.map +1 -1
- package/lib/remoteObjectHandle.js +12 -11
- package/lib/remoteObjectHandle.js.map +1 -1
- package/lib/sharedObject.js +21 -21
- package/lib/sharedObject.js.map +1 -1
- package/package.json +25 -25
- package/src/packageVersion.ts +1 -1
- package/src/remoteObjectHandle.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/shared-object-base",
|
|
3
|
-
"version": "2.0.0-internal.
|
|
3
|
+
"version": "2.0.0-internal.7.1.0",
|
|
4
4
|
"description": "Fluid base class for shared distributed data structures",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -35,28 +35,28 @@
|
|
|
35
35
|
"temp-directory": "nyc/.nyc_output"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluid-internal/client-utils": ">=2.0.0-internal.
|
|
39
|
-
"@fluidframework/container-definitions": ">=2.0.0-internal.
|
|
40
|
-
"@fluidframework/container-runtime": ">=2.0.0-internal.
|
|
41
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.
|
|
42
|
-
"@fluidframework/core-utils": ">=2.0.0-internal.
|
|
43
|
-
"@fluidframework/datastore": ">=2.0.0-internal.
|
|
44
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.
|
|
45
|
-
"@fluidframework/protocol-definitions": "^
|
|
46
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.
|
|
47
|
-
"@fluidframework/runtime-utils": ">=2.0.0-internal.
|
|
48
|
-
"@fluidframework/telemetry-utils": ">=2.0.0-internal.
|
|
38
|
+
"@fluid-internal/client-utils": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
39
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
40
|
+
"@fluidframework/container-runtime": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
41
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
42
|
+
"@fluidframework/core-utils": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
43
|
+
"@fluidframework/datastore": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
44
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
45
|
+
"@fluidframework/protocol-definitions": "^3.0.0",
|
|
46
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
47
|
+
"@fluidframework/runtime-utils": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
48
|
+
"@fluidframework/telemetry-utils": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
49
49
|
"uuid": "^9.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@fluid-tools/build-cli": "^0.
|
|
53
|
-
"@fluidframework/build-common": "^2.0.
|
|
54
|
-
"@fluidframework/build-tools": "^0.
|
|
55
|
-
"@fluidframework/eslint-config-fluid": "^
|
|
56
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.
|
|
57
|
-
"@fluidframework/shared-object-base-previous": "npm:@fluidframework/shared-object-base@2.0.0-internal.
|
|
58
|
-
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.
|
|
59
|
-
"@microsoft/api-extractor": "^7.
|
|
52
|
+
"@fluid-tools/build-cli": "^0.25.0",
|
|
53
|
+
"@fluidframework/build-common": "^2.0.1",
|
|
54
|
+
"@fluidframework/build-tools": "^0.25.0",
|
|
55
|
+
"@fluidframework/eslint-config-fluid": "^3.0.0",
|
|
56
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
57
|
+
"@fluidframework/shared-object-base-previous": "npm:@fluidframework/shared-object-base@2.0.0-internal.7.0.0",
|
|
58
|
+
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.7.1.0 <2.0.0-internal.7.2.0",
|
|
59
|
+
"@microsoft/api-extractor": "^7.37.0",
|
|
60
60
|
"@types/benchmark": "^2.1.0",
|
|
61
61
|
"@types/mocha": "^9.1.1",
|
|
62
62
|
"@types/node": "^16.18.38",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"c8": "^7.7.1",
|
|
65
65
|
"copyfiles": "^2.4.1",
|
|
66
66
|
"cross-env": "^7.0.3",
|
|
67
|
-
"eslint": "~8.
|
|
67
|
+
"eslint": "~8.50.0",
|
|
68
68
|
"mocha": "^10.2.0",
|
|
69
69
|
"mocha-json-output-reporter": "^2.0.1",
|
|
70
70
|
"mocha-multi-reporters": "^1.5.1",
|
|
71
71
|
"moment": "^2.21.0",
|
|
72
|
-
"prettier": "~
|
|
72
|
+
"prettier": "~3.0.3",
|
|
73
73
|
"rimraf": "^4.4.0",
|
|
74
74
|
"ts-node": "^10.9.1",
|
|
75
|
-
"typescript": "~
|
|
75
|
+
"typescript": "~5.1.6"
|
|
76
76
|
},
|
|
77
77
|
"typeValidation": {
|
|
78
78
|
"broken": {}
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
"build": "fluid-build . --task build",
|
|
83
83
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
84
84
|
"build:compile": "fluid-build . --task compile",
|
|
85
|
-
"build:docs": "api-extractor run --local
|
|
85
|
+
"build:docs": "api-extractor run --local",
|
|
86
86
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
87
87
|
"build:genver": "gen-version",
|
|
88
88
|
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
89
|
-
"ci:build:docs": "api-extractor run
|
|
89
|
+
"ci:build:docs": "api-extractor run",
|
|
90
90
|
"clean": "rimraf --glob 'dist' 'lib' '*.tsbuildinfo' '*.build.log' '_api-extractor-temp' 'nyc'",
|
|
91
91
|
"eslint": "eslint --format stylish src",
|
|
92
92
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
package/src/packageVersion.ts
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
IRequest,
|
|
12
12
|
IResponse,
|
|
13
13
|
FluidObject,
|
|
14
|
+
// eslint-disable-next-line import/no-deprecated
|
|
14
15
|
IFluidRouter,
|
|
15
16
|
} from "@fluidframework/core-interfaces";
|
|
16
17
|
import {
|
|
@@ -91,6 +92,7 @@ export class RemoteFluidObjectHandle implements IFluidHandle {
|
|
|
91
92
|
*/
|
|
92
93
|
public async request(request: IRequest): Promise<IResponse> {
|
|
93
94
|
try {
|
|
95
|
+
// eslint-disable-next-line import/no-deprecated
|
|
94
96
|
const object: FluidObject<IFluidRouter> = await this.get();
|
|
95
97
|
const router = object.IFluidRouter;
|
|
96
98
|
|