Skip to content

Commit

Permalink
Prettier formatting fixes to README
Browse files Browse the repository at this point in the history
  • Loading branch information
daidoji committed Nov 17, 2024
1 parent 0ccce5c commit d58ae43
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,29 @@ The code is built using Typescript and running code locally requires a Mac or Li
Typescript source files needs to be transpiled before running scripts or integration tests

- Build:

```bash
npm run build
```

- ready() must be called before library is useable. Example minimum viable client code.
- ready() must be called before library is useable. Example minimum viable client code.

```javascript
import { ready, SignifyClient, Tier } from 'signify-ts';
await ready();
const bran = '0'.repeat(21);
const url = 'http://127.0.0.1:3901';
const boot_url = 'http://127.0.0.1:3903';
const actualSignifyClient = new SignifyClient(url, bran, Tier.low, boot_url);
console.log(actualSignifyClient)
const actualSignifyClient = new SignifyClient(
url,
bran,
Tier.low,
boot_url
);
console.log(actualSignifyClient);
```
### Unit testing
Expand Down

0 comments on commit d58ae43

Please sign in to comment.