@atlaskit/util-service-support 7.2.1 → 7.3.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 +11 -0
- package/package.json +2 -2
- package/report.api.md +0 -133
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/util-service-support
|
|
2
2
|
|
|
3
|
+
## 7.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
8
|
+
Remove stale API report artifacts from published Platform packages.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 7.2.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/util-service-support",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "A library of support classes for integrating React components with REST HTTP services",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
30
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
31
31
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
32
32
|
"@atlaskit/react-ufo": "^7.7.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
package/report.api.md
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/util-service-support"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
// @public (undocumented)
|
|
20
|
-
export abstract class AbstractResource<Q, R, E, I, O> implements Provider<Q, R, E, I, O> {
|
|
21
|
-
// (undocumented)
|
|
22
|
-
abstract filter(query?: Q, options?: O): void;
|
|
23
|
-
// (undocumented)
|
|
24
|
-
protected notifyError(error: E): void;
|
|
25
|
-
// (undocumented)
|
|
26
|
-
protected notifyInfo(info: I): void;
|
|
27
|
-
// (undocumented)
|
|
28
|
-
protected notifyNotReady(): void;
|
|
29
|
-
// (undocumented)
|
|
30
|
-
protected notifyResult(result: R): void;
|
|
31
|
-
// (undocumented)
|
|
32
|
-
subscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
33
|
-
// (undocumented)
|
|
34
|
-
unsubscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// @public (undocumented)
|
|
38
|
-
export const buildCredentials: (secOptions?: SecurityOptions) => 'include' | 'omit';
|
|
39
|
-
|
|
40
|
-
// @public (undocumented)
|
|
41
|
-
export interface KeyValues {
|
|
42
|
-
// (undocumented)
|
|
43
|
-
[index: string]: any;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// @public (undocumented)
|
|
47
|
-
export interface OnProviderChange<R, E, I> {
|
|
48
|
-
error?(error: E): void;
|
|
49
|
-
info?(info: I): void;
|
|
50
|
-
notReady?(): void;
|
|
51
|
-
result(result: R): void;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// @public
|
|
55
|
-
export interface Provider<Q, R, E, I, O> {
|
|
56
|
-
filter(query?: Q, options?: O): void;
|
|
57
|
-
// (undocumented)
|
|
58
|
-
subscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
59
|
-
// (undocumented)
|
|
60
|
-
unsubscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// @public
|
|
64
|
-
export interface RefreshSecurityProvider {
|
|
65
|
-
// (undocumented)
|
|
66
|
-
(): Promise<SecurityOptions>;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// @public (undocumented)
|
|
70
|
-
const requestService: <T>(
|
|
71
|
-
serviceConfig: ServiceConfig,
|
|
72
|
-
options?: RequestServiceOptions,
|
|
73
|
-
) => Promise<T>;
|
|
74
|
-
|
|
75
|
-
// @public (undocumented)
|
|
76
|
-
export interface RequestServiceOptions {
|
|
77
|
-
// (undocumented)
|
|
78
|
-
ignoreResponsePayload?: boolean;
|
|
79
|
-
// (undocumented)
|
|
80
|
-
path?: string;
|
|
81
|
-
// (undocumented)
|
|
82
|
-
queryParams?: KeyValues;
|
|
83
|
-
// (undocumented)
|
|
84
|
-
requestInit?: RequestInit;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
// @public (undocumented)
|
|
88
|
-
export interface SecurityOptions {
|
|
89
|
-
// (undocumented)
|
|
90
|
-
headers?: KeyValues;
|
|
91
|
-
// (undocumented)
|
|
92
|
-
omitCredentials?: boolean;
|
|
93
|
-
// (undocumented)
|
|
94
|
-
params?: KeyValues;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// @public
|
|
98
|
-
export interface SecurityProvider {
|
|
99
|
-
// (undocumented)
|
|
100
|
-
(): SecurityOptions;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// @public (undocumented)
|
|
104
|
-
export interface ServiceConfig {
|
|
105
|
-
// (undocumented)
|
|
106
|
-
refreshedSecurityProvider?: RefreshSecurityProvider;
|
|
107
|
-
// (undocumented)
|
|
108
|
-
securityProvider?: SecurityProvider;
|
|
109
|
-
// (undocumented)
|
|
110
|
-
url: string;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
declare namespace serviceUtils {
|
|
114
|
-
export { requestService };
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
// @public (undocumented)
|
|
118
|
-
export const utils: typeof serviceUtils;
|
|
119
|
-
|
|
120
|
-
// (No @packageDocumentation comment for this package)
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
<!--SECTION END: Main Entry Types-->
|
|
124
|
-
|
|
125
|
-
### Peer Dependencies
|
|
126
|
-
|
|
127
|
-
<!--SECTION START: Peer Dependencies-->
|
|
128
|
-
|
|
129
|
-
```json
|
|
130
|
-
{}
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
<!--SECTION END: Peer Dependencies-->
|