Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES6 Proxy is not defined in IE11 and Old Chrome #169

Open
dawsbot opened this issue Apr 10, 2020 · 0 comments
Open

ES6 Proxy is not defined in IE11 and Old Chrome #169

dawsbot opened this issue Apr 10, 2020 · 0 comments

Comments

@dawsbot
Copy link

dawsbot commented Apr 10, 2020

See this Sentry public error here

image

Description

Somewhere in this codebase, it's assuming that the browser has ES6 Proxy available. This language feature is newer and therefore leaves older browsers out of luck. We need to do all we can to support older browsers over at Everipedia, so collaborating to replace this language feature with something legacy-compatible would enable more folks to use Scatter 🙌

Triage

In this repository, here are all the occurrences of new Proxy:

core/dist/index.js
core/src/index.js
plugin-eosjs/dist/index.js
plugin-eosjs/src/index.js
plugin-tron/dist/index.js
plugin-tron/src/index.js
plugin-eosjs2/dist/index.js
plugin-eosjs2/src/index.js
plugin-fio/src/index.js

Proposed Fix

From Google's polyfill:

You should include proxy-polyfill into your build system (just require it directly, it doesn't export anything), or import the proxy.min.js file directly.


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

No branches or pull requests

1 participant