Open akorchyn opened 2 weeks ago
I updated the issue as we have a lot of types coming from near-primitives when querying the chain. It's mandatory to replace them with our types and not export them to have a more robust API overall.
The motivation is simple. We don't want to have a breaking release on each near-primitives release as it's not that convenient to use. To have that, near-api
should have all the parts wrapped :)
Currently, developing an app requires
near-primitives
to interact with the result types of transactions asnear-api
propagates them.As for me, it's pretty inconvenient, and would be better if we created some own wrapper type as
near-workspaces
does