Skip to content

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

@dawsbot

Description

@dawsbot

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.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions