@dotdev/harmony-sdk 1.26.1 → 1.27.0

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.
@@ -136,7 +136,7 @@ export class ApiHelper {
136
136
  }
137
137
  else {
138
138
  logger.error(`Unexpected error occurred during API request`);
139
- throw error;
139
+ throw JSON.stringify(error);
140
140
  }
141
141
  }
142
142
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotdev/harmony-sdk",
3
- "version": "1.26.1",
3
+ "version": "1.27.0",
4
4
  "description": "Harmony API SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",