@camstack/server 1.2.462 → 1.2.463

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.
@@ -33,5 +33,5 @@ async function resolveHubBaseUrl(getSource, audience) {
33
33
  return baseUrl;
34
34
  }
35
35
  function clusterBaseUrlResolver(getSource) {
36
- return () => resolveHubBaseUrl(getSource, 'agents');
36
+ return () => resolveHubBaseUrl(getSource, 'internal');
37
37
  }
package/dist/main.js CHANGED
@@ -1119,10 +1119,10 @@ async function bootstrap() {
1119
1119
  (0, oauth2_routes_js_1.registerOauth2Routes)(fastify, {
1120
1120
  getRegistry: () => capabilityRegistry,
1121
1121
  verifyToken: (t) => authService.verifyToken(t),
1122
- // The hub's browser-facing address from the `local-network` cap (tunnel,
1123
- // then mesh, then LAN). `localhost` only when the palette names nothing —
1124
- // the dev case, where it is the truth.
1125
- publicHubUrl: () => (0, hub_cluster_url_1.resolveHubBaseUrl)(() => capabilityRegistry.getSingleton('local-network'), 'signIn').catch(() => `https://localhost:${port}`),
1122
+ // The hub's public endpoint from the `local-network` cap (the flagged
1123
+ // address, else tunnel, then mesh, then LAN). `localhost` only when the
1124
+ // palette names nothing — the dev case, where it is the truth.
1125
+ publicHubUrl: () => (0, hub_cluster_url_1.resolveHubBaseUrl)(() => capabilityRegistry.getSingleton('local-network'), 'publicEndpoint').catch(() => `https://localhost:${port}`),
1126
1126
  // Every /authorize refusal is a dropped account-linking attempt. Without
1127
1127
  // this scope the drop is invisible in Loki and the only signal left is an
1128
1128
  // operator noticing that linking stopped working.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/server",
3
- "version": "1.2.462",
3
+ "version": "1.2.463",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "files": [
@@ -37,18 +37,18 @@
37
37
  ]
38
38
  },
39
39
  "dependencies": {
40
- "@camstack/addon-admin-ui": "1.2.336",
41
- "@camstack/addon-agent-ui": "1.2.178",
42
- "@camstack/addon-auth": "1.2.129",
40
+ "@camstack/addon-admin-ui": "1.2.337",
41
+ "@camstack/addon-agent-ui": "1.2.179",
42
+ "@camstack/addon-auth": "1.2.130",
43
43
  "@camstack/addon-decoder-nodeav": "1.2.119",
44
44
  "@camstack/addon-notifiers": "1.2.128",
45
- "@camstack/addon-pipeline": "1.2.331",
46
- "@camstack/addon-pipeline-orchestrator": "1.2.286",
47
- "@camstack/addon-post-analysis": "1.2.338",
45
+ "@camstack/addon-pipeline": "1.2.332",
46
+ "@camstack/addon-pipeline-orchestrator": "1.2.287",
47
+ "@camstack/addon-post-analysis": "1.2.339",
48
48
  "@camstack/sdk": "1.2.122",
49
- "@camstack/system": "1.2.359",
50
- "@camstack/types": "1.2.310",
51
- "@camstack/ui-library": "1.2.236",
49
+ "@camstack/system": "1.2.360",
50
+ "@camstack/types": "1.2.311",
51
+ "@camstack/ui-library": "1.2.237",
52
52
  "@fastify/compress": "^9.0.0",
53
53
  "@fastify/cookie": "^11.0.2",
54
54
  "@fastify/cors": "^11.2.0",