@miso.ai/client-sdk-core 1.8.1-beta.4 → 1.8.1-beta.5

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.
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = '1.8.1-beta.4';
7
+ var _default = '1.8.1-beta.5';
8
8
  exports.default = _default;
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "url": "https://github.com/MisoAI/miso-client-js-sdk/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@miso.ai/commons": "1.8.1-beta.4"
32
+ "@miso.ai/commons": "1.8.1-beta.5"
33
33
  },
34
- "version": "1.8.1-beta.4"
34
+ "version": "1.8.1-beta.5"
35
35
  }
@@ -83,7 +83,7 @@ export default class ApiHelpers {
83
83
  if (method && method !== 'POST') {
84
84
  throw new Error(`Non-POST API is not supported in useBeacon mode: ${url}`);
85
85
  }
86
- if (!(this._root._customSendBeacon || window.navigator.sendBeacon)(url, JSON.stringify(payload))) {
86
+ if (!((this._root._customSendBeacon || window.navigator.sendBeacon)(url, JSON.stringify(payload)))) {
87
87
  throw new Error(`Send beacon unsuccessful: ${url}`);
88
88
  }
89
89
  }
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '1.8.1-beta.4';
1
+ export default '1.8.1-beta.5';