Skip to content

Commit

Permalink
feat: refactored pda class and added crypto methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth9890 committed Jun 20, 2024
1 parent 8c5f81d commit 0c471a0
Show file tree
Hide file tree
Showing 21 changed files with 5,031 additions and 6,394 deletions.
4 changes: 2 additions & 2 deletions __mocks__/v3/proof.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export const ProofMockService = (proof: Proof) => ({
}),

getProofsByPDAIdsMock: jest
.spyOn(proof.sdk, 'proofsByPDAIds_query')
.spyOn(proof.sdk, 'proofsByPDA_query')
.mockResolvedValue({
proofsByPDAIds: [proofStub()],
proofsByPDA: [proofStub()],
}),

getReceivedProofsMock: jest
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"encoding": "^0.1.13",
"ethers": "^5.7.2",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0"
"graphql-request": "^6.1.0",
"node-forge": "^1.3.1"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
Expand All @@ -52,6 +53,7 @@
"@graphql-tools/utils": "^10.1.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.4",
"@types/node-forge": "^1.3.11",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"change-case": "^5.4.3",
"dts-minify": "^0.3.2",
Expand Down
Loading

0 comments on commit 0c471a0

Please sign in to comment.