@onehat/data 1.22.25 → 1.22.26

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": "@onehat/data",
3
- "version": "1.22.25",
3
+ "version": "1.22.26",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -144,7 +144,7 @@ class OneBuildRepository extends AjaxRepository {
144
144
  .catch(error => {
145
145
  // Don't log or throw error if request was aborted
146
146
  if (error.name === 'AbortError' || error.code === 'ERR_CANCELED') {
147
- return Promise.reject(new Error('Request cancelled'));
147
+ return Promise.reject('Request cancelled');
148
148
  }
149
149
 
150
150
  if (this.debugMode) {