@fluidframework/driver-utils 2.0.0-internal.2.0.3 → 2.0.0-internal.2.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/dist/index.d.ts CHANGED
@@ -2,25 +2,25 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./blobCacheStorageService";
6
- export * from "./blobAggregationStorage";
7
- export * from "./buildSnapshotTree";
8
- export * from "./documentStorageServiceProxy";
9
- export * from "./insecureUrlResolver";
10
- export * from "./multiDocumentServiceFactory";
11
- export * from "./multiUrlResolver";
12
- export * from "./network";
13
- export * from "./readAndParse";
14
- export * from "./fluidResolvedUrl";
15
- export * from "./summaryForCreateNew";
16
- export * from "./parallelRequests";
17
- export * from "./prefetchDocumentStorageService";
18
- export * from "./networkUtils";
19
- export * from "./rateLimiter";
20
- export * from "./runWithRetry";
21
- export * from "./treeConversions";
22
- export * from "./treeUtils";
23
- export * from "./messageRecognition";
24
- export * from "./error";
25
- export * from "./emptyDocumentDeltaStorageService";
5
+ export { BlobAggregationStorage, SnapshotExtractor } from "./blobAggregationStorage";
6
+ export { BlobCacheStorageService } from "./blobCacheStorageService";
7
+ export { buildSnapshotTree } from "./buildSnapshotTree";
8
+ export { DocumentStorageServiceProxy } from "./documentStorageServiceProxy";
9
+ export { EmptyDocumentDeltaStorageService } from "./emptyDocumentDeltaStorageService";
10
+ export { UsageError } from "./error";
11
+ export { ensureFluidResolvedUrl, isFluidResolvedUrl } from "./fluidResolvedUrl";
12
+ export { InsecureUrlResolver } from "./insecureUrlResolver";
13
+ export { canBeCoalescedByService, isRuntimeMessage, isUnpackedRuntimeMessage, MessageType2, } from "./messageRecognition";
14
+ export { MultiDocumentServiceFactory } from "./multiDocumentServiceFactory";
15
+ export { configurableUrlResolver, MultiUrlResolver } from "./multiUrlResolver";
16
+ export { AuthorizationError, canRetryOnError, createGenericNetworkError, createWriteError, DeltaStreamConnectionForbiddenError, DriverErrorTelemetryProps, FluidInvalidSchemaError, GenericNetworkError, getRetryDelayFromError, getRetryDelaySecondsFromError, IAnyDriverError, isOnline, LocationRedirectionError, NetworkErrorBasic, NonRetryableError, OnlineStatus, RetryableError, ThrottlingError, } from "./network";
17
+ export { logNetworkFailure, waitForConnectedState } from "./networkUtils";
18
+ export { emptyMessageStream, ParallelRequests, Queue, requestOps, streamFromMessages, streamObserver, } from "./parallelRequests";
19
+ export { PrefetchDocumentStorageService } from "./prefetchDocumentStorageService";
20
+ export { RateLimiter } from "./rateLimiter";
21
+ export { readAndParse } from "./readAndParse";
22
+ export { IProgress, runWithRetry } from "./runWithRetry";
23
+ export { combineAppAndProtocolSummary, getDocAttributesFromProtocolSummary, getQuorumValuesFromProtocolSummary, } from "./summaryForCreateNew";
24
+ export { convertSummaryTreeToSnapshotITree } from "./treeConversions";
25
+ export { convertSnapshotAndBlobsToSummaryTree, ISummaryTreeAssemblerProps, SummaryTreeAssembler } from "./treeUtils";
26
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CA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UAAU,EACV,kBAAkB,EAClB,cAAc,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EACN,4BAA4B,EAC5B,mCAAmC,EACnC,kCAAkC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,oCAAoC,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -3,36 +3,79 @@
3
3
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
4
4
  * Licensed under the MIT License.
