mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 09:30:09 +00:00
fix: build fails and standalone docker fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
export { crypto, SymmetricKeySize, TEncryptedWithRootEncryptionKey } from "./cryptography";
|
||||
export { crypto, SymmetricKeySize } from "./cryptography";
|
||||
export { buildSecretBlindIndexFromName } from "./encryption";
|
||||
export {
|
||||
decryptIntegrationAuths,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user