Skip to content

Commit

Permalink
feat: add ipns-ns (#46)
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Henrique Dias <[email protected]>
  • Loading branch information
hacdias authored Jul 16, 2019
1 parent 483c56a commit efc5aa6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/base-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ exports['path'] = Buffer.from('2f', 'hex')
exports['ipld-ns'] = Buffer.from('e2', 'hex')
exports['ipfs-ns'] = Buffer.from('e3', 'hex')
exports['swarm-ns'] = Buffer.from('e4', 'hex')
exports['ipns-ns'] = Buffer.from('e5', 'hex')

// key
exports['ed25519-pub'] = Buffer.from('ed', 'hex')
Expand Down
1 change: 1 addition & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ module.exports = Object.freeze({
IPLD_NS: 0xe2,
IPFS_NS: 0xe3,
SWARM_NS: 0xe4,
IPNS_NS: 0xe5,

// key
ED25519_PUB: 0xed,
Expand Down
1 change: 1 addition & 0 deletions src/print.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ module.exports = Object.freeze({
0xe2: 'ipld-ns',
0xe3: 'ipfs-ns',
0xe4: 'swarm-ns',
0xe5: 'ipns-ns',

// key
0xed: 'ed25519-pub',
Expand Down

0 comments on commit efc5aa6

Please sign in to comment.