Skip to content

Commit e4dbfd9

Browse files
Release 3 3 0 (#616)
* Bump version * chore: release v3.3.0 - (@GermanBluefox) Added the token refresher class * Bump version
1 parent e9999e8 commit e4dbfd9

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
publish-config:
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-22.04
1919

2020
strategy:
2121
matrix:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ If you find errors in the definitions, e.g., function calls that should be allow
211211
Placeholder for the next version (at the beginning of the line):
212212
### **WORK IN PROGRESS**
213213
-->
214-
### **WORK IN PROGRESS**
214+
### 3.3.0 (2025-08-01)
215215

216216
- (@GermanBluefox) Added the token refresher class
217217

build/cjs/TokenRefresher.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/esm/TokenRefresher.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ export class TokenRefresher {
156156
new Date(this.accessToken.access_token_expires_on).getTime() < Date.now()) {
157157
this.adapter.log.debug('Access token is expired. Retrying to refresh tokens...');
158158
}
159-
let expiresIn = new Date(this.accessToken.access_token_expires_on).getTime() - Date.now() - TokenRefresher.TOKEN_REFRESH_THRESHOLD_MS;
159+
let expiresIn = new Date(this.accessToken.access_token_expires_on).getTime() -
160+
Date.now() -
161+
TokenRefresher.TOKEN_REFRESH_THRESHOLD_MS;
160162
// If expiration is in less than 3 minutes, refresh the token
161163
if (expiresIn <= 0) {
162164
// Refresh token

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iobroker/adapter-core",
3-
"version": "3.2.3",
3+
"version": "3.3.0",
44
"description": "Core module to be used in ioBroker adapters. Acts as the bridge to js-controller.",
55
"engines": {
66
"node": ">=16"

0 commit comments

Comments
 (0)