Skip to content

Commit

Permalink
chore: fix the param type of getInstance, getInstallation... (#1758)
Browse files Browse the repository at this point in the history
* chore: fix the param type of getInstance, getInstallation, getInvitationDetails. All can accept a promise for a invitation

* chore: change to ERef
  • Loading branch information
katelynsills authored Sep 15, 2020
1 parent d25052d commit febe37a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/zoe/src/zoeService/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
* @property {(instance: Instance) => IssuerKeywordRecord} getIssuers
* @property {(instance: Instance) => BrandKeywordRecord} getBrands
* @property {(instance: Instance) => Object} getTerms
* @property {(invitation: Invitation) => Promise<Instance>} getInstance
* @property {(invitation: Invitation) => Promise<Installation>} getInstallation
* @property {(invitation: Invitation) => Promise<InvitationDetails>}
* @property {(invitation: ERef<Invitation>) => Promise<Instance>} getInstance
* @property {(invitation: ERef<Invitation>) => Promise<Installation>} getInstallation
* @property {(invitation: ERef<Invitation>) => Promise<InvitationDetails>}
* getInvitationDetails - return an object with the instance,
* installation, description, invitation handle, and any custom properties
* specific to the contract.
Expand Down

0 comments on commit febe37a

Please sign in to comment.