You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return proxy(new c(Object.assign(d, {
signatureProvider: g
})), {
get: function c(a, b) {
return function() {
if ("undefined" == typeof a[b]) throw new Error("".concat(b, " does not exist on the eosjs.Api() object."));
for (var c = arguments.length, d = Array(c), f = 0; f < c; f++) d[f] = arguments[f];
var g = d.find(function(a) {
return a.hasOwnProperty("requiredFields")
});
return e = g ? g.requiredFields : {}, a[b].apply(a, d)
}
}
}); // Proxy
I checked the source code and on that line it expects _api constructor.
Any ideas how can I solve this issue or what am I doing wrong? I have similar implementation with JavaScript in ReactJS and it works without any errors. My idea is to make a sort of blockchain API and therefore I need Scatter for signing the user transactions.
Thanks!
The text was updated successfully, but these errors were encountered:
I am trying to connect eosjs and scatter with the following code, but I am getting TypeError: c is not a constructor.
I checked the source code and on that line it expects _api constructor.
Any ideas how can I solve this issue or what am I doing wrong? I have similar implementation with JavaScript in ReactJS and it works without any errors. My idea is to make a sort of blockchain API and therefore I need Scatter for signing the user transactions.
Thanks!
The text was updated successfully, but these errors were encountered: