Skip to content

chore(contract): sync flipcash2 protos to b77bf78f - #29

Merged
bmc08gt merged 2 commits into
mainfrom
chore/sync-flipcash2-b77bf78f
Oct 23, 2026
Merged

bmc08gt merged 2 commits into
mainfrom
chore/sync-flipcash2-b77bf78f

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Syncs the contract to flipcash2-protobuf-api@b77bf78f (upstream #151, #152, #154, #155, #156) and adds the 0.21.0 changelog entry. Release as 0.21.0.

This upgrade breaks source for both apps: CashContent.amount became total_amount, and receiver became single_receiver inside a new oneof recipient. Field numbers are unchanged, so the wire format is not affected.

Contract changes

  • New paymentrequest.v1.PaymentRequest service: CreatePaymentRequest, GetPaymentRequest, GetChatPaymentRequests, ClosePaymentRequest, MarkPaid. The only kind today is a split in a group chat. It comes with a messaging.v1.PaymentRequestWidget (WidgetContent oneof field 3) and an intent.v1.ChatMetadata.requested_payment (oneof field 6).
  • messaging.v1.CashContent: the rename above, plus multi_receiver (oneof field 5, 2 to 10 Payments) and payment_request_id (field 6).
  • Chat moderation: SilenceUser, UnsilenceUser, BanUser, UnbanUser, GetRestrictedUsers. Also ViewerState.restrictions (field 3) and ViewerState.Permissions.moderation (field 2).
  • Appended enum cases: JoinChatResponse.Result.BANNED = 4 and EnterLobbyResponse.Result.BANNED = 6. Nothing was renumbered.
  • Docs only: reaction boosts are allowed in DMs, and ENCRYPTION_REQUIRED covers DMs.

App PRs

Both are drafts. They contain only the scaffolding and stay blocked until 0.21.0 is published and their pins move.

@bmc08gt bmc08gt self-assigned this Oct 23, 2026
@bmc08gt
bmc08gt merged commit a03eccd into main Oct 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant