@owlmeans/server-auth 0.1.18-rc.46 → 0.1.18-rc.47
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/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/server-auth/SKILL.md +1 -1
- package/build/manager/entrypoints.d.ts +7 -1
- package/build/manager/entrypoints.d.ts.map +1 -1
- package/build/manager/modules.d.ts +2 -0
- package/build/manager/modules.d.ts.map +1 -0
- package/build/manager/modules.js +21 -0
- package/build/manager/modules.js.map +1 -0
- package/build/modules.d.ts +3 -0
- package/build/modules.d.ts.map +1 -0
- package/build/modules.js +11 -0
- package/build/modules.js.map +1 -0
- package/package.json +15 -15
- package/src/manager/README.md +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ account/profile records `@owlmeans/server-auth-identity`, and the browser side `
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
bun add @owlmeans/server-auth@^0.1.18-rc.
|
|
16
|
+
bun add @owlmeans/server-auth@^0.1.18-rc.47
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Concepts
|
|
@@ -222,7 +222,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
222
222
|
your project's skill store (`.agents/skills/`):
|
|
223
223
|
|
|
224
224
|
```sh
|
|
225
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
225
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.41
|
|
226
226
|
```
|
|
227
227
|
|
|
228
228
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/server-auth",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-09-
|
|
4
|
+
"version": "0.1.18-rc.47",
|
|
5
|
+
"generatedAt": "2026-09-28T02:06:37.876Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/server-auth
|
|
9
9
|
|
|
10
10
|
**Layer:** Server
|
|
11
|
-
**Install:** `"@owlmeans/server-auth": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/server-auth": "^0.1.18-rc.47"` in `dependencies`
|
|
12
12
|
|
|
13
13
|
Two halves, deliberately split by subpath:
|
|
14
14
|
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
/** Server entrypoints for the full authentication manager. */
|
|
2
|
-
export declare const entrypoints:
|
|
2
|
+
export declare const entrypoints: (import("@owlmeans/server-entrypoint").ServerProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<import("@owlmeans/entrypoint").OpenRequest, import("@owlmeans/entrypoint").OpenValue>> | import("@owlmeans/server-entrypoint").ServerProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
3
|
+
body: import("@owlmeans/auth").AllowanceRequest;
|
|
4
|
+
}, import("@owlmeans/auth").AllowanceResponse>> | import("@owlmeans/server-entrypoint").ServerProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
5
|
+
body: import("@owlmeans/auth").AuthCredentials;
|
|
6
|
+
}, import("@owlmeans/auth").AuthToken>> | import("@owlmeans/server-entrypoint").ServerProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
|
|
7
|
+
query: Partial<import("@owlmeans/auth").AuthToken>;
|
|
8
|
+
}, undefined>>)[];
|
|
3
9
|
//# sourceMappingURL=entrypoints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../../src/manager/entrypoints.ts"],"names":[],"mappings":"AAiBA,8DAA8D;AAC9D,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../../src/manager/entrypoints.ts"],"names":[],"mappings":"AAiBA,8DAA8D;AAC9D,eAAO,MAAM,WAAW;;;;;;iBAOvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../src/manager/modules.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,OAAO,mDAAO,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AUTHEN, AUTHEN_AUTHEN, AUTHEN_INIT, AUTHEN_RELY, MOD_RECAPTCHA } from '@owlmeans/auth';
|
|
2
|
+
import { modules as list } from '@owlmeans/auth-common';
|
|
3
|
+
import { modules as apiConfig } from '@owlmeans/api-config-server';
|
|
4
|
+
import { elevate, guard } from '@owlmeans/server-entrypoint';
|
|
5
|
+
import * as actions from './actions/index.js';
|
|
6
|
+
import { entrypoint } from '@owlmeans/client-entrypoint';
|
|
7
|
+
import { backend, route, RouteMethod } from '@owlmeans/route';
|
|
8
|
+
import { handleIntermediate } from '@owlmeans/server-api';
|
|
9
|
+
import { DEFAULT_RELY } from './consts.js';
|
|
10
|
+
elevate(list, AUTHEN, handleIntermediate(async (_, context) => await context.updateContext()), { intermediate: true });
|
|
11
|
+
elevate(list, AUTHEN_INIT, actions.authenticationInit);
|
|
12
|
+
elevate(list, AUTHEN_AUTHEN, actions.authenticate);
|
|
13
|
+
elevate(list, AUTHEN_RELY, actions.rely, guard(DEFAULT_RELY));
|
|
14
|
+
export const modules = list;
|
|
15
|
+
list.push(...apiConfig);
|
|
16
|
+
list.push(entrypoint(route(MOD_RECAPTCHA, '/api/siteverify', backend({
|
|
17
|
+
host: 'https://www.google.com',
|
|
18
|
+
base: 'recaptcha',
|
|
19
|
+
secure: true,
|
|
20
|
+
}, RouteMethod.POST))));
|
|
21
|
+
//# sourceMappingURL=modules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1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a,EAAE,iBAAiB,EAAE,OAAO,CAAC;IAC9C,IAAI,EAAE,wBAAwB;IAC9B,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,IAAI;CACb,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,CACtB,CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAOnE,eAAO,MAAM,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAK9C,CAAA"}
|
package/build/modules.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { elevate } from '@owlmeans/server-entrypoint';
|
|
2
|
+
import { modules as list } from '@owlmeans/auth-common';
|
|
3
|
+
import { DISPATCHER, DISPATCHER_AUTHEN } from '@owlmeans/auth';
|
|
4
|
+
import { authenticate } from './actions/service.js';
|
|
5
|
+
import { stab, elevate as celevate } from '@owlmeans/client-entrypoint';
|
|
6
|
+
elevate(list, DISPATCHER_AUTHEN, authenticate);
|
|
7
|
+
celevate(list, DISPATCHER, stab);
|
|
8
|
+
export const modules = [
|
|
9
|
+
...list.filter((module) => [DISPATCHER, DISPATCHER_AUTHEN].includes(module.getAlias()))
|
|
10
|
+
];
|
|
11
|
+
//# sourceMappingURL=modules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.js","sourceRoot":"","sources":["../src/modules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,IAAI,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAEvE,OAAO,CAAC,IAAI,EAAE,iBAAiB,EAAE,YAAY,CAAC,CAAA;AAC9C,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,CAAA;AAEhC,MAAM,CAAC,MAAM,OAAO,GAAgC;IAClD,GAAG,IAAI,CAAC,MAAM,CACZ,CAAC,MAAM,EAAuC,EAAE,CAC9C,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAC9D;CACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/server-auth",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.47",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -37,30 +37,30 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@noble/hashes": "^1.5.0",
|
|
40
|
-
"@owlmeans/api": "^0.1.18-rc.
|
|
41
|
-
"@owlmeans/api-config-server": "^0.1.18-rc.
|
|
40
|
+
"@owlmeans/api": "^0.1.18-rc.40",
|
|
41
|
+
"@owlmeans/api-config-server": "^0.1.18-rc.44",
|
|
42
42
|
"@owlmeans/auth": "^0.1.18-rc.36",
|
|
43
|
-
"@owlmeans/auth-common": "^0.1.18-rc.
|
|
44
|
-
"@owlmeans/basic-envelope": "^0.1.18-rc.
|
|
45
|
-
"@owlmeans/basic-ids": "^0.1.18-rc.
|
|
46
|
-
"@owlmeans/basic-keys": "^0.1.18-rc.
|
|
43
|
+
"@owlmeans/auth-common": "^0.1.18-rc.40",
|
|
44
|
+
"@owlmeans/basic-envelope": "^0.1.18-rc.39",
|
|
45
|
+
"@owlmeans/basic-ids": "^0.1.18-rc.34",
|
|
46
|
+
"@owlmeans/basic-keys": "^0.1.18-rc.41",
|
|
47
47
|
"@owlmeans/client-config": "^0.1.18-rc.38",
|
|
48
|
-
"@owlmeans/client-entrypoint": "^0.1.18-rc.
|
|
48
|
+
"@owlmeans/client-entrypoint": "^0.1.18-rc.40",
|
|
49
49
|
"@owlmeans/config": "^0.1.18-rc.38",
|
|
50
50
|
"@owlmeans/context": "^0.1.18-rc.32",
|
|
51
51
|
"@owlmeans/kluster": "^0.1.18-rc.37",
|
|
52
52
|
"@owlmeans/entrypoint": "^0.1.18-rc.37",
|
|
53
|
-
"@owlmeans/redis-resource": "^0.1.18-rc.
|
|
53
|
+
"@owlmeans/redis-resource": "^0.1.18-rc.38",
|
|
54
54
|
"@owlmeans/resource": "^0.1.18-rc.36",
|
|
55
55
|
"@owlmeans/route": "^0.1.18-rc.33",
|
|
56
|
-
"@owlmeans/server-api": "^0.1.18-rc.
|
|
57
|
-
"@owlmeans/server-auth-identity": "^0.1.18-rc.
|
|
58
|
-
"@owlmeans/server-auth-session": "^0.1.18-rc.
|
|
56
|
+
"@owlmeans/server-api": "^0.1.18-rc.44",
|
|
57
|
+
"@owlmeans/server-auth-identity": "^0.1.18-rc.40",
|
|
58
|
+
"@owlmeans/server-auth-session": "^0.1.18-rc.10",
|
|
59
59
|
"@owlmeans/server-context": "^0.1.18-rc.37",
|
|
60
60
|
"@owlmeans/server-entrypoint": "^0.1.18-rc.36",
|
|
61
61
|
"@owlmeans/server-route": "^0.1.18-rc.32",
|
|
62
|
-
"@owlmeans/server-socket": "^0.1.18-rc.
|
|
63
|
-
"@owlmeans/socket": "^0.1.18-rc.
|
|
62
|
+
"@owlmeans/server-socket": "^0.1.18-rc.47",
|
|
63
|
+
"@owlmeans/socket": "^0.1.18-rc.35",
|
|
64
64
|
"@owlmeans/static-resource": "^0.1.18-rc.35",
|
|
65
65
|
"@scure/base": "^2.3.0"
|
|
66
66
|
},
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@owlmeans/dep-config": "workspace:*",
|
|
72
|
-
"@owlmeans/test-auth": "^0.1.18-rc.
|
|
72
|
+
"@owlmeans/test-auth": "^0.1.18-rc.39",
|
|
73
73
|
"@types/bun": "^1.4.0",
|
|
74
74
|
"@types/node": "^26.1.0",
|
|
75
75
|
"nodemon": "^3.1.14",
|
package/src/manager/README.md
CHANGED
|
@@ -38,7 +38,7 @@ The manager is built on the OwlMeans entrypoint system, providing:
|
|
|
38
38
|
This manager app is part of the `@owlmeans/server-auth` package:
|
|
39
39
|
|
|
40
40
|
```bash
|
|
41
|
-
npm install @owlmeans/server-auth@^0.1.18-rc.
|
|
41
|
+
npm install @owlmeans/server-auth@^0.1.18-rc.47
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## API Reference
|