From 6b91d58baddf1ba73a737c52c3f66d7c63892f03 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 22 Oct 2021 22:04:10 +0200 Subject: [PATCH] refactor: remove Registry public API export BREAKING CHANGE: The registry export was removed. --- lib/index.js | 2 -- lib/index.mjs | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/index.js b/lib/index.js index 3d35d6be..b97a99fc 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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'); @@ -9,7 +8,6 @@ const { setDefaults } = require('./helpers/request'); module.exports = { Issuer, - Registry, Strategy, TokenSet, errors: { diff --git a/lib/index.mjs b/lib/index.mjs index 90f75e0d..03961a99 100644 --- a/lib/index.mjs +++ b/lib/index.mjs @@ -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;