zerodevapp / capabilities-examples

2 stars 0 forks source link

TypeError: undefined is not an object (evaluating 'permission.policies.map') #1

Closed tuler closed 9 hours ago

tuler commented 2 weeks ago

After the upgrade to viem 2.16.3 and the new policies API the session-keys example does not work anymore.

tuler commented 2 weeks ago

Even if we change the call to add a policies: [] field to the grantPermissions call at line 61, viem expects a policies field in the wallet grantedPermissions response. But there is none.

tuler commented 1 day ago

Any news on this issue?

jstinhw commented 9 hours ago

It should be fixed with the latest fix.

Please reopen the issue if it's not the case