@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.mjs CHANGED
@@ -903,10 +903,7 @@ function WalletFlow({ authOrigin, audience, onSuccess }) {
903
903
  }
904
904
  let adapter;
905
905
  try {
906
- const moduleId = "@orangecheck/wallet-adapter";
907
- adapter = await Function("m", "return import(m)")(
908
- moduleId
909
- );
906
+ adapter = await import('@orangecheck/wallet-adapter');
910
907
  } catch {
911
908
  throw new Error(
912
909
  "@orangecheck/wallet-adapter not installed \xB7 add it to your consumer site"