@stoker-platform/web-client 0.5.98 → 0.5.100
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 We, httpsCallable as Qe, connectFunctionsEmulator as Op
|
|
|
8
8
|
import { ReCaptchaEnterpriseProvider as Ep, initializeAppCheck as Xn, onTokenChanged as es } from "firebase/app-check";
|
|
9
9
|
import { getPerformance as Sp } from "firebase/performance";
|
|
10
10
|
import { getRemoteConfig as Tp, fetchAndActivate as Rp } from "firebase/remote-config";
|
|
11
|
-
const Ap = "0.5.
|
|
11
|
+
const Ap = "0.5.99", Nn = (t) => !!t && !Array.isArray(t), co = (t, e) => t.access ? Nn(t.access) ? !1 : t.access.includes(e) : !0, Cp = (t, e) => {
|
|
12
12
|
if (Nn(t.access))
|
|
13
13
|
return e.fieldAccessGroups?.[t.access.group];
|
|
14
14
|
}, Lo = (t) => {
|
|
@@ -11707,7 +11707,7 @@ const Cw = async (t, e) => {
|
|
|
11707
11707
|
const m = v?.originalRecord || n?.originalRecord || await Sr(t, e, { noComputedFields: !0, noEmbeddingFields: !0 });
|
|
11708
11708
|
for (const V of o.collections[h].fields)
|
|
11709
11709
|
V.type === "Computed" && (delete r[V.name], delete m[V.name]);
|
|
11710
|
-
const C = Po(f), S = { collection: b.collection }, _ = g.fields.filter((V) => V.saveToAuthToken), R = g.auth && s?.operation === "create", F = g.auth && s?.operation === "delete", Y = g.auth && !R && !F && (s?.operation === "update" || r.Role || r.Enabled !== void 0 || r.Name || r.Email || r.Photo_URL || _.some((V) => r[V.name] !== void 0)), A = await ne(O, [
|
|
11710
|
+
const C = Po(f), S = { collection: b.collection }, _ = g.fields.filter((V) => V.saveToAuthToken), R = g.auth && s?.operation === "create", F = g.auth && s?.operation === "delete", Y = g.auth && !R && !F && (s?.operation === "update" || m.User_ID && (r.Role || r.Enabled !== void 0 || r.Name || r.Email || r.Photo_URL || _.some((V) => r[V.name] !== void 0))), A = await ne(O, [
|
|
11711
11711
|
"collections",
|
|
11712
11712
|
b.collection,
|
|
11713
11713
|
"custom",
|
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.100",
|
|
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.68",
|
|
28
|
+
"@stoker-platform/utils": "0.5.83",
|
|
29
29
|
"@types/lodash": "^4.17.24",
|
|
30
30
|
"@types/luxon": "^3.7.1",
|
|
31
31
|
"firebase": "^12.14.0",
|