Skip to content

Commit

Permalink
refactor: remove Registry public API export
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The registry export was removed.
  • Loading branch information
panva committed Oct 27, 2021
1 parent 59a4e73 commit 6b91d58
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const Issuer = require('./issuer');
const { OPError, RPError } = require('./errors');
const Registry = require('./issuer_registry');
const Strategy = require('./passport_strategy');
const TokenSet = require('./token_set');
const { CLOCK_TOLERANCE, HTTP_OPTIONS } = require('./helpers/consts');
Expand All @@ -9,7 +8,6 @@ const { setDefaults } = require('./helpers/request');

module.exports = {
Issuer,
Registry,
Strategy,
TokenSet,
errors: {
Expand Down
1 change: 0 additions & 1 deletion lib/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import mod from './index.js';

export default mod;
export const Issuer = mod.Issuer;
export const Registry = mod.Registry;
export const Strategy = mod.Strategy;
export const TokenSet = mod.TokenSet;
export const errors = mod.errors;
Expand Down

0 comments on commit 6b91d58

Please sign in to comment.