Skip to content

Commit 0ee3ca0

Browse files
committed
chore: changeset
1 parent e0771f2 commit 0ee3ca0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.changeset/frank-pans-exist.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@codama/dynamic-parsers': patch
3+
---
4+
5+
Decode single-instruction programs that omit a discriminator in `parseInstructionData` / `parseInstruction`
6+
7+
`parseInstructionData` now falls back to decoding the single instruction directly when discriminator-based identification finds nothing and the program declares exactly one instruction with no discriminator (e.g. Memo program).

0 commit comments

Comments
 (0)