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

Prepare release of 1.6.4 #492

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/browser-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Changelog

## 1.6.4

### Fixed

- Prepare for Company ID providers on Mainnet by using wallet proxy endpoint `/v2/ip_info`.

## 1.6.3

### Fixed

- Use new wallet proxy endpoint `/v2/ip_info` which includes Company ID Providers, as these are now removed from the `/v1/ip_info`.
- Use new wallet proxy endpoint `/v2/ip_info` on Testnet, which includes Company ID Providers, as these are now removed from the `/v1/ip_info`.

## 1.6.2

Expand Down
2 changes: 1 addition & 1 deletion packages/browser-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@concordium/browser-wallet",
"private": true,
"version": "1.6.3",
"version": "1.6.4",
"description": "Browser extension wallet for the Concordium blockchain",
"author": "Concordium Software",
"license": "Apache-2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,7 @@ export async function getTransactions(
}

export async function getIdentityProviders(): Promise<IdentityProvider[]> {
const currentNetwork = await storedCurrentNetwork.get();
if (currentNetwork === undefined) {
throw new Error('Tried to access wallet proxy without a loaded network.');
}
// Use the new endpoint for Testnet only, this logic can be simplified once Company ID as been released on mainnet.
const proxyPath = currentNetwork.name === 'Concordium Testnet' ? '/v2/ip_info' : '/v1/ip_info';
const proxyPath = '/v2/ip_info';
const response = await (await getWalletProxy()).get(proxyPath);
return response.data;
}
Expand Down
Loading