presidium 0.26.7 → 0.26.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Docker.js +3 -0
  2. package/package.json +1 -1
package/Docker.js CHANGED
@@ -636,6 +636,9 @@ Docker.prototype.joinSwarm = async function dockerJoinSwarm(
636
636
  address, token, options = {}
637
637
  ) {
638
638
  return this.http.post('/swarm/join', {
639
+ headers: {
640
+ 'Content-Type': 'application/json',
641
+ },
639
642
  body: stringifyJSON({
640
643
  JoinToken: token,
641
644
  AdvertiseAddr: get('advertiseAddr', address)(options),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presidium",
3
- "version": "0.26.7",
3
+ "version": "0.26.8",
4
4
  "description": "A library for creating web services",
5
5
  "author": "Richard Tong",
6
6
  "license": "MIT",