@fluidframework/azure-service-utils 2.1.0-276326 → 2.1.0-281041

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/README.md CHANGED
@@ -9,10 +9,12 @@ A set of helper utilities for building backend APIs for use with Azure Fluid Rel
9
9
 
10
10
  ## Using Fluid Framework libraries
11
11
 
12
- When taking a dependency on a Fluid Framework library, we recommend using a `^` (caret) version range, such as `^1.3.4`.
12
+ When taking a dependency on a Fluid Framework library's public APIs, we recommend using a `^` (caret) version range, such as `^1.3.4`.
13
13
  While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
14
14
  library consumers should always prefer `^`.
15
15
 
16
+ If using any of Fluid Framework's unstable APIs (for example, its `beta` APIs), we recommend using a more constrained version range, such as `~`.
17
+
16
18
  <!-- prettier-ignore-end -->
17
19
 
18
20
  <!-- AUTO-GENERATED-CONTENT:END -->
@@ -55,11 +57,9 @@ Use of Microsoft trademarks or logos in modified versions of this project must n
55
57
 
56
58
  ## Help
57
59
 
58
- Not finding what you're looking for in this README? Check out our [GitHub
59
- Wiki](https://github.com/microsoft/FluidFramework/wiki) or [fluidframework.com](https://fluidframework.com/docs/).
60
+ Not finding what you're looking for in this README? Check out [fluidframework.com](https://fluidframework.com/docs/).
60
61
 
61
- Still not finding what you're looking for? Please [file an
62
- issue](https://github.com/microsoft/FluidFramework/wiki/Submitting-Bugs-and-Feature-Requests).
62
+ Still not finding what you're looking for? Please [file an issue](https://github.com/microsoft/FluidFramework/wiki/Submitting-Bugs-and-Feature-Requests).
63
63
 
64
64
  Thank you!
65
65
 
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.current.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/public.d.ts"
5
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-base.esm.legacy.json"
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.legacy.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../../common/build/build-common/api-extractor-base.esm.current.json"
3
+ "extends": "../../../common/build/build-common/api-extractor-model.esm.json"
4
4
  }
@@ -6,6 +6,4 @@
6
6
 
7
7
  export { IUser }
8
8
 
9
- export { ScopeType }
10
-
11
9
  ```
@@ -11,6 +11,4 @@ export { IUser }
11
11
 
12
12
  export { ScopeType }
13
13
 
14
- // (No @packageDocumentation comment for this package)
15
-
16
14
  ```
@@ -0,0 +1,11 @@
1
+ ## Public API Report File for "@fluidframework/azure-service-utils"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ export { IUser }
8
+
9
+ export { ScopeType }
10
+
11
+ ```
@@ -6,6 +6,4 @@
6
6
 
7
7
  export { IUser }
8
8
 
9
- export { ScopeType }
10
-
11
9
  ```
