Skip to content

Commit

Permalink
fix(deps): update jsonwebtoken to v9 (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 6, 2023
1 parent 4ae9636 commit 2fd1d89
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 187 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ jobs:
with:
node-version: 18
cache: npm
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run tests
run: npx playwright test
- run: npm ci
- run: npm test
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const { githubAppJwt } = require("universal-github-app-jwt");
(async () => {
const { token, appId, expiration } = await githubAppJwt({
id: APP_ID,
privateKey: PRIVATE_KEY
privateKey: PRIVATE_KEY,
});
})();
```
Expand All @@ -78,8 +78,8 @@ The retrieved `token` can now be used in Authorization request header, e.g. with
```js
request("GET /app", {
headers: {
authorization: `bearer ${token}`
}
authorization: `bearer ${token}`,
},
});
```

Expand Down
216 changes: 75 additions & 141 deletions package-lock.json

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

Loading

0 comments on commit 2fd1d89

Please sign in to comment.