@orangecheck/auth-client 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -925,10 +925,7 @@ function WalletFlow({ authOrigin, audience, onSuccess }) {
925
925
  }
926
926
  let adapter;
927
927
  try {
928
- const moduleId = "@orangecheck/wallet-adapter";
929
- adapter = await Function("m", "return import(m)")(
930
- moduleId
931
- );
928
+ adapter = await import('@orangecheck/wallet-adapter');
932
929
  } catch {
933
930
  throw new Error(
934
931
  "@orangecheck/wallet-adapter not installed \xB7 add it to your consumer site"