@teamscala/service-boot 0.23.531 → 0.23.533
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/package.json
CHANGED
|
@@ -8,8 +8,12 @@
|
|
|
8
8
|
"@orpc/openapi": "*",
|
|
9
9
|
"@orpc/server": "*",
|
|
10
10
|
"@teamscala/agreement-generation": "*",
|
|
11
|
+
"@teamscala/agreement-render": "*",
|
|
11
12
|
"@teamscala/auth": "*",
|
|
13
|
+
"@teamscala/auth-channel-setup": "*",
|
|
12
14
|
"@teamscala/auth-factory": "*",
|
|
15
|
+
"@teamscala/auth-identity-db": "*",
|
|
16
|
+
"@teamscala/brand": "*",
|
|
13
17
|
"@teamscala/cache": "*",
|
|
14
18
|
"@teamscala/content-gate-token": "*",
|
|
15
19
|
"@teamscala/db": "*",
|
|
@@ -293,5 +297,5 @@
|
|
|
293
297
|
"repository": "https://github.com/teamgbg/service-boot",
|
|
294
298
|
"sideEffects": false,
|
|
295
299
|
"type": "module",
|
|
296
|
-
"version": "0.23.
|
|
300
|
+
"version": "0.23.533"
|
|
297
301
|
}
|
|
@@ -9,7 +9,7 @@ import { signAgreementAccessToken } from "@teamscala/document-signing/agreement-
|
|
|
9
9
|
import { parseCookie } from "./content-gate/parse-cookie.ts";
|
|
10
10
|
import { verifyAccessToken } from "@teamscala/content-gate-token";
|
|
11
11
|
import { agTtlMs } from "./gate-ttls.ts";
|
|
12
|
-
import { createAgreementFromProposal } from "@teamscala/agreement-
|
|
12
|
+
import { createAgreementFromProposal } from "@teamscala/agreement-render/create-agreement-from-proposal";
|
|
13
13
|
import { getCookieDomain } from "@teamscala/db/registry/cookie-domain";
|
|
14
14
|
|
|
15
15
|
const PROP_COOKIE = "prop_token";
|
package/src/csrf-protection.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* @status handwritten
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { getManagedBaseDomain } from "@teamscala/auth/auth-env-resolution";
|
|
7
|
-
import { isTrustedAuthOrigin } from "@teamscala/auth/is-trusted-auth-origin";
|
|
6
|
+
import { getManagedBaseDomain } from "@teamscala/auth-channel-setup/auth-env-resolution";
|
|
7
|
+
import { isTrustedAuthOrigin } from "@teamscala/auth-identity-db/is-trusted-auth-origin";
|
|
8
8
|
import { createCache } from "@teamscala/cache/create-cache";
|
|
9
9
|
import { csrf } from "hono/csrf";
|
|
10
10
|
import type { Context, MiddlewareHandler } from "hono";
|
|
@@ -7,7 +7,7 @@ import { join } from "node:path";
|
|
|
7
7
|
import { getAppLogger } from "@teamscala/logger/app-loggers";
|
|
8
8
|
import type { Hono } from "hono";
|
|
9
9
|
import { etag } from "hono/etag";
|
|
10
|
-
import { FALLBACK_PRIMARY_COLOR } from "@teamscala/
|
|
10
|
+
import { FALLBACK_PRIMARY_COLOR } from "@teamscala/brand/brand/fallback-primary-color";
|
|
11
11
|
import { buildErrorReport } from "@teamscala/os/errors/error-report";
|
|
12
12
|
import { collectHeapReport } from "@teamscala/os/observability/heap-report";
|
|
13
13
|
import { isLoopbackHost } from "@teamscala/os/observability/loopback-host";
|
package/src/server-error-page.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { escapeHtml } from "@teamscala/formatters/escapeHtml";
|
|
7
|
-
import { brandLogoImgTag } from "@teamscala/
|
|
7
|
+
import { brandLogoImgTag } from "@teamscala/brand/brand/brand-logo-img-tag";
|
|
8
8
|
import type { ErrorReport } from "@teamscala/os/errors/error-report";
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
* one consumer contract is "can you serve me a page", is moved to phase 2.
|
|
83
83
|
*/
|
|
84
84
|
|
|
85
|
-
import { buildWakingPageHtml } from "@teamscala/
|
|
86
|
-
import { WAKING_RETRY_SECONDS } from "@teamscala/
|
|
85
|
+
import { buildWakingPageHtml } from "@teamscala/brand/brand/waking-page-html";
|
|
86
|
+
import { WAKING_RETRY_SECONDS } from "@teamscala/brand/brand/waking-page-budget.generated";
|
|
87
87
|
import type { Context } from "hono";
|
|
88
88
|
import { getServerClientCapabilityFault } from "./page-server-orpc/server-client.ts";
|
|
89
89
|
import { resolveErrorPageLogo } from "./error-page-logo.ts";
|