Repository navigation
Stop projects sending credits through the Rotur bridge - #112
Merged
Merged
Conversation
me.transfer is no longer a method projects may call, so credits:transfer is no longer a scope a project can ask for. Paying in MistWarp goes through Rotur payment requests instead. The tests that used me.transfer as the example confirmed action use gifts.create.
Deploying scratch-gui with
|
| Latest commit: |
2b69d1a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0204a34b.scratch-gui.pages.dev |
| Branch Preview URL: | https://remove-me-transfer.scratch-gui.pages.dev |
mc20000-01
pushed a commit
to mc20000-01/scratch-gui
that referenced
this pull request
Nov 7, 2026
Stop projects sending credits through the Rotur bridge
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.
Removes
me.transferfrom the Rotur methods a project may call (src/lib/rotur/project-methods.js). With it gone,credits:transferis no longer a project scope either: the scopes are worked out from the methods, so a project asking for it gets "Projects cannot ask for that Rotur permission". MistWarp's own payments move to Rotur payment requests in #108, which also removes the lastcredits:transferpaths (sendCommercePayment,payUserand the packaged game shop).What this changes for projects:
src/extensions/rotur/index.js), and removing it there is a separate change. Until then the allowlist test skips it, with a comment saying why.The consent modal's "Confirm payment" layout is no longer used by any project method. I left it in place, since it's generic.
Testing
npx jest test/unit/rotur-* test/unit/community-project-rotur-bridge.test.jsx test/unit/packager-account.test.js: 101 tests pass. There's a new test thatme.transferis refused. The tests that usedme.transferas the example of a confirmed action now usegifts.create.No screenshots: nothing visible changes.