Skip to content

Commit

Permalink
refactor: revert 15a1bc4 to to solve #875, #870, and possibly also #876
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelacey2012 committed Feb 13, 2023
1 parent 8a9aa43 commit 008e6c4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
module.exports = {
decode: require('./decode'),
verify: require('./verify'),
sign: require('./sign'),
JsonWebTokenError: require('./lib/JsonWebTokenError'),
NotBeforeError: require('./lib/NotBeforeError'),
TokenExpiredError: require('./lib/TokenExpiredError'),
};

Object.defineProperty(module.exports, 'decode', {
enumerable: false,
configurable: true,
value: require('./decode'),
});

0 comments on commit 008e6c4

Please sign in to comment.