@social-mail/social-mail-web-server 1.8.467 → 1.8.469
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/dist/server/seed/ui/seed-ui.js +1 -1
- package/dist/server/workflows/web-push/SendWebPushNotification.d.ts.map +1 -1
- package/dist/server/workflows/web-push/SendWebPushNotification.js +3 -0
- package/dist/server/workflows/web-push/SendWebPushNotification.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/server/seed/ui/seed-ui.ts +1 -1
- package/src/server/workflows/web-push/SendWebPushNotification.ts +2 -0
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ export default async function seedUI(config: DBConfig) {
|
|
|
17
17
|
await config.saveVersion(UIPackageConfig, {
|
|
18
18
|
package: "@social-mail/social-mail-client",
|
|
19
19
|
view: "dist/web/AppIndex",
|
|
20
|
-
version: "1.9.
|
|
20
|
+
version: "1.9.117"
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
await config.saveVersion(WebComponentsPackageConfig, {
|
|
@@ -62,6 +62,8 @@ export default class SendWebPushNotification extends Workflow<{ emailID, mailbox
|
|
|
62
62
|
console.error(`Push Subscription for ${iterator.sessionID} is no longer valid.`);
|
|
63
63
|
await db.loginSessions.where(iterator, (p) => (x) => x.sessionID === p.sessionID)
|
|
64
64
|
.update(void 0, (p) => (x) => ({ deviceToken: null, deviceTokenType: null }));
|
|
65
|
+
} else {
|
|
66
|
+
console.error(`Failed ${JSON.stringify(payload)} for ${iterator.deviceToken} for ${iterator.deviceTokenType}`);
|
|
65
67
|
}
|
|
66
68
|
console.error(error);
|
|
67
69
|
}
|