Skip to content

Commit

Permalink
ESM4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hombach authored and Hombach committed Dec 1, 2024
1 parent f1b8324 commit 9a3811e
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build/lib/tibberAPICaller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/tibberAPICaller.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/lib/tibberCalculator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/tibberCalculator.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/lib/tibberLocal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/tibberLocal.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/lib/tibberPulse.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/lib/tibberPulse.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/lib/tibberAPICaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { IHome } from "tibber-api/lib/src/models/IHome"; // obsolete data p
import type { ILegalEntity } from "tibber-api/lib/src/models/ILegalEntity";
import type { IPrice } from "tibber-api/lib/src/models/IPrice";
import { EnergyResolution } from "tibber-api/lib/src/models/enums/EnergyResolution";
import { ProjectUtils, type IHomeInfo } from "./projectUtils";
import { ProjectUtils, type IHomeInfo } from "./projectUtils.js";

/**
* TibberAPICaller
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tibberCalculator.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type * as utils from "@iobroker/adapter-core";
import { addDays, addHours, format } from "date-fns";
import type { IPrice } from "tibber-api/lib/src/models/IPrice";
import { ProjectUtils, enCalcType, getCalcTypeDescription } from "./projectUtils";
import { ProjectUtils, enCalcType, getCalcTypeDescription } from "./projectUtils.js";

/**
* TibberCalculator
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tibberLocal.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type * as utils from "@iobroker/adapter-core";
import axios, { type AxiosRequestConfig, type AxiosResponse } from "axios";
import { format, formatDuration, intervalToDuration } from "date-fns";
import { ProjectUtils } from "./projectUtils";
import { ProjectUtils } from "./projectUtils.js";

/**
* TibberLocal
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tibberPulse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type * as utils from "@iobroker/adapter-core";
import { TibberFeed, TibberQuery, type IConfig } from "tibber-api";
import type { ILiveMeasurement } from "tibber-api/lib/src/models/ILiveMeasurement";
import { ProjectUtils } from "./projectUtils";
import { ProjectUtils } from "./projectUtils.js";

/**
* TibberPulse
Expand Down
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import * as utils from "@iobroker/adapter-core";
import { CronJob } from "cron";
import { addDays, format, isSameDay } from "date-fns";
import type { IConfig } from "tibber-api";
import type { IHomeInfo } from "./lib/projectUtils";
import type { IHomeInfo } from "./lib/projectUtils.js";
import { TibberAPICaller } from "./lib/tibberAPICaller.js";
import { TibberCalculator } from "./lib/tibberCalculator";
import { TibberLocal } from "./lib/tibberLocal";
import { TibberPulse } from "./lib/tibberPulse";
import { TibberCalculator } from "./lib/tibberCalculator.js";
import { TibberLocal } from "./lib/tibberLocal.js";
import { TibberPulse } from "./lib/tibberPulse.js";

class Tibberlink extends utils.Adapter {
public constructor(options: Partial<utils.AdapterOptions> = {}) {
Expand Down

0 comments on commit 9a3811e

Please sign in to comment.