Skip to content

Commit e4593f1

Browse files
committed
jwa@^2.0.0
1 parent 9deb311 commit e4593f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"readmeFilename": "readme.md",
2525
"gitHead": "c0f6b27bcea5a2ad2e304d91c2e842e4076a6b03",
2626
"dependencies": {
27-
"jwa": "^1.4.1",
27+
"jwa": "^2.0.0",
2828
"safe-buffer": "^5.0.1"
2929
},
3030
"devDependencies": {

test/jws.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ test('jws.verify: missing or invalid algorithm', function (t) {
319319

320320

321321
test('jws.isValid', function (t) {
322-
const valid = jws.sign({ header: { alg: 'hs256' }, payload: 'hi', secret: 'shhh' });
322+
const valid = jws.sign({ header: { alg: 'HS256' }, payload: 'hi', secret: 'shhh' });
323323
const invalid = (function(){
324324
const header = Buffer.from('oh hei José!').toString('base64');
325325
const payload = Buffer.from('sup').toString('base64');

0 commit comments

Comments
 (0)