Skip to content

Commit

Permalink
build: downgrade agent-js ^2.0.0 (#726)
Browse files Browse the repository at this point in the history
# Motivation

We want to allow the consumers to decide what compatible version of
agent-js v2 they wish to use.

# Notes

We also need to downgrade agent-js in NNS dapp.
dfinity/nns-dapp#5584

# Changes

- Downgrade to `^2.0.0`

Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
  • Loading branch information
peterpeterparker authored Oct 7, 2024
1 parent 95b5fac commit 4bf2d17
Show file tree
Hide file tree
Showing 11 changed files with 81 additions and 94 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Next

## Build

- Downgrade Agent-js to `^2.0.0` to let consumers pick the compatible version they wish to use.

# 2024.09.30-1100Z

## Overview
Expand Down
115 changes: 48 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/ckbtc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
],
"homepage": "https://github.com/dfinity/ic-js#readme",
"peerDependencies": {
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/agent": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.5.1"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/cketh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
],
"homepage": "https://github.com/dfinity/ic-js#readme",
"peerDependencies": {
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/agent": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.5.1"
}
}
6 changes: 3 additions & 3 deletions packages/cmc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
],
"homepage": "https://github.com/dfinity/ic-js#readme",
"peerDependencies": {
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/agent": "^2.0.0",
"@dfinity/candid": "^2.0.0",
"@dfinity/principal": "^2.0.0",
"@dfinity/utils": "^2.5.1"
}
}
Loading

0 comments on commit 4bf2d17

Please sign in to comment.