Skip to content

Commit

Permalink
allow close after orderstatus
Browse files Browse the repository at this point in the history
  • Loading branch information
kirahsapong committed Mar 6, 2024
1 parent 67d58b9 commit b34a436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/protocol/src/message-kinds/order-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type CreateOrderStatusOptions = {
*/
export class OrderStatus extends Message {
/** a set of valid Message kinds that can come after an order status */
readonly validNext = new Set<MessageKind>(['orderstatus'])
readonly validNext = new Set<MessageKind>(['orderstatus', 'close'])
/** The message kind (orderstatus) */
readonly kind = 'orderstatus'

Expand Down

0 comments on commit b34a436

Please sign in to comment.