indigitall-web-sdk 4.16.2 → 4.16.4

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/src/Indigitall.js CHANGED
@@ -238,7 +238,6 @@ var Indigitall = /*#__PURE__*/function () {
238
238
  * @param {InAppConfiguration} config Config with params. new 'limit: elements for page'
239
239
  * @param {Function} success A callback function when is success
240
240
  * @param {Function} error A callback function when is error
241
- * @return {Boolean} Returns true
242
241
  */
243
242
  }, {
244
243
  key: "inAppTopicsListFromConsole",
@@ -645,6 +644,19 @@ var Indigitall = /*#__PURE__*/function () {
645
644
  _indigitallWebNotification["default"].launchNotificationPermissionForSafari();
646
645
  }
647
646
 
647
+ /**
648
+ * getPermissionsStatus
649
+ * @method getPermissionsStatus
650
+ * @static
651
+ * @param {Function} permissions status
652
+ * @return {Object} Returns an object with the permissions status of the device for Safari and Service Worker
653
+ */
654
+ }, {
655
+ key: "getPermissionsStatus",
656
+ value: function getPermissionsStatus() {
657
+ return _indigitallWebNotification["default"].PermissionUtils.getPermissions();
658
+ }
659
+
648
660
  // InApp
649
661
 
650
662
  /**
@@ -810,7 +822,7 @@ var Indigitall = /*#__PURE__*/function () {
810
822
  /**
811
823
  *
812
824
  * @param {json} config Config with params
813
- * @param {function} onShowTimeFinished callback with show time
825
+ * @param {function} onShowTimeFinished callback with show time
814
826
  * @param {function} didExpired callback did expired **@deprecated**
815
827
  * @param {function} didShowManyTimes callback show many times
816
828
  * @param {function} didClickOut callback click out
@@ -1041,6 +1053,7 @@ window.indigitall.Inbox = _indigitallWebInbox["default"];
1041
1053
  window.indigitall.Customer = _indigitallWebCustomer["default"];
1042
1054
  window.indigitall.Push = _indigitallWebNotification["default"];
1043
1055
  window.indigitall.InApp.Utils = _indigitallWebInapp["default"].Utils;
1056
+ window.indigitall.Push.PermissionUtils = _indigitallWebNotification["default"].PermissionUtils;
1044
1057
  window.indigitall.Channel = Channel;
1045
1058
  window.indigitall.LogLevel = LogLevel;
1046
1059
  window.indigitall.version = pkg.version;