backend-manager 5.0.200 → 5.0.201

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/CHANGELOG.md CHANGED
@@ -14,6 +14,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ # [5.0.201] - 2026-05-08
18
+ ### Changed
19
+ - Account deletion confirmation email now includes a "Deletion details:" block with the user's account email, UID, and deletion timestamp (UTC) — matching the pattern used in the data-request download email.
20
+
17
21
  # [5.0.200] - 2026-05-05
18
22
  ### Changed
19
23
  - Bumped `uuid` from `^13.0.2` to `^14.0.0`. uuid v14 is ESM-only, but Node 22+'s native `require(esm)` support means existing CommonJS call sites (`require('uuid').v4`, `.v5`, etc.) work unchanged.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "5.0.200",
3
+ "version": "5.0.201",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -49,7 +49,7 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@firebase/rules-unit-testing": "^5.0.0",
52
+ "@firebase/rules-unit-testing": "^5.0.1",
53
53
  "@google-cloud/firestore": "^7.11.6",
54
54
  "@google-cloud/pubsub": "^5.3.0",
55
55
  "@google-cloud/storage": "^7.19.0",
@@ -57,7 +57,7 @@
57
57
  "@modelcontextprotocol/sdk": "^1.29.0",
58
58
  "@octokit/rest": "^22.0.1",
59
59
  "@sendgrid/mail": "^8.1.6",
60
- "@sentry/node": "^10.51.0",
60
+ "@sentry/node": "^10.52.0",
61
61
  "body-parser": "^2.2.2",
62
62
  "busboy": "^1.6.0",
63
63
  "chalk": "^5.6.2",
@@ -81,7 +81,7 @@
81
81
  "npm-api": "^1.0.1",
82
82
  "pushid": "^1.0.0",
83
83
  "sanitize-html": "^2.17.3",
84
- "stripe": "^22.1.0",
84
+ "stripe": "^22.1.1",
85
85
  "uid-generator": "^2.0.0",
86
86
  "uuid": "^14.0.0",
87
87
  "wonderful-fetch": "^2.0.5",
@@ -94,7 +94,7 @@
94
94
  "prepare-package": "^2.1.0"
95
95
  },
96
96
  "peerDependencies": {
97
- "firebase-admin": "^13.8.0",
97
+ "firebase-admin": "^13.9.0",
98
98
  "firebase-functions": "^7.2.5"
99
99
  }
100
100
  }
@@ -1109,6 +1109,7 @@
1109
1109
  "dealja.com",
1110
1110
  "deallabs.org",
1111
1111
  "dealrek.com",
1112
+ "deapad.com",
1112
1113
  "decep.com",
1113
1114
  "decodewp.com",
1114
1115
  "dede.infos.st",
@@ -81,7 +81,7 @@ module.exports = async ({ assistant, Manager, user, settings, libraries }) => {
81
81
  // Send confirmation email (fire-and-forget)
82
82
  const shouldSend = !assistant.isTesting() || process.env.TEST_EXTENDED_MODE;
83
83
  if (email && shouldSend) {
84
- sendConfirmationEmail(assistant, email, reason, userData?.personal?.name?.first);
84
+ sendConfirmationEmail(assistant, email, uid, reason, userData?.personal?.name?.first);
85
85
  }
86
86
 
87
87
  return assistant.respond({ success: true });
@@ -90,7 +90,7 @@ module.exports = async ({ assistant, Manager, user, settings, libraries }) => {
90
90
  /**
91
91
  * Send account deletion confirmation email (fire-and-forget)
92
92
  */
93
- function sendConfirmationEmail(assistant, email, reason, firstName) {
93
+ function sendConfirmationEmail(assistant, email, uid, reason, firstName) {
94
94
  const Manager = assistant.Manager;
95
95
  const brandName = Manager.config.brand.name;
96
96
  const mailer = Manager.Email(assistant);
@@ -98,6 +98,7 @@ function sendConfirmationEmail(assistant, email, reason, firstName) {
98
98
  const reasonLine = reason
99
99
  ? `\n\n**Reason provided:** ${reason}`
100
100
  : '';
101
+ const deletionDate = new Date().toUTCString();
101
102
 
102
103
  mailer.send({
103
104
  to: email,
@@ -114,6 +115,12 @@ function sendConfirmationEmail(assistant, email, reason, firstName) {
114
115
  title: 'Account Deleted',
115
116
  message: `${greeting} **${brandName}** account and all associated personal data have been permanently deleted from our systems. This action is irreversible.${reasonLine}
116
117
 
118
+ **Deletion details:**
119
+
120
+ - **Account email:** ${email}
121
+ - **Account UID:** ${uid}
122
+ - **Deletion date:** ${deletionDate}
123
+
117
124
  **What this means:**
118
125
 
119
126
  - Your account credentials and profile information have been removed.