
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@kodadot1/vuex-options
Advanced tools
yarn add @kodadot1/vue-settings
Name | Description |
---|---|
apiUrl | Selected Url |
i18nLang | Selected language |
locking | Selected Locking |
prefix | Prefix |
uiMode | UI Mode |
uiTheme | UI Theme |
avaibleOptions | Object of all avaible options |
Name | Description | Params | Types |
---|---|---|---|
setSettings | Set settings | settings | SettingsStruct |
Name | Description | Returns |
---|---|---|
availableNodes | List of Nodes | Option[] |
availableLanguages | List of Languages | Option[] |
availableCryptos | List of Cryptographic modes | Option[] |
availableLocking | List of Locking | Option[] |
availablePrefixes | List of Prefixes | Option[] |
availableUiModes | List of UI Modes | Option[] |
availableUiThemes | List of UI Themes | Option[] |
getSettings | Object of all avaible options | SettingsStruct |
import SettingModule
to your store as module
import Vue from 'vue'
import Vuex from 'vuex'
import SettingModule from '@vue-polkadot/vue-settings'
Vue.use(Vuex)
export default new Vuex.Store({
modules: {
setting: SettingModule,
},
})
now you can use getters and actions inside your component (Using Vue with typescript)
<template>
<div>
<div v-for="option in options">
<span>{{option.value}}</span>
<span>{{option.text}}</span>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
@Component
export default class App extends Vue {
// Getter is like computed
get options(): Option[] {
return this.$store.getters.availableNodes
}
}
</script>
FAQs
Polkadot Settings for KodaDot
The npm package @kodadot1/vuex-options receives a total of 44 weekly downloads. As such, @kodadot1/vuex-options popularity was classified as not popular.
We found that @kodadot1/vuex-options demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.