Attempt to make things cleaner on import.

This commit is contained in:
Laur Ivan 2022-03-13 22:30:14 +01:00
parent 3adebc51df
commit 961ae29dba
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "dptlib",
"version": "1.0.0",
"version": "0.1.0",
"description": "KNX DPT library",
"main": "lib/index.js",
"publishConfig": {

View File

@ -51,7 +51,6 @@ export const DPTS: { [index: string]: DPT } = {
DPT19: new DPT19(),
DPT20: new DPT20(),
DPT21: new DPT21(),
//DPT22: new DPT22(),
DPT232: new DPT232(),
DPT237: new DPT237(),
@ -76,3 +75,7 @@ export class DataPointType {
return dpt;
};
}
exports.definitions = require('./definitions')
exports.DataPointType = require('./DataPointType')
exports.errors = require('./errors')