@55387.ai/uniauth-server 1.0.0 → 1.1.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 +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ console.log('User ID:', payload.sub);
|
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
32
|
import express from 'express';
|
|
33
|
-
import { UniAuthServer } from '@uniauth
|
|
33
|
+
import { UniAuthServer } from '@55387.ai/uniauth-server';
|
|
34
34
|
|
|
35
35
|
const app = express();
|
|
36
36
|
const auth = new UniAuthServer({ ... });
|
|
@@ -48,7 +48,7 @@ app.get('/api/profile', (req, res) => {
|
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
import { Hono } from 'hono';
|
|
51
|
-
import { UniAuthServer } from '@uniauth
|
|
51
|
+
import { UniAuthServer } from '@55387.ai/uniauth-server';
|
|
52
52
|
|
|
53
53
|
const app = new Hono();
|
|
54
54
|
const auth = new UniAuthServer({ ... });
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@55387.ai/uniauth-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "UniAuth Server SDK - Token verification for Node.js backends",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|