Skip to content

Commit

Permalink
chore: mark zcf.reallocate() deprecated in types-ambient
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Sep 10, 2024
1 parent a9e951a commit ecb271b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/zoe/src/contractFacet/types-ambient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ type ZCF<CT extends unknown = Record<string, unknown>> = {
getOfferFilter: () => Promise<Array<string>>;
getInstance: () => Instance;
};

/**
* @deprecated Use atomicRearrange instead
*
* The contract can reallocate over seats, which commits the staged
* allocation for each seat. On commit, the staged allocation becomes
* the current allocation and the staged allocation is deleted.
Expand Down

0 comments on commit ecb271b

Please sign in to comment.