@atlaskit/web-config-client 0.7.1 → 0.9.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,5 +1,23 @@
1
1
  # @atlaskit/web-config-client
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`adb4e7777d502`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/adb4e7777d502) -
8
+ Add new identifiers for customerAccountId and csmAccountId
9
+
10
+ ## 0.8.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`ebab8f80bfc40`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ebab8f80bfc40) -
15
+ Autofix: add explicit package exports (barrel removal)
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 0.7.1
4
22
 
5
23
  ### Patch Changes
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ConfigClient", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _main.ConfigClient;
10
+ }
11
+ });
12
+ var _main = require("../main");
package/dist/cjs/main.js CHANGED
@@ -19,12 +19,12 @@ var ConfigClient = exports.ConfigClient = /*#__PURE__*/function () {
19
19
  value: function () {
20
20
  var _fetch = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(options) {
21
21
  var _options$fetch;
22
- var fetch, response, valuesPayload;
23
- return _regenerator.default.wrap(function _callee$(_context) {
22
+ var fetch, response, valuesPayload, _t, _t2, _t3;
23
+ return _regenerator.default.wrap(function (_context) {
24
24
  while (1) switch (_context.prev = _context.next) {
25
25
  case 0:
26
26
  fetch = (_options$fetch = options.fetch) !== null && _options$fetch !== void 0 ? _options$fetch : globalThis.fetch;
27
- _context.next = 3;
27
+ _context.next = 1;
28
28
  return fetch("".concat(options.ffsBaseUrl, "/api/v2/configurations"), {
29
29
  method: 'POST',
30
30
  body: JSON.stringify(options.context),
@@ -33,27 +33,26 @@ var ConfigClient = exports.ConfigClient = /*#__PURE__*/function () {
33
33
  'x-api-key': options.ffsApiKey
34
34
  }
35
35
  });
36
- case 3:
36
+ case 1:
37
37
  response = _context.sent;
38
38
  if (response.ok) {
39
- _context.next = 12;
39
+ _context.next = 3;
40
40
  break;
41
41
  }
42
- _context.t0 = Error;
43
- _context.t1 = "Unexpected response ".concat(response.status, ": ");
44
- _context.next = 9;
42
+ _t = Error;
43
+ _t2 = "Unexpected response ".concat(response.status, ": ");
44
+ _context.next = 2;
45
45
  return response.text();
46
- case 9:
47
- _context.t2 = _context.sent;
48
- _context.t3 = _context.t1.concat.call(_context.t1, _context.t2);
49
- throw new _context.t0(_context.t3);
50
- case 12:
51
- _context.next = 14;
46
+ case 2:
47
+ _t3 = _t2.concat.call(_t2, _context.sent);
48
+ throw new _t(_t3);
49
+ case 3:
50
+ _context.next = 4;
52
51
  return response.text();
53
- case 14:
52
+ case 4:
54
53
  valuesPayload = _context.sent;
55
54
  return _context.abrupt("return", _configCommonLibs.ConfigCollection.fromValues(valuesPayload));
56
- case 16:
55
+ case 5:
57
56
  case "end":
58
57
  return _context.stop();
59
58
  }
package/dist/cjs/types.js CHANGED
@@ -4,31 +4,32 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.IdentifierEnum = void 0;
7
- var IdentifierEnum = exports.IdentifierEnum = /*#__PURE__*/function (IdentifierEnum) {
8
- IdentifierEnum["ActivationId"] = "activationId";
9
- IdentifierEnum["AlignUserId"] = "alignUserId";
10
- IdentifierEnum["AnalyticsAnonymousId"] = "analyticsAnonymousId";
11
- IdentifierEnum["AtlassianAccountId"] = "atlassianAccountId";
12
- IdentifierEnum["AtlassianOrgId"] = "atlassianOrgId";
13
- IdentifierEnum["BitbucketConnectAppId"] = "bitbucketConnectAppId";
14
- IdentifierEnum["BitbucketRepositoryId"] = "bitbucketRepositoryId";
15
- IdentifierEnum["BitbucketWorkspaceId"] = "bitbucketWorkspaceId";
16
- IdentifierEnum["GsacIssueId"] = "gsacIssueId";
17
- IdentifierEnum["IntercomConversationId"] = "intercomConversationId";
18
- IdentifierEnum["MarketplaceAnonymousId"] = "marketplaceAnonymousId";
19
- IdentifierEnum["MsTeamsTenantId"] = "msTeamsTenantId";
20
- IdentifierEnum["MarketplacePartnerId"] = "marketplacePartnerId";
21
- IdentifierEnum["LoomAnonymousId"] = "loomAnonymousId";
22
- IdentifierEnum["LoomUserId"] = "loomUserId";
23
- IdentifierEnum["LoomWorkspaceId"] = "loomWorkspaceId";
24
- IdentifierEnum["ProductIntegrationsVendorId"] = "productIntegrationsVendorId";
25
- IdentifierEnum["RandomizationId"] = "randomizationId";
26
- IdentifierEnum["TenantId"] = "tenantId";
27
- IdentifierEnum["TransactionAccountId"] = "transactionAccountId";
28
- IdentifierEnum["TrelloUserId"] = "trelloUserId";
29
- IdentifierEnum["TrelloWorkspaceId"] = "trelloWorkspaceId";
7
+ var IdentifierEnum = exports.IdentifierEnum = {
8
+ ActivationId: 'activationId',
9
+ AlignUserId: 'alignUserId',
10
+ AnalyticsAnonymousId: 'analyticsAnonymousId',
11
+ AtlassianAccountId: 'atlassianAccountId',
12
+ AtlassianOrgId: 'atlassianOrgId',
13
+ BitbucketConnectAppId: 'bitbucketConnectAppId',
14
+ BitbucketRepositoryId: 'bitbucketRepositoryId',
15
+ BitbucketWorkspaceId: 'bitbucketWorkspaceId',
16
+ CSMAccountId: 'csmAccountId',
17
+ CustomerAccountId: 'customerAccountId',
18
+ GsacIssueId: 'gsacIssueId',
19
+ IntercomConversationId: 'intercomConversationId',
20
+ MarketplaceAnonymousId: 'marketplaceAnonymousId',
21
+ MsTeamsTenantId: 'msTeamsTenantId',
22
+ MarketplacePartnerId: 'marketplacePartnerId',
23
+ LoomAnonymousId: 'loomAnonymousId',
24
+ LoomUserId: 'loomUserId',
25
+ LoomWorkspaceId: 'loomWorkspaceId',
26
+ ProductIntegrationsVendorId: 'productIntegrationsVendorId',
27
+ RandomizationId: 'randomizationId',
28
+ TenantId: 'tenantId',
29
+ TransactionAccountId: 'transactionAccountId',
30
+ TrelloUserId: 'trelloUserId',
31
+ TrelloWorkspaceId: 'trelloWorkspaceId',
30
32
  /** Statsig's stableID */
31
- IdentifierEnum["StableId"] = "stableID";
32
- IdentifierEnum["MiscellaneousId"] = "miscellaneousId";
33
- return IdentifierEnum;
34
- }({});
33
+ StableId: 'stableID',
34
+ MiscellaneousId: 'miscellaneousId'
35
+ };
@@ -0,0 +1 @@
1
+ export { ConfigClient } from '../main';
@@ -1,28 +1,29 @@
1
- export let IdentifierEnum = /*#__PURE__*/function (IdentifierEnum) {
2
- IdentifierEnum["ActivationId"] = "activationId";
3
- IdentifierEnum["AlignUserId"] = "alignUserId";
4
- IdentifierEnum["AnalyticsAnonymousId"] = "analyticsAnonymousId";
5
- IdentifierEnum["AtlassianAccountId"] = "atlassianAccountId";
6
- IdentifierEnum["AtlassianOrgId"] = "atlassianOrgId";
7
- IdentifierEnum["BitbucketConnectAppId"] = "bitbucketConnectAppId";
8
- IdentifierEnum["BitbucketRepositoryId"] = "bitbucketRepositoryId";
9
- IdentifierEnum["BitbucketWorkspaceId"] = "bitbucketWorkspaceId";
10
- IdentifierEnum["GsacIssueId"] = "gsacIssueId";
11
- IdentifierEnum["IntercomConversationId"] = "intercomConversationId";
12
- IdentifierEnum["MarketplaceAnonymousId"] = "marketplaceAnonymousId";
13
- IdentifierEnum["MsTeamsTenantId"] = "msTeamsTenantId";
14
- IdentifierEnum["MarketplacePartnerId"] = "marketplacePartnerId";
15
- IdentifierEnum["LoomAnonymousId"] = "loomAnonymousId";
16
- IdentifierEnum["LoomUserId"] = "loomUserId";
17
- IdentifierEnum["LoomWorkspaceId"] = "loomWorkspaceId";
18
- IdentifierEnum["ProductIntegrationsVendorId"] = "productIntegrationsVendorId";
19
- IdentifierEnum["RandomizationId"] = "randomizationId";
20
- IdentifierEnum["TenantId"] = "tenantId";
21
- IdentifierEnum["TransactionAccountId"] = "transactionAccountId";
22
- IdentifierEnum["TrelloUserId"] = "trelloUserId";
23
- IdentifierEnum["TrelloWorkspaceId"] = "trelloWorkspaceId";
1
+ export const IdentifierEnum = {
2
+ ActivationId: 'activationId',
3
+ AlignUserId: 'alignUserId',
4
+ AnalyticsAnonymousId: 'analyticsAnonymousId',
5
+ AtlassianAccountId: 'atlassianAccountId',
6
+ AtlassianOrgId: 'atlassianOrgId',
7
+ BitbucketConnectAppId: 'bitbucketConnectAppId',
8
+ BitbucketRepositoryId: 'bitbucketRepositoryId',
9
+ BitbucketWorkspaceId: 'bitbucketWorkspaceId',
10
+ CSMAccountId: 'csmAccountId',
11
+ CustomerAccountId: 'customerAccountId',
12
+ GsacIssueId: 'gsacIssueId',
13
+ IntercomConversationId: 'intercomConversationId',
14
+ MarketplaceAnonymousId: 'marketplaceAnonymousId',
15
+ MsTeamsTenantId: 'msTeamsTenantId',
16
+ MarketplacePartnerId: 'marketplacePartnerId',
17
+ LoomAnonymousId: 'loomAnonymousId',
18
+ LoomUserId: 'loomUserId',
19
+ LoomWorkspaceId: 'loomWorkspaceId',
20
+ ProductIntegrationsVendorId: 'productIntegrationsVendorId',
21
+ RandomizationId: 'randomizationId',
22
+ TenantId: 'tenantId',
23
+ TransactionAccountId: 'transactionAccountId',
24
+ TrelloUserId: 'trelloUserId',
25
+ TrelloWorkspaceId: 'trelloWorkspaceId',
24
26
  /** Statsig's stableID */
25
- IdentifierEnum["StableId"] = "stableID";
26
- IdentifierEnum["MiscellaneousId"] = "miscellaneousId";
27
- return IdentifierEnum;
28
- }({});
27
+ StableId: 'stableID',
28
+ MiscellaneousId: 'miscellaneousId'
29
+ };
@@ -0,0 +1 @@
1
+ export { ConfigClient } from '../main';
package/dist/esm/main.js CHANGED
@@ -12,12 +12,12 @@ export var ConfigClient = /*#__PURE__*/function () {
12
12
  value: function () {
13
13
  var _fetch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(options) {
14
14
  var _options$fetch;
15
- var fetch, response, valuesPayload;
16
- return _regeneratorRuntime.wrap(function _callee$(_context) {
15
+ var fetch, response, valuesPayload, _t, _t2, _t3;
16
+ return _regeneratorRuntime.wrap(function (_context) {
17
17
  while (1) switch (_context.prev = _context.next) {
18
18
  case 0:
19
19
  fetch = (_options$fetch = options.fetch) !== null && _options$fetch !== void 0 ? _options$fetch : globalThis.fetch;
20
- _context.next = 3;
20
+ _context.next = 1;
21
21
  return fetch("".concat(options.ffsBaseUrl, "/api/v2/configurations"), {
22
22
  method: 'POST',
23
23
  body: JSON.stringify(options.context),
@@ -26,27 +26,26 @@ export var ConfigClient = /*#__PURE__*/function () {
26
26
  'x-api-key': options.ffsApiKey
27
27
  }
28
28
  });
29
- case 3:
29
+ case 1:
30
30
  response = _context.sent;
31
31
  if (response.ok) {
32
- _context.next = 12;
32
+ _context.next = 3;
33
33
  break;
34
34
  }
35
- _context.t0 = Error;
36
- _context.t1 = "Unexpected response ".concat(response.status, ": ");
37
- _context.next = 9;
35
+ _t = Error;
36
+ _t2 = "Unexpected response ".concat(response.status, ": ");
37
+ _context.next = 2;
38
38
  return response.text();
39
- case 9:
40
- _context.t2 = _context.sent;
41
- _context.t3 = _context.t1.concat.call(_context.t1, _context.t2);
42
- throw new _context.t0(_context.t3);
43
- case 12:
44
- _context.next = 14;
39
+ case 2:
40
+ _t3 = _t2.concat.call(_t2, _context.sent);
41
+ throw new _t(_t3);
42
+ case 3:
43
+ _context.next = 4;
45
44
  return response.text();
46
- case 14:
45
+ case 4:
47
46
  valuesPayload = _context.sent;
48
47
  return _context.abrupt("return", ConfigCollection.fromValues(valuesPayload));
49
- case 16:
48
+ case 5:
50
49
  case "end":
51
50
  return _context.stop();
52
51
  }
package/dist/esm/types.js CHANGED
@@ -1,28 +1,29 @@
1
- export var IdentifierEnum = /*#__PURE__*/function (IdentifierEnum) {
2
- IdentifierEnum["ActivationId"] = "activationId";
3
- IdentifierEnum["AlignUserId"] = "alignUserId";
4
- IdentifierEnum["AnalyticsAnonymousId"] = "analyticsAnonymousId";
5
- IdentifierEnum["AtlassianAccountId"] = "atlassianAccountId";
6
- IdentifierEnum["AtlassianOrgId"] = "atlassianOrgId";
7
- IdentifierEnum["BitbucketConnectAppId"] = "bitbucketConnectAppId";
8
- IdentifierEnum["BitbucketRepositoryId"] = "bitbucketRepositoryId";
9
- IdentifierEnum["BitbucketWorkspaceId"] = "bitbucketWorkspaceId";
10
- IdentifierEnum["GsacIssueId"] = "gsacIssueId";
11
- IdentifierEnum["IntercomConversationId"] = "intercomConversationId";
12
- IdentifierEnum["MarketplaceAnonymousId"] = "marketplaceAnonymousId";
13
- IdentifierEnum["MsTeamsTenantId"] = "msTeamsTenantId";
14
- IdentifierEnum["MarketplacePartnerId"] = "marketplacePartnerId";
15
- IdentifierEnum["LoomAnonymousId"] = "loomAnonymousId";
16
- IdentifierEnum["LoomUserId"] = "loomUserId";
17
- IdentifierEnum["LoomWorkspaceId"] = "loomWorkspaceId";
18
- IdentifierEnum["ProductIntegrationsVendorId"] = "productIntegrationsVendorId";
19
- IdentifierEnum["RandomizationId"] = "randomizationId";
20
- IdentifierEnum["TenantId"] = "tenantId";
21
- IdentifierEnum["TransactionAccountId"] = "transactionAccountId";
22
- IdentifierEnum["TrelloUserId"] = "trelloUserId";
23
- IdentifierEnum["TrelloWorkspaceId"] = "trelloWorkspaceId";
1
+ export var IdentifierEnum = {
2
+ ActivationId: 'activationId',
3
+ AlignUserId: 'alignUserId',
4
+ AnalyticsAnonymousId: 'analyticsAnonymousId',
5
+ AtlassianAccountId: 'atlassianAccountId',
6
+ AtlassianOrgId: 'atlassianOrgId',
7
+ BitbucketConnectAppId: 'bitbucketConnectAppId',
8
+ BitbucketRepositoryId: 'bitbucketRepositoryId',
9
+ BitbucketWorkspaceId: 'bitbucketWorkspaceId',
10
+ CSMAccountId: 'csmAccountId',
11
+ CustomerAccountId: 'customerAccountId',
12
+ GsacIssueId: 'gsacIssueId',
13
+ IntercomConversationId: 'intercomConversationId',
14
+ MarketplaceAnonymousId: 'marketplaceAnonymousId',
15
+ MsTeamsTenantId: 'msTeamsTenantId',
16
+ MarketplacePartnerId: 'marketplacePartnerId',
17
+ LoomAnonymousId: 'loomAnonymousId',
18
+ LoomUserId: 'loomUserId',
19
+ LoomWorkspaceId: 'loomWorkspaceId',
20
+ ProductIntegrationsVendorId: 'productIntegrationsVendorId',
21
+ RandomizationId: 'randomizationId',
22
+ TenantId: 'tenantId',
23
+ TransactionAccountId: 'transactionAccountId',
24
+ TrelloUserId: 'trelloUserId',
25
+ TrelloWorkspaceId: 'trelloWorkspaceId',
24
26
  /** Statsig's stableID */
25
- IdentifierEnum["StableId"] = "stableID";
26
- IdentifierEnum["MiscellaneousId"] = "miscellaneousId";
27
- return IdentifierEnum;
28
- }({});
27
+ StableId: 'stableID',
28
+ MiscellaneousId: 'miscellaneousId'
29
+ };
@@ -0,0 +1,2 @@
1
+ export { ConfigClient } from '../main';
2
+ export type { FetchOptions } from '../main';
@@ -1,27 +1,30 @@
1
- export declare enum IdentifierEnum {
2
- ActivationId = "activationId",
3
- AlignUserId = "alignUserId",
4
- AnalyticsAnonymousId = "analyticsAnonymousId",
5
- AtlassianAccountId = "atlassianAccountId",
6
- AtlassianOrgId = "atlassianOrgId",
7
- BitbucketConnectAppId = "bitbucketConnectAppId",
8
- BitbucketRepositoryId = "bitbucketRepositoryId",
9
- BitbucketWorkspaceId = "bitbucketWorkspaceId",
10
- GsacIssueId = "gsacIssueId",
11
- IntercomConversationId = "intercomConversationId",
12
- MarketplaceAnonymousId = "marketplaceAnonymousId",
13
- MsTeamsTenantId = "msTeamsTenantId",
14
- MarketplacePartnerId = "marketplacePartnerId",
15
- LoomAnonymousId = "loomAnonymousId",
16
- LoomUserId = "loomUserId",
17
- LoomWorkspaceId = "loomWorkspaceId",
18
- ProductIntegrationsVendorId = "productIntegrationsVendorId",
19
- RandomizationId = "randomizationId",
20
- TenantId = "tenantId",
21
- TransactionAccountId = "transactionAccountId",
22
- TrelloUserId = "trelloUserId",
23
- TrelloWorkspaceId = "trelloWorkspaceId",
1
+ export declare const IdentifierEnum: {
2
+ readonly ActivationId: "activationId";
3
+ readonly AlignUserId: "alignUserId";
4
+ readonly AnalyticsAnonymousId: "analyticsAnonymousId";
5
+ readonly AtlassianAccountId: "atlassianAccountId";
6
+ readonly AtlassianOrgId: "atlassianOrgId";
7
+ readonly BitbucketConnectAppId: "bitbucketConnectAppId";
8
+ readonly BitbucketRepositoryId: "bitbucketRepositoryId";
9
+ readonly BitbucketWorkspaceId: "bitbucketWorkspaceId";
10
+ readonly CSMAccountId: "csmAccountId";
11
+ readonly CustomerAccountId: "customerAccountId";
12
+ readonly GsacIssueId: "gsacIssueId";
13
+ readonly IntercomConversationId: "intercomConversationId";
14
+ readonly MarketplaceAnonymousId: "marketplaceAnonymousId";
15
+ readonly MsTeamsTenantId: "msTeamsTenantId";
16
+ readonly MarketplacePartnerId: "marketplacePartnerId";
17
+ readonly LoomAnonymousId: "loomAnonymousId";
18
+ readonly LoomUserId: "loomUserId";
19
+ readonly LoomWorkspaceId: "loomWorkspaceId";
20
+ readonly ProductIntegrationsVendorId: "productIntegrationsVendorId";
21
+ readonly RandomizationId: "randomizationId";
22
+ readonly TenantId: "tenantId";
23
+ readonly TransactionAccountId: "transactionAccountId";
24
+ readonly TrelloUserId: "trelloUserId";
25
+ readonly TrelloWorkspaceId: "trelloWorkspaceId";
24
26
  /** Statsig's stableID */
25
- StableId = "stableID",
26
- MiscellaneousId = "miscellaneousId"
27
- }
27
+ readonly StableId: "stableID";
28
+ readonly MiscellaneousId: "miscellaneousId";
29
+ };
30
+ export type IdentifierEnum = (typeof IdentifierEnum)[keyof typeof IdentifierEnum];
@@ -0,0 +1,2 @@
1
+ export { ConfigClient } from '../main';
2
+ export type { FetchOptions } from '../main';
@@ -1,27 +1,30 @@
1
- export declare enum IdentifierEnum {
2
- ActivationId = "activationId",
3
- AlignUserId = "alignUserId",
4
- AnalyticsAnonymousId = "analyticsAnonymousId",
5
- AtlassianAccountId = "atlassianAccountId",
6
- AtlassianOrgId = "atlassianOrgId",
7
- BitbucketConnectAppId = "bitbucketConnectAppId",
8
- BitbucketRepositoryId = "bitbucketRepositoryId",
9
- BitbucketWorkspaceId = "bitbucketWorkspaceId",
10
- GsacIssueId = "gsacIssueId",
11
- IntercomConversationId = "intercomConversationId",
12
- MarketplaceAnonymousId = "marketplaceAnonymousId",
13
- MsTeamsTenantId = "msTeamsTenantId",
14
- MarketplacePartnerId = "marketplacePartnerId",
15
- LoomAnonymousId = "loomAnonymousId",
16
- LoomUserId = "loomUserId",
17
- LoomWorkspaceId = "loomWorkspaceId",
18
- ProductIntegrationsVendorId = "productIntegrationsVendorId",
19
- RandomizationId = "randomizationId",
20
- TenantId = "tenantId",
21
- TransactionAccountId = "transactionAccountId",
22
- TrelloUserId = "trelloUserId",
23
- TrelloWorkspaceId = "trelloWorkspaceId",
1
+ export declare const IdentifierEnum: {
2
+ readonly ActivationId: "activationId";
3
+ readonly AlignUserId: "alignUserId";
4
+ readonly AnalyticsAnonymousId: "analyticsAnonymousId";
5
+ readonly AtlassianAccountId: "atlassianAccountId";
6
+ readonly AtlassianOrgId: "atlassianOrgId";
7
+ readonly BitbucketConnectAppId: "bitbucketConnectAppId";
8
+ readonly BitbucketRepositoryId: "bitbucketRepositoryId";
9
+ readonly BitbucketWorkspaceId: "bitbucketWorkspaceId";
10
+ readonly CSMAccountId: "csmAccountId";
11
+ readonly CustomerAccountId: "customerAccountId";
12
+ readonly GsacIssueId: "gsacIssueId";
13
+ readonly IntercomConversationId: "intercomConversationId";
14
+ readonly MarketplaceAnonymousId: "marketplaceAnonymousId";
15
+ readonly MsTeamsTenantId: "msTeamsTenantId";
16
+ readonly MarketplacePartnerId: "marketplacePartnerId";
17
+ readonly LoomAnonymousId: "loomAnonymousId";
18
+ readonly LoomUserId: "loomUserId";
19
+ readonly LoomWorkspaceId: "loomWorkspaceId";
20
+ readonly ProductIntegrationsVendorId: "productIntegrationsVendorId";
21
+ readonly RandomizationId: "randomizationId";
22
+ readonly TenantId: "tenantId";
23
+ readonly TransactionAccountId: "transactionAccountId";
24
+ readonly TrelloUserId: "trelloUserId";
25
+ readonly TrelloWorkspaceId: "trelloWorkspaceId";
24
26
  /** Statsig's stableID */
25
- StableId = "stableID",
26
- MiscellaneousId = "miscellaneousId"
27
- }
27
+ readonly StableId: "stableID";
28
+ readonly MiscellaneousId: "miscellaneousId";
29
+ };
30
+ export type IdentifierEnum = (typeof IdentifierEnum)[keyof typeof IdentifierEnum];
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/web-config-client/main",
3
+ "main": "../dist/cjs/entry-points/main.js",
4
+ "module": "../dist/esm/entry-points/main.js",
5
+ "module:es2019": "../dist/es2019/entry-points/main.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/main.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/main.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/web-config-client",
3
- "version": "0.7.1",
3
+ "version": "0.9.0",
4
4
  "description": "JavaScript Frontend Web Client for Dynamic Configuration.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "category": "Components"
15
15
  }
16
16
  },
17
- "repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
17
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
18
18
  "main": "dist/cjs/index.js",
19
19
  "module": "dist/esm/index.js",
20
20
  "module:es2019": "dist/es2019/index.js",
@@ -31,11 +31,8 @@
31
31
  "*.compiled.css"
32
32
  ],
33
33
  "atlaskit:src": "src/index.ts",
34
- "af:exports": {
35
- ".": "./src/index.ts"
36
- },
37
34
  "dependencies": {
38
- "@atlaskit/config-common-libs": "^0.2.0",
35
+ "@atlaskit/config-common-libs": "^0.3.0",
39
36
  "@babel/runtime": "^7.0.0"
40
37
  },
41
38
  "peerDependencies": {
@@ -45,10 +42,9 @@
45
42
  "@af/integration-testing": "workspace:^",
46
43
  "@af/visual-regression": "workspace:^",
47
44
  "@atlaskit/ssr": "workspace:^",
48
- "@atlaskit/visual-regression": "workspace:^",
49
- "@testing-library/react": "^13.4.0",
45
+ "@testing-library/react": "^16.3.0",
46
+ "react": "^18.2.0",
50
47
  "react-dom": "^18.2.0",
51
- "typescript": "~5.4.2",
52
48
  "wait-for-expect": "^1.2.0"
53
49
  },
54
50
  "techstack": {