Commit Graph

4 Commits

Author SHA1 Message Date
emizzle a1aa94424a Rename to SwarmAPI 2018-09-11 12:38:47 +10:00
emizzle 830040021d Constructor refactor, clean up
Linting, remove swarmjs.min, format spaces

Refactored constructor of SwarmJS to remove `mode` option. By default, if no `gateway` option is passed in, the default gateway will be `https://swarm-gateways.net`.  Removed the `else if` and only list `swarm-gateways.net` once.
2018-09-11 12:20:31 +10:00
emizzle a9fe1ff313 Split module between nodejs and browser
Somehow when embark webpacks the dapp, it is still seeing the ‘fs’ object, which of course it doesn’t know about, so it is complaining about a missing module. Any help would be greatly appreciated.
2018-09-10 21:34:39 +10:00
Iuri Matias f42a82da6b restructure 2018-09-06 15:21:00 -04:00