@fluidframework/azure-client 2.60.0 → 2.61.0-355516

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.
@@ -73,19 +73,42 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig {
73
73
  type: "remote";
74
74
  }
75
75
 
76
- export { CompatibilityMode }
76
+ // @public
77
+ export type CompatibilityMode = "1" | "2";
77
78
 
78
79
  // @public
79
80
  export type IAzureAudience = IServiceAudience<AzureMember>;
80
81
 
81
- export { ITelemetryBaseEvent }
82
+ // @public
83
+ export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
84
+ // (undocumented)
85
+ category: string;
86
+ // (undocumented)
87
+ eventName: string;
88
+ }
82
89
 
83
- export { ITelemetryBaseLogger }
90
+ // @public
91
+ export interface ITelemetryBaseLogger {
92
+ minLogLevel?: LogLevel;
93
+ send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
94
+ }
84
95
 
85
- export { ITokenProvider }
96
+ // @public
97
+ export interface ITokenProvider {
98
+ documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
99
+ fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
100
+ fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
101
+ }
86
102
 
87
- export { ITokenResponse }
103
+ // @public (undocumented)
104
+ export interface ITokenResponse {
105
+ fromCache?: boolean;
106
+ jwt: string;
107
+ }
88
108
 
89
- export { IUser }
109
+ // @public
110
+ export interface IUser {
111
+ id: string;
112
+ }
90
113
 
91
114
  ```
@@ -73,19 +73,42 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig {
73
73
  type: "remote";
74
74
  }
75
75
 
76
- export { CompatibilityMode }
76
+ // @public
77
+ export type CompatibilityMode = "1" | "2";
77
78
 
78
79
  // @public
79
80
  export type IAzureAudience = IServiceAudience<AzureMember>;
80
81
 
81
- export { ITelemetryBaseEvent }
82
+ // @public
83
+ export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
84
+ // (undocumented)
85
+ category: string;
86
+ // (undocumented)
87
+ eventName: string;
88
+ }
82
89
 
83
- export { ITelemetryBaseLogger }
90
+ // @public
91
+ export interface ITelemetryBaseLogger {
92
+ minLogLevel?: LogLevel;
93
+ send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
94
+ }
84
95
 
85
- export { ITokenProvider }
96
+ // @public
97
+ export interface ITokenProvider {
98
+ documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
99
+ fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
100
+ fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
101
+ }
86
102
 
87
- export { ITokenResponse }
103
+ // @public (undocumented)
104
+ export interface ITokenResponse {
105
+ fromCache?: boolean;
106
+ jwt: string;
107
+ }
88
108
 
89
- export { IUser }
109
+ // @public
110
+ export interface IUser {
111
+ id: string;
112
+ }
90
113
 
91
114
  ```
@@ -73,19 +73,42 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig {
73
73
  type: "remote";
74
74
  }
75
75
 
76
- export { CompatibilityMode }
76
+ // @public
77
+ export type CompatibilityMode = "1" | "2";
77
78
 
78
79
  // @public
79
80
  export type IAzureAudience = IServiceAudience<AzureMember>;
80
81
 
81
- export { ITelemetryBaseEvent }
82
+ // @public
83
+ export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
84
+ // (undocumented)
85
+ category: string;
86
+ // (undocumented)
87
+ eventName: string;
88
+ }
82
89
 
83
- export { ITelemetryBaseLogger }
90
+ // @public
91
+ export interface ITelemetryBaseLogger {
92
+ minLogLevel?: LogLevel;
93
+ send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
94
+ }
84
95
 
85
- export { ITokenProvider }
96
+ // @public
97
+ export interface ITokenProvider {
98
+ documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
99
+ fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
100
+ fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
101
+ }
86
102
 
87
- export { ITokenResponse }
103
+ // @public (undocumented)
104
+ export interface ITokenResponse {
105
+ fromCache?: boolean;
106
+ jwt: string;
107
+ }
88
108
 
