Skip to content

Commit 14c1d81

Browse files
authored
chore: Export types (#245)
1 parent a9cac10 commit 14c1d81

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pegasys-orchestrate",
3-
"version": "6.1.1",
3+
"version": "6.1.3",
44
"description": "The PegaSys Orchestrate library provides convenient access to the Codefi Orchestrate API from applications written in server-side JavaScript",
55
"main": "lib/index.js",
66
"files": [

src/kafka/types/ILog.ts renamed to src/kafka/types/IEventLog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { IContextLabels } from './IContextLabels'
22

3-
export interface ILog {
3+
export interface IEventLog {
44
address?: string
55
topics?: string[]
66
data?: string

src/kafka/types/IReceipt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ILog } from './ILog'
1+
import { IEventLog } from './IEventLog'
22

33
export interface IReceipt {
44
txHash?: string
@@ -9,7 +9,7 @@ export interface IReceipt {
99
postState?: string
1010
status?: boolean
1111
bloom?: string
12-
logs?: ILog[]
12+
logs?: IEventLog[]
1313
gasUsed?: number
1414
cumulativeGasUsed?: number
1515
effectiveGasPrice?: string

src/kafka/types/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
export * from './EventType'
22
export * from './IResponse'
33
export * from './IResponseValue'
4+
export * from './IReceipt'
5+
export * from './IEventLog'
6+
export * from './ITransactionContext'
7+
export * from './IContextLabels'

0 commit comments

Comments
 (0)