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

bump agent-js to 0.15.4 #2033

Merged
merged 5 commits into from Mar 7, 2023
Merged

bump agent-js to 0.15.4 #2033

merged 5 commits into from Mar 7, 2023

Conversation

dskloetd
Copy link
Contributor

@dskloetd dskloetd commented Mar 6, 2023

Motivation

The new agent-js release has fewer circular dependencies which helps build reproducibility because of rollup/plugins#1425.

Changes

npm run update:agent

Tests

Clicked around a bit on testnet.

@dskloetd dskloetd marked this pull request as ready for review March 7, 2023 07:02
@dskloetd dskloetd changed the title npm run update:next bump agent-js to 0.15.4 Mar 7, 2023
Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx

@peterpeterparker peterpeterparker added the build Build related scripts, libraries and tooling label Mar 7, 2023
@dskloetd dskloetd enabled auto-merge March 7, 2023 07:25
@dskloetd dskloetd added this pull request to the merge queue Mar 7, 2023
Merged via the queue into main with commit b522b24 Mar 7, 2023
@dskloetd dskloetd deleted the kloet/agent-15-4 branch March 7, 2023 13:01
peterpeterparker added a commit that referenced this pull request Mar 7, 2023
# Motivation

Validate Bitcoin address according selected network on send.

# PRs

- [x] dfinity/ic-js#300

# Note

UX wise, the feature is not completed with this PR. In another PR we
will have to select the network according the input.
e.g. input field is empty, user enter a BTC adress, dropdown is
automatically selected with BTC network

# Changes

- add Btc address checks to function `invalidAddress`
- refactor ICP / Icrc related checks to `invalidICPOrIcrcAddress` to not
introduce changes where not needed
- validate input address on network change
- add testnet and mainnet granularity to `TransactionNetwork` because
bitcoin address are different on these networks
- bump ic-js and agent-js (which should pass first in another PR #2033)

# Screenshots

<img width="1536" alt="Capture d’écran 2023-03-07 à 07 43 53"
src="https://user-images.githubusercontent.com/16886711/223344358-144272f4-8b43-4067-b435-772b7ad69394.png">
<img width="1536" alt="Capture d’écran 2023-03-07 à 07 44 04"
src="https://user-images.githubusercontent.com/16886711/223344382-876d4513-8b02-4e7f-a0cc-e6eecab9e1a6.png">
<img width="1536" alt="Capture d’écran 2023-03-07 à 07 44 16"
src="https://user-images.githubusercontent.com/16886711/223344408-cfbc196f-c05b-46e0-b332-c86b17e5c1f2.png">
<img width="1536" alt="Capture d’écran 2023-03-07 à 07 44 22"
src="https://user-images.githubusercontent.com/16886711/223344416-8e48819a-8d50-47db-87dc-a4713314765d.png">
<img width="1536" alt="Capture d’écran 2023-03-07 à 07 44 25"
src="https://user-images.githubusercontent.com/16886711/223344425-2c82ba0d-e666-432a-b88f-95301e893ebf.png">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build related scripts, libraries and tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants