docs icon indicating copy to clipboard operation
docs copied to clipboard

[BUG] Inconsistancy between near-api-js and RPC api object

Open PiVortex opened this issue 1 year ago • 0 comments

Describe the bug 🐞 The near connection object in the RPC API is named "near" and used throughout the RPC docs https://docs.near.org/api/rpc/setup#javascript-setup

In the near-api-js docs this is named "nearConnection" https://docs.near.org/tools/near-api-js/quick-reference#connect

Expected behavior The object name should probably be kept the same to avoid confusion

Screenshots image image

Location 🎯 https://docs.near.org/api/rpc/setup#javascript-setup https://docs.near.org/tools/near-api-js/quick-reference#connect

PiVortex avatar Apr 24 '24 20:04 PiVortex