Skip to content

Commit

Permalink
chore: Export types (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioAnongba authored Jun 20, 2022
1 parent a9cac10 commit 14c1d81
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pegasys-orchestrate",
"version": "6.1.1",
"version": "6.1.3",
"description": "The PegaSys Orchestrate library provides convenient access to the Codefi Orchestrate API from applications written in server-side JavaScript",
"main": "lib/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/kafka/types/ILog.ts → src/kafka/types/IEventLog.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IContextLabels } from './IContextLabels'

export interface ILog {
export interface IEventLog {
address?: string
topics?: string[]
data?: string
Expand Down
4 changes: 2 additions & 2 deletions src/kafka/types/IReceipt.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ILog } from './ILog'
import { IEventLog } from './IEventLog'

export interface IReceipt {
txHash?: string
Expand All @@ -9,7 +9,7 @@ export interface IReceipt {
postState?: string
status?: boolean
bloom?: string
logs?: ILog[]
logs?: IEventLog[]
gasUsed?: number
cumulativeGasUsed?: number
effectiveGasPrice?: string
Expand Down
4 changes: 4 additions & 0 deletions src/kafka/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
export * from './EventType'
export * from './IResponse'
export * from './IResponseValue'
export * from './IReceipt'
export * from './IEventLog'
export * from './ITransactionContext'
export * from './IContextLabels'

0 comments on commit 14c1d81

Please sign in to comment.