Skip to content

Commit

Permalink
Add back index.ts to root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Jan 29, 2025
1 parent 5cc582f commit bca5c05
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 22 deletions.
11 changes: 0 additions & 11 deletions src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@

require("./globals");

export * from "../abi";
export * from "../accountManagement";
export * from "../accounts";
export * from "../delegation";
export * from "../entrypoints";
export * from "../networkProviders";
export * from "../relayed";
export * from "../tokenManagement";
export * from "../transactionsOutcomeParsers";
export * from "../transfers";
export * from "../wallet";
export * from "./address";
export * from "./asyncTimer";
export * from "./config";
Expand Down
3 changes: 2 additions & 1 deletion src/delegation/delegationTransactionsFactory.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { assert } from "chai";
import { Address, TransactionsFactoryConfig, ValidatorPublicKey } from "../core";
import { Address, TransactionsFactoryConfig } from "../core";
import { DELEGATION_MANAGER_SC_ADDRESS_HEX } from "../core/constants";
import { ValidatorPublicKey } from "../wallet";
import { DelegationTransactionsFactory } from "./delegationTransactionsFactory";

describe("test delegation transactions factory", function () {
Expand Down
3 changes: 2 additions & 1 deletion src/delegation/delegationTransactionsOutcomeParser.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { assert } from "chai";
import { Address, SmartContractResult, TransactionEvent, TransactionLogs, TransactionOnNetwork } from "../core";
import { Address, TransactionEvent, TransactionLogs, TransactionOnNetwork } from "../core";
import { b64TopicsToBytes } from "../testutils";
import { SmartContractResult } from "../transactionsOutcomeParsers";
import { DelegationTransactionsOutcomeParser } from "./delegationTransactionsOutcomeParser";

describe("test delegation transactions outcome parser", () => {
Expand Down
20 changes: 20 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* A library for interacting with the MultiversX blockchain (in general) and Smart Contracts (in particular).
*
* @packageDocumentation
*/

require("./globals");

export * from "./abi";
export * from "./accountManagement";
export * from "./accounts";
export * from "./core";
export * from "./delegation";
export * from "./entrypoints";
export * from "./networkProviders";
export * from "./relayed";
export * from "./tokenManagement";
export * from "./transactionsOutcomeParsers";
export * from "./transfers";
export * from "./wallet";
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import { assert } from "chai";
import {
Address,
ErrParseTransactionOutcome,
SmartContractResult,
TransactionEvent,
TransactionLogs,
TransactionOnNetwork,
} from "../core";
import { Address, ErrParseTransactionOutcome, TransactionEvent, TransactionLogs, TransactionOnNetwork } from "../core";
import { b64TopicsToBytes } from "../testutils";
import { SmartContractResult } from "../transactionsOutcomeParsers";
import { TokenManagementTransactionsOutcomeParser } from "./tokenManagementTransactionsOutcomeParser";

describe("test token management transactions outcome parser", () => {
Expand Down
3 changes: 2 additions & 1 deletion src/wallet/users.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { assert } from "chai";
import path from "path";
import { Address, ErrBadMnemonicEntropy, ErrInvariantFailed, Message, Randomness, Transaction } from "../core";
import { Address, ErrBadMnemonicEntropy, ErrInvariantFailed, Message, Transaction } from "../core";
import {
DummyMnemonicOf12Words,
loadMnemonic,
Expand All @@ -9,6 +9,7 @@ import {
loadTestWallet,
TestWallet,
} from "./../testutils/wallets";
import { Randomness } from "./crypto";
import { Mnemonic } from "./mnemonic";
import { UserSecretKey } from "./userKeys";
import { UserSigner } from "./userSigner";
Expand Down

0 comments on commit bca5c05

Please sign in to comment.