@fluidframework/odsp-driver-definitions 2.0.0-dev-rc.5.0.0.265721 → 2.0.0-dev-rc.5.0.0.268409

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.
@@ -1,4 +1,4 @@
1
- ## API Report File for "@fluidframework/odsp-driver-definitions"
1
+ ## Alpha API Report File for "@fluidframework/odsp-driver-definitions"
2
2
 
3
3
  > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
4
 
@@ -12,9 +12,6 @@ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
12
12
  // @alpha (undocumented)
13
13
  export type CacheContentType = "snapshot" | "ops";
14
14
 
15
- // @internal
16
- export function getKeyForCacheEntry(entry: ICacheEntry): string;
17
-
18
15
  // @alpha (undocumented)
19
16
  export interface HostStoragePolicy {
20
17
  avoidPrefetchSnapshotCache?: boolean;
@@ -65,12 +62,6 @@ export interface IFileEntry {
65
62
  resolvedUrl: IResolvedUrl;
66
63
  }
67
64
 
68
- // @internal (undocumented)
69
- export type InstrumentedStorageTokenFetcher = (options: TokenFetchOptions, name: string, alwaysRecordTokenFetchTelemetry?: boolean) => Promise<string>;
70
-
71
- // @internal (undocumented)
72
- export type InstrumentedTokenFetcher = (options: TokenFetchOptions, name: string, alwaysRecordTokenFetchTelemetry?: boolean) => Promise<string | null>;
73
-
74
65
  // @alpha
75
66
  export interface IOdspError extends Omit<IDriverErrorBase, "errorType">, IOdspErrorAugmentations {
76
67
  // (undocumented)
@@ -201,12 +192,6 @@ export interface ISocketStorageDiscovery {
201
192
  tenantId: string;
202
193
  }
203
194
 
204
- // @internal
205
- export const isTokenFromCache: (tokenResponse: string | TokenResponse | null) => boolean | undefined;
206
-
207
- // @internal
208
- export const maximumCacheDurationMs: FiveDaysMs;
209
-
210
195
  // @alpha (undocumented)
211
196
  export type OdspError = IOdspError | (DriverError & IOdspErrorAugmentations);
212
197
 
@@ -279,9 +264,6 @@ export enum SharingLinkScope {
279
264
  users = "users"
280
265
  }
281
266
 
282
- // @internal
283
- export const snapshotKey = "snapshot";
284
-
285
267
  // @alpha
286
268
  export type TokenFetcher<T> = (options: T) => Promise<string | TokenResponse | null>;
287
269
 
@@ -292,9 +274,6 @@ export interface TokenFetchOptions {
292
274
  tenantId?: string;
293
275
  }
294
276
 
295
- // @internal
296
- export const tokenFromResponse: (tokenResponse: string | TokenResponse | null | undefined) => string | null;
297
-
298
277
  // @beta
299
278
  export interface TokenResponse {
300
279
  fromCache?: boolean;
@@ -0,0 +1,20 @@
1
+ ## Beta API Report File for "@fluidframework/odsp-driver-definitions"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { DriverError } from '@fluidframework/driver-definitions/internal';
8
+ import { FiveDaysMs } from '@fluidframework/driver-definitions/internal';
9
+ import { IDriverErrorBase } from '@fluidframework/driver-definitions/internal';
10
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
11
+
12
+ // @beta
13
+ export interface TokenResponse {
14
+ fromCache?: boolean;
15
+ token: string;
16
+ }
17
+
18
+ // (No @packageDocumentation comment for this package)
19
+
20
+ ```
@@ -0,0 +1,14 @@
1
+ ## Public API Report File for "@fluidframework/odsp-driver-definitions"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { DriverError } from '@fluidframework/driver-definitions/internal';
8
+ import { FiveDaysMs } from '@fluidframework/driver-definitions/internal';
9
+ import { IDriverErrorBase } from '@fluidframework/driver-definitions/internal';
10
+ import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
11
+
12
+ // (No @packageDocumentation comment for this package)
13
+
14
+ ```
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.1"
8
+ "packageVersion": "7.45.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/odsp-driver-definitions",
3
- "version": "2.0.0-dev-rc.5.0.0.265721",
3
+ "version": "2.0.0-dev-rc.5.0.0.268409",
4
4
  "description": "Socket storage implementation for SPO and ODC",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -57,24 +57,23 @@
57
57
  "main": "lib/index.js",
58
58
  "types": "lib/public.d.ts",
59
59
  "dependencies": {
60
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.265721"
60
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@arethetypeswrong/cli": "^0.15.2",
64
- "@biomejs/biome": "^1.6.2",
64
+ "@biomejs/biome": "^1.7.3",
65
65
  "@fluid-tools/build-cli": "^0.39.0-264124",
66
66
  "@fluidframework/build-common": "^2.0.3",
67
67
  "@fluidframework/build-tools": "^0.39.0-264124",
68
- "@fluidframework/eslint-config-fluid": "^5.1.0",
68
+ "@fluidframework/eslint-config-fluid": "^5.3.0",
69
69
  "@fluidframework/odsp-driver-definitions-previous": "npm:@fluidframework/odsp-driver-definitions@2.0.0-rc.4.0.0",
70
- "@fluidframework/protocol-definitions": "^3.2.0",
71
- "@microsoft/api-extractor": "^7.43.1",
70
+ "@microsoft/api-extractor": "^7.45.1",
72
71
  "copyfiles": "^2.4.1",
73
72
  "cross-env": "^7.0.3",
74
73
  "eslint": "~8.55.0",
75
74
  "prettier": "~3.0.3",
76
75
  "rimraf": "^4.4.0",
77
- "typescript": "~5.3.3"
76
+ "typescript": "~5.4.5"
78
77
  },
79
78
  "typeValidation": {
80
79
  "broken": {}