Skip to content

Commit

Permalink
chore: updated deprecation of window.ipfs
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Aug 26, 2019
1 parent 7afe093 commit d4d8806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-on/src/contentScripts/ipfs-proxy/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function createWindowIpfs () {
for (const cmd in proxyClient) {
const fn = proxyClient[cmd]
proxyClient[cmd] = function () {
console.warn('Calling commands directly on window.ipfs is deprecated and will be removed on 2019-09-01. Use API instance returned by window.ipfs.enable() instead. More: https://github.com/ipfs-shipyard/ipfs-companion/blob/master/docs/window.ipfs.md')
console.warn('Calling commands directly on window.ipfs is deprecated and will be removed in the future. To future-proof your app use API instance returned by window.ipfs.enable() instead. Current best practices can be found at: https://github.com/ipfs-shipyard/ipfs-companion/blob/master/docs/window.ipfs.md')
return fn.apply(this, arguments)
}
}
Expand Down

0 comments on commit d4d8806

Please sign in to comment.