89
- export { IUser }
109
+ // @public
110
+ export interface IUser {
111
+ id: string;
112
+ }
90
113
 
91
114
  ```
@@ -73,19 +73,42 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig {
73
73
  type: "remote";
74
74
  }
75
75
 
76
- export { CompatibilityMode }
76
+ // @public
77
+ export type CompatibilityMode = "1" | "2";
77
78
 
78
79
  // @public
79
80
  export type IAzureAudience = IServiceAudience<AzureMember>;
80
81
 
81
- export { ITelemetryBaseEvent }
82
+ // @public
83
+ export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
84
+ // (undocumented)
85
+ category: string;
86
+ // (undocumented)
87
+ eventName: string;
88
+ }
82
89
 
83
- export { ITelemetryBaseLogger }
90
+ // @public
91
+ export interface ITelemetryBaseLogger {
92
+ minLogLevel?: LogLevel;
93
+ send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
94
+ }
84
95
 
85
- export { ITokenProvider }
96
+ // @public
97
+ export interface ITokenProvider {
98
+ documentPostCreateCallback?(documentId: string, creationToken: string): Promise<void>;
99
+ fetchOrdererToken(tenantId: string, documentId?: string, refresh?: boolean): Promise<ITokenResponse>;
100
+ fetchStorageToken(tenantId: string, documentId: string, refresh?: boolean): Promise<ITokenResponse>;
101
+ }
86
102
 
87
- export { ITokenResponse }
103
+ // @public (undocumented)
104
+ export interface ITokenResponse {
105
+ fromCache?: boolean;
106
+ jwt: string;
107
+ }
88
108
 
89
- export { IUser }
109
+ // @public
110
+ export interface IUser {
111
+ id: string;
112
+ }
90
113
 
91
114
  ```
