diff --git a/packages/backend/package-lock.json b/packages/backend/package-lock.json index cf0927bd8..f92f42d1c 100644 --- a/packages/backend/package-lock.json +++ b/packages/backend/package-lock.json @@ -97,6 +97,7 @@ "@types/cors": "2.8.17", "@types/crypto-js": "^4.0.2", "@types/express": "^4.17.9", + "@types/get-port": "4.2.0", "@types/jest": "28.1.8", "@types/luxon": "^3.4.2", "@types/mock-fs": "^4.13.1", @@ -10285,6 +10286,16 @@ "@types/send": "*" } }, + "node_modules/@types/get-port": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@types/get-port/-/get-port-4.2.0.tgz", + "integrity": "sha512-Iv2FAb5RnIk/eFO2CTu8k+0VMmIR15pKbcqRWi+s3ydW+aKXlN2yemP92SrO++ERyJx+p6Ie1ggbLBMbU1SjiQ==", + "deprecated": "This is a stub types definition. get-port provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "get-port": "*" + } + }, "node_modules/@types/jest": { "version": "28.1.8", "resolved": "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz", @@ -30162,6 +30173,15 @@ } } }, + "@types/get-port": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@types/get-port/-/get-port-4.2.0.tgz", + "integrity": "sha512-Iv2FAb5RnIk/eFO2CTu8k+0VMmIR15pKbcqRWi+s3ydW+aKXlN2yemP92SrO++ERyJx+p6Ie1ggbLBMbU1SjiQ==", + "dev": true, + "requires": { + "get-port": "*" + } + }, "@types/jest": { "version": "28.1.8", "resolved": "https://registry.npmjs.org/@types/jest/-/jest-28.1.8.tgz", diff --git a/packages/backend/package.json b/packages/backend/package.json index 382e7abcf..bd70c5324 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -63,6 +63,7 @@ "@types/cors": "2.8.17", "@types/crypto-js": "^4.0.2", "@types/express": "^4.17.9", + "@types/get-port": "4.2.0", "@types/jest": "28.1.8", "@types/luxon": "^3.4.2", "@types/mock-fs": "^4.13.1", diff --git a/packages/backend/src/nest/common/utils.ts b/packages/backend/src/nest/common/utils.ts index 58336ffe8..0733b1b7f 100644 --- a/packages/backend/src/nest/common/utils.ts +++ b/packages/backend/src/nest/common/utils.ts @@ -6,7 +6,6 @@ import { UserData } from '@quiet/types' import { HttpsProxyAgent } from 'https-proxy-agent' import { generateKeyPair } from '@libp2p/crypto/keys' import { peerIdFromPrivateKey } from '@libp2p/peer-id' -import { type PeerId } from '@libp2p/interface' import tmp from 'tmp' import crypto from 'crypto' import { type PermsData } from '@quiet/types' diff --git a/tsconfig.build.json b/tsconfig.build.json index 1d0157682..514ed6310 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -12,7 +12,6 @@ "./packages/@types", "./node_modules/@types", "./3rd-party/auth/packages/**/src", - "./3rd-party/js-libp2p-noise/src/**/*", ], "lib": [ "ES2020",