better-auth-evp 1.0.4 → 1.0.6

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
@@ -1,3 +1,7 @@
1
+ ## [1.0.6](https://github.com/qamarq/better-auth-evp/compare/v1.0.5...v1.0.6) (2026-09-01)
2
+
3
+ ## [1.0.5](https://github.com/qamarq/better-auth-evp/compare/v1.0.4...v1.0.5) (2026-09-01)
4
+
1
5
  ## [1.0.4](https://github.com/qamarq/better-auth-evp/compare/v1.0.3...v1.0.4) (2026-09-01)
2
6
 
3
7
  ## [1.0.3](https://github.com/qamarq/better-auth-evp/compare/v1.0.2...v1.0.3) (2026-08-31)
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  [Email Verification Protocol (EVP)](https://developer.chrome.com/blog/email-verification-protocol-origin-trial) plugin for [Better Auth](https://www.better-auth.com), with automatic fallback to whatever other sign-in method you already have.
9
9
 
10
- **[Live preview →](https://evp.kamilmarczak.pl?utm_source=github&utm_medium=referral&utm_campaign=docs)** - a minimal sign-in screen wired up with this plugin, source in [`example`](./example) ([`evp-demo`](https://github.com/qamarq/evp-demo) repo).
10
+ **[Live preview →](https://evp.kamilmarczak.pl?utm_source=github&utm_medium=referral&utm_campaign=docs)** - a minimal sign-in screen wired up with this plugin, source in [`evp-demo`](https://github.com/qamarq/evp-demo) repo.
11
11
 
12
12
  ## What is EVP?
13
13
 
@@ -75,16 +75,19 @@ export const authClient = createAuthClient({
75
75
 
76
76
  ## Origin Trial Token
77
77
 
78
- As a participating site you must register for the origin trial and serve the token on any page that renders the email form, either as a meta tag:
78
+ As a participating site you must register for the origin trial and serve the token on any page that renders the email form.
79
79
 
80
- ```html
81
- <meta http-equiv="origin-trial" content="YOUR_TOKEN" />
82
- ```
80
+ To get your token:
83
81
 
84
- or as an HTTP response header:
82
+ 1. Go to the [EVP origin trial registration page](https://developer.chrome.com/origintrials/#/register_trial/10696049115004929) and sign in.
83
+ 2. Enter your web origin (and check the box if you want to match subdomains too).
84
+ 3. Accept the terms.
85
+ 4. Copy the generated token.
85
86
 
86
- ```
87
- Origin-Trial: YOUR_TOKEN
87
+ Then serve it as a meta tag in the `<head>` of any page that renders the email form (we don't use the `Origin-Trial` HTTP header):
88
+
89
+ ```html
90
+ <meta http-equiv="origin-trial" content="YOUR_TOKEN" />
88
91
  ```
89
92
 
90
93
  This plugin does not manage that token for you - it's static per-origin configuration, not something to fetch from an API.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-auth-evp",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Email Verification Protocol (Chrome origin trial) plugin for Better Auth, with automatic fallback to any other sign-in method",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",