@shapeshiftoss/swapper 8.5.2 → 8.5.3

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.
@@ -25,12 +25,6 @@ class SwapperManager {
25
25
  addSwapper(swapperInstance) {
26
26
  validateSwapper(swapperInstance);
27
27
  const swapperType = swapperInstance.getType();
28
- const swapper = this.swappers.get(swapperType);
29
- if (swapper)
30
- throw new api_1.SwapError('[addSwapper] - swapper already exists', {
31
- code: api_1.SwapErrorTypes.MANAGER_ERROR,
32
- details: { swapperType }
33
- });
34
28
  this.swappers.set(swapperType, swapperInstance);
35
29
  return this;
36
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshiftoss/swapper",
3
- "version": "8.5.2",
3
+ "version": "8.5.3",
4
4
  "description": "An interface and implementations to trade coins via various protocols",
5
5
  "repository": "https://github.com/shapeshift/lib",
6
6
  "license": "MIT",