Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

Configure the Secure API for embed Signer #66

Merged
merged 2 commits into from
Mar 16, 2017
Merged

Conversation

ngotchac
Copy link
Contributor

web3/index.js Outdated
const dappsPort = DAPPS.split(':')[1];

if (dappsInterface) {
window.secureApi._dappsInterface = dappsInterface;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit hacky to modify private fields. Can we expose this as a method in new versions of Parity?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is hacky :/ Would be better to expose those from the API, but this means that users must update to a new version of the UI. Will implement it though

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Let's use proper public method for new versions and that hack for old ones (i.e. if the method is not available)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ngotchac ngotchac merged commit ef1151a into master Mar 16, 2017
@ngotchac ngotchac deleted the fix-token-images branch March 16, 2017 08:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants