@forge/feature-flags 0.0.0-experimental-6d4e84f → 1.0.0-next.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,11 +1,7 @@
1
1
  # @forge/feature-flags
2
2
 
3
- ## 0.0.0-experimental-6d4e84f
3
+ ## 1.0.0-next.0
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - e2ec7ba: Feature Flags SDK for Forge runtime
8
-
9
- ### Patch Changes
10
-
11
- - @forge/api@7.0.2-next.0-experimental-6d4e84f
7
+ - 2d2c51b: Feature Flags SDK for Forge runtime
package/README.md CHANGED
@@ -166,7 +166,7 @@ interface ForgeFeatureFlagConfig {
166
166
  #### `checkFlag(user: User, flagId: string, defaultValue?: boolean): boolean`
167
167
  Checks if a feature flag is enabled for the given user. Returns the `defaultValue` (defaults to `false`) if the flag doesn't exist. **Synchronous** after initialization.
168
168
 
169
- #### `getFlag(flagId: string): FeatureFlag | undefined`
169
+ #### `getFlag(user: User, flagId: string): FeatureFlag | undefined`
170
170
  Gets a specific flag's evaluation details. Useful for debugging purposes.
171
171
 
172
172
  #### `getAllFlagIds(): string[]`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/feature-flags",
3
- "version": "0.0.0-experimental-6d4e84f",
3
+ "version": "1.0.0-next.0",
4
4
  "description": "Feature Flags Node SDK for Atlassian Forge apps running on Node Runtime",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -15,7 +15,7 @@
15
15
  "@types/node": "20.19.1"
16
16
  },
17
17
  "dependencies": {
18
- "@forge/api": "^7.0.2-next.0-experimental-6d4e84f"
18
+ "@forge/api": "^7.0.2-next.0"
19
19
  },
20
20
  "publishConfig": {
21
21
  "registry": "https://packages.atlassian.com/api/npm/npm-public/"