Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

chore: add ipfs http response package #3884

Merged
merged 102 commits into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from 98 commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
f236f1b
Initial commit
vasco-santos May 22, 2018
d9d0c08
feat: initial implementation
vasco-santos May 24, 2018
0bf6694
Merge pull request #1 from ipfs/feat/initial-implementation
vasco-santos May 24, 2018
91b99b3
fix: update package name
vasco-santos May 24, 2018
a02a518
chore: refactor and updated readme
vasco-santos May 27, 2018
d9e56b8
feat: export resolver
vasco-santos Jun 1, 2018
da7bccf
Merge pull request #2 from ipfs/feat/export-resolver
vasco-santos Jun 1, 2018
13c83e1
chore: changed release script target
vasco-santos Jun 1, 2018
47e4fce
chore: update contributors
vasco-santos Jun 1, 2018
1f3db7d
chore: release version v0.1.2
vasco-santos Jun 1, 2018
0bff82d
fix: firefox using readable stream (#3)
vasco-santos Jul 28, 2018
3f02ae1
chore: update contributors
vasco-santos Jul 28, 2018
ca3f64f
chore: release version v0.1.3
vasco-santos Jul 28, 2018
19acbae
fix: fix content-type by doing a fall-back using extensions (#5)
satazor Aug 2, 2018
cca137d
chore: update contributors
vasco-santos Aug 2, 2018
4f1ace2
chore: release version v0.1.4
vasco-santos Aug 2, 2018
34a2f68
Add support for CIDv1 and Base32 (#9)
lidel Sep 28, 2018
163c527
chore: update contributors
vasco-santos Sep 28, 2018
7dd7310
chore: release version v0.2.0
vasco-santos Sep 28, 2018
1c1a478
fix: use .cid property before falling back to .multihash (#12)
achingbrain Nov 9, 2018
cab4cac
chore: update contributors
vasco-santos Nov 9, 2018
076fde3
chore: release version v0.2.1
vasco-santos Nov 9, 2018
ba6a6dd
chore: upgrade dependencies (#13)
vasco-santos Jan 18, 2019
e15f57c
chore: update contributors
vasco-santos Jan 19, 2019
3c6ffcd
chore: release version v0.2.2
vasco-santos Jan 19, 2019
7746dab
fix: create .npmignore to include dist on npm (#16)
Gozala Jan 31, 2019
18a6d21
chore: use travis (#20)
vasco-santos Apr 8, 2019
47ccbe1
chore: update ipfs dep (#24)
vasco-santos May 13, 2019
529613a
chore: update ipld formats (#25)
achingbrain May 21, 2019
1c39d66
chore: release version v0.3.0
vasco-santos May 21, 2019
9a88d61
chore: update ipfs dep (#26)
vasco-santos May 22, 2019
25edfbc
feat: load files/dirs from hamt shards (#19)
achingbrain Jun 6, 2019
6d2f2c5
chore: update contributors
vasco-santos Jun 6, 2019
5f9e3e3
chore: release version v0.3.1
vasco-santos Jun 6, 2019
a22900a
chore: convert to async await syntax (#28)
vasco-santos Oct 14, 2019
893e302
chore: update contributors
vasco-santos Oct 14, 2019
ae6d61e
chore: release version v0.4.0
vasco-santos Oct 14, 2019
8828822
chore: update readme to use async/await syntax (#29)
Oct 14, 2019
68f1204
refactor: use new IPFS async/await APIs (#30)
Jan 7, 2020
ffb442f
chore: update contributors
vasco-santos Jan 7, 2020
5420944
chore: release version v0.5.0
vasco-santos Jan 7, 2020
0b7b10a
Add standard issue template
hsanjuan Apr 27, 2020
4686a08
Add autocomment configuration
hsanjuan May 4, 2020
1db03b0
fix(ci): add empty commit to fix lint checks on master
hsanjuan May 4, 2020
dca4577
chore: update deps (#33)
vasco-santos Jun 30, 2020
3fab6a2
chore: update contributors
vasco-santos Jun 30, 2020
0674f10
chore: release version v0.5.1
vasco-santos Jun 30, 2020
71dcbc6
chore(deps-dev): bump ipfs from 0.46.0 to 0.47.0
dependabot-preview[bot] Jul 2, 2020
710a96d
fix: replace node buffers with uint8arrays (#55)
achingbrain Aug 14, 2020
0c61a36
fix: webpack build (#56)
vasco-santos Aug 14, 2020
c874e17
chore: update contributors
vasco-santos Aug 14, 2020
6558058
chore: release version v0.6.0
vasco-santos Aug 14, 2020
e28c54a
chore(deps-dev): bump aegir from 25.1.0 to 26.0.0 (#57)
dependabot-preview[bot] Aug 19, 2020
8833685
chore(deps-dev): bump ipfsd-ctl from 6.0.0 to 7.0.0 (#59)
dependabot-preview[bot] Sep 1, 2020
58d10c6
chore(deps): bump file-type from 14.7.1 to 15.0.0 (#58)
dependabot-preview[bot] Sep 1, 2020
6f7995a
chore(deps-dev): bump ipfs from 0.49.1 to 0.50.1 (#60)
dependabot-preview[bot] Sep 7, 2020
6a91b50
chore(deps-dev): bump aegir from 26.0.0 to 27.0.0 (#61)
dependabot-preview[bot] Oct 6, 2020
9b7f734
chore(deps): bump file-type from 15.0.1 to 16.0.0 (#62)
dependabot-preview[bot] Oct 26, 2020
f5253b9
chore(deps-dev): bump aegir from 27.0.0 to 28.0.2 (#63)
dependabot-preview[bot] Oct 26, 2020
a4b1ef2
chore(deps-dev): bump ipfs from 0.50.2 to 0.52.0 (#65)
dependabot-preview[bot] Nov 10, 2020
ef48207
chore(deps-dev): bump aegir from 28.2.0 to 29.0.1 (#66)
dependabot-preview[bot] Nov 24, 2020
c011fbd
chore(deps-dev): bump uint8arrays from 1.1.0 to 2.0.5 (#69)
dependabot-preview[bot] Dec 21, 2020
fdbdfef
chore: update contributors
vasco-santos Dec 22, 2020
98d887d
chore: release version v0.6.1
vasco-santos Dec 22, 2020
c5541ed
chore(deps-dev): bump aegir from 29.2.2 to 30.3.0 (#70)
dependabot-preview[bot] Jan 26, 2021
46b2004
chore(deps-dev): bump ipfs from 0.52.3 to 0.54.2 (#76)
dependabot-preview[bot] Feb 15, 2021
33d7c32
chore(deps-dev): bump aegir from 30.3.0 to 31.0.0
dependabot-preview[bot] Feb 24, 2021
f7f7488
chore: update aegir fixtures path
vasco-santos Mar 1, 2021
eb665a6
chore(deps-dev): bump aegir from 31.0.4 to 32.0.2 (#80)
dependabot-preview[bot] Mar 15, 2021
ee4c81f
chore(deps): bump multihashes from 3.1.2 to 4.0.2 (#79)
dependabot-preview[bot] Mar 17, 2021
9fcc821
fix: add node dev deps (#81)
vasco-santos Mar 17, 2021
3d5917b
chore: update contributors
vasco-santos Mar 17, 2021
10db886
chore: release version v0.6.2
vasco-santos Mar 17, 2021
ea880f7
chore: update deps (#86)
achingbrain Apr 12, 2021
f050f5d
chore: update contributors
vasco-santos Apr 12, 2021
7388821
chore: release version v0.6.3
vasco-santos Apr 12, 2021
0844465
chore: update deps (#88)
achingbrain Apr 16, 2021
8591870
chore: update contributors
vasco-santos Apr 16, 2021
b797d2f
chore: release version v0.6.4
vasco-santos Apr 16, 2021
89434e4
chore: update ipfs deps (#94)
vasco-santos Jun 15, 2021
1641cef
chore: update to new multiformats (#98)
achingbrain Jul 12, 2021
ead69e1
chore: update contributors
vasco-santos Jul 12, 2021
7ccbfee
chore: release version v0.7.0
vasco-santos Jul 12, 2021
9dc7d10
chore(deps): bump filesize from 6.4.0 to 7.0.0 (#100)
dependabot-preview[bot] Aug 9, 2021
ea8bcdd
chore(deps-dev): bump ipfsd-ctl from 8.0.2 to 10.0.1 (#103)
dependabot-preview[bot] Aug 10, 2021
b9a998a
chore(deps-dev): bump ipfs-core from 0.8.0 to 0.9.1 (#102)
dependabot-preview[bot] Aug 10, 2021
319e2b4
fix: update module (#104)
achingbrain Sep 7, 2021
596a342
chore: upgrade to GitHub-native Dependabot (#91)
dependabot-preview[bot] Sep 7, 2021
fa9628b
docs: update examples (#105)
achingbrain Sep 7, 2021
9635881
chore: add release-major script
achingbrain Sep 7, 2021
402fa19
chore: update contributors
achingbrain Sep 7, 2021
188acd1
chore: release version v1.0.0
achingbrain Sep 7, 2021
7c1f121
chore: update contributors
achingbrain Sep 8, 2021
88a251d
chore: release version v1.0.1
achingbrain Sep 8, 2021
e68b815
chore: restructure content
vasco-santos Sep 20, 2021
6bc4187
Merge branch 'master' of ../js-ipfs-http-response into chore/add-ipfs…
vasco-santos Sep 21, 2021
9d7dfdf
chore: update main readme to include ipfs-http-response
vasco-santos Sep 21, 2021
d335628
chore: merge remote-tracking branch 'origin'
vasco-santos Sep 23, 2021
654d84f
chore: apply suggestions from code review
vasco-santos Sep 24, 2021
3059b0e
Merge remote-tracking branch 'origin/master' into chore/add-ipfs-http…
achingbrain Sep 24, 2021
26d1cb1
chore: fix linting
achingbrain Sep 24, 2021
f8cc058
fix: add types versions to http-response
vasco-santos Sep 27, 2021
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ This project is broken into several modules, their purposes are:
* [`/packages/ipfs-grpc-server`](./packages/ipfs-grpc-server) A gRPC-over-websockets server for js-IPFS
* [`/packages/ipfs-http-client`](./packages/ipfs-http-client) A client for the RPC-over-HTTP API presented by both js-ipfs and go-ipfs
* [`/packages/ipfs-http-gateway`](./packages/ipfs-http-gateway) JS implementation of the [IPFS HTTP Gateway](https://docs.ipfs.io/concepts/ipfs-gateway/)
* [`/packages/ipfs-http-response`](./packages/ipfs-http-response) Creates a HTTP response for a given IPFS Path
* [`/packages/ipfs-http-server`](./packages/ipfs-http-server) JS implementation of the [IPFS HTTP API](https://docs.ipfs.io/reference/http/api/)
* [`/packages/ipfs-message-port-client`](./packages/ipfs-http-client) A client for the RPC-over-HTTP API presented by both js-ipfs and go-ipfs
* [`/packages/ipfs-message-port-client`](./packages/ipfs-message-port-client) A client for the RPC-over-message-port API presented by js-ipfs running in a shared worker
Expand Down
203 changes: 203 additions & 0 deletions packages/ipfs-http-response/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
## [1.0.1](https://github.com/ipfs/js-ipfs-http-response/compare/v1.0.0...v1.0.1) (2021-09-08)



# [1.0.0](https://github.com/ipfs/js-ipfs-http-response/compare/v0.7.0...v1.0.0) (2021-09-07)


### Bug Fixes

* update module ([#104](https://github.com/ipfs/js-ipfs-http-response/issues/104)) ([319e2b4](https://github.com/ipfs/js-ipfs-http-response/commit/319e2b416bb6283e0f0e67c7dc9f609851e16909))



# [0.7.0](https://github.com/ipfs/js-ipfs-http-response/compare/v0.6.4...v0.7.0) (2021-07-12)


### chore

* update to new multiformats ([#98](https://github.com/ipfs/js-ipfs-http-response/issues/98)) ([1641cef](https://github.com/ipfs/js-ipfs-http-response/commit/1641cefaa2cc965ddd7fdaa2d9be8dd7b0150665))


### BREAKING CHANGES

* pulls in new multiformats modules



## [0.6.4](https://github.com/ipfs/js-ipfs-http-response/compare/v0.6.3...v0.6.4) (2021-04-16)



## [0.6.3](https://github.com/ipfs/js-ipfs-http-response/compare/v0.6.2...v0.6.3) (2021-04-12)



## [0.6.2](https://github.com/ipfs/js-ipfs-http-response/compare/v0.6.1...v0.6.2) (2021-03-17)


### Bug Fixes

* add node dev deps ([#81](https://github.com/ipfs/js-ipfs-http-response/issues/81)) ([9fcc821](https://github.com/ipfs/js-ipfs-http-response/commit/9fcc8215d511e6e9071f0fb9fd927d9005a72670))



## [0.6.1](https://github.com/ipfs/js-ipfs-http-response/compare/v0.6.0...v0.6.1) (2020-12-22)



<a name="0.6.0"></a>
# [0.6.0](https://github.com/ipfs/js-ipfs-http-response/compare/v0.5.1...v0.6.0) (2020-08-14)


### Bug Fixes

* replace node buffers with uint8arrays ([#55](https://github.com/ipfs/js-ipfs-http-response/issues/55)) ([710a96d](https://github.com/ipfs/js-ipfs-http-response/commit/710a96d))
* webpack build ([#56](https://github.com/ipfs/js-ipfs-http-response/issues/56)) ([0c61a36](https://github.com/ipfs/js-ipfs-http-response/commit/0c61a36))


### BREAKING CHANGES

* - All deps of this module use Uint8Arrays instead of node Buffers

* chore: remove browser build steps



<a name="0.5.1"></a>
## [0.5.1](https://github.com/ipfs/js-ipfs-http-response/compare/v0.5.0...v0.5.1) (2020-06-30)


### Bug Fixes

* **ci:** add empty commit to fix lint checks on master ([1db03b0](https://github.com/ipfs/js-ipfs-http-response/commit/1db03b0))



<a name="0.5.0"></a>
# [0.5.0](https://github.com/ipfs/js-ipfs-http-response/compare/v0.4.0...v0.5.0) (2020-01-07)


### Code Refactoring

* use new IPFS async/await APIs ([#30](https://github.com/ipfs/js-ipfs-http-response/issues/30)) ([68f1204](https://github.com/ipfs/js-ipfs-http-response/commit/68f1204))


### BREAKING CHANGES

* Switch to using async/await and async iterators.



<a name="0.4.0"></a>
# [0.4.0](https://github.com/ipfs/js-ipfs-http-response/compare/v0.3.1...v0.4.0) (2019-10-14)


### Chores

* convert to async await syntax ([#28](https://github.com/ipfs/js-ipfs-http-response/issues/28)) ([a22900a](https://github.com/ipfs/js-ipfs-http-response/commit/a22900a))


### BREAKING CHANGES

* All places in the API that used callbacks are now replaced with async/await

Co-authored-by: PedroMiguelSS <[email protected]>



<a name="0.3.1"></a>
## [0.3.1](https://github.com/ipfs/js-ipfs-http-response/compare/v0.2.2...v0.3.1) (2019-06-06)


### Bug Fixes

* create .npmignore to include dist on npm ([#16](https://github.com/ipfs/js-ipfs-http-response/issues/16)) ([7746dab](https://github.com/ipfs/js-ipfs-http-response/commit/7746dab))


### Chores

* update ipld formats ([#25](https://github.com/ipfs/js-ipfs-http-response/issues/25)) ([529613a](https://github.com/ipfs/js-ipfs-http-response/commit/529613a))


### Features

* load files/dirs from hamt shards ([#19](https://github.com/ipfs/js-ipfs-http-response/issues/19)) ([25edfbc](https://github.com/ipfs/js-ipfs-http-response/commit/25edfbc))


### BREAKING CHANGES

* v1 CIDs created by this module now default to base32 encoding when stringified

Not a direct dependency of this module but ipld-dag-pb changed the
case of some property names that are used by this module.

License: MIT
Signed-off-by: Alan Shaw <[email protected]>



<a name="0.3.0"></a>
## [0.3.0](https://github.com/ipfs/js-ipfs-http-response/compare/v0.2.2...v0.3.0) (2019-05-21)

BREAKING CHANGE: v1 CIDs created by this module now default to base32 encoding when stringified

Not a direct dependency of this module but ipld-dag-pb changed the
case of some property names that are used by this module.

<a name="0.2.2"></a>
## [0.2.2](https://github.com/ipfs/js-ipfs-http-response/compare/v0.2.1...v0.2.2) (2019-01-19)



<a name="0.2.1"></a>
## [0.2.1](https://github.com/ipfs/js-ipfs-http-response/compare/v0.1.4...v0.2.1) (2018-11-09)


### Bug Fixes

* use .cid property before falling back to .multihash ([#12](https://github.com/ipfs/js-ipfs-http-response/issues/12)) ([1c1a478](https://github.com/ipfs/js-ipfs-http-response/commit/1c1a478))



<a name="0.2.0"></a>
## [0.2.0](https://github.com/ipfs/js-ipfs-http-response/compare/v0.1.4...v0.2.0) (2018-09-28)



<a name="0.1.4"></a>
## [0.1.4](https://github.com/ipfs/js-ipfs-http-response/compare/v0.1.3...v0.1.4) (2018-08-02)


### Bug Fixes

* fix content-type by doing a fall-back using extensions ([#5](https://github.com/ipfs/js-ipfs-http-response/issues/5)) ([19acbae](https://github.com/ipfs/js-ipfs-http-response/commit/19acbae))



<a name="0.1.3"></a>
## [0.1.3](https://github.com/ipfs/js-ipfs-http-response/compare/v0.1.2...v0.1.3) (2018-07-28)


### Bug Fixes

* firefox using readable stream ([#3](https://github.com/ipfs/js-ipfs-http-response/issues/3)) ([0bff82d](https://github.com/ipfs/js-ipfs-http-response/commit/0bff82d))



<a name="0.1.2"></a>
## 0.1.2 (2018-06-01)


### Bug Fixes

* update package name ([91b99b3](https://github.com/ipfs/js-ipfs-http-response/commit/91b99b3))


### Features

* export resolver ([d9e56b8](https://github.com/ipfs/js-ipfs-http-response/commit/d9e56b8))
* initial implementation ([d9d0c08](https://github.com/ipfs/js-ipfs-http-response/commit/d9d0c08))



21 changes: 21 additions & 0 deletions packages/ipfs-http-response/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 IPFS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
56 changes: 56 additions & 0 deletions packages/ipfs-http-response/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# js-ipfs-http-response

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![standard-readme](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)

> Creates an HTTP response from an IPFS Hash

## Lead Maintainer

[Vasco Santos](https://github.com/vasco-santos).

### Installation

> npm install ipfs-http-response

## Usage


### Creating HTTP Response

This project creates a HTTP response for an IPFS Path. This response can be a file, a HTML with directory listing or the entry point of a web page.

```js
import { getResponse } from 'ipfs-http-response'

const result = await getResponse(ipfsNode, ipfsPath)
console.log(result)
```

### Using protocol-agnostic resolver

This module also exports the used ipfs `resolver`, which should be used when the response needs to be customized or non-HTTP transport is used:

```js
import { resolver } from 'ipfs-http-response'

const result = await resolver.cid(ipfsNode, ipfsPath)
console.log(result)
```

If `ipfsPath` points at a directory, `resolver.cid` will throw Error `This dag node is a directory` with a `cid` attribute that can be passed to `resolver.directory`:


```js
import { resolver } from 'ipfs-http-response'

const result = await resolver.directory(ipfsNode, ipfsPath, cid)
console.log(result)
```

`result` will be either a `string` with HTML directory listing or an array with CIDs of `index` pages present in inspected directory.

![ipfs-http-response usage](docs/ipfs-http-response.png "ipfs-http-response usage")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
84 changes: 84 additions & 0 deletions packages/ipfs-http-response/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"name": "ipfs-http-response",
"version": "1.0.1",
"description": "Creates an HTTP response from an IPFS Hash",
"leadMaintainer": "Vasco Santos <[email protected]>",
"main": "src/index.js",
"types": "./types/src/index.d.ts",
"type": "module",
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
}
},
"exports": {
".": {
"import": "./src/index.js"
}
},
"scripts": {
"prepare": "aegir build --no-bundle && cp -R types dist",
"lint": "aegir ts -p check && aegir lint",
"build": "aegir build",
"release": "aegir release --target node",
"release-minor": "aegir release --type minor --target node",
"release-major": "aegir release --type major --target node",
"pretest": "aegir build --esm-tests",
"test": "aegir test -t node",
"test:node": "aegir test -t node"
},
"browser": {
"file-type": "file-type/browser",
"fs": false
},
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs-http-response.git"
},
"keywords": [
"ipfs",
"http",
"response"
],
"author": "Vasco Santos <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ipfs/js-ipfs-http-response/issues"
},
"homepage": "https://github.com/ipfs/js-ipfs-http-response#readme",
"dependencies": {
"debug": "^4.3.1",
"ejs": "^3.1.6",
"file-type": "^16.0.0",
"filesize": "^8.0.0",
"it-buffer": "^0.1.1",
"it-concat": "^2.0.0",
"it-reader": "^3.0.0",
"it-to-stream": "^1.0.0",
"mime-types": "^2.1.30",
"multiformats": "^9.2.0",
"p-try-each": "^1.0.1"
},
"devDependencies": {
"@types/ejs": "^3.1.0",
"aegir": "^35.0.3",
"get-stream": "^6.0.0",
"ipfs-core": "^0.10.5",
"ipfsd-ctl": "^10.0.1",
"it-all": "^1.0.5",
"path": "^0.12.7",
"uint8arrays": "^3.0.0",
"util": "^0.12.3"
},
"contributors": [
"Vasco Santos <[email protected]>",
"Alex Potsides <[email protected]>",
"Hector Sanjuan <[email protected]>",
"Marcin Rataj <[email protected]>",
"André Cruz <[email protected]>",
"Irakli Gozalishvili <[email protected]>",
"Alan Shaw <[email protected]>",
"Pedro Santos <[email protected]>"
]
}
Loading