@symbo.ls/fetch 2.11.26 → 2.11.36

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/cjs/index.js CHANGED
@@ -38,7 +38,7 @@ var utils = __toESM(require("@domql/utils"), 1);
38
38
  var globals = __toESM(require("@domql/globals"), 1);
39
39
  const { overwriteDeep, deepDestringify, isObject } = utils;
40
40
  const { window } = globals;
41
- const IS_DEVELOPMENT = window && window.location ? window.location.host.includes("dev") : true;
41
+ const IS_DEVELOPMENT = window && window.location ? window.location.host.includes("dev") || window.location.host.includes("symbo.ls") : true;
42
42
  const SERVER_URL = IS_DEVELOPMENT ? "localhost:13335" : "https://api.symbols.dev";
43
43
  const defaultOptions = {
44
44
  endpoint: SERVER_URL
package/index.js CHANGED
@@ -6,7 +6,9 @@ import * as globals from '@domql/globals'
6
6
  const { overwriteDeep, deepDestringify, isObject } = utils
7
7
  const { window } = globals
8
8
 
9
- const IS_DEVELOPMENT = window && window.location ? window.location.host.includes('dev') : process.env.NODE_ENV === 'development'
9
+ const IS_DEVELOPMENT = window && window.location
10
+ ? window.location.host.includes('dev') || window.location.host.includes('symbo.ls')
11
+ : process.env.NODE_ENV === 'development'
10
12
 
11
13
  const SERVER_URL = IS_DEVELOPMENT
12
14
  ? 'localhost:13335'
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/fetch",
3
- "version": "2.11.26",
3
+ "version": "2.11.36",
4
4
  "license": "MIT",
5
- "gitHead": "38079adee748d068bdd5edb21b5925f5f58b3ce6",
5
+ "gitHead": "dcbcb0c3da036cfdb2fa14632c7dd32f8041af2a",
6
6
  "type": "module",
7
7
  "module": "index.js",
8
8
  "main": "index.js",