Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd committed Feb 27, 2024
1 parent 08a6aa2 commit fab1d80
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/class/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

Reference guide for the `EscrowAccount` class API.

- [EscrowAccount Config](#escrowaccount-config)
- [EscrowAccount Class](#escrowaccount-class)
- [Config Interface](#config-interface)
- [Class Interface](#class-interface)

---
> Notice any mistakes, or something missing? Please let us know!
> You can submit an issue here: [Submit Issue](https://github.com/BitEscrow/escrow-core/issues/new/choose)
---

## EscrowAccount Config
## Config Interface

Configuration interface for the `EscrowAccount` class.

Expand All @@ -22,7 +22,7 @@ interface EscrowAccountConfig {
}
```

## EscrowAccount Class
## Class Interface

```ts
class EscrowAccount extends EventEmitter<{
Expand Down Expand Up @@ -83,4 +83,4 @@ class EscrowAccount extends EventEmitter<{
toJSON () : DepositAccount
toString () : string
}
```
```
4 changes: 4 additions & 0 deletions src/client/class/signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ export class EscrowSigner {
return this._signer.pubkey
}

get xpub () {
return this._wallet.xpub
}

account = account_api(this)
credential = member_api(this)
draft = draft_api(this)
Expand Down

0 comments on commit fab1d80

Please sign in to comment.