diff --git a/app/root.js b/app/root.js index ee84d16..6052647 100644 --- a/app/root.js +++ b/app/root.js @@ -42,7 +42,7 @@ AppRoot.prototype.render = function () { h('h1', `MetaMask Vault Decryptor`), h('a', { - href: 'https://metamask.zendesk.com/hc/en-us/articles/360018766351-How-to-use-the-Vault-Decryptor-with-the-MetaMask-Vault-Data', + href: 'https://support.metamask.io/configure/wallet/how-to-recover-your-secret-recovery-phrase/#vault-extraction-and-decryption-instructions', target: '_blank' }, 'How to use the Vault Decryptor with the MetaMask Vault Data'), h('br'), diff --git a/bundle.js b/bundle.js index abd7873..999e97e 100644 --- a/bundle.js +++ b/bundle.js @@ -204,7 +204,7 @@ AppRoot.prototype.render = function () { return h('.content', [h('div', { style: {} }, [h('h1', "MetaMask Vault Decryptor"), h('a', { - href: 'https://metamask.zendesk.com/hc/en-us/articles/360018766351-How-to-use-the-Vault-Decryptor-with-the-MetaMask-Vault-Data', + href: 'https://support.metamask.io/configure/wallet/how-to-recover-your-secret-recovery-phrase/#vault-extraction-and-decryption-instructions', target: '_blank' }, 'How to use the Vault Decryptor with the MetaMask Vault Data'), h('br'), h('a', { href: 'https://github.com/MetaMask/vault-decryptor' @@ -42326,31 +42326,31 @@ const initStateUpdates = () => EMPTY_ARRAY; function strictEqual(a, b) { return a === b; } -/** - * Infers the type of props that a connector will inject into a component. +/** + * Infers the type of props that a connector will inject into a component. */ let hasWarnedAboutDeprecatedPureOption = false; -/** - * Connects a React component to a Redux store. - * - * - Without arguments, just wraps the component, without changing the behavior / props - * - * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior - * is to override ownProps (as stated in the docs), so what remains is everything that's - * not a state or dispatch prop - * - * - When 3rd param is passed, we don't know if ownProps propagate and whether they - * should be valid component props, because it depends on mergeProps implementation. - * As such, it is the user's responsibility to extend ownProps interface from state or - * dispatch props or both when applicable - * - * @param mapStateToProps A function that extracts values from state - * @param mapDispatchToProps Setup for dispatching actions - * @param mergeProps Optional callback to merge state and dispatch props together - * @param options Options for configuring the connection - * +/** + * Connects a React component to a Redux store. + * + * - Without arguments, just wraps the component, without changing the behavior / props + * + * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior + * is to override ownProps (as stated in the docs), so what remains is everything that's + * not a state or dispatch prop + * + * - When 3rd param is passed, we don't know if ownProps propagate and whether they + * should be valid component props, because it depends on mergeProps implementation. + * As such, it is the user's responsibility to extend ownProps interface from state or + * dispatch props or both when applicable + * + * @param mapStateToProps A function that extracts values from state + * @param mapDispatchToProps Setup for dispatching actions + * @param mergeProps Optional callback to merge state and dispatch props together + * @param options Options for configuring the connection + * */ function connect(mapStateToProps, mapDispatchToProps, mergeProps, { @@ -43017,11 +43017,11 @@ var _Context = require("../components/Context"); var _useStore = require("./useStore"); -/** - * Hook factory, which creates a `useDispatch` hook bound to a given context. - * - * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. - * @returns {Function} A `useDispatch` hook bound to the specified context. +/** + * Hook factory, which creates a `useDispatch` hook bound to a given context. + * + * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. + * @returns {Function} A `useDispatch` hook bound to the specified context. */ function createDispatchHook(context = _Context.ReactReduxContext) { const useStore = // @ts-ignore @@ -43032,26 +43032,26 @@ function createDispatchHook(context = _Context.ReactReduxContext) { return store.dispatch; }; } -/** - * A hook to access the redux `dispatch` function. - * - * @returns {any|function} redux store's `dispatch` function - * - * @example - * - * import React, { useCallback } from 'react' - * import { useDispatch } from 'react-redux' - * - * export const CounterComponent = ({ value }) => { - * const dispatch = useDispatch() - * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), []) - * return ( - *
- * {value} - * - *
- * ) - * } +/** + * A hook to access the redux `dispatch` function. + * + * @returns {any|function} redux store's `dispatch` function + * + * @example + * + * import React, { useCallback } from 'react' + * import { useDispatch } from 'react-redux' + * + * export const CounterComponent = ({ value }) => { + * const dispatch = useDispatch() + * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), []) + * return ( + *
+ * {value} + * + *
+ * ) + * } */ @@ -43068,21 +43068,21 @@ var _react = require("react"); var _Context = require("../components/Context"); -/** - * A hook to access the value of the `ReactReduxContext`. This is a low-level - * hook that you should usually not need to call directly. - * - * @returns {any} the value of the `ReactReduxContext` - * - * @example - * - * import React from 'react' - * import { useReduxContext } from 'react-redux' - * - * export const CounterComponent = () => { - * const { store } = useReduxContext() - * return
{store.getState()}
- * } +/** + * A hook to access the value of the `ReactReduxContext`. This is a low-level + * hook that you should usually not need to call directly. + * + * @returns {any} the value of the `ReactReduxContext` + * + * @example + * + * import React from 'react' + * import { useReduxContext } from 'react-redux' + * + * export const CounterComponent = () => { + * const { store } = useReduxContext() + * return
{store.getState()}
+ * } */ function useReduxContext() { const contextValue = (0, _react.useContext)(_Context.ReactReduxContext); @@ -43119,11 +43119,11 @@ const initializeUseSelector = fn => { exports.initializeUseSelector = initializeUseSelector; const refEquality = (a, b) => a === b; -/** - * Hook factory, which creates a `useSelector` hook bound to a given context. - * - * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. - * @returns {Function} A `useSelector` hook bound to the specified context. +/** + * Hook factory, which creates a `useSelector` hook bound to a given context. + * + * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. + * @returns {Function} A `useSelector` hook bound to the specified context. */ @@ -43154,28 +43154,28 @@ function createSelectorHook(context = _Context.ReactReduxContext) { return selectedState; }; } -/** - * A hook to access the redux store's state. This hook takes a selector function - * as an argument. The selector is called with the store state. - * - * This hook takes an optional equality comparison function as the second parameter - * that allows you to customize the way the selected state is compared to determine - * whether the component needs to be re-rendered. - * - * @param {Function} selector the selector function - * @param {Function=} equalityFn the function that will be used to determine equality - * - * @returns {any} the selected state - * - * @example - * - * import React from 'react' - * import { useSelector } from 'react-redux' - * - * export const CounterComponent = () => { - * const counter = useSelector(state => state.counter) - * return
{counter}
- * } +/** + * A hook to access the redux store's state. This hook takes a selector function + * as an argument. The selector is called with the store state. + * + * This hook takes an optional equality comparison function as the second parameter + * that allows you to customize the way the selected state is compared to determine + * whether the component needs to be re-rendered. + * + * @param {Function} selector the selector function + * @param {Function=} equalityFn the function that will be used to determine equality + * + * @returns {any} the selected state + * + * @example + * + * import React from 'react' + * import { useSelector } from 'react-redux' + * + * export const CounterComponent = () => { + * const counter = useSelector(state => state.counter) + * return
{counter}
+ * } */ @@ -43195,11 +43195,11 @@ var _Context = require("../components/Context"); var _useReduxContext = require("./useReduxContext"); -/** - * Hook factory, which creates a `useStore` hook bound to a given context. - * - * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. - * @returns {Function} A `useStore` hook bound to the specified context. +/** + * Hook factory, which creates a `useStore` hook bound to a given context. + * + * @param {React.Context} [context=ReactReduxContext] Context passed to your ``. + * @returns {Function} A `useStore` hook bound to the specified context. */ function createStoreHook(context = _Context.ReactReduxContext) { const useReduxContext = // @ts-ignore @@ -43212,20 +43212,20 @@ function createStoreHook(context = _Context.ReactReduxContext) { return store; }; } -/** - * A hook to access the redux store. - * - * @returns {any} the redux store - * - * @example - * - * import React from 'react' - * import { useStore } from 'react-redux' - * - * export const ExampleComponent = () => { - * const store = useStore() - * return
{store.getState()}
- * } +/** + * A hook to access the redux store. + * + * @returns {any} the redux store + * + * @example + * + * import React from 'react' + * import { useStore } from 'react-redux' + * + * export const ExampleComponent = () => { + * const store = useStore() + * return
{store.getState()}
+ * } */ @@ -43458,9 +43458,9 @@ function bindActionCreators(actionCreators, dispatch) { exports.__esModule = true; exports.default = isPlainObject; -/** - * @param {any} obj The object to inspect. - * @returns {boolean} True if the argument appears to be a plain object. +/** + * @param {any} obj The object to inspect. + * @returns {boolean} True if the argument appears to be a plain object. */ function isPlainObject(obj) { if (typeof obj !== 'object' || obj === null) return false; @@ -43574,11 +43574,11 @@ function verifyPlainObject(value, displayName, methodName) { exports.__esModule = true; exports.default = warning; -/** - * Prints a warning in the console if it exists. - * - * @param {String} message The warning message. - * @returns {void} +/** + * Prints a warning in the console if it exists. + * + * @param {String} message The warning message. + * @returns {void} */ function warning(message) { /* eslint-disable no-console */ @@ -46393,8 +46393,8 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = void 0; -/** A function that accepts a potential "extra argument" value to be injected later, - * and returns an instance of the thunk middleware that uses that value +/** A function that accepts a potential "extra argument" value to be injected later, + * and returns an instance of the thunk middleware that uses that value */ function createThunkMiddleware(extraArgument) { // Standard Redux middleware definition pattern: