@stoker-platform/web-client 0.5.79 → 0.5.81
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/bundle.js +2 -2
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -8,7 +8,7 @@ import { getFunctions as $e, httpsCallable as Ye, connectFunctionsEmulator as mp
|
|
|
8
8
|
import { ReCaptchaEnterpriseProvider as pp, initializeAppCheck as Hn, onTokenChanged as Kn } from "firebase/app-check";
|
|
9
9
|
import { getPerformance as gp } from "firebase/performance";
|
|
10
10
|
import { getRemoteConfig as yp, fetchAndActivate as _p } from "firebase/remote-config";
|
|
11
|
-
const vp = "0.5.
|
|
11
|
+
const vp = "0.5.80", wp = (t) => !!t.auth, ct = (t, e) => {
|
|
12
12
|
if (e?.operations)
|
|
13
13
|
return e.operations.includes(t);
|
|
14
14
|
}, In = (t, e) => e ? e.Role ? t.access?.includes(e.Role) : !1 : !0, bp = (t, e) => e ? !e.Role || t.restrictCreate === !0 ? !1 : typeof t.restrictCreate == "object" ? t.restrictCreate?.includes(e.Role) : !0 : !0, Op = (t, e) => e ? !e.Role || t.restrictUpdate === !0 ? !1 : typeof t.restrictUpdate == "object" ? t.restrictUpdate?.includes(e.Role) : !0 : !0, ne = (t, e) => t.filter((r) => r.name === e)[0], _e = (t) => ["OneToOne", "OneToMany", "ManyToOne", "ManyToMany"].includes(t.type), Id = (t, e) => {
|
|
@@ -12036,7 +12036,7 @@ const xw = () => {
|
|
|
12036
12036
|
Nr = "Offline", ve(e.onConnectionStatusChange, [Nr]);
|
|
12037
12037
|
}, 5e3));
|
|
12038
12038
|
});
|
|
12039
|
-
}, Wt = () => Nr, Nw = () => navigator.onLine ? "Online" : "Offline", Cm = async () => {
|
|
12039
|
+
}, Wt = () => Nr ?? "Online", Nw = () => navigator.onLine ? "Online" : "Offline", Cm = async () => {
|
|
12040
12040
|
const t = Ie(), e = dr(), r = e.currentUser;
|
|
12041
12041
|
if (t.preLogout && await ve(t.preLogout, [r]) === !1)
|
|
12042
12042
|
throw new Error("Operation cancelled by preLogout");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoker-platform/web-client",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.81",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"files": [
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"test": "echo \"Error: no test specified\""
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@stoker-platform/types": "0.5.
|
|
28
|
-
"@stoker-platform/utils": "0.5.
|
|
27
|
+
"@stoker-platform/types": "0.5.57",
|
|
28
|
+
"@stoker-platform/utils": "0.5.69",
|
|
29
29
|
"@types/lodash": "^4.17.24",
|
|
30
30
|
"@types/luxon": "^3.7.1",
|
|
31
31
|
"firebase": "^12.14.0",
|