From f6d18d5ef30bb874072e6db993c82ce597842908 Mon Sep 17 00:00:00 2001 From: morizon Date: Wed, 18 Oct 2023 22:08:20 +0800 Subject: [PATCH] fix: xmr sdk load (#3657) --- .../engine/src/vaults/impl/xmr/sdk/moneroCore/moneroCore.js | 3 +++ .../engine/src/vaults/impl/xmr/sdk/moneroUtil/moneroUtil.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/packages/engine/src/vaults/impl/xmr/sdk/moneroCore/moneroCore.js b/packages/engine/src/vaults/impl/xmr/sdk/moneroCore/moneroCore.js index d120b28c16a..d33783d5ee2 100644 --- a/packages/engine/src/vaults/impl/xmr/sdk/moneroCore/moneroCore.js +++ b/packages/engine/src/vaults/impl/xmr/sdk/moneroCore/moneroCore.js @@ -8578,3 +8578,6 @@ else if (typeof define === 'function' && define['amd']) }); else if (typeof exports === 'object') exports['instantiate'] = MyMoneroLibAppCpp; + + +export default MyMoneroLibAppCpp; diff --git a/packages/engine/src/vaults/impl/xmr/sdk/moneroUtil/moneroUtil.js b/packages/engine/src/vaults/impl/xmr/sdk/moneroUtil/moneroUtil.js index cb07c3fd618..d835a7fb70d 100644 --- a/packages/engine/src/vaults/impl/xmr/sdk/moneroUtil/moneroUtil.js +++ b/packages/engine/src/vaults/impl/xmr/sdk/moneroUtil/moneroUtil.js @@ -818,3 +818,5 @@ else if (typeof define === 'function' && define['amd']) return instantiate; }); else if (typeof exports === 'object') exports['instantiate'] = instantiate; + +export default instantiate;