Add 'utils' module export (#410)

Export core utils and assets used by RWP in /utils.
Add serviceWorkerActivated() utility promise.

---------

Co-authored-by: emma <hi@emma.cafe>
This commit is contained in:
Ilya Kreymer
2025-03-12 21:55:29 -07:00
committed by GitHub
co-authored by emma
parent 2ef95985cd
commit 592ccc5253
9 changed files with 54 additions and 16 deletions
+7 -3
View File
@@ -1,7 +1,7 @@
{
"name": "replaywebpage",
"productName": "ReplayWeb.page",
"version": "2.3.3",
"version": "2.3.4",
"description": "Serverless Web Archive Replay",
"repository": "https://github.com/webrecorder/replayweb.page",
"homepage": "https://replayweb.page/",
@@ -13,12 +13,16 @@
"default": "./dist/index.js"
},
"./src/electron-*": "./src/electron-*.ts",
"./index.html": "./index.html"
"./index.html": "./index.html",
"./utils": {
"types": "./dist/types/utils/index.d.ts",
"default": "./dist/utils.js"
}
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@shoelace-style/shoelace": "~2.15.1",
"@webrecorder/wabac": "^2.21.3",
"@webrecorder/wabac": "^2.22.2",
"bulma": "^0.9.3",
"electron-log": "^4.4.1",
"electron-updater": "^6.3.9",