Skip to content

Commit 4a6356f

Browse files
refactor: update verify certification params interface name
Co-authored-by: Kepler Vital <[email protected]>
1 parent 3a650f8 commit 4a6356f

File tree

1 file changed

+2
-2
lines changed
  • packages/certificate-verification-js/src

1 file changed

+2
-2
lines changed

packages/certificate-verification-js/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Principal } from '@dfinity/principal';
99
import { PipeArrayBuffer, lebDecode } from '@dfinity/candid';
1010
import { CertificateTimeError, CertificateVerificationError } from './error';
1111

12-
export interface CertificationParams {
12+
export interface VerifyCertificationParams {
1313
canisterId: Principal;
1414
encodedCertificate: ArrayBuffer;
1515
encodedTree: ArrayBuffer;
@@ -23,7 +23,7 @@ export async function verifyCertification({
2323
encodedTree,
2424
rootKey,
2525
maxCertificateTimeOffsetMs,
26-
}: CertificationParams): Promise<HashTree> {
26+
}: VerifyCertificationParams): Promise<HashTree> {
2727
const certificate = await Certificate.create({
2828
certificate: encodedCertificate,
2929
canisterId,

0 commit comments

Comments
 (0)