case-editor-tools 1.0.0-beta.27 → 1.0.0-beta.28

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "case-editor-tools",
3
3
  "description": "Javascript tools to simplify survey and study coding for CASE.",
4
- "version": "1.0.0-beta.27",
4
+ "version": "1.0.0-beta.28",
5
5
  "main": "index.js",
6
6
  "license": "Apache-2.0",
7
7
  "repository": "github:case-framework/case-editor-tools",
@@ -74,7 +74,7 @@ export declare const SurveyEngine: {
74
74
  get: (itemKey: string) => Expression;
75
75
  };
76
76
  participantFlags: {
77
- hasKey: (key: string, value: string) => Expression;
77
+ hasKey: (key: string) => Expression;
78
78
  hasKeyAndValue: (key: string, value: string) => Expression;
79
79
  getAsNum: (key: string) => Expression;
80
80
  };
@@ -307,7 +307,7 @@ const parseParticipantFlagAsNum = (key) => {
307
307
  * @param key retrieve participant flag's value for this key
308
308
  * @returns
309
309
  */
310
- const hasParticipantFlagKey = (key, value) => {
310
+ const hasParticipantFlagKey = (key) => {
311
311
  return isDefined(getAttribute(getAttribute(getContext(), 'participantFlags'), key));
312
312
  };
313
313
  /**