5
5
  */
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
6
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./blobCacheStorageService"), exports);
18
- __exportStar(require("./blobAggregationStorage"), exports);
19
- __exportStar(require("./buildSnapshotTree"), exports);
20
- __exportStar(require("./documentStorageServiceProxy"), exports);
21
- __exportStar(require("./insecureUrlResolver"), exports);
22
- __exportStar(require("./multiDocumentServiceFactory"), exports);
23
- __exportStar(require("./multiUrlResolver"), exports);
24
- __exportStar(require("./network"), exports);
25
- __exportStar(require("./readAndParse"), exports);
26
- __exportStar(require("./fluidResolvedUrl"), exports);
27
- __exportStar(require("./summaryForCreateNew"), exports);
28
- __exportStar(require("./parallelRequests"), exports);
29
- __exportStar(require("./prefetchDocumentStorageService"), exports);
30
- __exportStar(require("./networkUtils"), exports);
31
- __exportStar(require("./rateLimiter"), exports);
32
- __exportStar(require("./runWithRetry"), exports);
33
- __exportStar(require("./treeConversions"), exports);
34
- __exportStar(require("./treeUtils"), exports);
35
- __exportStar(require("./messageRecognition"), exports);
36
- __exportStar(require("./error"), exports);
37
- __exportStar(require("./emptyDocumentDeltaStorageService"), exports);
7
+ exports.convertSnapshotAndBlobsToSummaryTree = exports.convertSummaryTreeToSnapshotITree = exports.getQuorumValuesFromProtocolSummary = exports.getDocAttributesFromProtocolSummary = exports.combineAppAndProtocolSummary = exports.runWithRetry = exports.readAndParse = exports.RateLimiter = exports.PrefetchDocumentStorageService = exports.streamObserver = exports.streamFromMessages = exports.requestOps = exports.Queue = exports.ParallelRequests = exports.emptyMessageStream = exports.waitForConnectedState = exports.logNetworkFailure = exports.ThrottlingError = exports.RetryableError = exports.OnlineStatus = exports.NonRetryableError = exports.NetworkErrorBasic = exports.LocationRedirectionError = exports.isOnline = exports.getRetryDelaySecondsFromError = exports.getRetryDelayFromError = exports.GenericNetworkError = exports.FluidInvalidSchemaError = exports.DeltaStreamConnectionForbiddenError = exports.createWriteError = exports.createGenericNetworkError = exports.canRetryOnError = exports.AuthorizationError = exports.MultiUrlResolver = exports.configurableUrlResolver = exports.MultiDocumentServiceFactory = exports.MessageType2 = exports.isUnpackedRuntimeMessage = exports.isRuntimeMessage = exports.canBeCoalescedByService = exports.InsecureUrlResolver = exports.isFluidResolvedUrl = exports.ensureFluidResolvedUrl = exports.UsageError = exports.EmptyDocumentDeltaStorageService = exports.DocumentStorageServiceProxy = exports.buildSnapshotTree = exports.BlobCacheStorageService = exports.SnapshotExtractor = exports.BlobAggregationStorage = void 0;
8
+ exports.SummaryTreeAssembler = void 0;
9
+ var blobAggregationStorage_1 = require("./blobAggregationStorage");
10
+ Object.defineProperty(exports, "BlobAggregationStorage", { enumerable: true, get: function () { return blobAggregationStorage_1.BlobAggregationStorage; } });
11
+ Object.defineProperty(exports, "SnapshotExtractor", { enumerable: true, get: function () { return blobAggregationStorage_1.SnapshotExtractor; } });
12
+ var blobCacheStorageService_1 = require("./blobCacheStorageService");
13
+ Object.defineProperty(exports, "BlobCacheStorageService", { enumerable: true, get: function () { return blobCacheStorageService_1.BlobCacheStorageService; } });
14
+ var buildSnapshotTree_1 = require("./buildSnapshotTree");
15
+ Object.defineProperty(exports, "buildSnapshotTree", { enumerable: true, get: function () { return buildSnapshotTree_1.buildSnapshotTree; } });
16
+ var documentStorageServiceProxy_1 = require("./documentStorageServiceProxy");
17
+ Object.defineProperty(exports, "DocumentStorageServiceProxy", { enumerable: true, get: function () { return documentStorageServiceProxy_1.DocumentStorageServiceProxy; } });
18
+ var emptyDocumentDeltaStorageService_1 = require("./emptyDocumentDeltaStorageService");
19
+ Object.defineProperty(exports, "EmptyDocumentDeltaStorageService", { enumerable: true, get: function () { return emptyDocumentDeltaStorageService_1.EmptyDocumentDeltaStorageService; } });
20
+ var error_1 = require("./error");
21
+ Object.defineProperty(exports, "UsageError", { enumerable: true, get: function () { return error_1.UsageError; } });
22
+ var fluidResolvedUrl_1 = require("./fluidResolvedUrl");
23
+ Object.defineProperty(exports, "ensureFluidResolvedUrl", { enumerable: true, get: function () { return fluidResolvedUrl_1.ensureFluidResolvedUrl; } });
24
+ Object.defineProperty(exports, "isFluidResolvedUrl", { enumerable: true, get: function () { return fluidResolvedUrl_1.isFluidResolvedUrl; } });
25
+ var insecureUrlResolver_1 = require("./insecureUrlResolver");
26
+ Object.defineProperty(exports, "InsecureUrlResolver", { enumerable: true, get: function () { return insecureUrlResolver_1.InsecureUrlResolver; } });
27
+ var messageRecognition_1 = require("./messageRecognition");
28
+ Object.defineProperty(exports, "canBeCoalescedByService", { enumerable: true, get: function () { return messageRecognition_1.canBeCoalescedByService; } });
29
+ Object.defineProperty(exports, "isRuntimeMessage", { enumerable: true, get: function () { return messageRecognition_1.isRuntimeMessage; } });
30
+ Object.defineProperty(exports, "isUnpackedRuntimeMessage", { enumerable: true, get: function () { return messageRecognition_1.isUnpackedRuntimeMessage; } });
31
+ Object.defineProperty(exports, "MessageType2", { enumerable: true, get: function () { return messageRecognition_1.MessageType2; } });
32
+ var multiDocumentServiceFactory_1 = require("./multiDocumentServiceFactory");
33
+ Object.defineProperty(exports, "MultiDocumentServiceFactory", { enumerable: true, get: function () { return multiDocumentServiceFactory_1.MultiDocumentServiceFactory; } });
34
+ var multiUrlResolver_1 = require("./multiUrlResolver");
35
+ Object.defineProperty(exports, "configurableUrlResolver", { enumerable: true, get: function () { return multiUrlResolver_1.configurableUrlResolver; } });
36
+ Object.defineProperty(exports, "MultiUrlResolver", { enumerable: true, get: function () { return multiUrlResolver_1.MultiUrlResolver; } });
37
+ var network_1 = require("./network");
38
+ Object.defineProperty(exports, "AuthorizationError", { enumerable: true, get: function () { return network_1.AuthorizationError; } });
39
+ Object.defineProperty(exports, "canRetryOnError", { enumerable: true, get: function () { return network_1.canRetryOnError; } });
40
+ Object.defineProperty(exports, "createGenericNetworkError", { enumerable: true, get: function () { return network_1.createGenericNetworkError; } });
41
+ Object.defineProperty(exports, "createWriteError", { enumerable: true, get: function () { return network_1.createWriteError; } });
42
+ Object.defineProperty(exports, "DeltaStreamConnectionForbiddenError", { enumerable: true, get: function () { return network_1.DeltaStreamConnectionForbiddenError; } });
43
+ Object.defineProperty(exports, "FluidInvalidSchemaError", { enumerable: true, get: function () { return network_1.FluidInvalidSchemaError; } });
44
+ Object.defineProperty(exports, "GenericNetworkError", { enumerable: true, get: function () { return network_1.GenericNetworkError; } });
45
+ Object.defineProperty(exports, "getRetryDelayFromError", { enumerable: true, get: function () { return network_1.getRetryDelayFromError; } });
46
+ Object.defineProperty(exports, "getRetryDelaySecondsFromError", { enumerable: true, get: function () { return network_1.getRetryDelaySecondsFromError; } });
47
+ Object.defineProperty(exports, "isOnline", { enumerable: true, get: function () { return network_1.isOnline; } });
48
+ Object.defineProperty(exports, "LocationRedirectionError", { enumerable: true, get: function () { return network_1.LocationRedirectionError; } });
49
+ Object.defineProperty(exports, "NetworkErrorBasic", { enumerable: true, get: function () { return network_1.NetworkErrorBasic; } });
50
+ Object.defineProperty(exports, "NonRetryableError", { enumerable: true, get: function () { return network_1.NonRetryableError; } });
51
+ Object.defineProperty(exports, "OnlineStatus", { enumerable: true, get: function () { return network_1.OnlineStatus; } });
52
+ Object.defineProperty(exports, "RetryableError", { enumerable: true, get: function () { return network_1.RetryableError; } });
53
+ Object.defineProperty(exports, "ThrottlingError", { enumerable: true, get: function () { return network_1.ThrottlingError; } });
54
+ var networkUtils_1 = require("./networkUtils");
55
+ Object.defineProperty(exports, "logNetworkFailure", { enumerable: true, get: function () { return networkUtils_1.logNetworkFailure; } });
56
+ Object.defineProperty(exports, "waitForConnectedState", { enumerable: true, get: function () { return networkUtils_1.waitForConnectedState; } });
57
+ var parallelRequests_1 = require("./parallelRequests");
58
+ Object.defineProperty(exports, "emptyMessageStream", { enumerable: true, get: function () { return parallelRequests_1.emptyMessageStream; } });
59
+ Object.defineProperty(exports, "ParallelRequests", { enumerable: true, get: function () { return parallelRequests_1.ParallelRequests; } });
60
+ Object.defineProperty(exports, "Queue", { enumerable: true, get: function () { return parallelRequests_1.Queue; } });
61
+ Object.defineProperty(exports, "requestOps", { enumerable: true, get: function () { return parallelRequests_1.requestOps; } });
62
+ Object.defineProperty(exports, "streamFromMessages", { enumerable: true, get: function () { return parallelRequests_1.streamFromMessages; } });
63
+ Object.defineProperty(exports, "streamObserver", { enumerable: true, get: function () { return parallelRequests_1.streamObserver; } });
64
+ var prefetchDocumentStorageService_1 = require("./prefetchDocumentStorageService");
65
+ Object.defineProperty(exports, "PrefetchDocumentStorageService", { enumerable: true, get: function () { return prefetchDocumentStorageService_1.PrefetchDocumentStorageService; } });
66
+ var rateLimiter_1 = require("./rateLimiter");
67
+ Object.defineProperty(exports, "RateLimiter", { enumerable: true, get: function () { return rateLimiter_1.RateLimiter; } });
68
+ var readAndParse_1 = require("./readAndParse");
69
+ Object.defineProperty(exports, "readAndParse", { enumerable: true, get: function () { return readAndParse_1.readAndParse; } });
70
+ var runWithRetry_1 = require("./runWithRetry");
71
+ Object.defineProperty(exports, "runWithRetry", { enumerable: true, get: function () { return runWithRetry_1.runWithRetry; } });
72
+ var summaryForCreateNew_1 = require("./summaryForCreateNew");
73
+ Object.defineProperty(exports, "combineAppAndProtocolSummary", { enumerable: true, get: function () { return summaryForCreateNew_1.combineAppAndProtocolSummary; } });
74
+ Object.defineProperty(exports, "getDocAttributesFromProtocolSummary", { enumerable: true, get: function () { return summaryForCreateNew_1.getDocAttributesFromProtocolSummary; } });
75
+ Object.defineProperty(exports, "getQuorumValuesFromProtocolSummary", { enumerable: true, get: function () { return summaryForCreateNew_1.getQuorumValuesFromProtocolSummary; } });
76
+ var treeConversions_1 = require("./treeConversions");
77
+ Object.defineProperty(exports, "convertSummaryTreeToSnapshotITree", { enumerable: true, get: function () { return treeConversions_1.convertSummaryTreeToSnapshotITree; } });
78
+ var treeUtils_1 = require("./treeUtils");
79
+ Object.defineProperty(exports, "convertSnapshotAndBlobsToSummaryTree", { enumerable: true, get: function () { return treeUtils_1.convertSnapshotAndBlobsToSummaryTree; } });
80
+ Object.defineProperty(exports, "SummaryTreeAssembler", { enumerable: true, get: function () { return treeUtils_1.SummaryTreeAssembler; } });
38
81
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;AAEH,4DAA0C;AAC1C,2DAAyC;AACzC,sDAAoC;AACpC,gEAA8C;AAC9C,wDAAsC;AACtC,gEAA8C;AAC9C,qDAAmC;AACnC,4CAA0B;AAC1B,iDAA+B;AAC/B,qDAAmC;AACnC,wDAAsC;AACtC,qDAAmC;AACnC,mEAAiD;AACjD,iDAA+B;AAC/B,gDAA8B;AAC9B,iDAA+B;AAC/B,oDAAkC;AAClC,8CAA4B;AAC5B,uDAAqC;AACrC,0CAAwB;AACxB,qEAAmD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./blobCacheStorageService\";\nexport * from \"./blobAggregationStorage\";\nexport * from \"./buildSnapshotTree\";\nexport * from \"./documentStorageServiceProxy\";\nexport * from \"./insecureUrlResolver\";\nexport * from \"./multiDocumentServiceFactory\";\nexport * from \"./multiUrlResolver\";\nexport * from \"./network\";\nexport * from \"./readAndParse\";\nexport * from \"./fluidResolvedUrl\";\nexport * from \"./summaryForCreateNew\";\nexport * from \"./parallelRequests\";\nexport * from \"./prefetchDocumentStorageService\";\nexport * from \"./networkUtils\";\nexport * from \"./rateLimiter\";\nexport * from \"./runWithRetry\";\nexport * from \"./treeConversions\";\nexport * from \"./treeUtils\";\nexport * from \"./messageRecognition\";\nexport * from \"./error\";\nexport * from \"./emptyDocumentDeltaStorageService\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;AAEH,mEAAqF;AAA5E,gIAAA,sBAAsB,OAAA;AAAE,2HAAA,iBAAiB,OAAA;AAClD,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAC1B,6EAA4E;AAAnE,0IAAA,2BAA2B,OAAA;AACpC,uFAAsF;AAA7E,oJAAA,gCAAgC,OAAA;AACzC,iCAAqC;AAA5B,mGAAA,UAAU,OAAA;AACnB,uDAAgF;AAAvE,0HAAA,sBAAsB,OAAA;AAAE,sHAAA,kBAAkB,OAAA;AACnD,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAC5B,2DAK8B;AAJ7B,6HAAA,uBAAuB,OAAA;AACvB,sHAAA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8B,iHAAA,oBAAoB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { BlobAggregationStorage, SnapshotExtractor } from \"./blobAggregationStorage\";\nexport { BlobCacheStorageService } from \"./blobCacheStorageService\";\nexport { buildSnapshotTree } from \"./buildSnapshotTree\";\nexport { DocumentStorageServiceProxy } from \"./documentStorageServiceProxy\";\nexport { EmptyDocumentDeltaStorageService } from \"./emptyDocumentDeltaStorageService\";\nexport { UsageError } from \"./error\";\nexport { ensureFluidResolvedUrl, isFluidResolvedUrl } from \"./fluidResolvedUrl\";\nexport { InsecureUrlResolver } from \"./insecureUrlResolver\";\nexport {\n\tcanBeCoalescedByService,\n\tisRuntimeMessage,\n\tisUnpackedRuntimeMessage,\n\tMessageType2,\n} from \"./messageRecognition\";\nexport { MultiDocumentServiceFactory } from \"./multiDocumentServiceFactory\";\nexport { configurableUrlResolver, MultiUrlResolver } from \"./multiUrlResolver\";\nexport {\n\tAuthorizationError,\n\tcanRetryOnError,\n\tcreateGenericNetworkError,\n\tcreateWriteError,\n\tDeltaStreamConnectionForbiddenError,\n\tDriverErrorTelemetryProps,\n\tFluidInvalidSchemaError,\n\tGenericNetworkError,\n\tgetRetryDelayFromError,\n\tgetRetryDelaySecondsFromError,\n\tIAnyDriverError,\n\tisOnline,\n\tLocationRedirectionError,\n\tNetworkErrorBasic,\n\tNonRetryableError,\n\tOnlineStatus,\n\tRetryableError,\n\tThrottlingError,\n} from \"./network\";\nexport { logNetworkFailure, waitForConnectedState } from \"./networkUtils\";\nexport {\n\temptyMessageStream,\n\tParallelRequests,\n\tQueue,\n\trequestOps,\n\tstreamFromMessages,\n\tstreamObserver,\n} from \"./parallelRequests\";\nexport { PrefetchDocumentStorageService } from \"./prefetchDocumentStorageService\";\nexport { RateLimiter } from \"./rateLimiter\";\nexport { readAndParse } from \"./readAndParse\";\nexport { IProgress, runWithRetry } from \"./runWithRetry\";\nexport {\n\tcombineAppAndProtocolSummary,\n\tgetDocAttributesFromProtocolSummary,\n\tgetQuorumValuesFromProtocolSummary,\n} from \"./summaryForCreateNew\";\nexport { convertSummaryTreeToSnapshotITree } from \"./treeConversions\";\nexport { convertSnapshotAndBlobsToSummaryTree, ISummaryTreeAssemblerProps, SummaryTreeAssembler } from \"./treeUtils\";\n"]}
@@ -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/driver-utils";
8
- export declare const pkgVersion = "2.0.0-internal.2.0.3";
8
+ export declare const pkgVersion = "2.0.0-internal.2.1.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -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/driver-utils";
11
- exports.pkgVersion = "2.0.0-internal.2.0.3";
11
+ exports.pkgVersion = "2.0.0-internal.2.1.0";
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,sBAAsB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.0.3\";\n"]}
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,sBAAsB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.1.0\";\n"]}
package/lib/index.d.ts CHANGED
@@ -2,25 +2,25 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./blobCacheStorageService";
6
- export * from "./blobAggregationStorage";
7
- export * from "./buildSnapshotTree";
8
- export * from "./documentStorageServiceProxy";
9
- export * from "./insecureUrlResolver";
10
- export * from "./multiDocumentServiceFactory";
11
- export * from "./multiUrlResolver";
12
- export * from "./network";
13
- export * from "./readAndParse";
14
- export * from "./fluidResolvedUrl";
15
- export * from "./summaryForCreateNew";
16
- export * from "./parallelRequests";
17
- export * from "./prefetchDocumentStorageService";
18
- export * from "./networkUtils";
19
- export * from "./rateLimiter";
20
- export * from "./runWithRetry";
21
- export * from "./treeConversions";
22
- export * from "./treeUtils";
23
- export * from "./messageRecognition";
24
- export * from "./error";
25
- export * from "./emptyDocumentDeltaStorageService";
5
+ export { BlobAggregationStorage, SnapshotExtractor } from "./blobAggregationStorage";
6
+ export { BlobCacheStorageService } from "./blobCacheStorageService";
7
+ export { buildSnapshotTree } from "./buildSnapshotTree";
8
+ export { DocumentStorageServiceProxy } from "./documentStorageServiceProxy";
9
+ export { EmptyDocumentDeltaStorageService } from "./emptyDocumentDeltaStorageService";
10
+ export { UsageError } from "./error";
11
+ export { ensureFluidResolvedUrl, isFluidResolvedUrl } from "./fluidResolvedUrl";
12
+ export { InsecureUrlResolver } from "./insecureUrlResolver";
13
+ export { canBeCoalescedByService, isRuntimeMessage, isUnpackedRuntimeMessage, MessageType2, } from "./messageRecognition";
14
+ export { MultiDocumentServiceFactory } from "./multiDocumentServiceFactory";
15
+ export { configurableUrlResolver, MultiUrlResolver } from "./multiUrlResolver";
16
+ export { AuthorizationError, canRetryOnError, createGenericNetworkError, createWriteError, DeltaStreamConnectionForbiddenError, DriverErrorTelemetryProps, FluidInvalidSchemaError, GenericNetworkError, getRetryDelayFromError, getRetryDelaySecondsFromError, IAnyDriverError, isOnline, LocationRedirectionError, NetworkErrorBasic, NonRetryableError, OnlineStatus, RetryableError, ThrottlingError, } from "./network";
17
+ export { logNetworkFailure, waitForConnectedState } from "./networkUtils";
18
+ export { emptyMessageStream, ParallelRequests, Queue, requestOps, streamFromMessages, streamObserver, } from "./parallelRequests";
19
+ export { PrefetchDocumentStorageService } from "./prefetchDocumentStorageService";
20
+ export { RateLimiter } from "./rateLimiter";
21
+ export { readAndParse } from "./readAndParse";
22
+ export { IProgress, runWithRetry } from "./runWithRetry";
23
+ export { combineAppAndProtocolSummary, getDocAttributesFromProtocolSummary, getQuorumValuesFromProtocolSummary, } from "./summaryForCreateNew";
24
+ export { convertSummaryTreeToSnapshotITree } from "./treeConversions";
25
+ export { convertSnapshotAndBlobsToSummaryTree, ISummaryTreeAssemblerProps, SummaryTreeAssembler } from "./treeUtils";
26
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cA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B,CAAC;AAC1E,OAAO,EACN,kBAAkB,EAClB,gBAAgB,EAChB,KAAK,EACL,UAAU,EACV,kBAAkB,EAClB,cAAc,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EACN,4BAA4B,EAC5B,mCAAmC,EACnC,kCAAkC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,oCAAoC,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
package/lib/index.js CHANGED
@@ -2,25 +2,25 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./blobCacheStorageService";
6
- export * from "./blobAggregationStorage";
7
- export * from "./buildSnapshotTree";
8
- export * from "./documentStorageServiceProxy";
9
- export * from "./insecureUrlResolver";
10
- export * from "./multiDocumentServiceFactory";
11
- export * from "./multiUrlResolver";
12
- export * from "./network";
13
- export * from "./readAndParse";
14
- export * from "./fluidResolvedUrl";
15
- export * from "./summaryForCreateNew";
16
- export * from "./parallelRequests";
17
- export * from "./prefetchDocumentStorageService";
18
- export * from "./networkUtils";
19
- export * from "./rateLimiter";
20
- export * from "./runWithRetry";
21
- export * from "./treeConversions";
22
- export * from "./treeUtils";
23
- export * from "./messageRecognition";
24
- export * from "./error";
25
- export * from "./emptyDocumentDeltaStorageService";
5
+ export { BlobAggregationStorage, SnapshotExtractor } from "./blobAggregationStorage";
6
+ export { BlobCacheStorageService } from "./blobCacheStorageService";
7
+ export { buildSnapshotTree } from "./buildSnapshotTree";
8
+ export { DocumentStorageServiceProxy } from "./documentStorageServiceProxy";
9
+ export { EmptyDocumentDeltaStorageService } from "./emptyDocumentDeltaStorageService";
10
+ export { UsageError } from "./error";
11
+ export { ensureFluidResolvedUrl, isFluidResolvedUrl } from "./fluidResolvedUrl";
12
+ export { InsecureUrlResolver } from "./insecureUrlResolver";
13
+ export { canBeCoalescedByService, isRuntimeMessage, isUnpackedRuntimeMessage, MessageType2, } from "./messageRecognition";
14
+ export { MultiDocumentServiceFactory } from "./multiDocumentServiceFactory";
15
+ export { configurableUrlResolver, MultiUrlResolver } from "./multiUrlResolver";
16
+ export { AuthorizationError, canRetryOnError, createGenericNetworkError, createWriteError, DeltaStreamConnectionForbiddenError, FluidInvalidSchemaError, GenericNetworkError, getRetryDelayFromError, getRetryDelaySecondsFromError, isOnline, LocationRedirectionError, NetworkErrorBasic, NonRetryableError, OnlineStatus, RetryableError, ThrottlingError, } from "./network";
17
+ export { logNetworkFailure, waitForConnectedState } from "./networkUtils";
18
+ export { emptyMessageStream, ParallelRequests, Queue, requestOps, streamFromMessages, streamObserver, } from "./parallelRequests";
19
+ export { PrefetchDocumentStorageService } from "./prefetchDocumentStorageService";
20
+ export { RateLimiter } from "./rateLimiter";
21
+ export { readAndParse } from "./readAndParse";
22
+ export { runWithRetry } from "./runWithRetry";
23
+ export { combineAppAndProtocolSummary, getDocAttributesFromProtocolSummary, getQuorumValuesFromProtocolSummary, } from "./summaryForCreateNew";
24
+ export { convertSummaryTreeToSnapshotITree } from "./treeConversions";
25
+ export { convertSnapshotAndBlobsToSummaryTree, SummaryTreeAssembler } from "./treeUtils";
26
26
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kCAAkC,CAAC;AACjD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,oCAAoC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./blobCacheStorageService\";\nexport * from \"./blobAggregationStorage\";\nexport * from \"./buildSnapshotTree\";\nexport * from \"./documentStorageServiceProxy\";\nexport * from \"./insecureUrlResolver\";\nexport * from \"./multiDocumentServiceFactory\";\nexport * from \"./multiUrlResolver\";\nexport * from \"./network\";\nexport * from \"./readAndParse\";\nexport * from \"./fluidResolvedUrl\";\nexport * from \"./summaryForCreateNew\";\nexport * from \"./parallelRequests\";\nexport * from \"./prefetchDocumentStorageService\";\nexport * from \"./networkUtils\";\nexport * from \"./rateLimiter\";\nexport * from \"./runWithRetry\";\nexport * from \"./treeConversions\";\nexport * from \"./treeUtils\";\nexport * from \"./messageRecognition\";\nexport * from \"./error\";\nexport * from \"./emptyDocumentDeltaStorageService\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,iBAAiB,E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B,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,oCAAoC,EAA8B,oBAAoB,EAAE,MAAM,aAAa,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { BlobAggregationStorage, SnapshotExtractor } from \"./blobAggregationStorage\";\nexport { BlobCacheStorageService } from \"./blobCacheStorageService\";\nexport { buildSnapshotTree } from \"./buildSnapshotTree\";\nexport { DocumentStorageServiceProxy } from \"./documentStorageServiceProxy\";\nexport { EmptyDocumentDeltaStorageService } from \"./emptyDocumentDeltaStorageService\";\nexport { UsageError } from \"./error\";\nexport { ensureFluidResolvedUrl, isFluidResolvedUrl } from \"./fluidResolvedUrl\";\nexport { InsecureUrlResolver } from \"./insecureUrlResolver\";\nexport {\n\tcanBeCoalescedByService,\n\tisRuntimeMessage,\n\tisUnpackedRuntimeMessage,\n\tMessageType2,\n} from \"./messageRecognition\";\nexport { MultiDocumentServiceFactory } from \"./multiDocumentServiceFactory\";\nexport { configurableUrlResolver, MultiUrlResolver } from \"./multiUrlResolver\";\nexport {\n\tAuthorizationError,\n\tcanRetryOnError,\n\tcreateGenericNetworkError,\n\tcreateWriteError,\n\tDeltaStreamConnectionForbiddenError,\n\tDriverErrorTelemetryProps,\n\tFluidInvalidSchemaError,\n\tGenericNetworkError,\n\tgetRetryDelayFromError,\n\tgetRetryDelaySecondsFromError,\n\tIAnyDriverError,\n\tisOnline,\n\tLocationRedirectionError,\n\tNetworkErrorBasic,\n\tNonRetryableError,\n\tOnlineStatus,\n\tRetryableError,\n\tThrottlingError,\n} from \"./network\";\nexport { logNetworkFailure, waitForConnectedState } from \"./networkUtils\";\nexport {\n\temptyMessageStream,\n\tParallelRequests,\n\tQueue,\n\trequestOps,\n\tstreamFromMessages,\n\tstreamObserver,\n} from \"./parallelRequests\";\nexport { PrefetchDocumentStorageService } from \"./prefetchDocumentStorageService\";\nexport { RateLimiter } from \"./rateLimiter\";\nexport { readAndParse } from \"./readAndParse\";\nexport { IProgress, runWithRetry } from \"./runWithRetry\";\nexport {\n\tcombineAppAndProtocolSummary,\n\tgetDocAttributesFromProtocolSummary,\n\tgetQuorumValuesFromProtocolSummary,\n} from \"./summaryForCreateNew\";\nexport { convertSummaryTreeToSnapshotITree } from \"./treeConversions\";\nexport { convertSnapshotAndBlobsToSummaryTree, ISummaryTreeAssemblerProps, SummaryTreeAssembler } from \"./treeUtils\";\n"]}
@@ -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/driver-utils";
8
- export declare const pkgVersion = "2.0.0-internal.2.0.3";
8
+ export declare const pkgVersion = "2.0.0-internal.2.1.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/driver-utils";
8
- export const pkgVersion = "2.0.0-internal.2.0.3";
8
+ export const pkgVersion = "2.0.0-internal.2.1.0";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,8BAA8B,CAAC;AACtD,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.0.3\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,8BAA8B,CAAC;AACtD,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.1.0\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/driver-utils",
3
- "version": "2.0.0-internal.2.0.3",
3
+ "version": "2.0.0-internal.2.1.0",
4
4
  "description": "Collection of utility functions for Fluid drivers",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,8 +35,6 @@
