@owlmeans/server-wl 0.1.18-rc.25 → 0.1.18-rc.27

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
@@ -1,10 +1,10 @@
1
1
  # @owlmeans/server-wl
2
2
 
3
- Server-side whitelabeling — provides entity-specific branding and configuration via backend entrypoints.
3
+ Server-side whitelabeling — provides entity-specific branding and configuration via a bound backend protocol.
4
4
 
5
5
  ## Overview
6
6
 
7
- - Exports `entrypoints` array: pre-built server entrypoints that serve WL (whitelabel) configuration to clients
7
+ - Exports `entrypoints`: local server bindings that serve the shared WL protocol to clients
8
8
  - Provides `provide` action — the handler for the WL configuration endpoint
9
9
  - Integrates with `@owlmeans/wled` for whitelabel data definitions
10
10
  - Apps add WL DNS service from `@owlmeans/server-wl-dns` for domain-based entity resolution
@@ -12,7 +12,7 @@ Server-side whitelabeling — provides entity-specific branding and configuratio
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- bun add @owlmeans/server-wl@^0.1.18-rc.16
15
+ bun add @owlmeans/server-wl@^0.1.18-rc.26
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -23,7 +23,7 @@ Register WL entrypoints in a backend service:
23
23
  import { entrypoints as wlEntrypoints } from '@owlmeans/server-wl'
24
24
  import { main, entrypoints } from '@owlmeans/server-app'
25
25
 
26
- await main(context, [...entrypoints, ...wlEntrypoints, ...appEntrypoints])
26
+ await main(context, [...entrypoints, ...wlEntrypoints, ...serverBindings])
27
27
  ```
28
28
 
29
29
  With DNS-based entity resolution (from viable):
@@ -33,15 +33,15 @@ import { appendWlDnsService } from '@owlmeans/server-wl-dns'
33
33
  import { wlDnsEntrypoints } from '@owlmeans/server-wl-dns'
34
34
 
35
35
  appendWlDnsService(context)
36
- await main(context, [...entrypoints, ...wlDnsEntrypoints, ...appEntrypoints])
36
+ await main(context, [...entrypoints, ...wlDnsEntrypoints, ...serverBindings])
37
37
  ```
38
38
 
39
39
  ## API
40
40
 
41
41
  ### `entrypoints`
42
42
 
43
- Array of bound server entrypoints providing the WL configuration API endpoint. The declarations
44
- come from `@owlmeans/wled`; this package supplies their server-side bindings.
43
+ Local bound server entrypoints providing the WL configuration API endpoint. The shared immutable
44
+ declaration is `wledEntrypoints.provide` from `@owlmeans/wled`; this package supplies its handler.
45
45
 
46
46
  ### `WlConfig` / `WlRecord` (types)
47
47
 
@@ -60,7 +60,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
60
60
  your project's skill store (`.agents/skills/`):
61
61
 
62
62
  ```sh
63
- npx @owlmeans/agent-skills@^0.1.18-rc.20
63
+ npx @owlmeans/agent-skills@^0.1.18-rc.22
64
64
  ```
65
65
 
66
66
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/server-wl",
4
- "version": "0.1.18-rc.25",
5
- "generatedAt": "2026-09-12T14:18:54.795Z",
4
+ "version": "0.1.18-rc.27",
5
+ "generatedAt": "2026-09-15T12:38:15.213Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/server-wl
9
9
 
10
10
  **Layer:** Server
11
- **Install:** `"@owlmeans/server-wl": "^0.1.18-rc.25"` in `dependencies`
11
+ **Install:** `"@owlmeans/server-wl": "^0.1.18-rc.27"` in `dependencies`
12
12
 
13
13
  Answers the one `WL_PROVIDE` entrypoint `@owlmeans/wled` declares. It stores nothing itself: it fans
14
14
  the request out to the provider services the configuration names and returns their answers in one
@@ -29,7 +29,7 @@ object.
29
29
  ```typescript
30
30
  import { entrypoints as wlEntrypoints } from '@owlmeans/server-wl'
31
31
 
32
- export const appEntrypoints = [...ownEntrypoints, ...wlEntrypoints]
32
+ export const serverBindings = [...ownBindings, ...wlEntrypoints]
33
33
  ```
34
34
 
35
35
  ```typescript
@@ -1,5 +1,5 @@
1
1
  import type { ProvideParams } from '@owlmeans/wled';
2
2
  export declare const provide: import("@owlmeans/server-entrypoint").BoundEntrypointHandler<import("@owlmeans/entrypoint").EntrypointProtocol<{
3
3
  params: ProvideParams;
4
- }, import("@owlmeans/entrypoint").OpenValue>>;
4
+ }, undefined>>;
5
5
  //# sourceMappingURL=provide.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"provide.d.ts","sourceRoot":"","sources":["../../src/actions/provide.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAGnD,eAAO,MAAM,OAAO;;6CAqBnB,CAAA"}
1
+ {"version":3,"file":"provide.d.ts","sourceRoot":"","sources":["../../src/actions/provide.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAGnD,eAAO,MAAM,OAAO;;cAqBnB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  export declare const entrypoints: import("@owlmeans/server-entrypoint").ServerProtocolEntrypoint<import("@owlmeans/entrypoint").EntrypointProtocol<{
2
2
  params: import("@owlmeans/wled").ProvideParams;
3
- }, import("@owlmeans/entrypoint").OpenValue>>[];
3
+ }, undefined>>[];
4
4
  //# sourceMappingURL=entrypoints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;+CAAmD,CAAA"}
1
+ {"version":3,"file":"entrypoints.d.ts","sourceRoot":"","sources":["../src/entrypoints.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;gBAAmD,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owlmeans/server-wl",
3
3
  "type": "module",
4
- "version": "0.1.18-rc.25",
4
+ "version": "0.1.18-rc.27",
5
5
  "license": "MIT",
6
6
  "scripts": {
7
7
  "build": "tsc -b",
@@ -21,11 +21,11 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@owlmeans/context": "^0.1.18-rc.16",
25
- "@owlmeans/server-api": "^0.1.18-rc.25",
26
- "@owlmeans/server-context": "^0.1.18-rc.20",
27
- "@owlmeans/server-entrypoint": "^0.1.18-rc.19",
28
- "@owlmeans/wled": "^0.1.18-rc.19"
24
+ "@owlmeans/context": "^0.1.18-rc.18",
25
+ "@owlmeans/server-api": "^0.1.18-rc.27",
26
+ "@owlmeans/server-context": "^0.1.18-rc.22",
27
+ "@owlmeans/server-entrypoint": "^0.1.18-rc.21",
28
+ "@owlmeans/wled": "^0.1.18-rc.21"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@owlmeans/dep-config": "workspace:*",