aleph-im / aleph-sdk-ts

A TypeScript SDK to interact with the Aleph I.M. network.
https://aleph-im.github.io/aleph-sdk-ts/
MIT License
11 stars 9 forks source link

Outdated docs links #175

Open RezaRahemtola opened 1 month ago

RezaRahemtola commented 1 month ago

Describe the bug Due to the "reset" to v1.0, running installation commands can be confusing

To Reproduce

npm install aleph-sdk-ts  # Installs v3.9.2
npm install aleph-sdk-ts@latest  # Installs v3.9.2
npm install aleph-sdk-ts@1.0.6  # Installs the correct current version

Expected behavior It should installs the right version without having to specify the exact version, this can cause a lot of mistakes from developers discovering Aleph (especially since this issue will persist until the new versioning exceeds the old one of 3.9.2, which will probably take a long time).

Environment /

Additional context I know it's more an npm issue than Aleph, but should be address in some way nonetheless imo

RezaRahemtola commented 1 month ago

cc @MHHukiewitz :smile:

RezaRahemtola commented 1 month ago

my bad, it's just the information that isn't correct on:

I could make a PR but don't know if you want to keep some things in a dedicated section to support devs that are still using the old version

RezaRahemtola commented 1 month ago

Maybe marking the old package on npm: https://www.npmjs.com/package/aleph-sdk-ts as deprecated (https://docs.npmjs.com/deprecating-and-undeprecating-packages-or-package-versions/) could be great too