@sanoma-ai/connector-better-auth 0.2.1 → 0.2.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 +1 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -62,7 +62,7 @@ The session is one cookie, `better-auth.session_token` (`__Secure-better-auth.se
62
62
 
63
63
  ### An email code
64
64
 
65
- When the company's config names a sender (`login: { sender: resend.emails.send }`), the login also signs visitors in by a code mailed to them, sent as a run of the runtime's `login-code` workflow (under the policy and in the ledger). A visitor signed in by code has a verified email, which the app gives the principal (`ctx.startedBy.email` in a run they start); one signed up by password has none until they verify it.
65
+ When the company's config names a sender (`login: { sender: resend.emails.send, from: "Acme <login@acme.example>" }`), the login also signs visitors in by a code mailed to them, sent as a run of the runtime's `login-code` workflow (under the policy and in the ledger). A visitor signed in by code has a verified email, which the app gives the principal (`ctx.startedBy.email` in a run they start); one signed up by password has none until they verify it.
66
66
 
67
67
  ### GitHub
68
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanoma-ai/connector-better-auth",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Better Auth for Sanoma: the visitor login of public sites (email and password, or an email code) and the staff sign-in on a host (email code, invite links, GitHub), on the company's own database",
5
5
  "keywords": [
6
6
  "auth",
@@ -44,13 +44,13 @@
44
44
  "pg": "^8.23.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@sanoma-ai/app": "0.10.3",
47
+ "@sanoma-ai/app": "0.10.5",
48
48
  "@sanoma-ai/testing": "0.1.0",
49
- "@sanoma-ai/workflows": "0.10.7",
49
+ "@sanoma-ai/workflows": "0.11.0",
50
50
  "@types/pg": "^8.23.1"
51
51
  },
52
52
  "peerDependencies": {
53
- "@sanoma-ai/workflows": "^0.10.7"
53
+ "@sanoma-ai/workflows": "^0.11.0"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=26"