From ecb271bf2dea26c91ff86f05d74d2423a8832696 Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Mon, 9 Sep 2024 17:16:31 -0700 Subject: [PATCH] chore: mark zcf.reallocate() deprecated in types-ambient It's visible with a search https://docs.agoric.com/reference/agoric-sdk/modules/agoric_zoe.src_contractFacet_types_ambient.html#type-declaration-4next/ --- packages/zoe/src/contractFacet/types-ambient.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/zoe/src/contractFacet/types-ambient.d.ts b/packages/zoe/src/contractFacet/types-ambient.d.ts index 255e7e81298..d7de2903eb6 100644 --- a/packages/zoe/src/contractFacet/types-ambient.d.ts +++ b/packages/zoe/src/contractFacet/types-ambient.d.ts @@ -85,7 +85,10 @@ type ZCF> = { getOfferFilter: () => Promise>; 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.