286 Commits

Author SHA1 Message Date
Vasco Santos
af47794289 chore: update contributors 2021-03-29 12:57:18 +02:00
Alex Potsides
eeb53305c8
fix: remove toString side effect that breaks deep equals (#142)
Makes the cached string cid property non-enumerable so deep equals
still works even after a peer id has been stringifed.

Fixes #141
2021-03-29 12:53:11 +02:00
Vasco Santos
5468ee0877 chore: release version v0.14.3 v0.14.3 2021-01-26 09:22:15 +01:00
Vasco Santos
f895151451 chore: update contributors 2021-01-26 09:22:15 +01:00
Vasco Santos
e7d0eaa796
chore: update deps (#137) 2021-01-26 09:10:46 +01:00
acolytec3
41ab96c47d
docs: correct case for RSA keyType (#136)
* docs: correct case for RSA keyType

correct case of rsa keytype in docs/examples to match keyType exported from libp2p-crypto

Co-authored-by: Vasco Santos <vasco.santos@ua.pt>
2021-01-06 15:13:25 +01:00
a1300
4178e53db8
docs: add documentation for isPeerId(id) (#134) (#135) 2020-12-01 17:33:15 +01:00
Vasco Santos
10ead07dd9 chore: release version v0.14.2 v0.14.2 2020-09-23 19:11:12 +02:00
Vasco Santos
d940099131 chore: update contributors 2020-09-23 19:11:12 +02:00
Vasco Santos
b2ee34295b
feat: has inline public key method (#132) 2020-09-23 19:07:28 +02:00
Vasco Santos
ecc1e5be6d chore: release version v0.14.1 v0.14.1 2020-09-03 18:49:02 +02:00
Vasco Santos
153bc8ea38 chore: update contributors 2020-09-03 18:49:01 +02:00
Vasco Santos
d40d588776
fix: ts constructor types (#130) 2020-08-26 11:46:38 +02:00
Adam Uhlíř
224b30cb65
fix: privKey possible undefined (#129) 2020-08-17 16:35:13 +02:00
Vojtech Simetka
6d571ae196
fix: typo in readme (#128) 2020-08-12 13:40:13 +02:00
Jacob Heun
ff4bd96467
chore: release version v0.14.0 v0.14.0 2020-08-07 17:41:53 +02:00
Jacob Heun
427b46c86e
chore: update contributors 2020-08-07 17:41:52 +02:00
Alex Potsides
d16ce9c2ac
fix: replace node buffers with uint8arrays (#127)
* fix: replace node buffers with uint8arrays

Replaces all uses of node Buffers with Uint8Arrays

BREAKING CHANGES:

- Where node Buffers were returned, now Uint8Arrays are

* chore: remove gh dep
2020-08-07 17:36:22 +02:00
Vasco Santos
cd99cb2c7d chore: release version v0.13.13 v0.13.13 2020-06-23 18:58:05 +02:00
Vasco Santos
c295329300 chore: update contributors 2020-06-23 18:58:04 +02:00
Alex Potsides
bb32b12395
chore: update deps (#126)
Allows for deduping multihashes module
2020-06-23 18:43:30 +02:00
dependabot-preview[bot]
6fd5ca2a12
chore(deps-dev): bump aegir from 21.10.2 to 22.0.0 (#124)
Bumps [aegir](https://github.com/ipfs/aegir) from 21.10.2 to 22.0.0.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/aegir/compare/v21.10.2...v22.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-28 18:10:20 +02:00
Vasco Santos
020b963711 chore: release version v0.13.12 v0.13.12 2020-04-22 16:35:07 +02:00
Vasco Santos
e3da29a440 chore: update contributors 2020-04-22 16:35:07 +02:00
Jacob Heun
8cd9dfb137
feat(cli): add support for specifying type and size (#122) 2020-04-22 16:32:38 +02:00
Vasco Santos
3598a433dc chore: release version v0.13.11 v0.13.11 2020-03-26 09:07:55 +01:00
Vasco Santos
5ec88281e2 chore: update contributors 2020-03-26 09:07:55 +01:00
dependabot-preview[bot]
a80c481146
chore(deps): bump cids from 0.7.5 to 0.8.0 (#121)
Bumps [cids](https://github.com/multiformats/js-cid) from 0.7.5 to 0.8.0.
- [Release notes](https://github.com/multiformats/js-cid/releases)
- [Changelog](https://github.com/multiformats/js-cid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/multiformats/js-cid/compare/v0.7.5...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 09:05:51 +01:00
Vasco Santos
efc96106a4 chore: release version v0.13.10 v0.13.10 2020-03-18 17:38:41 +01:00
Vasco Santos
16e1c74e9a chore: update contributors 2020-03-18 17:38:40 +01:00
Hugo Dias
c305c36b26
fix: add buffer (#120)
related to this https://github.com/ipfs/js-ipfs/issues/2924
2020-03-18 17:33:29 +01:00
dependabot-preview[bot]
7e985b127f
chore(deps-dev): bump @types/mocha from 5.2.7 to 7.0.2 (#119)
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 5.2.7 to 7.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 14:23:01 +01:00
dependabot-preview[bot]
40d68cb512 chore(deps-dev): bump aegir from 20.6.1 to 21.2.0
Bumps [aegir](https://github.com/ipfs/aegir) from 20.6.1 to 21.2.0.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/aegir/compare/v20.6.1...v21.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 08:14:43 -05:00
Vasco Santos
1d86506c64 chore: release version v0.13.9 v0.13.9 2020-02-19 12:06:43 -05:00
Vasco Santos
9dc7ce5f5e chore: update contributors 2020-02-19 12:06:42 -05:00
Robert Kiel
f775e3509b
chore: update index.d.ts (#115)
Tell Typescript that `isPeerId(id)` returns true if, and only if, `id` is of type `PeerId`.

See https://www.typescriptlang.org/docs/handbook/advanced-types.html#using-type-predicates
2020-02-19 11:51:59 -05:00
Robert Kiel
00819ba4eb
chore: update index.d.ts (#116)
This tells Typescript that `id` is immutable.
2020-02-19 09:17:30 -05:00
Vasco Santos
6870c8c4d7 chore: release version v0.13.8 v0.13.8 2020-02-18 08:44:53 -05:00
Vasco Santos
71d3a100c9 chore: update contributors 2020-02-18 08:44:52 -05:00
Alex Potsides
f44645ef7e
fix: remove use of assert module (#117)
The polyfill is big, we can simulate it by throwing an Error and it doesn't work under React Native.
2020-02-18 08:42:39 -05:00
Jacob Heun
a68855a5d2
chore: release version v0.13.7 v0.13.7 2020-01-27 12:10:00 +01:00
Jacob Heun
d8c307a44f
chore: update contributors 2020-01-27 12:09:59 +01:00
Carson Farmer
a5070aea6e feat: adds typescript types + type tests (#110)
* feat: adds typescript types + type tests

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>

* feat: updates to latest cids release

Signed-off-by: Carson Farmer <carson.farmer@gmail.com>
2020-01-27 12:07:52 +01:00
Vasco Santos
fc9698476f chore: release version v0.13.6 v0.13.6 2019-12-18 10:43:10 +00:00
Vasco Santos
ffe04c12a0 chore: update contributors 2019-12-18 10:43:10 +00:00
Jacob Heun
65e0b746a5 fix: catch errors thrown by multihash decode (#109) 2019-12-18 10:17:59 +00:00
Christian Paul
74cdb24544 chore: typo publick -> public (#108) 2019-11-28 11:39:55 +01:00
Vasco Santos
b5335cd4ee chore: release version v0.13.5 v0.13.5 2019-11-12 15:06:13 +01:00
Vasco Santos
519052693d chore: update contributors 2019-11-12 15:06:13 +01:00
Jacob Heun
bbf0416f08 feat: deprecate isEqual in favor of equals (#107) 2019-11-12 15:00:11 +01:00