Skip to content

Conversation

VGabriel45
Copy link
Contributor

Fix for fee option permissions and reduce api call

Ticket link: https://github.com/0xsequence/issue-tracker/issues/5946

API breaking changes:

  • Yes
  • No
  • [ ]
    Manual testing required:
  • Yes
  • No

Docs changes required:

  • Yes
  • No

Description

When creating permissions for fee options, "cumulative" should be false for the "to" address which is the relayer payment address, otherwise it will only allow paying once with the token.

tolgahan-arikan and others added 30 commits August 5, 2025 17:23
* move package json deps

* linting
…496)

* session permissions utils, fee options handling, testing + bug fixes

* fix comments

* refactor improvements

* export Session from @0xsequence/connect

* use ExplicitSession type
* update deps, types and add modifySession

* fix default fee options in connector

* Update sequence packages

---------

Co-authored-by: Tolgahan Arikan <[email protected]>
tolgahan-arikan and others added 7 commits September 24, 2025 14:12
* remove dependency on ethers

* replace hardcoded wordlist with one from viem
#527)

* added includeFeeOptionPermissions to addExplicitSession

* update dapp-client package

* add value forwarder for native fee option
* add includeFeeOptionPermissions flag

* remove console log

* use getFeeTokens from dapp-client instead of relayer api

* added GetFeeTokensResponse type
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.

2 participants