@atlaskit/web-config-client 0.2.0 → 0.4.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 CHANGED
@@ -1 +1,21 @@
1
1
  # @atlaskit/web-config-client
2
+
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 0.3.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [#153493](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153493)
20
+ [`e81c7c9049c12`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e81c7c9049c12) -
21
+ Fixes missing namespace property when fetching configs
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
  }();
@@ -14,6 +14,7 @@ export interface FetchOptions {
14
14
  * User context to evaluate against
15
15
  */
16
16
  context: {
17
+ namespace: string;
17
18
  identifiers: {
18
19
  [id in IdentifierEnum]?: string | undefined;
19
20
  };
@@ -14,6 +14,7 @@ export interface FetchOptions {
14
14
  * User context to evaluate against
15
15
  */
16
16
  context: {
17
+ namespace: string;
17
18
  identifiers: {
18
19
  [id in IdentifierEnum]?: string | undefined;
19
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/web-config-client",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "JavaScript Frontend Web Client for Dynamic Configuration.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,7 +39,7 @@
39
39
  "@babel/runtime": "^7.0.0"
40
40
  },
41
41
  "peerDependencies": {
42
- "react": "^16.8.0"
42
+ "react": "^18.2.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@af/integration-testing": "*",
@@ -47,8 +47,8 @@
47
47
  "@atlaskit/ssr": "*",
48
48
  "@atlaskit/visual-regression": "*",
49
49
  "@atlassian/feature-gate-node-client-standalone": "^3.5.0",
50
- "@testing-library/react": "^12.1.5",
51
- "react-dom": "^16.8.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
  },