@omnibase/core-js 0.5.7 → 0.5.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.
package/dist/index.cjs CHANGED
@@ -1259,7 +1259,7 @@ var OmnibaseClient = class {
1259
1259
  permissions;
1260
1260
  async fetch(endpoint, options = {}) {
1261
1261
  if (this.config.fetch)
1262
- return this.fetch(this.config.api_url + endpoint, options);
1262
+ return this.config.fetch(this.config.api_url + endpoint, options);
1263
1263
  return fetch(this.config.api_url + endpoint, options);
1264
1264
  }
1265
1265
  };
package/dist/index.js CHANGED
@@ -44,7 +44,7 @@ var OmnibaseClient = class {
44
44
  permissions;
45
45
  async fetch(endpoint, options = {}) {
46
46
  if (this.config.fetch)
47
- return this.fetch(this.config.api_url + endpoint, options);
47
+ return this.config.fetch(this.config.api_url + endpoint, options);
48
48
  return fetch(this.config.api_url + endpoint, options);
49
49
  }
50
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnibase/core-js",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "OmniBase core Javascript SDK - framework agnostic",
5
5
  "files": [
6
6
  "dist/**/*"