Skip to content

Commit

Permalink
fixed typing and renamed new function
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpack94 committed Jul 13, 2020
1 parent dc64316 commit 4df9671
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/interfaces/DragonchainClientInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1238,10 +1238,10 @@ export interface PermissionsDocument {
}

export interface EternalReportV1 {
l1Transaction: L1DragonchainTransactionFull,
l1Block: BlockSchemaType,
l2Verifications: L2BlockAtRest[],
l3Verifications: L3BlockAtRest[],
l4Verifications: L4BlockAtRest[],
l5Verifications: L5BlockAtRest[]
l1Transaction: L1DragonchainTransactionFull;
l1Block: BlockSchemaType;
l2Verifications: L2BlockAtRest[];
l3Verifications: L3BlockAtRest[];
l4Verifications: L4BlockAtRest[];
l5Verifications: L5BlockAtRest[];
}
6 changes: 3 additions & 3 deletions src/services/dragonchain-client/DragonchainClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1439,9 +1439,9 @@ export class DragonchainClient {
};

/**
* Generate an Eternal-type report given a transaction ID
* Get/Generate an Eternal-type report given a transaction ID
*/
public generateEternalReport = async (options: {
public getEternalReport = async (options: {
/**
* the transaction ID of the transaction to generate report for
*/
Expand All @@ -1462,7 +1462,7 @@ export class DragonchainClient {
l4Verifications: verifications.response && verifications.response['4'],
l5Verifications: verifications.response && verifications.response['5'],
} as EternalReportV1;
}
};

/**
* @hidden
Expand Down

0 comments on commit 4df9671

Please sign in to comment.