File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/optimizely-sdk/lib/optimizely_user_context Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,12 @@ export default class OptimizelyUserContext {
73
73
}
74
74
75
75
/**
76
- * Returns a key-map of decision results for multiple flag keys and a user context.
76
+ * Returns an object of decision results for multiple flag keys and a user context.
77
77
* If the SDK finds an error for a key, the response will include a decision for the key showing reasons for the error.
78
78
* The SDK will always return key-mapped decisions. When it cannot process requests, it will return an empty map after logging the errors.
79
79
* @param {string[] } keys An array of flag keys for which decisions will be made.
80
80
* @param {OptimizelyDecideOptions[] } options An array of options for decision-making.
81
- * @return {[key: string]: OptimizelyDecision } All decision results mapped by flag keys.
81
+ * @return {[key: string]: OptimizelyDecision } An object of decision results mapped by flag keys.
82
82
*/
83
83
decideForKeys (
84
84
keys : string [ ] ,
@@ -89,9 +89,9 @@ export default class OptimizelyUserContext {
89
89
}
90
90
91
91
/**
92
- * Returns a key-map of decision results for all active flag keys.
92
+ * Returns an object of decision results for all active flag keys.
93
93
* @param {OptimizelyDecideOptions[] } options An array of options for decision-making.
94
- * @return {[key: string]: OptimizelyDecision } All decision results mapped by flag keys.
94
+ * @return {[key: string]: OptimizelyDecision } An object of all decision results mapped by flag keys.
95
95
*/
96
96
decideAll (
97
97
options : OptimizelyDecideOptions [ ] = [ ]
You can’t perform that action at this time.
0 commit comments