![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@soramitsu/soraneo-wallet-web
Advanced tools
You should set vuex storage and endpoint to blockchain url when using it as a vue plugin:
import Vue from 'vue'
import Wallet, { connection } from '@soramitsu/soraneo-wallet-web'
import store from '@/store'
import * as env from '../../public/env.json'
connection.endpoint = env.BLOCKCHAIN_URL
Vue.use(Wallet, { store })
You can also use storage
instance to interact with wallet data:
import { storage } from '@soramitsu/soraneo-wallet-web'
If you want to change some default wallet permissions, pass related object to initWallet
function.
Here is example with default permissions:
const permissions = {
sendAssets: true, // enable 'send' button in assets list
swapAssets: true, // enable 'swap' button in assets list
}
initWallet({ permissions })
Also, you need to unsubscribe from events of balances updates and txs statuses sync when Vue root component will be destroyed.
import { Action } from 'vuex-class'
@Action resetActiveTransactions
@Action resetAccountAssetsSubscription
@Action resetRuntimeVersionSubscription
@Action resetFiatPriceAndApySubscription
beforeDestroy (): void {
this.resetActiveTransactions()
this.resetAccountAssetsSubscription()
this.resetRuntimeVersionSubscription()
this.resetFiatPriceAndApySubscription()
}
yarn install
yarn serve
yarn build
yarn test:unit
yarn test:e2e
yarn lint
To run desktop version in the browser window, please change isElectron flag in src/store/settings/state.ts
FAQs
## How to use
The npm package @soramitsu/soraneo-wallet-web receives a total of 177 weekly downloads. As such, @soramitsu/soraneo-wallet-web popularity was classified as not popular.
We found that @soramitsu/soraneo-wallet-web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.