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

Commit

Permalink
fix: remove ipld all formats and fix traverse ipld example (#3025)
Browse files Browse the repository at this point in the history
The ipld-browser-all.js is not needed anymore since we are not shipping the browser bundle with all the formats.

The traverse ipld graphs doesnt need to manually require all the formats because it runs in node.
  • Loading branch information
hugomrdias authored May 14, 2020
1 parent 026a542 commit e6079c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
17 changes: 0 additions & 17 deletions examples/traverse-ipld-graphs/create-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,6 @@ function createNode (options) {
options.path = options.path || '/tmp/ipfs' + Math.random()
return IPFS.create({
repo: options.path,
ipld: {
formats: [
require('ipld-dag-cbor'),
require('ipld-dag-pb'),
require('ipld-raw'),
require('ipld-bitcoin'),
require('ipld-ethereum').ethAccountSnapshot,
require('ipld-ethereum').ethBlock,
require('ipld-ethereum').ethBlockList,
require('ipld-ethereum').ethStateTrie,
require('ipld-ethereum').ethStorageTrie,
require('ipld-ethereum').ethTx,
require('ipld-ethereum').ethTxTrie,
require('ipld-git'),
require('ipld-zcash')
]
},
config: {
Addresses: {
Swarm: [
Expand Down
28 changes: 0 additions & 28 deletions packages/ipfs/src/core/runtime/ipld-browser-all.js

This file was deleted.

0 comments on commit e6079c1

Please sign in to comment.