mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
fix import
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
import crypto from "node:crypto";
|
import crypto from "node:crypto";
|
||||||
import net from "node:net";
|
import net from "node:net";
|
||||||
|
|
||||||
import * as quic from "@infisical/quic";
|
import quicDefault, * as quicModule from "@infisical/quic";
|
||||||
|
|
||||||
import { BadRequestError } from "../errors";
|
import { BadRequestError } from "../errors";
|
||||||
import { logger } from "../logger";
|
import { logger } from "../logger";
|
||||||
@@ -10,6 +10,8 @@ import { logger } from "../logger";
|
|||||||
const DEFAULT_MAX_RETRIES = 3;
|
const DEFAULT_MAX_RETRIES = 3;
|
||||||
const DEFAULT_RETRY_DELAY = 1000; // 1 second
|
const DEFAULT_RETRY_DELAY = 1000; // 1 second
|
||||||
|
|
||||||
|
const quic = quicDefault || quicModule;
|
||||||
|
|
||||||
const parseSubjectDetails = (data: string) => {
|
const parseSubjectDetails = (data: string) => {
|
||||||
const values: Record<string, string> = {};
|
const values: Record<string, string> = {};
|
||||||
data.split("\n").forEach((el) => {
|
data.split("\n").forEach((el) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user