edilkamin 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ version: 2
2
+ updates:
3
+ # npm dependencies
4
+ - package-ecosystem: "npm"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+ day: "monday"
9
+ time: "09:00"
10
+ timezone: "UTC"
11
+ open-pull-requests-limit: 5
12
+ commit-message:
13
+ prefix: ":arrow_up:"
14
+
15
+ # GitHub Actions dependencies
16
+ - package-ecosystem: "github-actions"
17
+ directory: "/"
18
+ schedule:
19
+ interval: "weekly"
20
+ day: "monday"
21
+ time: "09:00"
22
+ timezone: "UTC"
23
+ open-pull-requests-limit: 5
24
+ commit-message:
25
+ prefix: ":arrow_up:"
@@ -12,8 +12,8 @@ jobs:
12
12
  matrix:
13
13
  node-version: [20.x, 22.x]
14
14
  steps:
15
- - uses: actions/checkout@v4
16
- - uses: actions/setup-node@v4
15
+ - uses: actions/checkout@v6
16
+ - uses: actions/setup-node@v6
17
17
  with:
18
18
  node-version: ${{ matrix.node-version }}
19
19
  - run: yarn install --no-ignore-optional
@@ -9,8 +9,8 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  timeout-minutes: 5
11
11
  steps:
12
- - uses: actions/checkout@v4
13
- - uses: actions/setup-node@v4
12
+ - uses: actions/checkout@v6
13
+ - uses: actions/setup-node@v6
14
14
  with:
15
15
  node-version: "22.x"
16
16
  - name: git config
@@ -9,8 +9,8 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  timeout-minutes: 5
11
11
  steps:
12
- - uses: actions/checkout@v4
13
- - uses: actions/setup-node@v4
12
+ - uses: actions/checkout@v6
13
+ - uses: actions/setup-node@v6
14
14
  with:
15
15
  node-version: "22.x"
16
16
  registry-url: "https://registry.npmjs.org"
@@ -12,8 +12,8 @@ jobs:
12
12
  matrix:
13
13
  node-version: [20.x, 22.x]
14
14
  steps:
15
- - uses: actions/checkout@v4
16
- - uses: actions/setup-node@v4
15
+ - uses: actions/checkout@v6
16
+ - uses: actions/setup-node@v6
17
17
  with:
18
18
  node-version: ${{ matrix.node-version }}
19
19
  - run: yarn install
@@ -1,4 +1,4 @@
1
1
  export { API_URL } from "./constants";
2
2
  export { configure, signIn } from "./library";
3
3
  export { CommandsType, DeviceInfoType, StatusType, TemperaturesType, UserParametersType, } from "./types";
4
- export declare const deviceInfo: (jwtToken: string, macAddress: string) => Promise<import("./types").DeviceInfoType>, setPower: (jwtToken: string, macAddress: string, value: number) => Promise<import("axios").AxiosResponse<any, any>>, setPowerOff: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any>>, setPowerOn: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any>>, getPower: (jwtToken: string, macAddress: string) => Promise<boolean>, getEnvironmentTemperature: (jwtToken: string, macAddress: string) => Promise<number>, getTargetTemperature: (jwtToken: string, macAddress: string) => Promise<number>, setTargetTemperature: (jwtToken: string, macAddress: string, temperature: number) => Promise<import("axios").AxiosResponse<any, any>>;
4
+ export declare const deviceInfo: (jwtToken: string, macAddress: string) => Promise<import("./types").DeviceInfoType>, setPower: (jwtToken: string, macAddress: string, value: number) => Promise<import("axios").AxiosResponse<any, any, {}>>, setPowerOff: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any, {}>>, setPowerOn: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any, {}>>, getPower: (jwtToken: string, macAddress: string) => Promise<boolean>, getEnvironmentTemperature: (jwtToken: string, macAddress: string) => Promise<number>, getTargetTemperature: (jwtToken: string, macAddress: string) => Promise<number>, setTargetTemperature: (jwtToken: string, macAddress: string, temperature: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -30,12 +30,12 @@ declare const signIn: (username: string, password: string) => Promise<string>;
30
30
  */
31
31
  declare const configure: (baseURL?: string) => {
32
32
  deviceInfo: (jwtToken: string, macAddress: string) => Promise<DeviceInfoType>;
33
- setPower: (jwtToken: string, macAddress: string, value: number) => Promise<import("axios").AxiosResponse<any, any>>;
34
- setPowerOff: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any>>;
35
- setPowerOn: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any>>;
33
+ setPower: (jwtToken: string, macAddress: string, value: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
34
+ setPowerOff: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
35
+ setPowerOn: (jwtToken: string, macAddress: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
36
36
  getPower: (jwtToken: string, macAddress: string) => Promise<boolean>;
37
37
  getEnvironmentTemperature: (jwtToken: string, macAddress: string) => Promise<number>;
38
38
  getTargetTemperature: (jwtToken: string, macAddress: string) => Promise<number>;
39
- setTargetTemperature: (jwtToken: string, macAddress: string, temperature: number) => Promise<import("axios").AxiosResponse<any, any>>;
39
+ setTargetTemperature: (jwtToken: string, macAddress: string, temperature: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
40
40
  };
41
41
  export { configure, createAuthService, headers, signIn };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edilkamin",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "aws-amplify": "^6.10.0",
45
- "axios": "^0.26.0"
45
+ "axios": "^1.13.2"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@aws-amplify/cli": "^7.6.21",
@@ -53,15 +53,15 @@
53
53
  "@typescript-eslint/eslint-plugin": "^8.17.0",
54
54
  "@typescript-eslint/parser": "^8.17.0",
55
55
  "eslint": "^9.16.0",
56
- "eslint-config-prettier": "^9.1.0",
56
+ "eslint-config-prettier": "^10.1.8",
57
57
  "eslint-plugin-prettier": "^5.2.1",
58
58
  "eslint-plugin-simple-import-sort": "^12.1.1",
59
- "mocha": "^10.8.2",
59
+ "mocha": "^11.7.5",
60
60
  "nyc": "^17.1.0",
61
61
  "prettier": "^2.5.1",
62
62
  "sinon": "^19.0.2",
63
63
  "ts-node": "^10.9.1",
64
- "typedoc": "^0.27.2",
64
+ "typedoc": "^0.28.15",
65
65
  "typescript": "^5.7.2"
66
66
  },
67
67
  "optionalDependencies": {