@fluidframework/tool-utils 2.0.0-dev-rc.5.0.0.267932 → 2.0.0-dev-rc.5.0.0.268409

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.
@@ -0,0 +1,13 @@
1
+ ## Alpha API Report File for "@fluidframework/tool-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
+ import { IOdspTokens } from '@fluidframework/odsp-doclib-utils/internal';
8
+ import { IPublicClientConfig } from '@fluidframework/odsp-doclib-utils/internal';
9
+ import { ITree } from '@fluidframework/driver-definitions/internal';
10
+
11
+ // (No @packageDocumentation comment for this package)
12
+
13
+ ```
@@ -0,0 +1,13 @@
1
+ ## Beta API Report File for "@fluidframework/tool-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
+ import { IOdspTokens } from '@fluidframework/odsp-doclib-utils/internal';
8
+ import { IPublicClientConfig } from '@fluidframework/odsp-doclib-utils/internal';
9
+ import { ITree } from '@fluidframework/driver-definitions/internal';
10
+
11
+ // (No @packageDocumentation comment for this package)
12
+
13
+ ```
@@ -0,0 +1,13 @@
1
+ ## Public API Report File for "@fluidframework/tool-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
+ import { IOdspTokens } from '@fluidframework/odsp-doclib-utils/internal';
8
+ import { IPublicClientConfig } from '@fluidframework/odsp-doclib-utils/internal';
9
+ import { ITree } from '@fluidframework/driver-definitions/internal';
10
+
11
+ // (No @packageDocumentation comment for this package)
12
+
13
+ ```
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/tool-utils";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/tool-utils";
11
- exports.pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
11
+ exports.pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/tool-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,4BAA4B,CAAC;AACvC,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/tool-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/tool-utils";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/tool-utils";
8
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/tool-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,4BAA4B,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/tool-utils\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/tool-utils",
3
- "version": "2.0.0-dev-rc.5.0.0.267932",
3
+ "version": "2.0.0-dev-rc.5.0.0.268409",
4
4
  "description": "Common utilities for Fluid tools",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -57,10 +57,10 @@
57
57
  "temp-directory": "nyc/.nyc_output"
58
58
  },
59
59
  "dependencies": {
60
- "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.267932",
61
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.267932",
62
- "@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.267932",
63
- "@fluidframework/odsp-doclib-utils": "2.0.0-dev-rc.5.0.0.267932",
60
+ "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.268409",
61
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
62
+ "@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.268409",
63
+ "@fluidframework/odsp-doclib-utils": "2.0.0-dev-rc.5.0.0.268409",
64
64
  "async-mutex": "^0.3.1",
65
65
  "debug": "^4.3.4",
66
66
  "jwt-decode": "^4.0.0",
@@ -68,12 +68,12 @@
68
68
  },
69
69
  "devDependencies": {
70
70
  "@arethetypeswrong/cli": "^0.15.2",
71
- "@biomejs/biome": "^1.6.2",
72
- "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.267932",
71
+ "@biomejs/biome": "^1.7.3",
72
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.268409",
73
73
  "@fluid-tools/build-cli": "^0.39.0-264124",
74
74
  "@fluidframework/build-common": "^2.0.3",
75
75
  "@fluidframework/build-tools": "^0.39.0-264124",
76
- "@fluidframework/eslint-config-fluid": "^5.1.0",
76
+ "@fluidframework/eslint-config-fluid": "^5.3.0",
77
77
  "@fluidframework/tool-utils-previous": "npm:@fluidframework/tool-utils@2.0.0-rc.4.0.0",
78
78
  "@microsoft/api-extractor": "^7.45.1",
79
79
  "@types/debug": "^4.1.5",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/tool-utils";
9
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
9
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
@@ -1,95 +0,0 @@
1
- ## API Report File for "@fluidframework/tool-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
- import { IOdspTokens } from '@fluidframework/odsp-doclib-utils/internal';
8
- import { IPublicClientConfig } from '@fluidframework/odsp-doclib-utils/internal';
9
- import { ITree } from '@fluidframework/driver-definitions/internal';
10
-
11
- // @internal
12
- export const gcBlobPrefix = "__gc";
13
-
14
- // @internal (undocumented)
15
- export const getMicrosoftConfiguration: () => IPublicClientConfig;
16
-
17
- // @internal
18
- export function getNormalizedSnapshot(snapshot: ITree, config?: ISnapshotNormalizerConfig): ITree;
19
-
20
- // @internal (undocumented)
21
- export interface IAsyncCache<TKey, TValue> {
22
- // (undocumented)
23
- get(key: TKey): Promise<TValue | undefined>;
24
- // (undocumented)
25
- lock<T>(callback: () => Promise<T>): Promise<T>;
26
- // (undocumented)
27
- save(key: TKey, value: TValue): Promise<void>;
28
- }
29
-
30
- // @internal (undocumented)
31
- export interface IOdspTokenManagerCacheKey {
32
- // (undocumented)
33
- readonly isPush: boolean;
34
- // (undocumented)
35
- readonly userOrServer: string;
36
- }
37
-
38
- // @internal (undocumented)
39
- export interface IResources {
40
- // (undocumented)
41
- tokens?: {
42
- version?: number;
43
- data: {
44
- [key: string]: {
45
- storage?: IOdspTokens;
46
- push?: IOdspTokens;
47
- };
48
- };
49
- };
50
- }
51
-
52
- // @internal (undocumented)
53
- export interface ISnapshotNormalizerConfig {
54
- // (undocumented)
55
- blobsToNormalize?: string[];
56
- excludedChannelContentTypes?: string[];
57
- }
58
-
59
- // @internal (undocumented)
60
- export function loadRC(): Promise<IResources>;
61
-
62
- // @internal (undocumented)
63
- export function lockRC(): Promise<any>;
64
-
65
- // @internal (undocumented)
66
- export type OdspTokenConfig = {
67
- type: "password";
68
- username: string;
69
- password: string;
70
- } | {
71
- type: "browserLogin";
72
- navigator: (url: string) => void;
73
- redirectUriCallback?: (tokens: IOdspTokens) => Promise<string>;
74
- };
75
-
76
- // @internal (undocumented)
77
- export class OdspTokenManager {
78
- constructor(tokenCache?: IAsyncCache<IOdspTokenManagerCacheKey, IOdspTokens> | undefined);
79
- // (undocumented)
80
- getOdspTokens(server: string, clientConfig: IPublicClientConfig, tokenConfig: OdspTokenConfig, forceRefresh?: boolean, forceReauth?: boolean): Promise<IOdspTokens>;
81
- // (undocumented)
82
- getPushTokens(server: string, clientConfig: IPublicClientConfig, tokenConfig: OdspTokenConfig, forceRefresh?: boolean, forceReauth?: boolean): Promise<IOdspTokens>;
83
- // (undocumented)
84
- updateTokensCache(key: IOdspTokenManagerCacheKey, value: IOdspTokens): Promise<void>;
85
- }
86
-
87
- // @internal (undocumented)
88
- export const odspTokensCache: IAsyncCache<IOdspTokenManagerCacheKey, IOdspTokens>;
89
-
90
- // @internal (undocumented)
91
- export function saveRC(rc: IResources): Promise<void>;
92
-
93
- // (No @packageDocumentation comment for this package)
94
-
95
- ```