-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(rosenet-node): refactor file structure
Update file names, paths, variable names and more.
- Loading branch information
1 parent
f884c39
commit 8c2ce80
Showing
8 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ages/rosenet-node/lib/RoseNetNodeTools.ts → ...et-node/lib/context/RoseNetNodeContext.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import { AbstractLogger } from '@rosen-bridge/logger-interface'; | ||
|
||
const RoseNetNodeTools = { | ||
const RoseNetNodeContext = { | ||
logger: console as AbstractLogger, | ||
init(logger: AbstractLogger) { | ||
this.logger = logger; | ||
}, | ||
}; | ||
|
||
export default RoseNetNodeTools; | ||
export default RoseNetNodeContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/rosenet-node/tests/pushable.spec.ts → ...-node/tests/stream/createPushable.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters