fix: build fails and standalone docker fixes

This commit is contained in:
Daniel Hougaard
2025-07-08 20:40:57 +04:00
parent 2c50de28bd
commit e77911f574
6 changed files with 28 additions and 37 deletions
+2 -11
View File
@@ -20,17 +20,8 @@ import { logger } from "../../logger";
import { asymmetricFipsValidated } from "./asymmetric-fips";
import { hasherFipsValidated } from "./hash-fips";
import { jwtFipsValidated } from "./jwt-fips";
import {
DigestType,
JWTPayload,
JWTSecretOrKey,
JWTSignOptions,
JWTVerifyOptions,
SymmetricKeySize,
TDecryptAsymmetricInput,
TDecryptSymmetricInput,
TEncryptSymmetricInput
} from "./types";
import type { TDecryptAsymmetricInput, TDecryptSymmetricInput, TEncryptSymmetricInput } from "./types";
import { DigestType, JWTPayload, JWTSecretOrKey, JWTSignOptions, JWTVerifyOptions, SymmetricKeySize } from "./types";
const bytesToBits = (bytes: number) => bytes * 8;
+2 -3
View File
@@ -1,9 +1,8 @@
export { crypto } from "./crypto";
export {
DigestType,
SymmetricKeySize,
export type {
TDecryptAsymmetricInput,
TDecryptSymmetricInput,
TEncryptedWithRootEncryptionKey,
TEncryptSymmetricInput
} from "./types";
export { DigestType, SymmetricKeySize } from "./types";
+1 -1
View File
@@ -1,4 +1,4 @@
export { crypto, SymmetricKeySize, TEncryptedWithRootEncryptionKey } from "./cryptography";
export { crypto, SymmetricKeySize } from "./cryptography";
export { buildSecretBlindIndexFromName } from "./encryption";
export {
decryptIntegrationAuths,
+2 -1
View File
@@ -6,7 +6,6 @@ import { HttpInstrumentation } from "@opentelemetry/instrumentation-http";
import { Resource } from "@opentelemetry/resources";
import { AggregationTemporality, MeterProvider, PeriodicExportingMetricReader } from "@opentelemetry/sdk-metrics";
import { ATTR_SERVICE_NAME, ATTR_SERVICE_VERSION } from "@opentelemetry/semantic-conventions";
import tracer from "dd-trace";
import dotenv from "dotenv";
import { initEnvConfig } from "../config/env";
@@ -89,6 +88,8 @@ const setupTelemetry = async () => {
}
if (envCfg.SHOULD_USE_DATADOG_TRACER) {
const tracer = await import("dd-trace");
console.log("Initializing Datadog tracer");
tracer.init({
profiling: envCfg.DATADOG_PROFILING_ENABLED,
+3
View File
@@ -448,6 +448,9 @@ export const queueServiceFactory = (
if (appCfg.QUEUE_WORKERS_ENABLED && isQueueEnabled(name)) {
workerContainer[name] = new Worker(name, jobFn, {
...queueSettings,
settings: {
repeatKeyHashAlgorithm: "sha256"
},
connection
});
}