Skip to content

Commit

Permalink
Upgrade OnStarJs (#19)
Browse files Browse the repository at this point in the history
* Upgrade OnStarJs

* Version 1.3.2

* Use yarn instead of npm for upgrade, fix onstarjs type import
  • Loading branch information
samrum committed Jan 21, 2020
1 parent b8e355d commit 13b605a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "homebridge-onstar",
"version": "1.3.1",
"version": "1.3.2",
"description": "Unofficial OnStar plugin for Homebridge",
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"homepage": "https://github.com/samrum/homebridge-onstar#readme",
"dependencies": {
"onstarjs": "^2.0.4"
"onstarjs": "^2.0.6"
},
"devDependencies": {
"@types/jest": "^24.0.11",
Expand Down
2 changes: 1 addition & 1 deletion src/CommandDelegator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import OnStar from "onstarjs";
import { Result } from "onstarjs/dist/src/types";
import { Result } from "onstarjs/dist/types";
import { OnStarJsMethod } from "./types";

class CommandDelegator {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2693,10 +2693,10 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0:
dependencies:
wrappy "1"

onstarjs@^2.0.4:
version "2.0.5"
resolved "https://registry.yarnpkg.com/onstarjs/-/onstarjs-2.0.5.tgz#26ce78181664a1aa4e3fd1b2121a3f00958606e5"
integrity sha512-0Nal7sNtENwtRKqPqj7f9pza9ehcwH9EmeQC7RkSLYNOkSJ6UwWJq52qYyAMADKA5/jR+xj2pKEJ0r6pEyXVUA==
onstarjs@^2.0.6:
version "2.0.6"
resolved "https://registry.yarnpkg.com/onstarjs/-/onstarjs-2.0.6.tgz#d6297c826d9ff6c29f75d7bedab6eccf385c1bcc"
integrity sha512-SHGCP20J5uw9d1abxYoNq/VLQAt24Iugp5YGefmaLbc/+zWToWDUfzmrtT0mGsuzGs8Mnn1XDKTLtPajePXPjw==
dependencies:
axios "^0.18.0"
jsonwebtoken "^8.5.1"
Expand Down

0 comments on commit 13b605a

Please sign in to comment.