Skip to content

Commit

Permalink
remove default export due to issues. bump workflow to node 18.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdleveille committed Sep 27, 2023
1 parent 3b4b055 commit eab2b00
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: use node.js
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 18
cache: yarn

- run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Simply install the package via npm or yarn. You will need to use a module bundle
The `GamepadHelper` class can be imported and used by calling the `GamepadHelper.update()` static method within your game loop.

```javascript
import GamepadHelper from "gamepad-helper";
import { GamepadHelper } from "gamepad-helper";

// ...within game loop
GamepadHelper.update();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gamepad-helper",
"version": "1.2.2",
"version": "1.2.3",
"description": "Wrapper class for the HTML5 Gamepad API.",
"keywords": [
"javascript",
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,3 @@ export class GamepadHelper {
);
}
}

export default GamepadHelper;

0 comments on commit eab2b00

Please sign in to comment.