From 03ac4261855deabaa665fe847516e5e3fd93663a Mon Sep 17 00:00:00 2001 From: Laurens Rietveld Date: Fri, 8 Sep 2023 12:53:40 +0200 Subject: [PATCH] Break circular imports --- src/multiSamlStrategy.ts | 2 +- src/strategy.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/multiSamlStrategy.ts b/src/multiSamlStrategy.ts index c2c18d2e..84ac07b8 100644 --- a/src/multiSamlStrategy.ts +++ b/src/multiSamlStrategy.ts @@ -8,7 +8,7 @@ import { VerifyWithoutRequest, VerifyWithRequest, } from "./types"; -import { SAML } from "."; +import {SAML} from "@node-saml/node-saml"; export class MultiSamlStrategy extends AbstractStrategy { static readonly newSamlProviderOnConstruct = false; diff --git a/src/strategy.ts b/src/strategy.ts index 7ad81dad..9e72d69d 100644 --- a/src/strategy.ts +++ b/src/strategy.ts @@ -1,7 +1,8 @@ import { Strategy as PassportStrategy } from "passport-strategy"; import { strict as assert } from "assert"; import * as url from "url"; -import { Profile, SAML } from "."; +import { Profile } from "."; +import {SAML} from "@node-saml/node-saml"; import { PassportSamlConfig } from "./types"; import { AuthenticateOptions,