diff --git a/packages/wasm/package.json b/packages/wasm/package.json index 61e9eecd..583448fd 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -11,9 +11,6 @@ "build:babel": "rm -rf lib && NODE_ENV=production babel src/ --out-dir lib --copy-files", "build": "rm -rf lib && rollup -c" }, - "peerDependencies": { - "realm": "^10.10.1" - }, "resolutions": { "@polkadot/wasm-crypto": "6.3.1", "@polkadot/rpc-core": "9.7.1", diff --git a/packages/wasm/src/modules/wallet.js b/packages/wasm/src/modules/wallet.js index d71e4f90..4919e46b 100644 --- a/packages/wasm/src/modules/wallet.js +++ b/packages/wasm/src/modules/wallet.js @@ -1,6 +1,6 @@ import assert from 'assert'; import {v4 as uuid} from 'uuid'; -import {clearCacheData, getRealm, initRealm} from '../core/realm'; +import {clearCacheData, getRealm} from '../core/realm'; import {getStorage} from '../core/storage'; import {dockService} from '../services/dock'; import {keyringService} from '../services/keyring'; @@ -130,7 +130,6 @@ class Wallet { await shouldMockStorage(this.walletId); try { - // await initRealm(); await utilCryptoService.cryptoWaitReady(); await keyringService.initialize({ ss58Format: this.networkManager.getNetworkInfo().addressPrefix,