@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.
- package/api-report/azure-client.beta.api.md +29 -6
- package/api-report/azure-client.legacy.beta.api.md +29 -6
- package/api-report/azure-client.legacy.public.api.md +29 -6
- package/api-report/azure-client.public.api.md +29 -6
- package/dist/legacy.d.ts +2 -1
- package/dist/public.d.ts +2 -1
- package/lib/legacy.d.ts +2 -1
- package/lib/public.d.ts +2 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +21 -21
|
@@ -73,19 +73,42 @@ export interface AzureRemoteConnectionConfig extends AzureConnectionConfig {
|
|
|
73
73
|
type: "remote";
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
// @public
|
|
77
|
+
export type CompatibilityMode = "1" | "2";
|
|
77
78
|
|
|
78
79
|
// @public
|
|
79
80
|
export type IAzureAudience = IServiceAudience<AzureMember>;
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
// @public
|
|
83
|
+
export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
|
|
84
|
+
// (undocumented)
|
|
85
|
+
category: string;
|
|
86
|
+
// (undocumented)
|
|
87
|
+
eventName: string;
|
|
88
|
+
}
|
|
82
89
|
|
|
83
|
-
|
|
90
|
+
// @public
|
|
91
|
+
export interface ITelemetryBaseLogger {
|
|
92
|
+
minLogLevel?: LogLevel;
|
|
93
|
+
send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
|
|
94
|
+
}
|
|
84
95
|
|
|
85
|
-
|
|
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
|
-
|
|
103
|
+
// @public (undocumented)
|
|
104
|
+
export interface ITokenResponse {
|
|
105
|
+
fromCache?: boolean;
|
|
106
|
+
jwt: string;
|
|
107
|
+
}
|
|
88
108
|
|
|
89
|
-
|
|
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
|
-
|
|
76
|
+
// @public
|
|
77
|
+
export type CompatibilityMode = "1" | "2";
|
|
77
78
|
|
|
78
79
|
// @public
|
|
79
80
|
export type IAzureAudience = IServiceAudience<AzureMember>;
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
// @public
|
|
83
|
+
export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
|
|
84
|
+
// (undocumented)
|
|
85
|
+
category: string;
|
|
86
|
+
// (undocumented)
|
|
87
|
+
eventName: string;
|
|
88
|
+
}
|
|
82
89
|
|
|
83
|
-
|
|
90
|
+
// @public
|
|
91
|
+
export interface ITelemetryBaseLogger {
|
|
92
|
+
minLogLevel?: LogLevel;
|
|
93
|
+
send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
|
|
94
|
+
}
|
|
84
95
|
|
|
85
|
-
|
|
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
|
-
|
|
103
|
+
// @public (undocumented)
|
|
104
|
+
export interface ITokenResponse {
|
|
105
|
+
fromCache?: boolean;
|
|
106
|
+
jwt: string;
|
|
107
|
+
}
|
|
88
108
|
|
|
89
|
-
|
|
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
|
-
|
|
76
|
+
// @public
|
|
77
|
+
export type CompatibilityMode = "1" | "2";
|
|
77
78
|
|
|
78
79
|
// @public
|
|
79
80
|
export type IAzureAudience = IServiceAudience<AzureMember>;
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
// @public
|
|
83
|
+
export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
|
|
84
|
+
// (undocumented)
|
|
85
|
+
category: string;
|
|
86
|
+
// (undocumented)
|
|
87
|
+
eventName: string;
|
|
88
|
+
}
|
|
82
89
|
|
|
83
|
-
|
|
90
|
+
// @public
|
|
91
|
+
export interface ITelemetryBaseLogger {
|
|
92
|
+
minLogLevel?: LogLevel;
|
|
93
|
+
send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
|
|
94
|
+
}
|
|
84
95
|
|
|
85
|
-
|
|
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
|
-
|
|
103
|
+
// @public (undocumented)
|
|
104
|
+
export interface ITokenResponse {
|
|
105
|
+
fromCache?: boolean;
|
|
106
|
+
jwt: string;
|
|
107
|
+
}
|
|
88
108
|
|
|
89
|
-
|
|
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
|
-
|
|
76
|
+
// @public
|
|
77
|
+
export type CompatibilityMode = "1" | "2";
|
|
77
78
|
|
|
78
79
|
// @public
|
|
79
80
|
export type IAzureAudience = IServiceAudience<AzureMember>;
|
|
80
81
|
|
|
81
|
-
|
|
82
|
+
// @public
|
|
83
|
+
export interface ITelemetryBaseEvent extends ITelemetryBaseProperties {
|
|
84
|
+
// (undocumented)
|
|
85
|
+
category: string;
|
|
86
|
+
// (undocumented)
|
|
87
|
+
eventName: string;
|
|
88
|
+
}
|
|
82
89
|
|
|
83
|
-
|
|
90
|
+
// @public
|
|
91
|
+
export interface ITelemetryBaseLogger {
|
|
92
|
+
minLogLevel?: LogLevel;
|
|
93
|
+
send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;
|
|
94
|
+
}
|
|
84
95
|
|
|
85
|
-
|
|
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
|
-
|
|
103
|
+
// @public (undocumented)
|
|
104
|
+
export interface ITokenResponse {
|
|
105
|
+
fromCache?: boolean;
|
|
106
|
+
jwt: string;
|
|
107
|
+
}
|
|
88
108
|
|
|
89
|
-
|
|
109
|
+
// @public
|
|
110
|
+
export interface IUser {
|
|
111
|
+
id: string;
|
|
112
|
+
}
|
|
90
113
|
|
|
91
114
|
```
|
package/dist/legacy.d.ts
CHANGED
package/dist/public.d.ts
CHANGED
package/lib/legacy.d.ts
CHANGED
package/lib/public.d.ts
CHANGED
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/azure-client",
|
|
3
|
-
"version": "2.
|
|
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": "
|
|
51
|
-
"@fluidframework/container-loader": "
|
|
52
|
-
"@fluidframework/core-interfaces": "
|
|
53
|
-
"@fluidframework/driver-definitions": "
|
|
54
|
-
"@fluidframework/driver-utils": "
|
|
55
|
-
"@fluidframework/fluid-static": "
|
|
56
|
-
"@fluidframework/routerlicious-driver": "
|
|
57
|
-
"@fluidframework/telemetry-utils": "
|
|
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.
|
|
63
|
-
"@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@2.
|
|
64
|
-
"@fluidframework/azure-local-service": "
|
|
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.
|
|
67
|
-
"@fluidframework/container-runtime": "
|
|
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": "
|
|
70
|
-
"@fluidframework/test-utils": "
|
|
71
|
-
"@microsoft/api-extractor": "7.52.
|
|
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": "
|
|
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
|
|
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",
|