@medipass/utils 11.73.2-fix-utils-ts.5 → 11.73.2-fix-utils-ts.6

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/utils",
3
- "version": "11.73.2-fix-utils-ts.5",
3
+ "version": "11.73.2-fix-utils-ts.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -51,5 +51,5 @@
51
51
  "rimraf": "^2.6.2",
52
52
  "typescript": "4.8.4"
53
53
  },
54
- "gitHead": "216c305371a7a7ea32d372f8623e2fab27e9c9e7"
54
+ "gitHead": "4629f6081c28ce96318b71bf7b4eae38872fd287"
55
55
  }
@@ -14,9 +14,9 @@ export declare const set: (key: any, value: any) => {
14
14
  value: any;
15
15
  };
16
16
  export declare function createRequestTypes(base: any): {
17
- REQUEST: string;
18
- SUCCESS: string;
19
- FAILURE: string;
17
+ REQUEST?: string;
18
+ SUCCESS?: string;
19
+ FAILURE?: string;
20
20
  };
21
21
  export declare function clearAllState(): {
22
22
  type: string;
package/redux-actions.js CHANGED
@@ -45,11 +45,7 @@ function createRequestTypes(base) {
45
45
  var a = acc;
46
46
  a[type] = base + "_" + type;
47
47
  return a;
48
- }, {
49
- REQUEST: '',
50
- SUCCESS: '',
51
- FAILURE: ''
52
- });
48
+ }, {});
53
49
  }
54
50
  function clearAllState() {
55
51
  return {