Skip to content

Commit

Permalink
Feature: Fix IPFS default params (#256)
Browse files Browse the repository at this point in the history
* fix ipfs endpoints

* update changelog and version

* fix tests
  • Loading branch information
josemarinas authored Jul 22, 2023
1 parent 51ba5b6 commit 5c3d30f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
3 changes: 3 additions & 0 deletions modules/client-common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ TEMPLATE:
-->

## [UPCOMING]
### Fixed
- Default ipfs endpoints
## 1.2.0-rc0
### Added
- Tests for `getNamedTypesFromMetadata`
### Changed
Expand Down
2 changes: 1 addition & 1 deletion modules/client-common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aragon/sdk-client-common",
"author": "Aragon Association",
"version": "1.2.0-rc0",
"version": "1.2.1-rc0",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/sdk-client-common.esm.js",
Expand Down
4 changes: 2 additions & 2 deletions modules/client-common/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ export const GRAPHQL_NODES: { [K in SupportedNetwork]: { url: string }[] } = {
const IPFS_ENDPOINTS = {
prod: [
{
url: "https://prod.ipfs.aragon.network",
url: "https://prod.ipfs.aragon.network/api/v0",
headers: {
"X-API-KEY": "b477RhECf8s8sdM7XrkLBs2wHc4kCMwpbcFC55Kt",
},
},
],
test: [
{
url: "https://test.ipfs.aragon.network",
url: "https://test.ipfs.aragon.network/api/v0",
headers: {
"X-API-KEY": "b477RhECf8s8sdM7XrkLBs2wHc4kCMwpbcFC55Kt",
},
Expand Down
2 changes: 1 addition & 1 deletion modules/client-common/test/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const web3endpoints = {
};

export const DEFAULT_IPFS_ENDPOINTS = [
"https://prod.ipfs.aragon.network/",
"https://prod.ipfs.aragon.network/api/v0/",
];

export const TEST_ABI: MetadataAbiInput[] = [
Expand Down
6 changes: 5 additions & 1 deletion modules/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ TEMPLATE:
-->

## [UPCOMING]
### Fixed
### Fixes
- Underlying tokens queries in getProposal and getProposals
- Plugins query failing due to prepared but not applied installations
- Ipfs default endpoinst missing api/v0
## [1.10.0-rc1]
### Fixes
- Update common-client version
## [1.10.0-rc0]
### Changed
- Updates `@aragon/osx-ethers` to v1.3.0-rc0.

Expand Down
4 changes: 2 additions & 2 deletions modules/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aragon/sdk-client",
"author": "Aragon Association",
"version": "1.10.0-rc1",
"version": "1.10.1-rc1",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/sdk-client.esm.js",
Expand Down Expand Up @@ -61,7 +61,7 @@
},
"dependencies": {
"@aragon/osx-ethers": "1.3.0-rc0",
"@aragon/sdk-client-common": "^1.2.0-rc0",
"@aragon/sdk-client-common": "^1.2.1-rc0",
"@aragon/sdk-common": "^1.5.0",
"@aragon/sdk-ipfs": "^1.1.0",
"@ethersproject/abstract-signer": "^5.5.0",
Expand Down

0 comments on commit 5c3d30f

Please sign in to comment.