@fluidframework/local-driver 0.54.2 → 0.56.0-49831
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/.eslintrc.js +1 -1
- package/dist/localDocumentService.d.ts.map +1 -1
- package/dist/localDocumentService.js +0 -1
- package/dist/localDocumentService.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/package.json +17 -16
- package/src/localDocumentService.ts +0 -1
- package/src/packageVersion.ts +1 -1
package/.eslintrc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localDocumentService.d.ts","sourceRoot":"","sources":["../src/localDocumentService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,GAAG,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,KAAK,aAAa,MAAM,sCAAsC,CAAC;AAGtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAElF,OAAO,EAA4B,4BAA4B,EAAE,MAAM,GAAG,CAAC;AAE3E;;GAEG;AACH,qBAAa,oBAAqB,YAAW,GAAG,CAAC,gBAAgB;aAQzC,WAAW,EAAE,GAAG,CAAC,YAAY;IAC7C,OAAO,CAAC,QAAQ,CAAC,0BAA0B;IAC3C,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,2BAA2B;aAC5B,QAAQ,EAAE,GAAG,CAAC,wBAAwB;IACtD,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAd1C;;;;;OAKG;gBAEiB,WAAW,EAAE,GAAG,CAAC,YAAY,EAC5B,0BAA0B,EAAE,2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IAd1C;;;;;OAKG;gBAEiB,WAAW,EAAE,GAAG,CAAC,YAAY,EAC5B,0BAA0B,EAAE,2BAA2B,EACvD,aAAa,EAAE,aAAa,CAAC,cAAc,EAC3C,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,4BAA4B,CAAC,EACvE,QAAQ,GAAE,GAAG,CAAC,wBAA6B,EAC1C,oBAAoB,CAAC,kCAAsB;IAGzD,OAAO;IAEd;;OAEG;IACU,gBAAgB,IAAI,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC;IAQrE;;OAEG;IACU,qBAAqB,IAAI,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;IAU/E;;;OAGG;IACU,oBAAoB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC;CA8B5F;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACtC,WAAW,EAAE,GAAG,CAAC,YAAY,EAC7B,0BAA0B,EAAE,2BAA2B,EACvD,aAAa,EAAE,aAAa,CAAC,cAAc,EAC3C,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,4BAA4B,CAAC,EACtE,QAAQ,CAAC,EAAE,GAAG,CAAC,wBAAwB,EACvC,oBAAoB,CAAC,EAAE,GAAG,CAAC,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,CAWrE"}
|
|
@@ -96,7 +96,6 @@ exports.LocalDocumentService = LocalDocumentService;
|
|
|
96
96
|
* @param tenantId - ID of tenant
|
|
97
97
|
* @param documentId - ID of document
|
|
98
98
|
*/
|
|
99
|
-
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
|
|
100
99
|
function createLocalDocumentService(resolvedUrl, localDeltaConnectionServer, tokenProvider, tenantId, documentId, documentDeltaConnectionsMap, policies, innerDocumentService) {
|
|
101
100
|
return new LocalDocumentService(resolvedUrl, localDeltaConnectionServer, tokenProvider, tenantId, documentId, documentDeltaConnectionsMap, policies, innerDocumentService);
|
|
102
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localDocumentService.js","sourceRoot":"","sources":["../src/localDocumentService.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;AAIH,oFAAsE;AACtE,mFAAoE;AACpE,yEAAkE;AAElE,+DAAmE;AACnE,wBAA2E;AAE3E;;GAEG;AACH,MAAa,oBAAoB;IAC7B;;;;;OAKG;IACH,YACoB,WAA6B,EAC5B,0BAAuD,EACvD,aAA2C,EAC3C,QAAgB,EAChB,UAAkB,EAClB,2BAAsE,EACvE,WAAyC,EAAE,EAC1C,oBAA2C;QAP5C,gBAAW,GAAX,WAAW,CAAkB;QAC5B,+BAA0B,GAA1B,0BAA0B,CAA6B;QACvD,kBAAa,GAAb,aAAa,CAA8B;QAC3C,aAAQ,GAAR,QAAQ,CAAQ;QAChB,eAAU,GAAV,UAAU,CAAQ;QAClB,gCAA2B,GAA3B,2BAA2B,CAA2C;QACvE,aAAQ,GAAR,QAAQ,CAAmC;QAC1C,yBAAoB,GAApB,oBAAoB,CAAuB;IAC5D,CAAC;IAEE,OAAO,KAAI,CAAC;IAEnB;;OAEG;IACI,KAAK,CAAC,gBAAgB;QACzB,OAAO,IAAI,aAAa,CAAC,sBAAsB,CAC3C,IAAI,CAAC,UAAU,EACf,IAAI,mCAAU,CAAC,IAAI,iCAAa,CAAC,IAAI,CAAC,0BAA0B,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,EAC7F,IAAI,kCAAmB,EAAE,EACzB,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,yBAAyB;IACzD,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,qBAAqB;QAC9B,IAAI,IAAI,CAAC,oBAAoB,EAAE;YAC3B,OAAO,IAAI,CAAC,oBAAoB,CAAC,qBA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/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport * as api from \"@fluidframework/driver-definitions\";\nimport { IClient } from \"@fluidframework/protocol-definitions\";\nimport * as socketStorage from \"@fluidframework/routerlicious-driver\";\nimport { GitManager } from \"@fluidframework/server-services-client\";\nimport { TestHistorian } from \"@fluidframework/server-test-utils\";\nimport { ILocalDeltaConnectionServer } from \"@fluidframework/server-local-server\";\nimport { TelemetryNullLogger } from \"@fluidframework/common-utils\";\nimport { LocalDeltaStorageService, LocalDocumentDeltaConnection } from \".\";\n\n/**\n * Basic implementation of a document service for local use.\n */\nexport class LocalDocumentService implements api.IDocumentService {\n /**\n * @param localDeltaConnectionServer - delta connection server for ops\n * @param tokenProvider - token provider\n * @param tenantId - ID of tenant\n * @param documentId - ID of document\n */\n constructor(\n public readonly resolvedUrl: api.IResolvedUrl,\n private readonly localDeltaConnectionServer: ILocalDeltaConnectionServer,\n private readonly tokenProvider: socketStorage.ITokenProvider,\n private readonly tenantId: string,\n private readonly documentId: string,\n private readonly documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>,\n public readonly policies: api.IDocumentServicePolicies = {},\n private readonly innerDocumentService?: api.IDocumentService,\n ) { }\n\n public dispose() {}\n\n /**\n * Creates and returns a document storage service for local use.\n */\n public async connectToStorage(): Promise<api.IDocumentStorageService> {\n return new socketStorage.DocumentStorageService(\n this.documentId,\n new GitManager(new TestHistorian(this.localDeltaConnectionServer.testDbFactory.testDatabase)),\n new TelemetryNullLogger(),\n { minBlobSize: 2048 }); // Test blob aggregation.\n }\n\n /**\n * Creates and returns a delta storage service for local use.\n */\n public async connectToDeltaStorage(): Promise<api.IDocumentDeltaStorageService> {\n if (this.innerDocumentService) {\n return this.innerDocumentService.connectToDeltaStorage();\n }\n return new LocalDeltaStorageService(\n this.tenantId,\n this.documentId,\n this.localDeltaConnectionServer.databaseManager);\n }\n\n /**\n * Creates and returns a delta stream for local use.\n * @param client - client data\n */\n public async connectToDeltaStream(client: IClient): Promise<api.IDocumentDeltaConnection> {\n if (this.policies.storageOnly === true) {\n throw new Error(\"can't connect to delta stream in storage-only mode\");\n }\n if (this.innerDocumentService) {\n return this.innerDocumentService.connectToDeltaStream(client);\n }\n const ordererToken = await this.tokenProvider.fetchOrdererToken(\n this.tenantId,\n this.documentId,\n );\n const documentDeltaConnection = await LocalDocumentDeltaConnection.create(\n this.tenantId,\n this.documentId,\n ordererToken.jwt,\n client,\n this.localDeltaConnectionServer.webSocketServer,\n );\n const clientId = documentDeltaConnection.clientId;\n\n // Add this document service for the clientId in the document service factory.\n this.documentDeltaConnectionsMap.set(clientId, documentDeltaConnection);\n\n // Add a listener to remove this document service when the client is disconnected.\n documentDeltaConnection.on(\"disconnect\", () => {\n this.documentDeltaConnectionsMap.delete(clientId);\n });\n\n return documentDeltaConnection;\n }\n}\n\n/**\n * Creates and returns a document service for local use.\n * @param localDeltaConnectionServer - delta connection server for ops\n * @param tokenProvider - token provider with a single token\n * @param tenantId - ID of tenant\n * @param documentId - ID of document\n */\nexport function createLocalDocumentService(\n resolvedUrl: api.IResolvedUrl,\n localDeltaConnectionServer: ILocalDeltaConnectionServer,\n tokenProvider: socketStorage.ITokenProvider,\n tenantId: string,\n documentId: string,\n documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>,\n policies?: api.IDocumentServicePolicies,\n innerDocumentService?: api.IDocumentService): api.IDocumentService {\n return new LocalDocumentService(\n resolvedUrl,\n localDeltaConnectionServer,\n tokenProvider,\n tenantId,\n documentId,\n documentDeltaConnectionsMap,\n policies,\n innerDocumentService,\n );\n}\n"]}
|
package/dist/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/local-driver";
|
|
8
|
-
export declare const pkgVersion = "0.
|
|
8
|
+
export declare const pkgVersion = "0.56.0-49831";
|
|
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,iCAAiC,CAAC;AACtD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,iCAAiC,CAAC;AACtD,eAAO,MAAM,UAAU,iBAAiB,CAAC"}
|
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/local-driver";
|
|
11
|
-
exports.pkgVersion = "0.
|
|
11
|
+
exports.pkgVersion = "0.56.0-49831";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,8BAA8B,CAAC;AACzC,QAAA,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,8BAA8B,CAAC;AACzC,QAAA,UAAU,GAAG,cAAc,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/local-driver\";\nexport const pkgVersion = \"0.56.0-49831\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/local-driver",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0-49831",
|
|
4
4
|
"description": "Fluid local driver",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": "https://github.com/microsoft/FluidFramework",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
21
21
|
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
22
22
|
"eslint": "eslint --format stylish src",
|
|
23
|
-
"eslint:fix": "eslint --format stylish src --fix",
|
|
23
|
+
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
24
24
|
"lint": "npm run eslint",
|
|
25
25
|
"lint:fix": "npm run eslint:fix",
|
|
26
26
|
"test": "npm run test:mocha",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@fluidframework/common-definitions": "^0.20.1",
|
|
56
56
|
"@fluidframework/common-utils": "^0.32.1",
|
|
57
|
-
"@fluidframework/core-interfaces": "^0.
|
|
58
|
-
"@fluidframework/driver-base": "
|
|
59
|
-
"@fluidframework/driver-definitions": "^0.
|
|
60
|
-
"@fluidframework/driver-utils": "
|
|
57
|
+
"@fluidframework/core-interfaces": "^0.42.0-0",
|
|
58
|
+
"@fluidframework/driver-base": "0.56.0-49831",
|
|
59
|
+
"@fluidframework/driver-definitions": "^0.44.0-0",
|
|
60
|
+
"@fluidframework/driver-utils": "0.56.0-49831",
|
|
61
61
|
"@fluidframework/protocol-definitions": "^0.1026.0",
|
|
62
|
-
"@fluidframework/routerlicious-driver": "
|
|
62
|
+
"@fluidframework/routerlicious-driver": "0.56.0-49831",
|
|
63
63
|
"@fluidframework/server-local-server": "^0.1034.0",
|
|
64
64
|
"@fluidframework/server-services-client": "^0.1034.0",
|
|
65
65
|
"@fluidframework/server-services-core": "^0.1034.0",
|
|
@@ -69,22 +69,23 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@fluidframework/build-common": "^0.23.0",
|
|
72
|
-
"@fluidframework/eslint-config-fluid": "^0.
|
|
73
|
-
"@fluidframework/mocha-test-setup": "
|
|
72
|
+
"@fluidframework/eslint-config-fluid": "^0.25.0",
|
|
73
|
+
"@fluidframework/mocha-test-setup": "0.56.0-49831",
|
|
74
|
+
"@rushstack/eslint-config": "^2.5.1",
|
|
74
75
|
"@types/jsrsasign": "^8.0.8",
|
|
75
76
|
"@types/mocha": "^8.2.2",
|
|
76
77
|
"@types/node": "^14.18.0",
|
|
77
|
-
"@typescript-eslint/eslint-plugin": "~
|
|
78
|
-
"@typescript-eslint/parser": "~
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "~5.9.0",
|
|
79
|
+
"@typescript-eslint/parser": "~5.9.0",
|
|
79
80
|
"concurrently": "^6.2.0",
|
|
80
81
|
"cross-env": "^7.0.2",
|
|
81
|
-
"eslint": "~
|
|
82
|
+
"eslint": "~8.6.0",
|
|
83
|
+
"eslint-plugin-editorconfig": "~3.2.0",
|
|
82
84
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
83
|
-
"eslint-plugin-import": "~2.
|
|
85
|
+
"eslint-plugin-import": "~2.25.4",
|
|
84
86
|
"eslint-plugin-no-null": "~1.0.2",
|
|
85
|
-
"eslint-plugin-
|
|
86
|
-
"eslint-plugin-
|
|
87
|
-
"eslint-plugin-unicorn": "~26.0.1",
|
|
87
|
+
"eslint-plugin-react": "~7.28.0",
|
|
88
|
+
"eslint-plugin-unicorn": "~40.0.0",
|
|
88
89
|
"mocha": "^8.4.0",
|
|
89
90
|
"nyc": "^15.0.0",
|
|
90
91
|
"rimraf": "^2.6.2",
|
|
@@ -102,7 +102,6 @@ export class LocalDocumentService implements api.IDocumentService {
|
|
|
102
102
|
* @param tenantId - ID of tenant
|
|
103
103
|
* @param documentId - ID of document
|
|
104
104
|
*/
|
|
105
|
-
// eslint-disable-next-line prefer-arrow/prefer-arrow-functions
|
|
106
105
|
export function createLocalDocumentService(
|
|
107
106
|
resolvedUrl: api.IResolvedUrl,
|
|
108
107
|
localDeltaConnectionServer: ILocalDeltaConnectionServer,
|
package/src/packageVersion.ts
CHANGED