@social-mail/social-mail-client 1.2.74 → 1.2.76

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.
@@ -69,5 +69,6 @@ self.addEventListener('fetch', (event) => {
69
69
  self.addEventListener("push", function(event) {
70
70
  const options = JSON.parse(event.data.text());
71
71
  options.icon ||= "/pwa/images/logo-72.png";
72
+ const title = options.title;
72
73
  event.waitUntil(self.registration.showNotification(title, options));
73
74
  });
@@ -20829,6 +20829,9 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
20829
20829
  updateNotify(items) {
20830
20830
  var _a, _b;
20831
20831
  return __awaiter(this, void 0, void 0, function* () {
20832
+ if (!(items === null || items === void 0 ? void 0 : items.length)) {
20833
+ return;
20834
+ }
20832
20835
  const {
20833
20836
  userID
20834
20837
  } = SocialMailApp.user;