@atlaskit/web-config-client 0.3.0 → 0.4.1
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 +21 -0
- package/dist/cjs/main.js +1 -2
- package/dist/esm/main.js +1 -2
- package/dist/types/main.d.ts +1 -1
- package/dist/types-ts4.5/main.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/web-config-client
|
|
2
2
|
|
|
3
|
+
## 0.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#111262](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111262)
|
|
8
|
+
[`848979922d7f6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/848979922d7f6) -
|
|
9
|
+
Changed dev dependency @atlassian/feature-gate-client-standalone to
|
|
10
|
+
@atlassian/experiment-feature-gates to pick up latest identifiers
|
|
11
|
+
|
|
12
|
+
## 0.4.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
17
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
18
|
+
Update `React` from v16 to v18
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 0.3.0
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/dist/cjs/main.js
CHANGED
|
@@ -14,7 +14,7 @@ var ConfigClient = exports.ConfigClient = /*#__PURE__*/function () {
|
|
|
14
14
|
function ConfigClient() {
|
|
15
15
|
(0, _classCallCheck2.default)(this, ConfigClient);
|
|
16
16
|
}
|
|
17
|
-
(0, _createClass2.default)(ConfigClient, null, [{
|
|
17
|
+
return (0, _createClass2.default)(ConfigClient, null, [{
|
|
18
18
|
key: "fetch",
|
|
19
19
|
value: function () {
|
|
20
20
|
var _fetch = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(options) {
|
|
@@ -65,5 +65,4 @@ var ConfigClient = exports.ConfigClient = /*#__PURE__*/function () {
|
|
|
65
65
|
return fetch;
|
|
66
66
|
}()
|
|
67
67
|
}]);
|
|
68
|
-
return ConfigClient;
|
|
69
68
|
}();
|
package/dist/esm/main.js
CHANGED
|
@@ -7,7 +7,7 @@ export var ConfigClient = /*#__PURE__*/function () {
|
|
|
7
7
|
function ConfigClient() {
|
|
8
8
|
_classCallCheck(this, ConfigClient);
|
|
9
9
|
}
|
|
10
|
-
_createClass(ConfigClient, null, [{
|
|
10
|
+
return _createClass(ConfigClient, null, [{
|
|
11
11
|
key: "fetch",
|
|
12
12
|
value: function () {
|
|
13
13
|
var _fetch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(options) {
|
|
@@ -58,5 +58,4 @@ export var ConfigClient = /*#__PURE__*/function () {
|
|
|
58
58
|
return fetch;
|
|
59
59
|
}()
|
|
60
60
|
}]);
|
|
61
|
-
return ConfigClient;
|
|
62
61
|
}();
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigCollection } from '@atlaskit/config-common-libs';
|
|
2
|
-
import type { IdentifierEnum } from '@atlassian/feature-
|
|
2
|
+
import type { IdentifierEnum } from '@atlassian/experiment-feature-gates';
|
|
3
3
|
export interface FetchOptions {
|
|
4
4
|
/**
|
|
5
5
|
* Base URL of the feature-flag-service
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfigCollection } from '@atlaskit/config-common-libs';
|
|
2
|
-
import type { IdentifierEnum } from '@atlassian/feature-
|
|
2
|
+
import type { IdentifierEnum } from '@atlassian/experiment-feature-gates';
|
|
3
3
|
export interface FetchOptions {
|
|
4
4
|
/**
|
|
5
5
|
* Base URL of the feature-flag-service
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/web-config-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "JavaScript Frontend Web Client for Dynamic Configuration.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@babel/runtime": "^7.0.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"react": "^
|
|
42
|
+
"react": "^18.2.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@af/integration-testing": "*",
|
|
46
46
|
"@af/visual-regression": "*",
|
|
47
47
|
"@atlaskit/ssr": "*",
|
|
48
48
|
"@atlaskit/visual-regression": "*",
|
|
49
|
-
"@atlassian/feature-
|
|
50
|
-
"@testing-library/react": "^
|
|
51
|
-
"react-dom": "^
|
|
49
|
+
"@atlassian/experiment-feature-gates": "^5.3.0",
|
|
50
|
+
"@testing-library/react": "^13.4.0",
|
|
51
|
+
"react-dom": "^18.2.0",
|
|
52
52
|
"typescript": "~5.4.2",
|
|
53
53
|
"wait-for-expect": "^1.2.0"
|
|
54
54
|
},
|