Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

fix: detect ipfs-companion in Chromium-based browsers #14

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

lidel
Copy link
Contributor

@lidel lidel commented Sep 24, 2018

(Chrome does not expose browser namespace, instead it uses chrome (fun fact: which does not support promises 🙃)

Firefox supports both so we switch to Chrome notation as the lowest common denominator supported by all vendors.

(After this is merged & releases we need to bump dep version used by WebUI)

@lidel lidel requested a review from olizilla September 24, 2018 17:21
@lidel lidel changed the title fix: detect ipfs-companion in Chrome fix: detect ipfs-companion in Chromium-based browsers Sep 24, 2018
@lidel lidel mentioned this pull request Sep 24, 2018
9 tasks
Chrome does not expose `browser` namespace,
instead it uses `chrome`, which does not support promises.

Firefox supports both so we switch to Chrome notation.
@lidel lidel force-pushed the fix/detect-companion-in-chromium branch from f193227 to 29cbfac Compare September 29, 2018 15:02
@lidel
Copy link
Contributor Author

lidel commented Sep 29, 2018

@olizilla ok to merge or do we want to also remove window.ipfs as noted in ipfs/ipfs-webui#787 (comment) ?
Who has release right for this package?

@olizilla olizilla merged commit bb63d09 into master Oct 1, 2018
@olizilla olizilla deleted the fix/detect-companion-in-chromium branch October 1, 2018 10:57
@olizilla
Copy link
Collaborator

olizilla commented Oct 1, 2018

Who has release right for this package?

I do, I'll release this and add you to the npm list.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants