@atlaskit/util-service-support 6.2.3 → 6.2.4
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 +20 -14
- package/afm-cc/tsconfig.json +21 -0
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/serviceResources.js +2 -3
- package/dist/cjs/serviceUtils.js +4 -5
- package/dist/cjs/types.js +2 -3
- package/dist/esm/serviceUtils.js +2 -2
- package/package.json +8 -3
- package/tmp/api-report-tmp.d.ts +0 -109
package/CHANGELOG.md
CHANGED
|
@@ -1,76 +1,82 @@
|
|
|
1
1
|
# @atlaskit/util-service-support
|
|
2
2
|
|
|
3
|
+
## 6.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#68561](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68561) [`6a1919bf8400`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6a1919bf8400) - Migrate packages to use declarative entry points
|
|
8
|
+
|
|
3
9
|
## 6.2.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
13
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
14
|
|
|
9
15
|
## 6.2.2
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
19
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
14
20
|
|
|
15
21
|
## 6.2.1
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
25
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
20
26
|
|
|
21
27
|
## 6.2.0
|
|
22
28
|
|
|
23
29
|
### Minor Changes
|
|
24
30
|
|
|
25
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
31
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
26
32
|
|
|
27
33
|
## 6.1.3
|
|
28
34
|
|
|
29
35
|
### Patch Changes
|
|
30
36
|
|
|
31
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
37
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
32
38
|
|
|
33
39
|
## 6.1.2
|
|
34
40
|
|
|
35
41
|
### Patch Changes
|
|
36
42
|
|
|
37
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
43
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
38
44
|
|
|
39
45
|
## 6.1.1
|
|
40
46
|
|
|
41
47
|
### Patch Changes
|
|
42
48
|
|
|
43
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
49
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
44
50
|
|
|
45
51
|
## 6.1.0
|
|
46
52
|
|
|
47
53
|
### Minor Changes
|
|
48
54
|
|
|
49
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Remove unused polyfills
|
|
55
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Remove unused polyfills
|
|
50
56
|
|
|
51
57
|
## 6.0.5
|
|
52
58
|
|
|
53
59
|
### Patch Changes
|
|
54
60
|
|
|
55
|
-
- [`dfe01a5dad7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfe01a5dad7) - Added ability to ignore JSON payload on status.ok responses
|
|
61
|
+
- [#8625](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8625) [`dfe01a5dad7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfe01a5dad7) - Added ability to ignore JSON payload on status.ok responses
|
|
56
62
|
|
|
57
63
|
## 6.0.4
|
|
58
64
|
|
|
59
65
|
### Patch Changes
|
|
60
66
|
|
|
61
|
-
- [`0241ccdf088`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0241ccdf088) - Accept paths which already have a leading slash.
|
|
67
|
+
- [#9338](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9338) [`0241ccdf088`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0241ccdf088) - Accept paths which already have a leading slash.
|
|
62
68
|
|
|
63
69
|
## 6.0.3
|
|
64
70
|
|
|
65
71
|
### Patch Changes
|
|
66
72
|
|
|
67
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
73
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
68
74
|
|
|
69
75
|
## 6.0.2
|
|
70
76
|
|
|
71
77
|
### Patch Changes
|
|
72
78
|
|
|
73
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
79
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
74
80
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
75
81
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
76
82
|
|
|
@@ -78,7 +84,7 @@
|
|
|
78
84
|
|
|
79
85
|
### Patch Changes
|
|
80
86
|
|
|
81
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
87
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
82
88
|
|
|
83
89
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
84
90
|
to prevent duplicates of tslib being bundled.
|
|
@@ -87,7 +93,7 @@
|
|
|
87
93
|
|
|
88
94
|
### Major Changes
|
|
89
95
|
|
|
90
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
96
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
91
97
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
92
98
|
|
|
93
99
|
## 5.0.1
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../dist",
|
|
8
|
+
"rootDir": "../",
|
|
9
|
+
"baseUrl": "../"
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"../src/**/*.ts",
|
|
13
|
+
"../src/**/*.tsx"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"../src/**/__tests__/*",
|
|
17
|
+
"../src/**/*.test.*",
|
|
18
|
+
"../src/**/test.*"
|
|
19
|
+
],
|
|
20
|
+
"references": []
|
|
21
|
+
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -35,5 +35,4 @@ Object.keys(_serviceResources).forEach(function (key) {
|
|
|
35
35
|
var serviceUtils = _interopRequireWildcard(require("./serviceUtils"));
|
|
36
36
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
37
37
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
38
|
-
var utils = serviceUtils;
|
|
39
|
-
exports.utils = utils;
|
|
38
|
+
var utils = exports.utils = serviceUtils;
|
|
@@ -8,7 +8,7 @@ exports.AbstractResource = void 0;
|
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
var AbstractResource = /*#__PURE__*/function () {
|
|
11
|
+
var AbstractResource = exports.AbstractResource = /*#__PURE__*/function () {
|
|
12
12
|
function AbstractResource() {
|
|
13
13
|
(0, _classCallCheck2.default)(this, AbstractResource);
|
|
14
14
|
(0, _defineProperty2.default)(this, "listeners", new Set());
|
|
@@ -63,5 +63,4 @@ var AbstractResource = /*#__PURE__*/function () {
|
|
|
63
63
|
}
|
|
64
64
|
}]);
|
|
65
65
|
return AbstractResource;
|
|
66
|
-
}();
|
|
67
|
-
exports.AbstractResource = AbstractResource;
|
|
66
|
+
}();
|
package/dist/cjs/serviceUtils.js
CHANGED
|
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.requestService = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _types = require("./types");
|
|
10
|
-
function ownKeys(
|
|
11
|
-
function _objectSpread(
|
|
10
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
var defaultRequestServiceOptions = {};
|
|
13
13
|
var buildUrl = function buildUrl(baseUrl) {
|
|
14
14
|
var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
@@ -78,7 +78,7 @@ var buildHeaders = function buildHeaders(secOptions, extraHeaders) {
|
|
|
78
78
|
/**
|
|
79
79
|
* @returns Promise containing the json response
|
|
80
80
|
*/
|
|
81
|
-
var requestService = function requestService(serviceConfig, options) {
|
|
81
|
+
var requestService = exports.requestService = function requestService(serviceConfig, options) {
|
|
82
82
|
var url = serviceConfig.url,
|
|
83
83
|
securityProvider = serviceConfig.securityProvider,
|
|
84
84
|
refreshedSecurityProvider = serviceConfig.refreshedSecurityProvider;
|
|
@@ -117,5 +117,4 @@ var requestService = function requestService(serviceConfig, options) {
|
|
|
117
117
|
reason: response.statusText
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
|
-
};
|
|
121
|
-
exports.requestService = requestService;
|
|
120
|
+
};
|
package/dist/cjs/types.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.buildCredentials = void 0;
|
|
|
14
14
|
* O = options that filter can accept
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
var buildCredentials = function buildCredentials(secOptions) {
|
|
17
|
+
var buildCredentials = exports.buildCredentials = function buildCredentials(secOptions) {
|
|
18
18
|
return secOptions && secOptions.omitCredentials ? 'omit' : 'include';
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -25,5 +25,4 @@ var buildCredentials = function buildCredentials(secOptions) {
|
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Returns the current SecurityOptions for the mentions service.
|
|
28
|
-
*/
|
|
29
|
-
exports.buildCredentials = buildCredentials;
|
|
28
|
+
*/
|
package/dist/esm/serviceUtils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { buildCredentials } from './types';
|
|
5
5
|
var defaultRequestServiceOptions = {};
|
|
6
6
|
var buildUrl = function buildUrl(baseUrl) {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/util-service-support",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.4",
|
|
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/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -21,8 +21,13 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"atlaskit:src": "src/index.ts",
|
|
24
|
+
"af:exports": {
|
|
25
|
+
".": "./src/index.ts",
|
|
26
|
+
"./serviceResources": "./src/serviceResources.ts",
|
|
27
|
+
"./serviceUtils": "./src/serviceUtils.ts",
|
|
28
|
+
"./types": "./src/types.ts"
|
|
29
|
+
},
|
|
24
30
|
"atlassian": {
|
|
25
|
-
"deprecatedAutoEntryPoints": true,
|
|
26
31
|
"releaseModel": "continuous",
|
|
27
32
|
"team": "UIP: Frontend Delivery"
|
|
28
33
|
},
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/util-service-support"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
// @public (undocumented)
|
|
8
|
-
export abstract class AbstractResource<Q, R, E, I, O> implements Provider<Q, R, E, I, O> {
|
|
9
|
-
// (undocumented)
|
|
10
|
-
abstract filter(query?: Q, options?: O): void;
|
|
11
|
-
// (undocumented)
|
|
12
|
-
protected notifyError(error: E): void;
|
|
13
|
-
// (undocumented)
|
|
14
|
-
protected notifyInfo(info: I): void;
|
|
15
|
-
// (undocumented)
|
|
16
|
-
protected notifyNotReady(): void;
|
|
17
|
-
// (undocumented)
|
|
18
|
-
protected notifyResult(result: R): void;
|
|
19
|
-
// (undocumented)
|
|
20
|
-
subscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
21
|
-
// (undocumented)
|
|
22
|
-
unsubscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export const buildCredentials: (secOptions?: SecurityOptions) => "include" | "omit";
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
export interface KeyValues {
|
|
30
|
-
// (undocumented)
|
|
31
|
-
[index: string]: any;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
export interface OnProviderChange<R, E, I> {
|
|
36
|
-
error?(error: E): void;
|
|
37
|
-
info?(info: I): void;
|
|
38
|
-
notReady?(): void;
|
|
39
|
-
result(result: R): void;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// @public
|
|
43
|
-
export interface Provider<Q, R, E, I, O> {
|
|
44
|
-
filter(query?: Q, options?: O): void;
|
|
45
|
-
// (undocumented)
|
|
46
|
-
subscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
47
|
-
// (undocumented)
|
|
48
|
-
unsubscribe(onChange: OnProviderChange<R, E, I>): void;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// @public
|
|
52
|
-
export interface RefreshSecurityProvider {
|
|
53
|
-
// (undocumented)
|
|
54
|
-
(): Promise<SecurityOptions>;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// @public (undocumented)
|
|
58
|
-
const requestService: <T>(serviceConfig: ServiceConfig, options?: RequestServiceOptions) => Promise<T>;
|
|
59
|
-
|
|
60
|
-
// @public (undocumented)
|
|
61
|
-
export interface RequestServiceOptions {
|
|
62
|
-
// (undocumented)
|
|
63
|
-
ignoreResponsePayload?: boolean;
|
|
64
|
-
// (undocumented)
|
|
65
|
-
path?: string;
|
|
66
|
-
// (undocumented)
|
|
67
|
-
queryParams?: KeyValues;
|
|
68
|
-
// (undocumented)
|
|
69
|
-
requestInit?: RequestInit;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// @public (undocumented)
|
|
73
|
-
export interface SecurityOptions {
|
|
74
|
-
// (undocumented)
|
|
75
|
-
headers?: KeyValues;
|
|
76
|
-
// (undocumented)
|
|
77
|
-
omitCredentials?: boolean;
|
|
78
|
-
// (undocumented)
|
|
79
|
-
params?: KeyValues;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
// @public
|
|
83
|
-
export interface SecurityProvider {
|
|
84
|
-
// (undocumented)
|
|
85
|
-
(): SecurityOptions;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// @public (undocumented)
|
|
89
|
-
export interface ServiceConfig {
|
|
90
|
-
// (undocumented)
|
|
91
|
-
refreshedSecurityProvider?: RefreshSecurityProvider;
|
|
92
|
-
// (undocumented)
|
|
93
|
-
securityProvider?: SecurityProvider;
|
|
94
|
-
// (undocumented)
|
|
95
|
-
url: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare namespace serviceUtils {
|
|
99
|
-
export {
|
|
100
|
-
requestService
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// @public (undocumented)
|
|
105
|
-
export const utils: typeof serviceUtils;
|
|
106
|
-
|
|
107
|
-
// (No @packageDocumentation comment for this package)
|
|
108
|
-
|
|
109
|
-
```
|