Skip to content

Commit

Permalink
fix: circular dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Ivaylo Nikolov <[email protected]>
  • Loading branch information
ivaylonikolov7 committed Jul 28, 2024
1 parent a244cfc commit 6eeb6a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
16 changes: 7 additions & 9 deletions src/token/TokenRejectFlow.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,11 @@
* limitations under the License.
* ‍
*/
import {
AccountId,
NftId,
TokenRejectTransaction,
TokenDissociateTransaction,
TokenId,
Transaction,
TransactionResponse,
} from "../exports.js";
import AccountId from "../account/AccountId.js";
import NftId from "../token/NftId.js";
import TokenId from "../token/TokenId.js";
import TokenRejectTransaction from "../token/TokenRejectTransaction.js";
import TokenDissociateTransaction from "../token/TokenDissociateTransaction.js";

/**
* @namespace proto
Expand All @@ -45,6 +41,8 @@ import {
* @typedef {import("../client/Client.js").default<*, *>} Client
* @typedef {import("../Signer.js").Signer} Signer
* @typedef {import("../transaction/TransactionId.js").default} TransactionId
* @typedef {import("../transaction/Transaction.js").default} Transaction
* @typedef {import("../transaction/TransactionResponse.js").default} TransactionResponse
*
*/

Expand Down
5 changes: 3 additions & 2 deletions src/token/TokenRejectTransaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
* ‍
*/
import AccountId from "../account/AccountId.js";
import { NftId, TokenId, Transaction } from "../exports.js";
import TokenId from "./TokenId.js";
import NftId from "../token/NftId.js";
import Transaction from "../transaction/Transaction.js";
import { TRANSACTION_REGISTRY } from "../transaction/Transaction.js";

/**
Expand All @@ -29,7 +31,6 @@ import { TRANSACTION_REGISTRY } from "../transaction/Transaction.js";
* @typedef {import("@hashgraph/proto").proto.ITransactionResponse} HashgraphProto.proto.ITransactionResponse
* @typedef {import("@hashgraph/proto").proto.TransactionBody} HashgraphProto.proto.TransactionBody
* @typedef {import("@hashgraph/proto").proto.ITokenRejectTransactionBody} HashgraphProto.proto.ITokenRejectTransactionBody
* @typedef {import("@hashgraph/proto").proto.IAccountID} HashgraphProto.proto.IAccountID
* @typedef {import("@hashgraph/proto").proto.TokenReference} HashgraphProto.proto.TokenReference
*/

Expand Down

0 comments on commit 6eeb6a4

Please sign in to comment.