package/dist/legacy.d.ts CHANGED
@@ -5,7 +5,19 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * A set of helper utilities for building backend APIs for use with
13
+ * {@link https://docs.microsoft.com/en-us/azure/azure-fluid-relay/overview/overview | Azure Fluid Relay}.
14
+ *
15
+ * @remarks
16
+ * Note that this library's primary entry-point ({@link generateToken}) is only intended
17
+ * to be run in a browser context.
18
+ * It is **not** Node.js-compatible.
19
+ *
20
+ * @packageDocumentation
9
21
  */
10
22
 
11
23
  export {
package/dist/public.d.ts CHANGED
@@ -5,7 +5,19 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * A set of helper utilities for building backend APIs for use with
13
+ * {@link https://docs.microsoft.com/en-us/azure/azure-fluid-relay/overview/overview | Azure Fluid Relay}.
14
+ *
15
+ * @remarks
16
+ * Note that this library's primary entry-point ({@link generateToken}) is only intended
17
+ * to be run in a browser context.
18
+ * It is **not** Node.js-compatible.
19
+ *
20
+ * @packageDocumentation
9
21
  */
10
22
 
11
23
  export {
package/internal.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export * from "./lib/index.js";
package/legacy.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export * from "./lib/legacy.js";
package/lib/legacy.d.ts CHANGED
@@ -5,7 +5,19 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * A set of helper utilities for building backend APIs for use with
13
+ * {@link https://docs.microsoft.com/en-us/azure/azure-fluid-relay/overview/overview | Azure Fluid Relay}.
14
+ *
15
+ * @remarks
16
+ * Note that this library's primary entry-point ({@link generateToken}) is only intended
17
+ * to be run in a browser context.
18
+ * It is **not** Node.js-compatible.
19
+ *
20
+ * @packageDocumentation
9
21
  */
10
22
 
11
23
  export {
package/lib/public.d.ts CHANGED
@@ -5,7 +5,19 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * A set of helper utilities for building backend APIs for use with
13
+ * {@link https://docs.microsoft.com/en-us/azure/azure-fluid-relay/overview/overview | Azure Fluid Relay}.
14
+ *
15
+ * @remarks
16
+ * Note that this library's primary entry-point ({@link generateToken}) is only intended
17
+ * to be run in a browser context.
18
+ * It is **not** Node.js-compatible.
19
+ *
20
+ * @packageDocumentation
9
21
  */
10
22
 
11
23
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/azure-service-utils",
3
- "version": "2.1.0-276326",
3
+ "version": "2.1.0-281041",
4
4
  "description": "Helper service-side utilities for connecting to Azure Fluid Relay service",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,17 +47,17 @@
47
47
  "main": "lib/index.js",
48
48
  "types": "lib/public.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/driver-definitions": "2.1.0-276326",
50
+ "@fluidframework/driver-definitions": "2.1.0-281041",
51
51
  "jsrsasign": "^11.0.0",
52
52
  "uuid": "^9.0.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@arethetypeswrong/cli": "^0.15.2",
56
- "@biomejs/biome": "^1.7.3",
57
- "@fluid-tools/build-cli": "^0.39.0",
58
- "@fluidframework/azure-service-utils-previous": "npm:@fluidframework/azure-service-utils@2.0.0-rc.5.0.0",
56
+ "@biomejs/biome": "~1.8.3",
57
+ "@fluid-tools/build-cli": "^0.40.0",
58
+ "@fluidframework/azure-service-utils-previous": "npm:@fluidframework/azure-service-utils@2.0.0",
59
59
  "@fluidframework/build-common": "^2.0.3",
60
- "@fluidframework/build-tools": "^0.39.0",
60
+ "@fluidframework/build-tools": "^0.40.0",
61
61
  "@fluidframework/eslint-config-fluid": "^5.3.0",
62
62
  "@microsoft/api-extractor": "^7.45.1",
63
63
  "@types/jsrsasign": "^10.5.12",
@@ -78,17 +78,18 @@
78
78
  "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
79
79
  "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
80
80
  "build": "fluid-build . --task build",
81
+ "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
82
+ "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
83
+ "build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
81
84
  "build:commonjs": "fluid-build . --task commonjs",
82
85
  "build:compile": "fluid-build . --task compile",
83
- "build:docs": "concurrently \"npm:build:docs:*\"",
84
- "build:docs:current": "api-extractor run --local",
85
- "build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
86
+ "build:docs": "api-extractor run --local",
86
87
  "build:esnext": "tsc --project ./tsconfig.json",
87
88
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
88
89
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
89
90
  "build:test:esm": "tsc --project ./src/test/tsconfig.json",
90
91
  "check:are-the-types-wrong": "attw --pack .",
91
- "check:biome": "biome check . --formatter-enabled=true",
92
+ "check:biome": "biome check .",
92
93
  "check:exports": "concurrently \"npm:check:exports:*\"",
93
94
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
94
95
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
@@ -97,14 +98,15 @@
97
98
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
98
99
  "check:format": "npm run check:biome",
99
100
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
100
- "ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
101
- "ci:build:docs:current": "api-extractor run",
102
- "ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
101
+ "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
102
+ "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
103
+ "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
104
+ "ci:build:docs": "api-extractor run",
103
105
  "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
104
106
  "eslint": "eslint --format stylish src",
105
107
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
106
108
  "format": "npm run format:biome",
107
- "format:biome": "biome check . --formatter-enabled=true --apply",
109
+ "format:biome": "biome check . --write",
108
110
  "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
109
111
  "lint": "fluid-build . --task lint",
110
112
  "lint:fix": "fluid-build . --task eslint:fix --task format",