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

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
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [11.73.2](https://github.com/medipass/web-medicules/compare/@medipass/utils@11.73.1...@medipass/utils@11.73.2) (2022-12-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * utils ts support ([#710](https://github.com/medipass/web-medicules/issues/710)) ([4e6953b](https://github.com/medipass/web-medicules/commit/4e6953b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [11.73.1](https://github.com/medipass/web-medicules/compare/@medipass/utils@11.73.0...@medipass/utils@11.73.1) (2022-11-21)
7
18
 
8
19
  **Note:** Version bump only for package @medipass/utils
package/intercom.js CHANGED
@@ -22,7 +22,6 @@ var bootIntercom = /*#__PURE__*/function () {
22
22
  switch (_context.prev = _context.next) {
23
23
  case 0:
24
24
  return _context.abrupt("return", window.Intercom('boot', _objectSpread({}, data, {
25
- // @ts-expect-error TS(2339): Property 'INTERCOM_APP_ID' does not exist on type ... Remove this comment to see the full error message
26
25
  app_id: getEnv.default.INTERCOM_APP_ID,
27
26
  // eslint-disable-line camelcase
28
27
  user_hash: data.intercomHash
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",
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": "4cf04968069791ec3ee2472de6c486f3e36425fa"
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 {