35
35
  "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
36
36
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
37
37
  "tsc": "tsc",
38
- "tsfmt": "tsfmt --verify",
39
- "tsfmt:fix": "tsfmt --replace",
40
38
  "typetests:gen": "fluid-type-validator -g -d ."
41
39
  },
42
40
  "nyc": {
@@ -62,23 +60,24 @@
62
60
  "dependencies": {
63
61
  "@fluidframework/common-definitions": "^0.20.1",
64
62
  "@fluidframework/common-utils": "^1.0.0",
65
- "@fluidframework/core-interfaces": ">=2.0.0-internal.2.0.3 <2.0.0-internal.3.0.0",
66
- "@fluidframework/driver-definitions": ">=2.0.0-internal.2.0.3 <2.0.0-internal.3.0.0",
63
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
64
+ "@fluidframework/driver-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
67
65
  "@fluidframework/gitresources": "^0.1038.2000",
68
66
  "@fluidframework/protocol-base": "^0.1038.2000",
69
67
  "@fluidframework/protocol-definitions": "^1.1.0",
70
- "@fluidframework/telemetry-utils": ">=2.0.0-internal.2.0.3 <2.0.0-internal.3.0.0",
68
+ "@fluidframework/telemetry-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
71
69
  "axios": "^0.26.0",
72
70
  "url": "^0.11.0",
73
71
  "uuid": "^8.3.1"
74
72
  },
75
73
  "devDependencies": {
76
- "@fluidframework/build-common": "^1.0.0",
77
- "@fluidframework/build-tools": "^0.4.6000",
74
+ "@fluid-tools/build-cli": "^0.5.0",
75
+ "@fluidframework/build-common": "^1.1.0",
76
+ "@fluidframework/build-tools": "^0.5.0",
78
77
  "@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@2.0.0-internal.2.0.0",
79
- "@fluidframework/eslint-config-fluid": "^1.0.0",
80
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.0.3 <2.0.0-internal.3.0.0",
81
- "@fluidframework/runtime-utils": ">=2.0.0-internal.2.0.3 <2.0.0-internal.3.0.0",
78
+ "@fluidframework/eslint-config-fluid": "^1.1.0",
79
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
80
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
82
81
  "@microsoft/api-extractor": "^7.22.2",
83
82
  "@rushstack/eslint-config": "^2.5.1",
84
83
  "@types/mocha": "^9.1.1",
@@ -90,11 +89,10 @@
90
89
  "mocha": "^10.0.0",
91
90
  "nyc": "^15.0.0",
92
91
  "rimraf": "^2.6.2",
93
- "typescript": "~4.5.5",
94
- "typescript-formatter": "7.1.0"
92
+ "typescript": "~4.5.5"
95
93
  },
96
94
  "typeValidation": {
97
- "version": "2.0.0-internal.2.0.1",
95
+ "version": "2.0.0-internal.2.1.0",
98
96
  "broken": {}
99
97
  }
100
98
  }
