Skip to content

Commit

Permalink
chore: mark zcf.reallocate() deprecated in types-ambient (#10052)
Browse files Browse the repository at this point in the history
refs: #6678

## Description

We've already marked zcf.reallocate() as deprecated in many places, but I found another while searching on our docs site.

https://docs.agoric.com/reference/agoric-sdk/modules/agoric_zoe.src_contractFacet_types_ambient.html#type-declaration-4next/

### Security Considerations

None.

### Scaling Considerations

N/A

### Documentation Considerations

Cleaning up docs.

### Testing Considerations

N/A

### Upgrade Considerations

None.
  • Loading branch information
mergify[bot] committed Sep 10, 2024
2 parents a9e951a + ecb271b commit f9057b6
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 f9057b6

Please sign in to comment.