h-agent-swap 3.1.0 → 3.1.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "h-agent-swap",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "agent-swap",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -58,8 +58,8 @@ class SwapRouter extends HI {
58
58
  }
59
59
  return false
60
60
  }
61
- async updateWhite({ market,status }) {
62
- let result = await this.manage("updateWhite", [market, status])
61
+ async updateWhite({ address,onoff }) {
62
+ let result = await this.manage("updateWhite", [address,onoff])
63
63
  return result
64
64
  }
65
65