Skip to content

Commit 4df9671

Browse files
committed
fixed typing and renamed new function
1 parent dc64316 commit 4df9671

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/interfaces/DragonchainClientInterfaces.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,10 +1238,10 @@ export interface PermissionsDocument {
12381238
}
12391239

12401240
export interface EternalReportV1 {
1241-
l1Transaction: L1DragonchainTransactionFull,
1242-
l1Block: BlockSchemaType,
1243-
l2Verifications: L2BlockAtRest[],
1244-
l3Verifications: L3BlockAtRest[],
1245-
l4Verifications: L4BlockAtRest[],
1246-
l5Verifications: L5BlockAtRest[]
1241+
l1Transaction: L1DragonchainTransactionFull;
1242+
l1Block: BlockSchemaType;
1243+
l2Verifications: L2BlockAtRest[];
1244+
l3Verifications: L3BlockAtRest[];
1245+
l4Verifications: L4BlockAtRest[];
1246+
l5Verifications: L5BlockAtRest[];
12471247
}

src/services/dragonchain-client/DragonchainClient.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,9 +1439,9 @@ export class DragonchainClient {
14391439
};
14401440

14411441
/**
1442-
* Generate an Eternal-type report given a transaction ID
1442+
* Get/Generate an Eternal-type report given a transaction ID
14431443
*/
1444-
public generateEternalReport = async (options: {
1444+
public getEternalReport = async (options: {
14451445
/**
14461446
* the transaction ID of the transaction to generate report for
14471447
*/
@@ -1462,7 +1462,7 @@ export class DragonchainClient {
14621462
l4Verifications: verifications.response && verifications.response['4'],
14631463
l5Verifications: verifications.response && verifications.response['5'],
14641464
} as EternalReportV1;
1465-
}
1465+
};
14661466

14671467
/**
14681468
* @hidden

0 commit comments

Comments
 (0)