Skip to content

Commit

Permalink
Fix caip25permission type
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Oct 15, 2024
1 parent c7f510e commit 4afa8f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/multichain/src/caip25Permission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ const specificationBuilder: PermissionSpecificationBuilder<
);
}

// TODO: FIX THIS TYPE
const { requiredScopes, optionalScopes, isMultichainOrigin } = (
caip25Caveat as unknown as { value: Caip25CaveatValue }
caip25Caveat.value as { value: Caip25CaveatValue }
).value;

if (
Expand Down

0 comments on commit 4afa8f8

Please sign in to comment.