Skip to content

Commit 8c14cb9

Browse files
authored
Merge pull request #31 from tipccjs/remove-unused-exports
fix: Remove unnecessary exports
2 parents 8ac6fb1 + d140eb9 commit 8c14cb9

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

src/structures/managers/TransactionManager.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,27 @@ import { Transaction } from '../Transaction';
1212
import { Cache } from '../Cache';
1313
import { EventEmitter } from 'stream';
1414

15-
export interface RawValueTransaction {
15+
interface RawValueTransaction {
1616
recipient_s: string | string[];
1717
value: string | number | BigNumber;
1818
currencyCode: string;
1919
}
2020

21-
export interface ValueTransaction {
21+
interface ValueTransaction {
2222
recipient_s: string | string[];
2323
valueRaw: string | number | BigNumber;
2424
currencyCode: string;
2525
}
2626

27-
export interface Events {
27+
interface Events {
2828
tip: Transaction;
2929
withdrawal: Transaction;
3030
deposit: Transaction;
3131
ready: void;
3232
}
3333

34-
export const isRawValueTransaction = (
35-
payload: any,
36-
): payload is RawValueTransaction => payload && payload.valueRaw;
37-
export const isValueTransaction = (payload: any): payload is ValueTransaction =>
38-
payload && payload.value;
34+
const isRawValueTransaction = (payload: any): payload is RawValueTransaction =>
35+
payload && payload.valueRaw;
3936

4037
export class TransactionManager extends EventEmitter {
4138
public client: TipccClient;

0 commit comments

Comments
 (0)