Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Implementation of the new API #190

Merged
merged 27 commits into from
Mar 21, 2019
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
654cd4c
feat: implementation of the new `resolve()` function
vmx Nov 30, 2018
cb2551d
refactor: make `_getFormat()` async/await
vmx Dec 6, 2018
2026f9f
refactor: store codecs by their code
vmx Jan 25, 2019
c9dab0f
feat: implementation of the new `put()` function
vmx Dec 7, 2018
1f23312
feat: implementation of the new `get()` function
vmx Dec 12, 2018
b7c5101
feat: implementation of the new `remove()` function
vmx Dec 12, 2018
57858c9
feat: implementation of the new `addFormat/removeFormat()` functions
vmx Dec 12, 2018
4e0bdea
feat: implementation of the new `tree()` function
vmx Dec 12, 2018
0c329d3
chore: update dependencies
vmx Feb 7, 2019
f34aa41
fix: error if loadFormat() is not a function
vmx Feb 20, 2019
8aabe30
fix: add dynamically loaded format via addFormat()
vmx Feb 20, 2019
eae1870
feat: make addFormat() and removeFormat() return the instance
vmx Feb 20, 2019
c0f49f8
chore: fix typo in comment
vmx Feb 20, 2019
7678a2b
refactor: promisify resolve()
vmx Feb 20, 2019
6358536
refactor: promisify get()
vmx Feb 20, 2019
2f286a9
refactor: promisify put()
vmx Feb 20, 2019
ba6225c
refactor: promisify remove()
vmx Feb 21, 2019
a49c026
refactor: promisify tree()
vmx Feb 21, 2019
effde6e
refactor: make put() a generator
vmx Feb 21, 2019
838aca8
refactor: make get() a generator
vmx Feb 21, 2019
d4a58d7
refactor: make resolve() a generator
vmx Feb 21, 2019
d0bf6de
refactor: make remove() a generator
vmx Feb 21, 2019
381e8dc
refactor: make tree() a generator
vmx Feb 21, 2019
a72f13d
fix: use promisify-es6 instead of Nodes.js' promisify
vmx Feb 28, 2019
af2dfd7
fix: don't throw if it's not a proper old-style link
vmx Feb 28, 2019
185814a
fix: use a version of typical where async iterators are supported
vmx Mar 1, 2019
4666a54
feat: add single item functions
vmx Mar 18, 2019
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
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,35 +34,36 @@
"license": "MIT",
"devDependencies": {
"aegir": "^18.2.1",
"bitcoinjs-lib": "^4.0.2",
"async": "^2.6.1",
Copy link
Member

Choose a reason for hiding this comment

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

Still needs async?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes for the tests. The tests should be refactored as there's a lot of duplicated code, but I'd do that at a later stage.

"bitcoinjs-lib": "^4.0.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"dirty-chai": "^2.0.1",
"ethereumjs-block": "^2.1.0",
"ethereumjs-block": "^2.2.0",
"ipfs-block-service": "~0.15.2",
"ipfs-repo": "~0.26.1",
"ipld-bitcoin": "~0.1.8",
"ipld-ethereum": "^2.0.1",
"ipld-git": "~0.2.2",
"ipld-bitcoin": "~0.1.9",
"ipld-ethereum": "^2.0.3",
"ipld-git": "~0.2.3",
"ipld-in-memory": "^2.0.0",
"ipld-zcash": "~0.1.6",
"merkle-patricia-tree": "^2.3.2",
"merkle-patricia-tree": "^3.0.0",
"multihashes": "~0.4.14",
"ncp": "^2.0.0",
"rimraf": "^2.6.2",
"rlp": "^2.1.0",
"rimraf": "^2.6.3",
"rlp": "^2.2.2",
"zcash-bitcore-lib": "~0.13.20-rc3"
},
"dependencies": {
"async": "^2.6.1",
"cids": "~0.5.5",
"cids": "~0.5.7",
"ipfs-block": "~0.8.0",
"ipld-dag-cbor": "~0.13.0",
"ipld-dag-cbor": "~0.13.1",
"ipld-dag-pb": "~0.15.2",
"ipld-raw": "^2.0.1",
"merge-options": "^1.0.1",
"pull-defer": "~0.2.3",
"pull-stream": "^3.6.9",
"pull-traverse": "^1.0.3"
"multicodec": "~0.5.0",
"promisify-es6": "^1.0.3",
"typical": "^3.0.2"
},
"contributors": [
"Alan Shaw <alan.shaw@protocol.ai>",
Expand Down
Loading