saloe 0.0.14 → 0.0.16

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.
@@ -151,7 +151,10 @@ const listener = () => {
151
151
  const fireListeners = () => {
152
152
  EVENTS_FIRE_DOCUMENT_BODY_LISTENERS == null ? void 0 : EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.forEach((event) => {
153
153
  document.body[`on${event}`] = async (e) => {
154
- await addScripts();
154
+ console.log("--- prev: addScripts");
155
+ const x = await addScripts();
156
+ console.log("--- value:", x);
157
+ console.log("--- after: addScripts");
155
158
  fireLoadListener();
156
159
  fireObserverListeners();
157
160
  };
@@ -149,7 +149,10 @@ const listener = () => {
149
149
  const fireListeners = () => {
150
150
  EVENTS_FIRE_DOCUMENT_BODY_LISTENERS == null ? void 0 : EVENTS_FIRE_DOCUMENT_BODY_LISTENERS.forEach((event) => {
151
151
  document.body[`on${event}`] = async (e) => {
152
- await addScripts();
152
+ console.log("--- prev: addScripts");
153
+ const x = await addScripts();
154
+ console.log("--- value:", x);
155
+ console.log("--- after: addScripts");
153
156
  fireLoadListener();
154
157
  fireObserverListeners();
155
158
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saloe",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "Tools for making web development easy and efficient",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/listener.js CHANGED
@@ -213,7 +213,10 @@ const listener = () => {
213
213
  const fireListeners = () => {
214
214
  EVENTS_FIRE_DOCUMENT_BODY_LISTENERS?.forEach((event) => {
215
215
  document.body[`on${event}`] = async (e) => {
216
- await addScripts()
216
+ console.log('--- prev: addScripts')
217
+ const x = await addScripts()
218
+ console.log('--- value:', x)
219
+ console.log('--- after: addScripts')
217
220
 
218
221
  fireLoadListener()
219
222
  fireObserverListeners()