Skip to content

chore(contract): sync flipcash2 protos to 0300d252 and release 0.2.0 - #5

Merged
bmc08gt merged 2 commits into
mainfrom
chore/sync-flipcash2-0300d252
Aug 27, 2026
Merged

chore(contract): sync flipcash2 protos to 0300d252 and release 0.2.0#5
bmc08gt merged 2 commits into
mainfrom
chore/sync-flipcash2-0300d252

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Syncs the contract to flipcash2-protobuf-api@0300d252, the one commit between it and the previous pin.

Contract change

profile/v1/profile_service.proto gains SetMinDmChatInitFee on service Profile, setting the minimum fee another user must pay to initialize a DM chat with the caller. The request takes the fee as a required common.v1.FiatPaymentAmount on field 1 and the usual required common.v1.Auth on field 10, and it replaces whatever fee was already set rather than merging into it. SetMinDmChatInitFeeResponse.Result is a new enum: OK, DENIED, and INVALID_AMOUNT, the last covering an unsupported currency or an amount outside the allowed range.

profile/v1/model.proto gains UserProfile.min_dm_chat_init_fee, a common.v1.FiatPaymentAmount on field 10. It is public, so it comes back for any user rather than only the caller, and it is unset when the user has not set a fee, in which case the server default applies.

Nothing existing changed. No field number or enum value moved, and SetMinDmChatInitFeeResponse.Result is a new enum rather than a case added to an existing one, so no result enum a consumer already maps positionally renumbers. The generated Sources/ diff is additive apart from one regenerated name-map line.

Release

Publishes as 0.2.0. The CHANGELOG.md entry is in this PR rather than left to release time, since publish.yml uses that section as the release notes and refuses to publish a version without one.

Consumers

Both app PRs pin 0.2.0, which does not exist until this merges and publishes, so both are drafts and neither can pass CI before then. This PR is the only one of the three that can merge on its own.

Both were built green against this branch's checkout before it was pushed.

Picks up SetMinDmChatInitFee on the Profile service and the matching
UserProfile.min_dm_chat_init_fee field. Additive only, so no existing
field or enum case renumbers.
@bmc08gt bmc08gt self-assigned this Aug 27, 2026
@bmc08gt
bmc08gt merged commit 9f6e380 into main Aug 27, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the chore/sync-flipcash2-0300d252 branch August 27, 2026 17:57
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