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 {
7373 }
7474
7575 /**
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.
7777 * If the SDK finds an error for a key, the response will include a decision for the key showing reasons for the error.
7878 * The SDK will always return key-mapped decisions. When it cannot process requests, it will return an empty map after logging the errors.
7979 * @param {string[] } keys An array of flag keys for which decisions will be made.
8080 * @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.
8282 */
8383 decideForKeys (
8484 keys : string [ ] ,
@@ -89,9 +89,9 @@ export default class OptimizelyUserContext {
8989 }
9090
9191 /**
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.
9393 * @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.
9595 */
9696 decideAll (
9797 options : OptimizelyDecideOptions [ ] = [ ]
You can’t perform that action at this time.
0 commit comments