Commit Graph

5 Commits

Author SHA1 Message Date
emizzle ca951546b6 Rename to swarm-api, swarmapi CLI updated
Renamed library to swarm-api to appease npm

swarmapi NodeJS CLI bin updated to use all of the newest functions in the library

README updated with API doc
2018-09-12 11:55:22 +10:00
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
emizzle 1b048cace3 Moved over custom swarmgw to swarmjs repo
Added functionality for put file, put directory (WIP)
2018-09-05 16:35:07 +10:00