@stoker-platform/web-client 0.3.1 → 0.4.2
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 je, httpsCallable as Ye, connectFunctionsEmulator as up
|
|
|
8
8
|
import { ReCaptchaEnterpriseProvider as fp, initializeAppCheck as Zn, onTokenChanged as Gn } from "firebase/app-check";
|
|
9
9
|
import { getPerformance as dp } from "firebase/performance";
|
|
10
10
|
import { getRemoteConfig as hp, fetchAndActivate as mp } from "firebase/remote-config";
|
|
11
|
-
const pp = "0.
|
|
11
|
+
const pp = "0.4.1", yp = (r) => !!r.auth, _t = (r, e) => {
|
|
12
12
|
if (e?.operations)
|
|
13
13
|
return e.operations.includes(r);
|
|
14
14
|
}, An = (r, e) => e ? e.Role ? r.access?.includes(e.Role) : !1 : !0, gp = (r, e) => r.restrictCreate === !0 ? !1 : e && typeof r.restrictCreate == "object" ? e.Role ? r.restrictCreate?.includes(e.Role) : !1 : !0, _p = (r, e) => r.restrictUpdate === !0 ? !1 : e && typeof r.restrictUpdate == "object" ? e.Role ? r.restrictUpdate?.includes(e.Role) : !1 : !0, ne = (r, e) => r.filter((t) => t.name === e)[0], _e = (r) => ["OneToOne", "OneToMany", "ManyToOne", "ManyToMany"].includes(r.type), Td = (r, e) => {
|
|
@@ -11198,7 +11198,7 @@ const fw = async (r, e) => {
|
|
|
11198
11198
|
}
|
|
11199
11199
|
const b = Oe(t);
|
|
11200
11200
|
r !== "delete" && (m.data.data = b, e === "written" && oc(m.data.data)), r !== "delete" && e !== "written" && rr(b), r === "update" && (m.data.originalRecord = Oe(c)), r !== "delete" && ["started", "written"].includes(e) && (delete m.data.data.Saved_At, delete m.data.data.Last_Save_At), e === "failed" && (m.data.error = JSON.stringify(o));
|
|
11201
|
-
const y = t.Last_Write_At, g = Ae(d, "tenants", l, "system_write_log", `${a}-${y.valueOf()}`);
|
|
11201
|
+
const y = t.Last_Write_At, g = Ae(d, "tenants", l, u.collection, s, "system_write_log", `${a}-${y.valueOf()}`);
|
|
11202
11202
|
Gm(g, m).catch((T) => {
|
|
11203
11203
|
console.error(`Error saving "${e}" ${r} log entry for record ${s} in ${u.collection} collection.`, { cause: T });
|
|
11204
11204
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoker-platform/web-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"files": [
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"test": "echo \"Error: no test specified\""
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@stoker-platform/types": "0.
|
|
27
|
-
"@stoker-platform/utils": "0.
|
|
26
|
+
"@stoker-platform/types": "0.4.1",
|
|
27
|
+
"@stoker-platform/utils": "0.4.1",
|
|
28
28
|
"@types/lodash": "^4.17.21",
|
|
29
29
|
"@types/luxon": "^3.7.1",
|
|
30
30
|
"firebase": "^12.6.0",
|