Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@connected-home/redux-persist-transform-encrypt
Advanced tools
Encrypt your Redux store.
import { persistReducer } from 'redux-persist'
import createEncryptor from 'redux-persist-transform-encrypt'
const encryptor = createEncryptor({
secretKey: 'my-super-secret-key',
onError: function(error) {
// Handle the error.
}
})
const reducer = persistReducer(
{
transforms: [encryptor]
},
baseReducer
)
Note: Asynchronous support is still a work in progress.
import { persistReducer } from 'redux-persist'
import createAsyncEncryptor from 'redux-persist-transform-encrypt/async'
const asyncEncryptor = createAsyncEncryptor({
secretKey: 'my-super-secret-key'
})
const reducer = persistReducer(
{
transforms: [asyncEncryptor]
},
baseReducer
)
The onError
property given to the createEncryptor
options is an optional
function that receives an Error
object as its only parameter. This allows
custom error handling from the parent application.
FAQs
Encrypt your Redux store.
The npm package @connected-home/redux-persist-transform-encrypt receives a total of 15 weekly downloads. As such, @connected-home/redux-persist-transform-encrypt popularity was classified as not popular.
We found that @connected-home/redux-persist-transform-encrypt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
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.