@fluidframework/azure-client 2.20.0 → 2.22.0
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/CHANGELOG.md +15 -0
- package/README.md +1 -0
- package/api-report/azure-client.legacy.alpha.api.md +7 -2
- package/api-report/azure-client.legacy.public.api.md +0 -4
- package/dist/index.d.ts +22 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/lib/index.d.ts +22 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -1
- package/lib/index.js.map +1 -1
- package/package.json +18 -21
- package/src/index.ts +27 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @fluidframework/azure-client
|
|
2
2
|
|
|
3
|
+
## 2.22.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.21.0
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- ITokenClaims and ScopeType types are now deprecated ([#23703](https://github.com/microsoft/FluidFramework/pull/23703)) [f679945775](https://github.com/microsoft/FluidFramework/commit/f67994577597aae6dc8b42f3c6557c744adc0964)
|
|
12
|
+
|
|
13
|
+
The `ITokenClaims` and `ScopeType` types in `@fluidframework/azure-client` are now deprecated. These were isolated types
|
|
14
|
+
re-exported for convenience but they do not directly interact with typical azure-client APIs.
|
|
15
|
+
|
|
16
|
+
See [issue #23702](https://github.com/microsoft/FluidFramework/issues/23702) for details and alternatives.
|
|
17
|
+
|
|
3
18
|
## 2.20.0
|
|
4
19
|
|
|
5
20
|
Dependency updates only.
|
package/README.md
CHANGED
|
@@ -225,6 +225,7 @@ When making such a request please include if the configuration already works (an
|
|
|
225
225
|
### Supported Runtimes
|
|
226
226
|
|
|
227
227
|
- NodeJs ^20.10.0 except that we will drop support for it [when NodeJs 20 loses its upstream support on 2026-04-30](https://github.com/nodejs/release#release-schedule), and will support a newer LTS version of NodeJS (22) at least 1 year before 20 is end-of-life. This same policy applies to NodeJS 22 when it is end of life (2027-04-30).
|
|
228
|
+
- Running Fluid in a Node.js environment with the `--no-experimental-fetch` flag is not supported.
|
|
228
229
|
- Modern browsers supporting the es2022 standard library: in response to asks we can add explicit support for using babel to polyfill to target specific standards or runtimes (meaning we can avoid/remove use of things that don't polyfill robustly, but otherwise target modern standards).
|
|
229
230
|
|
|
230
231
|
### Supported Tools
|
|
@@ -82,7 +82,8 @@ export { ITelemetryBaseEvent }
|
|
|
82
82
|
|
|
83
83
|
export { ITelemetryBaseLogger }
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
// @alpha @deprecated
|
|
86
|
+
export type ITokenClaims = ITokenClaims_2;
|
|
86
87
|
|
|
87
88
|
export { ITokenProvider }
|
|
88
89
|
|
|
@@ -90,6 +91,10 @@ export { ITokenResponse }
|
|
|
90
91
|
|
|
91
92
|
export { IUser }
|
|
92
93
|
|
|
93
|
-
|
|
94
|
+
// @alpha @deprecated
|
|
95
|
+
export const ScopeType: typeof ScopeType_2;
|
|
96
|
+
|
|
97
|
+
// @alpha @deprecated
|
|
98
|
+
export type ScopeType = ScopeType_2;
|
|
94
99
|
|
|
95
100
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,28 @@ export { AzureClient } from "./AzureClient.js";
|
|
|
11
11
|
export type { AzureClientProps, AzureConnectionConfig, AzureConnectionConfigType, AzureContainerServices, AzureContainerVersion, AzureGetVersionsOptions, AzureLocalConnectionConfig, AzureMember, AzureRemoteConnectionConfig, AzureUser, IAzureAudience, } from "./interfaces.js";
|
|
12
12
|
export type { ITokenProvider, ITokenResponse } from "@fluidframework/routerlicious-driver";
|
|
13
13
|
export type { IUser } from "@fluidframework/driver-definitions";
|
|
14
|
-
|
|
14
|
+
import { type ITokenClaims as ITokenClaimsBase, ScopeType as ScopeTypeBase } from "@fluidframework/driver-definitions/internal";
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ITokenClaims}
|
|
17
|
+
* @legacy
|
|
18
|
+
* @alpha
|
|
19
|
+
* @deprecated Consider importing from `@fluidframework/driver-definitions/legacy` - to be removed in 2.40
|
|
20
|
+
*/
|
|
21
|
+
export type ITokenClaims = ITokenClaimsBase;
|
|
22
|
+
/**
|
|
23
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
24
|
+
* @legacy
|
|
25
|
+
* @alpha
|
|
26
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
27
|
+
*/
|
|
28
|
+
export declare const ScopeType: typeof ScopeTypeBase;
|
|
29
|
+
/**
|
|
30
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
31
|
+
* @legacy
|
|
32
|
+
* @alpha
|
|
33
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
34
|
+
*/
|
|
35
|
+
export type ScopeType = ScopeTypeBase;
|
|
15
36
|
export type { ITelemetryBaseEvent, ITelemetryBaseLogger, } from "@fluidframework/core-interfaces";
|
|
16
37
|
export type { CompatibilityMode } from "@fluidframework/fluid-static";
|
|
17
38
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EACX,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,2BAA2B,EAC3B,SAAS,EACT,cAAc,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAC3F,YAAY,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EACX,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,2BAA2B,EAC3B,SAAS,EACT,cAAc,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAC3F,YAAY,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EACN,KAAK,YAAY,IAAI,gBAAgB,EACrC,SAAS,IAAI,aAAa,EAC1B,MAAM,6CAA6C,CAAC;AAErD;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAE5C;;;;;GAKG;AACH,eAAO,MAAM,SAAS,sBAAgB,CAAC;AACvC;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAC;AAGtC,YAAY,EACX,mBAAmB,EACnB,oBAAoB,GACpB,MAAM,iCAAiC,CAAC;AAGzC,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -12,6 +12,12 @@ exports.ScopeType = exports.AzureClient = void 0;
|
|
|
12
12
|
*/
|
|
13
13
|
var AzureClient_js_1 = require("./AzureClient.js");
|
|
14
14
|
Object.defineProperty(exports, "AzureClient", { enumerable: true, get: function () { return AzureClient_js_1.AzureClient; } });
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
const internal_1 = require("@fluidframework/driver-definitions/internal");
|
|
16
|
+
/**
|
|
17
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
18
|
+
* @legacy
|
|
19
|
+
* @alpha
|
|
20
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
21
|
+
*/
|
|
22
|
+
exports.ScopeType = internal_1.ScopeType;
|
|
17
23
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;;GAIG;AAEH,mDAA+C;AAAtC,6GAAA,WAAW,OAAA;AAiBpB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;;GAIG;AAEH,mDAA+C;AAAtC,6GAAA,WAAW,OAAA;AAiBpB,0EAGqD;AAUrD;;;;;GAKG;AACU,QAAA,SAAS,GAAG,oBAAa,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * A simple and powerful way to consume collaborative Fluid data with the Azure Fluid Relay.\n *\n * @packageDocumentation\n */\n\nexport { AzureClient } from \"./AzureClient.js\";\nexport type {\n\tAzureClientProps,\n\tAzureConnectionConfig,\n\tAzureConnectionConfigType,\n\tAzureContainerServices,\n\tAzureContainerVersion,\n\tAzureGetVersionsOptions,\n\tAzureLocalConnectionConfig,\n\tAzureMember,\n\tAzureRemoteConnectionConfig,\n\tAzureUser,\n\tIAzureAudience,\n} from \"./interfaces.js\";\n\nexport type { ITokenProvider, ITokenResponse } from \"@fluidframework/routerlicious-driver\";\nexport type { IUser } from \"@fluidframework/driver-definitions\";\nimport {\n\ttype ITokenClaims as ITokenClaimsBase,\n\tScopeType as ScopeTypeBase,\n} from \"@fluidframework/driver-definitions/internal\";\n\n/**\n * {@inheritdoc @fluidframework/driver-definitions/legacy#ITokenClaims}\n * @legacy\n * @alpha\n * @deprecated Consider importing from `@fluidframework/driver-definitions/legacy` - to be removed in 2.40\n */\nexport type ITokenClaims = ITokenClaimsBase;\n\n/**\n * {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}\n * @legacy\n * @alpha\n * @deprecated Use ScopeType from \\@fluidframework/driver-definitions/legacy - to be removed in 2.40\n */\nexport const ScopeType = ScopeTypeBase;\n/**\n * {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}\n * @legacy\n * @alpha\n * @deprecated Use ScopeType from \\@fluidframework/driver-definitions/legacy - to be removed in 2.40\n */\nexport type ScopeType = ScopeTypeBase;\n\n// Re-export so developers can build loggers without pulling in core-interfaces\nexport type {\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n} from \"@fluidframework/core-interfaces\";\n\n// Re-export so developers have access to parameter types for createContainer/getContainer without pulling in fluid-static\nexport type { CompatibilityMode } from \"@fluidframework/fluid-static\";\n"]}
|
package/lib/index.d.ts
CHANGED
|
@@ -11,7 +11,28 @@ export { AzureClient } from "./AzureClient.js";
|
|
|
11
11
|
export type { AzureClientProps, AzureConnectionConfig, AzureConnectionConfigType, AzureContainerServices, AzureContainerVersion, AzureGetVersionsOptions, AzureLocalConnectionConfig, AzureMember, AzureRemoteConnectionConfig, AzureUser, IAzureAudience, } from "./interfaces.js";
|
|
12
12
|
export type { ITokenProvider, ITokenResponse } from "@fluidframework/routerlicious-driver";
|
|
13
13
|
export type { IUser } from "@fluidframework/driver-definitions";
|
|
14
|
-
|
|
14
|
+
import { type ITokenClaims as ITokenClaimsBase, ScopeType as ScopeTypeBase } from "@fluidframework/driver-definitions/internal";
|
|
15
|
+
/**
|
|
16
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ITokenClaims}
|
|
17
|
+
* @legacy
|
|
18
|
+
* @alpha
|
|
19
|
+
* @deprecated Consider importing from `@fluidframework/driver-definitions/legacy` - to be removed in 2.40
|
|
20
|
+
*/
|
|
21
|
+
export type ITokenClaims = ITokenClaimsBase;
|
|
22
|
+
/**
|
|
23
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
24
|
+
* @legacy
|
|
25
|
+
* @alpha
|
|
26
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
27
|
+
*/
|
|
28
|
+
export declare const ScopeType: typeof ScopeTypeBase;
|
|
29
|
+
/**
|
|
30
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
31
|
+
* @legacy
|
|
32
|
+
* @alpha
|
|
33
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
34
|
+
*/
|
|
35
|
+
export type ScopeType = ScopeTypeBase;
|
|
15
36
|
export type { ITelemetryBaseEvent, ITelemetryBaseLogger, } from "@fluidframework/core-interfaces";
|
|
16
37
|
export type { CompatibilityMode } from "@fluidframework/fluid-static";
|
|
17
38
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EACX,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,2BAA2B,EAC3B,SAAS,EACT,cAAc,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAC3F,YAAY,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EACX,gBAAgB,EAChB,qBAAqB,EACrB,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,2BAA2B,EAC3B,SAAS,EACT,cAAc,GACd,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAC3F,YAAY,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EACN,KAAK,YAAY,IAAI,gBAAgB,EACrC,SAAS,IAAI,aAAa,EAC1B,MAAM,6CAA6C,CAAC;AAErD;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAE5C;;;;;GAKG;AACH,eAAO,MAAM,SAAS,sBAAgB,CAAC;AACvC;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,aAAa,CAAC;AAGtC,YAAY,EACX,mBAAmB,EACnB,oBAAoB,GACpB,MAAM,iCAAiC,CAAC;AAGzC,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -8,5 +8,12 @@
|
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
*/
|
|
10
10
|
export { AzureClient } from "./AzureClient.js";
|
|
11
|
-
|
|
11
|
+
import { ScopeType as ScopeTypeBase, } from "@fluidframework/driver-definitions/internal";
|
|
12
|
+
/**
|
|
13
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
14
|
+
* @legacy
|
|
15
|
+
* @alpha
|
|
16
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
17
|
+
*/
|
|
18
|
+
export const ScopeType = ScopeTypeBase;
|
|
12
19
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAiB/C,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAiB/C,OAAO,EAEN,SAAS,IAAI,aAAa,GAC1B,MAAM,6CAA6C,CAAC;AAUrD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * A simple and powerful way to consume collaborative Fluid data with the Azure Fluid Relay.\n *\n * @packageDocumentation\n */\n\nexport { AzureClient } from \"./AzureClient.js\";\nexport type {\n\tAzureClientProps,\n\tAzureConnectionConfig,\n\tAzureConnectionConfigType,\n\tAzureContainerServices,\n\tAzureContainerVersion,\n\tAzureGetVersionsOptions,\n\tAzureLocalConnectionConfig,\n\tAzureMember,\n\tAzureRemoteConnectionConfig,\n\tAzureUser,\n\tIAzureAudience,\n} from \"./interfaces.js\";\n\nexport type { ITokenProvider, ITokenResponse } from \"@fluidframework/routerlicious-driver\";\nexport type { IUser } from \"@fluidframework/driver-definitions\";\nimport {\n\ttype ITokenClaims as ITokenClaimsBase,\n\tScopeType as ScopeTypeBase,\n} from \"@fluidframework/driver-definitions/internal\";\n\n/**\n * {@inheritdoc @fluidframework/driver-definitions/legacy#ITokenClaims}\n * @legacy\n * @alpha\n * @deprecated Consider importing from `@fluidframework/driver-definitions/legacy` - to be removed in 2.40\n */\nexport type ITokenClaims = ITokenClaimsBase;\n\n/**\n * {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}\n * @legacy\n * @alpha\n * @deprecated Use ScopeType from \\@fluidframework/driver-definitions/legacy - to be removed in 2.40\n */\nexport const ScopeType = ScopeTypeBase;\n/**\n * {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}\n * @legacy\n * @alpha\n * @deprecated Use ScopeType from \\@fluidframework/driver-definitions/legacy - to be removed in 2.40\n */\nexport type ScopeType = ScopeTypeBase;\n\n// Re-export so developers can build loggers without pulling in core-interfaces\nexport type {\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n} from \"@fluidframework/core-interfaces\";\n\n// Re-export so developers have access to parameter types for createContainer/getContainer without pulling in fluid-static\nexport type { CompatibilityMode } from \"@fluidframework/fluid-static\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/azure-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
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,31 +47,27 @@
|
|
|
47
47
|
"main": "lib/index.js",
|
|
48
48
|
"types": "lib/public.d.ts",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@fluidframework/container-definitions": "~2.
|
|
51
|
-
"@fluidframework/container-loader": "~2.
|
|
52
|
-
"@fluidframework/core-interfaces": "~2.
|
|
53
|
-
"@fluidframework/core-utils": "~2.
|
|
54
|
-
"@fluidframework/driver-definitions": "~2.
|
|
55
|
-
"@fluidframework/driver-utils": "~2.
|
|
56
|
-
"@fluidframework/fluid-static": "~2.
|
|
57
|
-
"@fluidframework/
|
|
58
|
-
"@fluidframework/
|
|
59
|
-
"@fluidframework/runtime-utils": "~2.20.0",
|
|
60
|
-
"@fluidframework/telemetry-utils": "~2.20.0"
|
|
50
|
+
"@fluidframework/container-definitions": "~2.22.0",
|
|
51
|
+
"@fluidframework/container-loader": "~2.22.0",
|
|
52
|
+
"@fluidframework/core-interfaces": "~2.22.0",
|
|
53
|
+
"@fluidframework/core-utils": "~2.22.0",
|
|
54
|
+
"@fluidframework/driver-definitions": "~2.22.0",
|
|
55
|
+
"@fluidframework/driver-utils": "~2.22.0",
|
|
56
|
+
"@fluidframework/fluid-static": "~2.22.0",
|
|
57
|
+
"@fluidframework/routerlicious-driver": "~2.22.0",
|
|
58
|
+
"@fluidframework/telemetry-utils": "~2.22.0"
|
|
61
59
|
},
|
|
62
60
|
"devDependencies": {
|
|
63
61
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
64
62
|
"@biomejs/biome": "~1.9.3",
|
|
65
63
|
"@fluid-tools/build-cli": "^0.51.0",
|
|
66
|
-
"@fluidframework/
|
|
67
|
-
"@fluidframework/azure-
|
|
68
|
-
"@fluidframework/azure-local-service": "~2.20.0",
|
|
64
|
+
"@fluidframework/azure-client-previous": "npm:@fluidframework/azure-client@2.21.0",
|
|
65
|
+
"@fluidframework/azure-local-service": "~2.22.0",
|
|
69
66
|
"@fluidframework/build-common": "^2.0.3",
|
|
70
67
|
"@fluidframework/build-tools": "^0.51.0",
|
|
71
|
-
"@fluidframework/eslint-config-fluid": "^5.
|
|
72
|
-
"@fluidframework/test-runtime-utils": "~2.
|
|
73
|
-
"@fluidframework/test-utils": "~2.
|
|
74
|
-
"@fluidframework/tree": "~2.20.0",
|
|
68
|
+
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
69
|
+
"@fluidframework/test-runtime-utils": "~2.22.0",
|
|
70
|
+
"@fluidframework/test-utils": "~2.22.0",
|
|
75
71
|
"@microsoft/api-extractor": "7.47.8",
|
|
76
72
|
"@types/mocha": "^10.0.10",
|
|
77
73
|
"@types/node": "^18.19.0",
|
|
@@ -81,6 +77,7 @@
|
|
|
81
77
|
"cross-env": "^7.0.3",
|
|
82
78
|
"eslint": "~8.55.0",
|
|
83
79
|
"eslint-config-prettier": "~9.0.0",
|
|
80
|
+
"fluid-framework": "~2.22.0",
|
|
84
81
|
"mocha": "^10.2.0",
|
|
85
82
|
"prettier": "~3.0.3",
|
|
86
83
|
"rimraf": "^4.4.0",
|
|
@@ -121,7 +118,7 @@
|
|
|
121
118
|
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
122
119
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
123
120
|
"ci:build:docs": "api-extractor run",
|
|
124
|
-
"clean": "rimraf --glob dist lib
|
|
121
|
+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
125
122
|
"eslint": "eslint --format stylish src",
|
|
126
123
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
127
124
|
"format": "npm run format:biome",
|
|
@@ -132,7 +129,7 @@
|
|
|
132
129
|
"start:tinylicious:test": "npx @fluidframework/azure-local-service > tinylicious.log 2>&1",
|
|
133
130
|
"test": "npm run test:realsvc",
|
|
134
131
|
"test:realsvc": "npm run test:realsvc:tinylicious",
|
|
135
|
-
"test:realsvc:local:run": "mocha --recursive \"
|
|
132
|
+
"test:realsvc:local:run": "mocha --recursive \"lib/test/**/*.spec.*js\" --timeout 10000",
|
|
136
133
|
"test:realsvc:tinylicious": "start-server-and-test start:tinylicious:test 7070 test:realsvc:local:run",
|
|
137
134
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
138
135
|
"typetests:gen": "flub generate typetests --dir . -v",
|
package/src/index.ts
CHANGED
|
@@ -26,7 +26,33 @@ export type {
|
|
|
26
26
|
|
|
27
27
|
export type { ITokenProvider, ITokenResponse } from "@fluidframework/routerlicious-driver";
|
|
28
28
|
export type { IUser } from "@fluidframework/driver-definitions";
|
|
29
|
-
|
|
29
|
+
import {
|
|
30
|
+
type ITokenClaims as ITokenClaimsBase,
|
|
31
|
+
ScopeType as ScopeTypeBase,
|
|
32
|
+
} from "@fluidframework/driver-definitions/internal";
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ITokenClaims}
|
|
36
|
+
* @legacy
|
|
37
|
+
* @alpha
|
|
38
|
+
* @deprecated Consider importing from `@fluidframework/driver-definitions/legacy` - to be removed in 2.40
|
|
39
|
+
*/
|
|
40
|
+
export type ITokenClaims = ITokenClaimsBase;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
44
|
+
* @legacy
|
|
45
|
+
* @alpha
|
|
46
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
47
|
+
*/
|
|
48
|
+
export const ScopeType = ScopeTypeBase;
|
|
49
|
+
/**
|
|
50
|
+
* {@inheritdoc @fluidframework/driver-definitions/legacy#ScopeType}
|
|
51
|
+
* @legacy
|
|
52
|
+
* @alpha
|
|
53
|
+
* @deprecated Use ScopeType from \@fluidframework/driver-definitions/legacy - to be removed in 2.40
|
|
54
|
+
*/
|
|
55
|
+
export type ScopeType = ScopeTypeBase;
|
|
30
56
|
|
|
31
57
|
// Re-export so developers can build loggers without pulling in core-interfaces
|
|
32
58
|
export type {
|