@ingram-tech/nk-auth 0.13.1 → 0.13.2

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -156,7 +156,7 @@ const env = authEnv();
156
156
  // phishing; see "Auth emails" below.
157
157
  const email = makeEmailSenders(async ({ kind, to, url, user, newEmail }) => {
158
158
  const { subject, html, text } = await renderAuthEmail({ kind, url, user, newEmail });
159
- sendEmail({ to, from: fromAddress("Example", "no-reply"), subject, html, text });
159
+ sendEmail({ to, from: fromAddress("Example"), subject, html, text });
160
160
  });
161
161
 
162
162
  export const auth = betterAuth({
@@ -234,8 +234,9 @@ and trains people to distrust your domain. Take the
234
234
  [`registry`](https://github.com/ingram-technologies/registry) email components
235
235
  (`shadcn add email-verification email-password-reset`) — they accept `heading` /
236
236
  `body` / `ctaLabel` / `preview` overrides precisely so you can pass translated
237
- copy — or write your own. Send auth links from the `no-reply` local part
238
- (`fromAddress("Example", "no-reply")`), per
237
+ copy — or write your own. Send auth links from the default `notifications` local
238
+ part (`fromAddress("Example")`) — **not** `no-reply`: this is the mail users are
239
+ most likely to reply to, and dropping that reply is hostile. See
239
240
  [transactional-email.md](../../docs/transactional-email.md).
240
241
 
241
242
  **Spread all three in; do not hand-write them.** `betterAuth()` takes its
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ingram-tech/nk-auth",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "The Ingram Better Auth foundation: composable presets (org, dual-shape JWT, active-org hooks, pg pool) for Next.js sites.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "devDependencies": {
95
95
  "@better-auth/passkey": "^1.6.23",
96
- "@ingram-tech/nk-dev": "0.8.0",
96
+ "@ingram-tech/nk-dev": "0.9.0",
97
97
  "@types/bcrypt": "^6.0.0",
98
98
  "@types/node": "^26.1.1",
99
99
  "@types/pg": "^8.20.0",