Open mmcs85 opened 5 years ago
Hello there, I'm trying to access scatter.eos instance properties but they are transformed into augmented function call's as per the proxy implementation on plugin eosjs2.
check here: https://github.com/GetScatter/scatter-js/blob/master/packages/plugin-eosjs2/src/index.js#L74
Proxy getter is applied not only to methods but also internal properties like rpc and chainId
This makes it impossible to use this properties.
But on the eosjs plugin its filtered: https://github.com/GetScatter/scatter-js/blob/master/packages/plugin-eosjs/src/index.js#L49
@mmcs85 Were you able to use the internal properties of the Proxy for the plugin eosjs2?
Hello there, I'm trying to access scatter.eos instance properties but they are transformed into augmented function call's as per the proxy implementation on plugin eosjs2.
check here: https://github.com/GetScatter/scatter-js/blob/master/packages/plugin-eosjs2/src/index.js#L74
Proxy getter is applied not only to methods but also internal properties like rpc and chainId
This makes it impossible to use this properties.
But on the eosjs plugin its filtered: https://github.com/GetScatter/scatter-js/blob/master/packages/plugin-eosjs/src/index.js#L49