Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update the package dependencies #254

Open
amarts opened this issue Oct 29, 2024 · 1 comment
Open

build: update the package dependencies #254

amarts opened this issue Oct 29, 2024 · 1 comment

Comments

@amarts
Copy link
Member

amarts commented Oct 29, 2024

Getting below error, do check out if that can be fixed with dependencies.

warning @cord.network/sdk > @cord.network/did > @cord.network/augment-api > @polkadot/rpc-provider > @substrate/[email protected]: versions below 1.x are no longer maintained

@vatsa287
Copy link
Member

@amarts
I think we need to update the version of rpc-provider which has the connect module. But to keep it consistent better to update versions of all the polkadot dependencies.

  "devDependencies": {
    "@polkadot/api": "^10.12.2",
    "@polkadot/typegen": "^10.12.2",
    "@types/node": "^20.11.6",
    "glob": "^7.1.1",
    "rimraf": "^5.0.5",
    "tsx": "^4.7.0",
    "typescript": "^5.3.3",
    "yargs": "^17.7.2"
  },
  "dependencies": {
    "@cord.network/type-definitions": "workspace:*",
    "@polkadot/rpc-augment": "^10.12.2",
    "@polkadot/rpc-core": "^10.12.2",
    "@polkadot/rpc-provider": "^10.12.2"
  }

What version should we update to. I tried updating to latest got errors during build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants