@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 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/server-sdk';
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/server-sdk';
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
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Usage:
6
6
  * ```typescript
7
- * import { UniAuthServer } from '@uniauth/server-sdk';
7
+ * import { UniAuthServer } from '@55387.ai/uniauth-server';
8
8
  *
9
9
  * const auth = new UniAuthServer({
10
10
  * baseUrl: 'https://auth.example.com',
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Usage:
6
6
  * ```typescript
7
- * import { UniAuthServer } from '@uniauth/server-sdk';
7
+ * import { UniAuthServer } from '@55387.ai/uniauth-server';
8
8
  *
9
9
  * const auth = new UniAuthServer({
10
10
  * baseUrl: 'https://auth.example.com',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@55387.ai/uniauth-server",
3
- "version": "1.0.0",
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
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
14
  }
15
15
  },
16
16
  "publishConfig": {
package/src/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Usage:
6
6
  * ```typescript
7
- * import { UniAuthServer } from '@uniauth/server-sdk';
7
+ * import { UniAuthServer } from '@55387.ai/uniauth-server';
8
8
  *
9
9
  * const auth = new UniAuthServer({
10
10
  * baseUrl: 'https://auth.example.com',