Skip to content

Commit

Permalink
Create the currency options dynamically in the ethereum default config;
Browse files Browse the repository at this point in the history
Refactor the atomex protocol configs
  • Loading branch information
skubarenko committed Aug 12, 2022
1 parent a8d02f1 commit 715a6eb
Show file tree
Hide file tree
Showing 9 changed files with 376 additions and 334 deletions.
7 changes: 6 additions & 1 deletion src/atomex/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
export { Atomex } from './atomex';
export { AtomexContext } from './atomexContext';
export { SwapOperationCompleteStage } from './models/index';

export type { AtomexOptions, NewSwapRequest, AtomexBlockchainOptions } from './models/index';
export type {
NewSwapRequest,
AtomexOptions, AtomexBlockchainNetworkOptions, AtomexBlockchainOptions, AtomexCurrencyOptions,
AtomexManagers, AtomexServices,
} from './models/index';
5 changes: 4 additions & 1 deletion src/atomex/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
export type { AtomexOptions, AtomexBlockchainOptions, AtomexServices } from './atomexOptions';
export type {
AtomexOptions, AtomexBlockchainOptions, AtomexBlockchainNetworkOptions, AtomexCurrencyOptions,
AtomexManagers, AtomexServices
} from './atomexOptions';
export type { NewSwapRequest } from './newSwapRequest';

export { SwapOperationCompleteStage } from './swapOperationCompleteStage';
311 changes: 0 additions & 311 deletions src/ethereum/config/atomexProtocol.ts

This file was deleted.

Loading

0 comments on commit 715a6eb

Please sign in to comment.