Skip to content

Commit

Permalink
chore: Update the SDK for website & explorer (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
alainncls authored Jan 9, 2024
1 parent 8a887ec commit 0d9322f
Show file tree
Hide file tree
Showing 5 changed files with 128 additions and 163 deletions.
2 changes: 1 addition & 1 deletion explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dependencies": {
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@tanstack/react-table": "^8.10.7",
"@verax-attestation-registry/verax-sdk": "1.0.2",
"@verax-attestation-registry/verax-sdk": "1.1.0",
"@wagmi/core": "^1.4.7",
"abitype": "^0.10.3",
"class-variance-authority": "^0.7.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const getAttestationData = (decodedPayload: unknown): string => {
decodedPayload = Array.isArray(decodedPayload) && decodedPayload.length === 1 ? decodedPayload[0] : decodedPayload;
return JSON.stringify(decodedPayload, (_key, value) => (typeof value === "bigint" ? value.toString() : value));
};

Expand Down
Loading

0 comments on commit 0d9322f

Please sign in to comment.