From 26741d20d4718de2508355c34048a70675c4a9ea Mon Sep 17 00:00:00 2001 From: 0xPatrick Date: Tue, 9 Jul 2024 23:10:49 -0400 Subject: [PATCH] feat(contractSupport): storagePath pattern accepts string or promise --- packages/zoe/src/contractSupport/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zoe/src/contractSupport/topics.js b/packages/zoe/src/contractSupport/topics.js index 350b378e1a1b..8f1f15283e13 100644 --- a/packages/zoe/src/contractSupport/topics.js +++ b/packages/zoe/src/contractSupport/topics.js @@ -7,7 +7,7 @@ export { SubscriberShape }; export const PublicTopicShape = M.splitRecord( { subscriber: SubscriberShape, - storagePath: M.promise(/* string */), + storagePath: M.or(M.promise(/* string */), M.string()), }, { description: M.string() }, );