@fluidframework/driver-base 2.0.0-dev.7.4.0.215930 → 2.0.0-dev.7.4.0.216897

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.
Files changed (36) hide show
  1. package/api-extractor-lint.json +13 -0
  2. package/api-report/driver-base.api.md +4 -4
  3. package/dist/documentDeltaConnection.cjs +1 -2
  4. package/dist/documentDeltaConnection.cjs.map +1 -1
  5. package/dist/documentDeltaConnection.d.ts +1 -2
  6. package/dist/documentDeltaConnection.d.ts.map +1 -1
  7. package/dist/driver-base-alpha.d.ts +16 -200
  8. package/dist/driver-base-beta.d.ts +16 -200
  9. package/dist/driver-base-public.d.ts +16 -200
  10. package/dist/driver-base-untrimmed.d.ts +4 -7
  11. package/dist/driverUtils.cjs +3 -5
  12. package/dist/driverUtils.cjs.map +1 -1
  13. package/dist/driverUtils.d.ts +3 -5
  14. package/dist/driverUtils.d.ts.map +1 -1
  15. package/dist/packageVersion.cjs +1 -1
  16. package/dist/packageVersion.cjs.map +1 -1
  17. package/dist/packageVersion.d.ts +1 -1
  18. package/lib/documentDeltaConnection.d.ts +1 -2
  19. package/lib/documentDeltaConnection.d.ts.map +1 -1
  20. package/lib/documentDeltaConnection.mjs +1 -2
  21. package/lib/documentDeltaConnection.mjs.map +1 -1
  22. package/lib/driver-base-alpha.d.ts +16 -200
  23. package/lib/driver-base-beta.d.ts +16 -200
  24. package/lib/driver-base-public.d.ts +16 -200
  25. package/lib/driver-base-untrimmed.d.ts +4 -7
  26. package/lib/driverUtils.d.ts +3 -5
  27. package/lib/driverUtils.d.ts.map +1 -1
  28. package/lib/driverUtils.mjs +3 -5
  29. package/lib/driverUtils.mjs.map +1 -1
  30. package/lib/packageVersion.d.ts +1 -1
  31. package/lib/packageVersion.mjs +1 -1
  32. package/lib/packageVersion.mjs.map +1 -1
  33. package/package.json +10 -9
  34. package/src/documentDeltaConnection.ts +1 -2
  35. package/src/driverUtils.ts +3 -5
  36. package/src/packageVersion.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/driver-base",
3
- "version": "2.0.0-dev.7.4.0.215930",
3
+ "version": "2.0.0-dev.7.4.0.216897",
4
4
  "description": "Shared driver code for Fluid driver implementations",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,13 +47,13 @@
47
47
  "temp-directory": "nyc/.nyc_output"
48
48
  },
49
49
  "dependencies": {
50
- "@fluid-internal/client-utils": "2.0.0-dev.7.4.0.215930",
51
- "@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.215930",
52
- "@fluidframework/core-utils": "2.0.0-dev.7.4.0.215930",
53
- "@fluidframework/driver-definitions": "2.0.0-dev.7.4.0.215930",
54
- "@fluidframework/driver-utils": "2.0.0-dev.7.4.0.215930",
50
+ "@fluid-internal/client-utils": "2.0.0-dev.7.4.0.216897",
51
+ "@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.216897",
52
+ "@fluidframework/core-utils": "2.0.0-dev.7.4.0.216897",
53
+ "@fluidframework/driver-definitions": "2.0.0-dev.7.4.0.216897",
54
+ "@fluidframework/driver-utils": "2.0.0-dev.7.4.0.216897",
55
55
  "@fluidframework/protocol-definitions": "^3.0.0",
56
- "@fluidframework/telemetry-utils": "2.0.0-dev.7.4.0.215930"
56
+ "@fluidframework/telemetry-utils": "2.0.0-dev.7.4.0.216897"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@fluid-tools/build-cli": "^0.28.0",
@@ -61,7 +61,7 @@
61
61
  "@fluidframework/build-tools": "^0.28.0",
62
62
  "@fluidframework/driver-base-previous": "npm:@fluidframework/driver-base@2.0.0-internal.7.2.0",
63
63
  "@fluidframework/eslint-config-fluid": "^3.1.0",
64
- "@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.215930",
64
+ "@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.216897",
65
65
  "@microsoft/api-extractor": "^7.38.3",
66
66
  "@types/mocha": "^9.1.1",
67
67
  "@types/node": "^16.18.38",
@@ -109,12 +109,13 @@
109
109
  "build:esnext": "tsc-multi --config ../../../common/build/build-common/tsc-multi.esm.json",
110
110
  "build:genver": "gen-version",
111
111
  "build:test": "tsc-multi --config ./tsc-multi.test.json",
112
+ "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
112
113
  "ci:build:docs": "api-extractor run",
113
114
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
114
115
  "eslint": "eslint --format stylish src",
115
116
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
116
117
  "format": "npm run prettier:fix",
117
- "lint": "npm run prettier && npm run eslint",
118
+ "lint": "npm run prettier && npm run check:release-tags && npm run eslint",
118
119
  "lint:fix": "npm run prettier:fix && npm run eslint:fix",
119
120
  "prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
120
121
  "prettier:fix": "prettier --write . --cache --ignore-path ../../../.prettierignore",
@@ -38,8 +38,7 @@ import { pkgVersion as driverVersion } from "./packageVersion";
38
38
 
39
39
  /**
40
40
  * Represents a connection to a stream of delta updates.
41
- *
42
- * @public
41
+ * @internal
43
42
  */
44
43
  export class DocumentDeltaConnection
45
44
  extends EventEmitterWithErrorHandling<IDocumentDeltaConnectionEvents>
@@ -11,8 +11,7 @@ import { ITelemetryLoggerExt } from "@fluidframework/telemetry-utils";
11
11
  * Extract and return the w3c data.
12
12
  * @param url - request url for which w3c data needs to be reported.
13
13
  * @param initiatorType - type of the network call
14
- *
15
- * @public
14
+ * @internal
16
15
  */
17
16
  export function getW3CData(url: string, initiatorType: string) {
18
17
  // From: https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming
@@ -97,8 +96,7 @@ export function getW3CData(url: string, initiatorType: string) {
97
96
  /**
98
97
  * An implementation of Promise.race that gives you the winner of the promise race.
99
98
  * If one of the promises is rejected before any other is resolved, this method will return the error/reason from that rejection.
100
- *
101
- * @public
99
+ * @internal
102
100
  */
103
101
  export async function promiseRaceWithWinner<T>(
104
102
  promises: Promise<T>[],
@@ -111,7 +109,7 @@ export async function promiseRaceWithWinner<T>(
111
109
  }
112
110
 
113
111
  /**
114
- * @public
112
+ * @internal
115
113
  */
116
114
  export function validateMessages(
117
115
  reason: string,
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/driver-base";
9
- export const pkgVersion = "2.0.0-dev.7.4.0.215930";
9
+ export const pkgVersion = "2.0.0-dev.7.4.0.216897";