@symbo.ls/fetch 2.11.220 → 2.11.279

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
@@ -67,9 +67,6 @@ const fetchProject = async (key, options) => {
67
67
  const data = await fetchRemote(key, editor);
68
68
  const evalData = IS_DEVELOPMENT ? deepDestringify(data) : deepDestringify(data.releases[0]);
69
69
  if (editor.serviceRoute) {
70
- console.log(editor.serviceRoute);
71
- console.log(evalData);
72
- console.log(options);
73
70
  if (utils.isArray(editor.serviceRoute)) {
74
71
  editor.serviceRoute.forEach((route) => {
75
72
  overwriteDeep(options[route], evalData[route.toLowerCase()]);
@@ -78,7 +75,7 @@ const fetchProject = async (key, options) => {
78
75
  overwriteDeep(options[editor.serviceRoute], evalData);
79
76
  }
80
77
  } else {
81
- ["state", "designSystem", "components", "snippets", "pages"].forEach((key2) => {
78
+ ["state", "designSystem", "components", "snippets", "pages", "utils", "functions"].forEach((key2) => {
82
79
  overwriteDeep(options[key2], evalData[key2.toLowerCase()]);
83
80
  });
84
81
  }
package/index.js CHANGED
@@ -51,9 +51,6 @@ export const fetchProject = async (key, options) => {
51
51
  : deepDestringify(data.releases[0])
52
52
 
53
53
  if (editor.serviceRoute) {
54
- console.log(editor.serviceRoute)
55
- console.log(evalData)
56
- console.log(options)
57
54
  if (utils.isArray(editor.serviceRoute)) {
58
55
  editor.serviceRoute.forEach(route => {
59
56
  overwriteDeep(options[route], evalData[route.toLowerCase()])
@@ -62,7 +59,7 @@ export const fetchProject = async (key, options) => {
62
59
  overwriteDeep(options[editor.serviceRoute], evalData)
63
60
  }
64
61
  } else {
65
- ['state', 'designSystem', 'components', 'snippets', 'pages'].forEach(key => {
62
+ ['state', 'designSystem', 'components', 'snippets', 'pages', 'utils', 'functions'].forEach(key => {
66
63
  overwriteDeep(options[key], evalData[key.toLowerCase()])
67
64
  })
68
65
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/fetch",
3
- "version": "2.11.220",
3
+ "version": "2.11.279",
4
4
  "license": "MIT",
5
- "gitHead": "557d47cf9535b98e5cfbe8bed505da0db847fc12",
5
+ "gitHead": "930c65852b7a939a2c3f1e4a6401ddf90919b33d",
6
6
  "type": "module",
7
7
  "module": "index.js",
8
8
  "main": "index.js",