Skip to content

Commit

Permalink
build: patch agent-js v2.1.2 (#722)
Browse files Browse the repository at this point in the history
# Motivation

Agent-js has been patched because the community has started frequently
encountered issues with "ingress expiry time" error messages. To help
the community adopt this version, we need to incorporate it into ic-js.

# Notes

- Currently the ic-js released version use v2.0.0.

- The patch of Agent-js consists of reverting a PR
dfinity/agent-js#935. A suggested them to add a
description. Meanwhile conversation on
[Slack](https://dfinity.slack.com/archives/C020G13AS4F/p1727430471252989).

# Changes

- `npm run update:agent`

---------

Signed-off-by: David Dal Busco <david.dalbusco@dfinity.org>
  • Loading branch information
peterpeterparker authored Sep 30, 2024
1 parent f7457f0 commit f127ee0
Show file tree
Hide file tree
Showing 11 changed files with 79 additions and 75 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
- Add support for `icrc21_canister_call_consent_message` to `@dfinity/ledger-icp` and `@dfinity/ledger-icrc`.
- Add support for `"regtest"` in `BitcoinNetwork`.

## Build

- Incorporate Agent-js patch `v2.1.2`.

# 2024.09.02-0830Z

## Overview
Expand Down
96 changes: 48 additions & 48 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.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/principal": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
},
"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.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/principal": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
}
}
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.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/principal": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
}
}
6 changes: 3 additions & 3 deletions packages/ic-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
],
"homepage": "https://github.com/dfinity/ic-js#readme",
"peerDependencies": {
"@dfinity/agent": "^2.1.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/principal": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
}
}
6 changes: 3 additions & 3 deletions packages/ledger-icp/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.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/principal": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
}
}
6 changes: 3 additions & 3 deletions packages/ledger-icrc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
],
"homepage": "https://github.com/dfinity/ic-js#readme",
"peerDependencies": {
"@dfinity/agent": "^2.1.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/principal": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
}
}
6 changes: 3 additions & 3 deletions packages/nns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
"network-nervous-system"
],
"peerDependencies": {
"@dfinity/agent": "^2.1.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/ledger-icp": "^2.5.0",
"@dfinity/principal": "^2.1.1",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
}
}
6 changes: 3 additions & 3 deletions packages/sns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"sns"
],
"peerDependencies": {
"@dfinity/agent": "^2.1.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/ledger-icrc": "^2.5.0",
"@dfinity/principal": "^2.1.1",
"@dfinity/principal": "^2.1.2",
"@dfinity/utils": "^2.5.0"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"service-nervous-system"
],
"peerDependencies": {
"@dfinity/agent": "^2.1.1",
"@dfinity/candid": "^2.1.1",
"@dfinity/principal": "^2.1.1"
"@dfinity/agent": "^2.1.2",
"@dfinity/candid": "^2.1.2",
"@dfinity/principal": "^2.1.2"
}
}

0 comments on commit f127ee0

Please sign in to comment.