@atlaskit/web-config-client 0.7.1 → 0.8.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,16 @@
1
1
  # @atlaskit/web-config-client
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`c56f27a582fec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c56f27a582fec) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 0.7.1
4
15
 
5
16
  ### 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/types.js CHANGED
@@ -4,31 +4,30 @@ 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
+ GsacIssueId: 'gsacIssueId',
17
+ IntercomConversationId: 'intercomConversationId',
18
+ MarketplaceAnonymousId: 'marketplaceAnonymousId',
19
+ MsTeamsTenantId: 'msTeamsTenantId',
20
+ MarketplacePartnerId: 'marketplacePartnerId',
21
+ LoomAnonymousId: 'loomAnonymousId',
22
+ LoomUserId: 'loomUserId',
23
+ LoomWorkspaceId: 'loomWorkspaceId',
24
+ ProductIntegrationsVendorId: 'productIntegrationsVendorId',
25
+ RandomizationId: 'randomizationId',
26
+ TenantId: 'tenantId',
27
+ TransactionAccountId: 'transactionAccountId',
28
+ TrelloUserId: 'trelloUserId',
29
+ TrelloWorkspaceId: 'trelloWorkspaceId',
30
30
  /** Statsig's stableID */
31
- IdentifierEnum["StableId"] = "stableID";
32
- IdentifierEnum["MiscellaneousId"] = "miscellaneousId";
33
- return IdentifierEnum;
34
- }({});
31
+ StableId: 'stableID',
32
+ MiscellaneousId: 'miscellaneousId'
33
+ };
@@ -0,0 +1 @@
1
+ export { ConfigClient } from '../main';
@@ -1,28 +1,27 @@
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
+ 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',
24
24
  /** Statsig's stableID */
25
- IdentifierEnum["StableId"] = "stableID";
26
- IdentifierEnum["MiscellaneousId"] = "miscellaneousId";
27
- return IdentifierEnum;
28
- }({});
25
+ StableId: 'stableID',
26
+ MiscellaneousId: 'miscellaneousId'
27
+ };
@@ -0,0 +1 @@
1
+ export { ConfigClient } from '../main';
package/dist/esm/types.js CHANGED
@@ -1,28 +1,27 @@
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
+ 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',
24
24
  /** Statsig's stableID */
25
- IdentifierEnum["StableId"] = "stableID";
26
- IdentifierEnum["MiscellaneousId"] = "miscellaneousId";
27
- return IdentifierEnum;
28
- }({});
25
+ StableId: 'stableID',
26
+ MiscellaneousId: 'miscellaneousId'
27
+ };
@@ -0,0 +1,2 @@
1
+ export { ConfigClient } from '../main';
2
+ export type { FetchOptions } from '../main';
@@ -1,27 +1,28 @@
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 GsacIssueId: "gsacIssueId";
11
+ readonly IntercomConversationId: "intercomConversationId";
12
+ readonly MarketplaceAnonymousId: "marketplaceAnonymousId";
13
+ readonly MsTeamsTenantId: "msTeamsTenantId";
14
+ readonly MarketplacePartnerId: "marketplacePartnerId";
15
+ readonly LoomAnonymousId: "loomAnonymousId";
16
+ readonly LoomUserId: "loomUserId";
17
+ readonly LoomWorkspaceId: "loomWorkspaceId";
18
+ readonly ProductIntegrationsVendorId: "productIntegrationsVendorId";
19
+ readonly RandomizationId: "randomizationId";
20
+ readonly TenantId: "tenantId";
21
+ readonly TransactionAccountId: "transactionAccountId";
22
+ readonly TrelloUserId: "trelloUserId";
23
+ readonly TrelloWorkspaceId: "trelloWorkspaceId";
24
24
  /** Statsig's stableID */
25
- StableId = "stableID",
26
- MiscellaneousId = "miscellaneousId"
27
- }
25
+ readonly StableId: "stableID";
26
+ readonly MiscellaneousId: "miscellaneousId";
27
+ };
28
+ 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,28 @@
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 GsacIssueId: "gsacIssueId";
11
+ readonly IntercomConversationId: "intercomConversationId";
12
+ readonly MarketplaceAnonymousId: "marketplaceAnonymousId";
13
+ readonly MsTeamsTenantId: "msTeamsTenantId";
14
+ readonly MarketplacePartnerId: "marketplacePartnerId";
15
+ readonly LoomAnonymousId: "loomAnonymousId";
16
+ readonly LoomUserId: "loomUserId";
17
+ readonly LoomWorkspaceId: "loomWorkspaceId";
18
+ readonly ProductIntegrationsVendorId: "productIntegrationsVendorId";
19
+ readonly RandomizationId: "randomizationId";
20
+ readonly TenantId: "tenantId";
21
+ readonly TransactionAccountId: "transactionAccountId";
22
+ readonly TrelloUserId: "trelloUserId";
23
+ readonly TrelloWorkspaceId: "trelloWorkspaceId";
24
24
  /** Statsig's stableID */
25
- StableId = "stableID",
26
- MiscellaneousId = "miscellaneousId"
27
- }
25
+ readonly StableId: "stableID";
26
+ readonly MiscellaneousId: "miscellaneousId";
27
+ };
28
+ 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.8.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,8 @@
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",
50
46
  "react-dom": "^18.2.0",
51
- "typescript": "~5.4.2",
52
47
  "wait-for-expect": "^1.2.0"
53
48
  },
54
49
  "techstack": {