@shopgate/pwa-core 7.29.1-beta.1 → 7.29.1-beta.3

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.
@@ -31,7 +31,7 @@ function _extends(){_extends=Object.assign||function(target){for(var i=1;i<argum
31
31
  */},{key:"setHandleErrors",value:function setHandleErrors(){var handle=arguments.length>0&&arguments[0]!==undefined?arguments[0]:errorHandleTypes.ERROR_HANDLE_DEFAULT;if(typeof handle!=='string')throw new TypeError("Expected 'string'. Received: '".concat(_typeof(handle),"'"));if(!Object.values(errorHandleTypes).includes(handle)){throw new Error("The value '".concat(handle,"' is not supported!"));}this.handleErrors=handle;return this;}/**
32
32
  * Sets a flag to suppress errors.
33
33
  * When true, no EVENT_PIPELINE_ERROR would be triggered.
34
- * @param {bool} value Value.
34
+ * @param {boolean} value Value.
35
35
  * @return {PipelineRequest}
36
36
  * @deprecated
37
37
  */},{key:"setSuppressErrors",value:function setSuppressErrors(value){logger.warn('Deprecated: setSuppressErrors() will be removed. Use setHandleErrors() instead!');var handle=value?errorHandleTypes.ERROR_HANDLE_SUPPRESS:errorHandleTypes.ERROR_HANDLE_DEFAULT;this.setHandleErrors(handle);return this;}/**
@@ -39,7 +39,7 @@ function _callSuper(_this,derived,args){function isNativeReflectConstruct(){if(t
39
39
  */},{key:"setHandledErrors",value:function setHandledErrors(){var errors=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];logger.warn('Deprecated: setHandledErrors() will be removed in favor of setErrorBlacklist()!');this.setErrorBlacklist(errors);return this;}/**
40
40
  * Sets a flag to suppress errors.
41
41
  * When true, no EVENT_PIPELINE_ERROR would be triggered.
42
- * @param {bool} value Value.
42
+ * @param {boolean} value Value.
43
43
  * @return {PipelineRequest}
44
44
  * @deprecated
45
45
  */},{key:"setSuppressErrors",value:function setSuppressErrors(value){logger.warn('Deprecated: setSuppressErrors() will be removed. Use setHandleErrors() instead!');var handle=value?errorHandleTypes.ERROR_HANDLE_SUPPRESS:errorHandleTypes.ERROR_HANDLE_DEFAULT;this.setHandleErrors(handle);return this;}}],[{key:"mockedDispatchResolver",get:/**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopgate/pwa-core",
3
- "version": "7.29.1-beta.1",
3
+ "version": "7.29.1-beta.3",
4
4
  "description": "Core library for the Shopgate Connect PWA.",
5
5
  "author": "Support <support@shopgate.com>",
6
6
  "license": "Apache-2.0",