How to use the @liskhq/lisk-passphrase.validation.getPassphraseValidationErrors function in @liskhq/lisk-passphrase

To help you get started, we’ve selected a few @liskhq/lisk-passphrase examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LiskHQ / lisk-sdk-examples / invoice / client / src / components / SignInPage.js View on Github external
const onPasshraseChange = (evt) => {
    const { value } = evt.target;
    const errors = validation.getPassphraseValidationErrors(value);
    setState({
      passphrase: value,
      error: errors[0] ? errors[0].message : '',
    });
  };

@liskhq/lisk-passphrase

Mnemonic passphrase helpers for use with Lisk-related software

Apache-2.0
Latest version published 1 year ago

Package Health Score

59 / 100
Full package analysis