package/src/index.ts CHANGED
@@ -3,24 +3,59 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- export * from "./blobCacheStorageService";
7
- export * from "./blobAggregationStorage";
8
- export * from "./buildSnapshotTree";
9
- export * from "./documentStorageServiceProxy";
10
- export * from "./insecureUrlResolver";
11
- export * from "./multiDocumentServiceFactory";
12
- export * from "./multiUrlResolver";
13
- export * from "./network";
14
- export * from "./readAndParse";
15
- export * from "./fluidResolvedUrl";
16
- export * from "./summaryForCreateNew";
17
- export * from "./parallelRequests";
18
- export * from "./prefetchDocumentStorageService";
19
- export * from "./networkUtils";
20
- export * from "./rateLimiter";
21
- export * from "./runWithRetry";
22
- export * from "./treeConversions";
23
- export * from "./treeUtils";
24
- export * from "./messageRecognition";
25
- export * from "./error";
26
- export * from "./emptyDocumentDeltaStorageService";
6
+ export { BlobAggregationStorage, SnapshotExtractor } from "./blobAggregationStorage";
7
+ export { BlobCacheStorageService } from "./blobCacheStorageService";
8
+ export { buildSnapshotTree } from "./buildSnapshotTree";
9
+ export { DocumentStorageServiceProxy } from "./documentStorageServiceProxy";
10
+ export { EmptyDocumentDeltaStorageService } from "./emptyDocumentDeltaStorageService";
11
+ export { UsageError } from "./error";
12
+ export { ensureFluidResolvedUrl, isFluidResolvedUrl } from "./fluidResolvedUrl";
13
+ export { InsecureUrlResolver } from "./insecureUrlResolver";
14
+ export {
15
+ canBeCoalescedByService,
16
+ isRuntimeMessage,
17
+ isUnpackedRuntimeMessage,
18
+ MessageType2,
19
+ } from "./messageRecognition";
20
+ export { MultiDocumentServiceFactory } from "./multiDocumentServiceFactory";
21
+ export { configurableUrlResolver, MultiUrlResolver } from "./multiUrlResolver";
22
+ export {
23
+ AuthorizationError,
24
+ canRetryOnError,
25
+ createGenericNetworkError,
26
+ createWriteError,
27
+ DeltaStreamConnectionForbiddenError,
28
+ DriverErrorTelemetryProps,
29
+ FluidInvalidSchemaError,
30
+ GenericNetworkError,
31
+ getRetryDelayFromError,
32
+ getRetryDelaySecondsFromError,
33
+ IAnyDriverError,
34
+ isOnline,
35
+ LocationRedirectionError,
36
+ NetworkErrorBasic,
37
+ NonRetryableError,
38
+ OnlineStatus,
39
+ RetryableError,
40
+ ThrottlingError,
41
+ } from "./network";
42
+ export { logNetworkFailure, waitForConnectedState } from "./networkUtils";
43
+ export {
44
+ emptyMessageStream,
45
+ ParallelRequests,
46
+ Queue,
47
+ requestOps,
48
+ streamFromMessages,
49
+ streamObserver,
50
+ } from "./parallelRequests";
51
+ export { PrefetchDocumentStorageService } from "./prefetchDocumentStorageService";
52
+ export { RateLimiter } from "./rateLimiter";
53
+ export { readAndParse } from "./readAndParse";
54
+ export { IProgress, runWithRetry } from "./runWithRetry";
55
+ export {
56
+ combineAppAndProtocolSummary,
57
+ getDocAttributesFromProtocolSummary,
58
+ getQuorumValuesFromProtocolSummary,
59
+ } from "./summaryForCreateNew";
60
+ export { convertSummaryTreeToSnapshotITree } from "./treeConversions";
61
+ export { convertSnapshotAndBlobsToSummaryTree, ISummaryTreeAssemblerProps, SummaryTreeAssembler } from "./treeUtils";
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/driver-utils";
9
- export const pkgVersion = "2.0.0-internal.2.0.3";
9
+ export const pkgVersion = "2.0.0-internal.2.1.0";