Skip to content

Commit

Permalink
feat(contractSupport): storagePath pattern accepts string or promise
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Jul 10, 2024
1 parent c7f236a commit 26741d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zoe/src/contractSupport/topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() },
);
Expand Down

0 comments on commit 26741d2

Please sign in to comment.