Skip to content

Commit

Permalink
Update permissions response schema
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Sep 27, 2024
1 parent 996750e commit 05d823f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/request/types/walletMethods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export type GetWalletType = MethodParamsAndResult<

export const getCurrentPermissionsMethodName = 'wallet_getCurrentPermissions';
export const getCurrentPermissionsParamsSchema = v.nullish(v.null());
export const getCurrentPermissionsResultSchema = v.array(permissions.schemas.permission);
export const getCurrentPermissionsResultSchema = v.array(
v.object({ ...permissions.schemas.permission.entries, resource: permissions.schemas.resource })
);
export const getCurrentPermissionsRequestMessageSchema = v.object({
...rpcRequestMessageSchema.entries,
...v.object({
Expand Down

0 comments on commit 05d823f

Please sign in to comment.