@forge/bridge 5.6.0-next.5 → 5.6.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,37 @@
1
1
  # @forge/bridge
2
2
 
3
+ ## 5.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 58a20e7: Added Forge Feature Flags functionality for Client side feature flags
8
+ - 01521ac: add usePermissions hook
9
+
10
+ ### Patch Changes
11
+
12
+ - e72d2ba: Updated Feature Flag User types
13
+ - e72d2ba: Updated Readme.md
14
+ - 767afce: Change to use fetch validation function for removing signal support in forge/bridge fetch
15
+ - 41d8011: Fix bridge fetch request type
16
+ - 4c1e39d: Added Readme for Forge feature flags client SDK
17
+ - f67f026: Update logging level for Forge Feature flags Client SDK
18
+ - Updated dependencies [b1f257c]
19
+ - Updated dependencies [2ac3cde]
20
+ - Updated dependencies [96d7a67]
21
+ - Updated dependencies [e65918b]
22
+ - Updated dependencies [ec8000d]
23
+ - Updated dependencies [4afc4fb]
24
+ - Updated dependencies [873a240]
25
+ - Updated dependencies [f5d3945]
26
+ - @forge/manifest@10.7.0
27
+
28
+ ## 5.6.0-next.6
29
+
30
+ ### Patch Changes
31
+
32
+ - e72d2ba: Updated Feature Flag User types
33
+ - e72d2ba: Updated Readme.md
34
+
3
35
  ## 5.6.0-next.5
4
36
 
5
37
  ### Patch Changes
@@ -3,8 +3,14 @@ export interface ForgeFeatureFlagConfig {
3
3
  }
4
4
  export interface FeatureFlagUser {
5
5
  userId?: string;
6
- custom?: Record<string, string | number | boolean>;
7
- attributes?: Record<string, string | number | boolean>;
6
+ custom?: Record<string, string | number>;
7
+ attributes?: {
8
+ installContext?: string;
9
+ accountId?: string;
10
+ appVersion?: string;
11
+ license?: string;
12
+ capabilitySet?: string;
13
+ };
8
14
  identifiers?: {
9
15
  installContext?: string;
10
16
  accountId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"featureFlags.d.ts","sourceRoot":"","sources":["../../src/featureFlags/featureFlags.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,aAAa,GAAG,SAAS,GAAG,YAAY,CAAC;CACxD;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;IACvD,WAAW,CAAC,EAAE;QACZ,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAID,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,MAAM,CAA8B;IAC5C,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuC;IAKrD,UAAU,CAAC,IAAI,EAAE,eAAe,EAAE,MAAM,GAAE,sBAA2B,GAAG,OAAO,CAAC,IAAI,CAAC;IAuB3F,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAW9B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAa/B,aAAa;IAIpB,OAAO,CAAC,WAAW;CAOpB"}
1
+ {"version":3,"file":"featureFlags.d.ts","sourceRoot":"","sources":["../../src/featureFlags/featureFlags.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,WAAW,CAAC,EAAE,aAAa,GAAG,SAAS,GAAG,YAAY,CAAC;CACxD;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACzC,UAAU,CAAC,EAAE;QACX,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,WAAW,CAAC,EAAE;QACZ,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAID,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,MAAM,CAA8B;IAC5C,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuC;IAKrD,UAAU,CAAC,IAAI,EAAE,eAAe,EAAE,MAAM,GAAE,sBAA2B,GAAG,OAAO,CAAC,IAAI,CAAC;IAuB3F,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAW9B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAa/B,aAAa;IAIpB,OAAO,CAAC,WAAW;CAOpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bridge",
3
- "version": "5.6.0-next.5",
3
+ "version": "5.6.0",
4
4
  "description": "Forge bridge API for custom UI apps",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -18,7 +18,7 @@
18
18
  "@forge/resolver": "1.7.0",
19
19
  "@statsig/js-client": "3.18.2",
20
20
  "@types/history": "^4.7.11",
21
- "@forge/manifest": "10.7.0-next.5"
21
+ "@forge/manifest": "10.7.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "history": "5.3.0",