Skip to content

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

Open
@PiVortex

Description

@PiVortex

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Status

    Backlog 📖

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions