diff --git a/package.json b/package.json index 36cd51d..015eaea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "uhttp-exit-app", - "version": "3.3.0", + "version": "3.3.1", "description": "u(nlinked)HTTP exit application", "author": "HOPR Association", "main": "src/index.ts", diff --git a/src/index.ts b/src/index.ts index 3ae5275..a6d50af 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import WebSocket from 'ws'; +import { version as Version } from '../package.json'; import { DpApi, EndpointApi, @@ -16,7 +17,7 @@ import { import * as DB from './db'; import * as RequestStore from './request-store'; import * as ResponseSegmentStore from './response-segment-store'; -import Version from './version'; + import log from './logger'; // WebSocket heartbeats diff --git a/src/version.ts b/src/version.ts deleted file mode 100644 index 49a6ae2..0000000 --- a/src/version.ts +++ /dev/null @@ -1 +0,0 @@ -export default '3.3.0'; diff --git a/tsconfig.json b/tsconfig.json index 0cafe82..d34f0a6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -39,7 +39,7 @@ // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ - // "resolveJsonModule": true, /* Enable importing .json files. */ + "resolveJsonModule": true /* Enable importing .json files. */, // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */