@wikicasa-dev/utilities 1.2.0 → 1.2.1-alpha.1

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=(t,e)=>new Promise((o,n)=>{setTimeout(()=>{try{t&&t(),o()}catch{n()}},e)});function i(t,e){if(typeof window.CustomEvent=="function")return new CustomEvent(t,e);e=e||{bubbles:!1,cancelable:!1,detail:void 0};const o=document.createEvent("CustomEvent");return o.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),o}exports.awaitableSetTimeout=u;exports.createCustomEvent=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=(t,e)=>new Promise((o,n)=>{setTimeout(()=>{try{t&&t(),o()}catch{n()}},e)});function u(t,e){if(typeof window.CustomEvent=="function")return new CustomEvent(t,e);e=e||{bubbles:!1,cancelable:!1,detail:void 0};const o=document.createEvent("CustomEvent");return o.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),o}exports.awaitableSetTimeout=i;exports.createCustomEvent=u;
@@ -1,4 +1,4 @@
1
- const c = (t, e) => new Promise((n, o) => {
1
+ const u = (t, e) => new Promise((n, o) => {
2
2
  setTimeout(() => {
3
3
  try {
4
4
  t && t(), n();
@@ -7,7 +7,7 @@ const c = (t, e) => new Promise((n, o) => {
7
7
  }
8
8
  }, e);
9
9
  });
10
- function i(t, e) {
10
+ function c(t, e) {
11
11
  if (typeof window.CustomEvent == "function")
12
12
  return new CustomEvent(t, e);
13
13
  e = e || { bubbles: !1, cancelable: !1, detail: void 0 };
@@ -20,6 +20,6 @@ function i(t, e) {
20
20
  ), n;
21
21
  }
22
22
  export {
23
- c as awaitableSetTimeout,
24
- i as createCustomEvent
23
+ u as awaitableSetTimeout,
24
+ c as createCustomEvent
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/utilities",
3
- "version": "1.2.0",
3
+ "version": "1.2.1-alpha.1",
4
4
  "description": "Wikicasa frontend utilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/dist/main.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";console.log("Hello World");
package/dist/main.d.ts DELETED
File without changes
package/dist/main.js DELETED
@@ -1 +0,0 @@
1
- console.log("Hello World");
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
-