@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 +1 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -1
- package/CHANGELOG.md +0 -111
package/dist/index.mjs
CHANGED
|
@@ -903,10 +903,7 @@ function WalletFlow({ authOrigin, audience, onSuccess }) {
|
|
|
903
903
|
}
|
|
904
904
|
let adapter;
|
|
905
905
|
try {
|
|
906
|
-
|
|
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"
|