Skip to content

Commit

Permalink
Update README.md with randomPasscode
Browse files Browse the repository at this point in the history
randomPasscode added to example to make new users aware.
  • Loading branch information
daidoji authored Nov 18, 2024
1 parent d58ae43 commit cb7663d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ Typescript source files needs to be transpiled before running scripts or integra
- ready() must be called before library is useable. Example minimum viable client code.

```javascript
import { ready, SignifyClient, Tier } from 'signify-ts';
import { randomPasscode, ready, SignifyClient, Tier } from 'signify-ts';
await ready();
const bran = '0'.repeat(21);
const bran = randomPasscode(); // Shared secret with keria
const url = 'http://127.0.0.1:3901';
const boot_url = 'http://127.0.0.1:3903';
const actualSignifyClient = new SignifyClient(
Expand Down

0 comments on commit cb7663d

Please sign in to comment.