chore: bee-js 3.2.0 + cleanup

pull/2134/head
Attila Gazso 3 years ago committed by yann300
parent bddb5f96e8
commit af24482499
  1. 21
      libs/remix-ui/settings/src/lib/remix-ui-settings.tsx
  2. 18
      package-lock.json
  3. 2
      package.json

@ -203,19 +203,6 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
)
const themes = () => {
const themes = props._deps.themeModule.getThemes()
if (themes) {
return themes.map((aTheme, index) => (
<div className="radio custom-control custom-radio mb-1 form-check" key={index}>
<input type="radio" onChange={event => { onswitchTheme(event, aTheme.name) }} className="align-middle custom-control-input" name='theme' id={aTheme.name} data-id={`settingsTabTheme${aTheme.name}`} checked = {props._deps.themeModule.active === aTheme.name }/>
<label className="form-check-label custom-control-label" data-id={`settingsTabThemeLabel${aTheme.name}`} htmlFor={aTheme.name}>{aTheme.name} ({aTheme.quality})</label>
</div>
)
)
}
}
return (
<div>
{state.message ? <Toaster message= {state.message}/> : null}
@ -223,14 +210,6 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
{gistToken()}
{swarmSettings()}
<RemixUiThemeModule themeModule={props._deps.themeModule} />
<div className="border-top">
<div className="card-body pt-3 pb-2">
<h6 className="card-title">Themes</h6>
<div className="card-text themes-container">
{themes()}
</div>
</div>
</div>
</div>
)
}

18
package-lock.json generated

@ -2928,9 +2928,9 @@
}
},
"@ethersphere/bee-js": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@ethersphere/bee-js/-/bee-js-2.1.1.tgz",
"integrity": "sha512-RMEag5Ciq4hnQkDq0WuOwzRKRaUtT9satyEajwCZXRw4iJPHw31KyYNo4nBz1EJqbP+GUejUevbSeFUXmzxuGQ==",
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@ethersphere/bee-js/-/bee-js-3.2.0.tgz",
"integrity": "sha512-ZVcbl8dsytx07+SxTmsKSn0X1zojR7vMb0uxQ+fGk05JHFNGBY2Qv/5AP7rI/SqGWDjHWIMB8Ww+ErURdyFXqA==",
"requires": {
"@types/readable-stream": "^2.3.11",
"bufferutil": "^4.0.3",
@ -2942,9 +2942,19 @@
"ky-universal": "^0.8.2",
"readable-stream": "^3.6.0",
"tar-js": "^0.3.0",
"utf-8-validate": "^5.0.5",
"utf-8-validate": "^5.0.8",
"web-streams-polyfill": "^3.1.0",
"ws": "^7.5.0"
},
"dependencies": {
"utf-8-validate": {
"version": "5.0.8",
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.8.tgz",
"integrity": "sha512-k4dW/Qja1BYDl2qD4tOMB9PFVha/UJtxTc1cXYOe3WwA/2m0Yn4qB7wLMpJyLJ/7DR0XnTut3HsCSzDT4ZvKgA==",
"requires": {
"node-gyp-build": "^4.3.0"
}
}
}
},
"@ethersproject/abi": {

@ -149,7 +149,7 @@
"@ethereumjs/common": "^2.5.0",
"@ethereumjs/tx": "^3.3.2",
"@ethereumjs/vm": "^5.5.3",
"@ethersphere/bee-js": "^2.0.0",
"@ethersphere/bee-js": "^3.2.0",
"@isomorphic-git/lightning-fs": "^4.4.1",
"@monaco-editor/react": "^4.3.1",
"@remixproject/engine": "^0.3.28",

Loading…
Cancel
Save