@strav/auth 0.2.13 → 0.3.1
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/README.md +0 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -152,17 +152,6 @@ This package provides low-level authentication primitives without imposing any s
|
|
|
152
152
|
- **Secure** - Uses modern standards and best practices
|
|
153
153
|
- **Framework-agnostic** - Works with any HTTP framework
|
|
154
154
|
|
|
155
|
-
## Migrating from @strav/jina
|
|
156
|
-
|
|
157
|
-
If you're using the deprecated `@strav/jina` package, you can migrate by:
|
|
158
|
-
|
|
159
|
-
1. Installing `@strav/auth`
|
|
160
|
-
2. Replacing jina's TOTP/token utilities with auth equivalents
|
|
161
|
-
3. Building your own authentication handlers using these primitives
|
|
162
|
-
4. Removing the jina dependency
|
|
163
|
-
|
|
164
|
-
The main difference is that `@strav/auth` doesn't provide pre-built routes or handlers - you implement those yourself using the utilities provided.
|
|
165
|
-
|
|
166
155
|
## License
|
|
167
156
|
|
|
168
157
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strav/auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Authentication primitives for the Strav framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"tsconfig.json"
|
|
19
19
|
],
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@strav/kernel": "0.
|
|
21
|
+
"@strav/kernel": "0.3.1"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"test": "bun test tests/",
|