Skip to content

Commit

Permalink
chore: fix TxBuilder export for typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jul 10, 2024
1 parent fe95449 commit 3aa126f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/tx-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function isString(parameter: SuiMoveNormalizedType): boolean {
return isAsciiString || isStringString;
}

class TxBuilder {
export class TxBuilder {
client: SuiClient;
tx: TransactionBlock;
constructor(client: SuiClient) {
Expand Down Expand Up @@ -311,7 +311,3 @@ class TxBuilder {
return result;
}
}

module.exports = {
TxBuilder,
};

0 comments on commit 3aa126f

Please sign in to comment.