package/dist/legacy.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  export {
18
- // @public APIs
18
+ // #region @public APIs
19
19
  AzureClient,
20
20
  AzureClientProps,
21
21
  AzureConnectionConfig,
@@ -33,4 +33,5 @@ export {
33
33
  ITokenProvider,
34
34
  ITokenResponse,
35
35
  IUser
36
+ // #endregion
36
37
  } from "./index.js";
package/dist/public.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  export {
18
- // @public APIs
18
+ // #region @public APIs
19
19
  AzureClient,
20
20
  AzureClientProps,
21
21
  AzureConnectionConfig,
@@ -33,4 +33,5 @@ export {
33
33
  ITokenProvider,
34
34
  ITokenResponse,
35
35
  IUser
36
+ // #endregion
36
37
  } from "./index.js";
package/lib/legacy.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  export {
18
- // @public APIs
18
+ // #region @public APIs
19
19
  AzureClient,
20
20
  AzureClientProps,
21
21
  AzureConnectionConfig,
@@ -33,4 +33,5 @@ export {
33
33
  ITokenProvider,
34
34
  ITokenResponse,
35
35
  IUser
36
+ // #endregion
36
37
  } from "./index.js";
package/lib/public.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  export {
18
- // @public APIs
18
+ // #region @public APIs
19
19
  AzureClient,
20
20
  AzureClientProps,
21
21
  AzureConnectionConfig,
@@ -33,4 +33,5 @@ export {
33
33
  ITokenProvider,
34
34
  ITokenResponse,
35
35
  IUser
36
+ // #endregion
36
37
  } from "./index.js";
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.8"
8
+ "packageVersion": "7.52.11"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/azure-client",
3
- "version": "2.60.0",
3
+ "version": "2.61.0-355516",
4
4
  "description": "A tool to enable creation and loading of Fluid containers using the Azure Fluid Relay service",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,28 +47,28 @@
47
47
  "main": "lib/index.js",
48
48
  "types": "lib/public.d.ts",
49
49
  "dependencies": {
50
- "@fluidframework/container-definitions": "~2.60.0",
51
- "@fluidframework/container-loader": "~2.60.0",
52
- "@fluidframework/core-interfaces": "~2.60.0",
53
- "@fluidframework/driver-definitions": "~2.60.0",
54
- "@fluidframework/driver-utils": "~2.60.0",
55
- "@fluidframework/fluid-static": "~2.60.0",
56
- "@fluidframework/routerlicious-driver": "~2.60.0",
57
- "@fluidframework/telemetry-utils": "~2.60.0"
50
+ "@fluidframework/container-definitions": "2.61.0-355516",
51
+ "@fluidframework/container-loader": "2.61.0-355516",
52
+ "@fluidframework/core-interfaces": "2.61.0-355516",
53
+ "@fluidframework/driver-definitions": "2.61.0-355516",
54
+ "@fluidframework/driver-utils": "2.61.0-355516",
55
+ "@fluidframework/fluid-static": "2.61.0-355516",
56
+ "@fluidframework/routerlicious-driver": "2.61.0-355516",
57
+ "@fluidframework/telemetry-utils": "2.61.0-355516"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@arethetypeswrong/cli": "^0.17.1",
61
61
  "@biomejs/biome": "~1.9.3",
62
- "@fluid-tools/build-cli": "^0.57.0",
63
- "@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@2.53.0",
64
- "@fluidframework/azure-local-service": "~2.60.0",
62
+ "@fluid-tools/build-cli": "^0.58.1",
63
+ "@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@2.60.0",
64
+ "@fluidframework/azure-local-service": "2.61.0-355516",
65
65
  "@fluidframework/build-common": "^2.0.3",
66
- "@fluidframework/build-tools": "^0.57.0",
67
- "@fluidframework/container-runtime": "~2.60.0",
66
+ "@fluidframework/build-tools": "^0.58.1",
67
+ "@fluidframework/container-runtime": "2.61.0-355516",
68
68
  "@fluidframework/eslint-config-fluid": "^6.0.0",
69
- "@fluidframework/test-runtime-utils": "~2.60.0",
70
- "@fluidframework/test-utils": "~2.60.0",
71
- "@microsoft/api-extractor": "7.52.8",
69
+ "@fluidframework/test-runtime-utils": "2.61.0-355516",
70
+ "@fluidframework/test-utils": "2.61.0-355516",
71
+ "@microsoft/api-extractor": "7.52.11",
72
72
  "@types/mocha": "^10.0.10",
73
73
  "@types/node": "^18.19.0",
74
74
  "concurrently": "^8.2.1",
@@ -76,7 +76,7 @@
76
76
  "cross-env": "^7.0.3",
77
77
  "eslint": "~8.55.0",
78
78
  "eslint-config-prettier": "~9.0.0",
79
- "fluid-framework": "~2.60.0",
79
+ "fluid-framework": "2.61.0-355516",
80
80
  "mocha": "^10.8.2",
81
81
  "rimraf": "^4.4.0",
82
82
  "start-server-and-test": "^2.0.3",
@@ -89,8 +89,8 @@
89
89
  },
90
90
  "scripts": {
91
91
  "api": "fluid-build . --task api",
92
- "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
93
- "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
92
+ "api-extractor:commonjs": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./dist",
93
+ "api-extractor:esnext": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat",
94
94
  "build": "fluid-build . --task build",
95
95
  "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
96
96
  "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
@@ -126,7 +126,7 @@
126
126
  "start:tinylicious:test": "npx @fluidframework/azure-local-service > tinylicious.log 2>&1",
127
127
  "test": "npm run test:realsvc",
128
128
  "test:realsvc": "npm run test:realsvc:tinylicious",
129
- "test:realsvc:local:run": "mocha --recursive \"lib/test/**/*.spec.*js\" --timeout 10000",
129
+ "test:realsvc:local:run": "mocha --recursive lib/test --timeout 10000",
130
130
  "test:realsvc:tinylicious": "start-server-and-test start:tinylicious:test 7070 test:realsvc:local:run",
131
131
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
132
132
  "typetests:gen": "flub generate typetests --dir . -v",