-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
POC: Configure two Web Wallet applications (Root Document & Main Proc…
…ess) to coexist. The Root Document handles wallet synchronization for both applications.
- Loading branch information
1 parent
a708ee6
commit c55bf21
Showing
41 changed files
with
1,666 additions
and
327 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
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
1 change: 1 addition & 0 deletions
1
main-process/packages/blockchain-wallet-v4-frontend/src/middleware/actionTypes.js
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export const FORWARD = `FORWARD` |
11 changes: 11 additions & 0 deletions
11
main-process/packages/blockchain-wallet-v4-frontend/src/middleware/forwardActions.js
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { FORWARD } from './actionTypes' | ||
|
||
export default ({ forward, types }) => () => next => action => { | ||
if (types.has(action.type)) { | ||
forward(action) | ||
} else if (action.type === FORWARD) { | ||
forward(action.payload) | ||
} | ||
|
||
return next(action) | ||
} |
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
Oops, something went wrong.