Skip to content

Commit

Permalink
Updated OAuth2 package
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinvdpol committed Nov 10, 2024
1 parent d039ac9 commit c233b5a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions lib/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class App extends OAuth2App {
// Sentry logging
this.homeyLog = new Log({ homey: this.homey });

// Register event listener
this.homey.on('unload', () => this.onUninit());
// Register unload event listener
this.homey.on('unload', () => this.onOAuth2Uninit());

// Set default data
this.setDefaults();
Expand All @@ -33,7 +33,7 @@ class App extends OAuth2App {
}

// Application destroyed
async onUninit() {
async onOAuth2Uninit() {
// Unregister timer
this.unregisterTimer();

Expand Down
2 changes: 1 addition & 1 deletion lib/Driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Driver extends OAuth2Driver {
}

// Driver destroyed
async onUninit() {
async onOAuth2Uninit() {
this.log('Destroyed');
}

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"homey-log": "^2.1.0",
"homey-oauth2app": "^3.5.7"
"homey-oauth2app": "^3.6.0"
},
"devDependencies": {
"@types/homey": "npm:homey-apps-sdk-v3-types@^0.3.5",
Expand Down

0 comments on commit c233b5a

Please sign in to comment.