@mixd-id/web-scaffold 0.1.230406168 → 0.1.230406169

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406168",
4
+ "version": "0.1.230406169",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -273,6 +273,8 @@ const unPascalCase = function(str){
273
273
  return str.replace(/([A-Z])/g, ' $1').trim()
274
274
  }
275
275
 
276
+ const sleep = ms => new Promise(r => setTimeout(r, ms))
277
+
276
278
  export {
277
279
  downsizeImage,
278
280
  uid,
@@ -288,6 +290,7 @@ export {
288
290
  getClipboardData,
289
291
  getComponentUids,
290
292
  unPascalCase,
293
+ sleep,
291
294
  }
292
295
 
293
296
  function observeInit(){