chore(contract): sync flipcash2 protos to 0300d252 and release 0.2.0 - #5
Merged
Conversation
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.
This was referenced Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs the contract to
flipcash2-protobuf-api@0300d252, the one commit between it and the previous pin.Contract change
profile/v1/profile_service.protogainsSetMinDmChatInitFeeonservice Profile, setting the minimum fee another user must pay to initialize a DM chat with the caller. The request takes the fee as a requiredcommon.v1.FiatPaymentAmounton field 1 and the usual requiredcommon.v1.Authon field 10, and it replaces whatever fee was already set rather than merging into it.SetMinDmChatInitFeeResponse.Resultis a new enum:OK,DENIED, andINVALID_AMOUNT, the last covering an unsupported currency or an amount outside the allowed range.profile/v1/model.protogainsUserProfile.min_dm_chat_init_fee, acommon.v1.FiatPaymentAmounton 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.Resultis a new enum rather than a case added to an existing one, so no result enum a consumer already maps positionally renumbers. The generatedSources/diff is additive apart from one regenerated name-map line.Release
Publishes as
0.2.0. TheCHANGELOG.mdentry is in this PR rather than left to release time, sincepublish.ymluses 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.