twenty-client 0.4.0 → 0.4.1
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.
- checksums.yaml +4 -4
- data/build/js/main/projects.js +7 -0
- data/build/js/main/task/edit.js +7 -0
- data/build/js/main/task/new.js +7 -0
- data/build/js/main/tasks.js +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55a712d2022b7e37f047e8ea5590386c3d3635898c7b18a6ff8ca1ee8d2b914a
|
4
|
+
data.tar.gz: b838d049959e604b8803f9c668b4ba1060500b7d8a53e8dd6d49d55e70b482ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fe347626b5e56e33fffe9aada894035d20dc68c8bdf9151a6b2d0b75ce54c02f71d2eb18a6f383f3b2b92690bb13eb9f2953822090faa31a6d961d4c5393a40
|
7
|
+
data.tar.gz: d73349a9dd64883dbbc924db394d04043537472453f33720acd40d63f1bbdfbda5541196b5570265fbf657b7bce911cc6e092b3bd4c8b2f1154198e4e7765076
|
data/build/js/main/projects.js
CHANGED
@@ -13784,6 +13784,13 @@ function App({ children }) {
|
|
13784
13784
|
.split(",")
|
13785
13785
|
.map(e => e.split("=")));
|
13786
13786
|
const cookies = Object.fromEntries(document.cookie.split(";").map(e => e.split("=")));
|
13787
|
+
const allowlist = ["projectId"];
|
13788
|
+
Object.entries(params).forEach(([key, value]) => {
|
13789
|
+
if (allowlist.includes(key) && cookies[key] !== value &&
|
13790
|
+
/^[0-9A-Za-z]+$/.test(String(value))) {
|
13791
|
+
document.cookie = `${key}=${value}; path=/`;
|
13792
|
+
}
|
13793
|
+
});
|
13787
13794
|
return (React.createElement(AppContext.Provider, { value: { params, cookies } },
|
13788
13795
|
React.createElement(ApolloProvider, { client: client }, children)));
|
13789
13796
|
}
|
data/build/js/main/task/edit.js
CHANGED
@@ -19028,6 +19028,13 @@ function App({ children }) {
|
|
19028
19028
|
.split(",")
|
19029
19029
|
.map(e => e.split("=")));
|
19030
19030
|
const cookies = Object.fromEntries(document.cookie.split(";").map(e => e.split("=")));
|
19031
|
+
const allowlist = ["projectId"];
|
19032
|
+
Object.entries(params).forEach(([key, value]) => {
|
19033
|
+
if (allowlist.includes(key) && cookies[key] !== value &&
|
19034
|
+
/^[0-9A-Za-z]+$/.test(String(value))) {
|
19035
|
+
document.cookie = `${key}=${value}; path=/`;
|
19036
|
+
}
|
19037
|
+
});
|
19031
19038
|
return (App_React.createElement(AppContext.Provider, { value: { params, cookies } },
|
19032
19039
|
App_React.createElement(ApolloProvider, { client: client }, children)));
|
19033
19040
|
}
|
data/build/js/main/task/new.js
CHANGED
@@ -19028,6 +19028,13 @@ function App({ children }) {
|
|
19028
19028
|
.split(",")
|
19029
19029
|
.map(e => e.split("=")));
|
19030
19030
|
const cookies = Object.fromEntries(document.cookie.split(";").map(e => e.split("=")));
|
19031
|
+
const allowlist = ["projectId"];
|
19032
|
+
Object.entries(params).forEach(([key, value]) => {
|
19033
|
+
if (allowlist.includes(key) && cookies[key] !== value &&
|
19034
|
+
/^[0-9A-Za-z]+$/.test(String(value))) {
|
19035
|
+
document.cookie = `${key}=${value}; path=/`;
|
19036
|
+
}
|
19037
|
+
});
|
19031
19038
|
return (App_React.createElement(AppContext.Provider, { value: { params, cookies } },
|
19032
19039
|
App_React.createElement(ApolloProvider, { client: client }, children)));
|
19033
19040
|
}
|
data/build/js/main/tasks.js
CHANGED
@@ -13869,6 +13869,13 @@ function App({ children }) {
|
|
13869
13869
|
.split(",")
|
13870
13870
|
.map(e => e.split("=")));
|
13871
13871
|
const cookies = Object.fromEntries(document.cookie.split(";").map(e => e.split("=")));
|
13872
|
+
const allowlist = ["projectId"];
|
13873
|
+
Object.entries(params).forEach(([key, value]) => {
|
13874
|
+
if (allowlist.includes(key) && cookies[key] !== value &&
|
13875
|
+
/^[0-9A-Za-z]+$/.test(String(value))) {
|
13876
|
+
document.cookie = `${key}=${value}; path=/`;
|
13877
|
+
}
|
13878
|
+
});
|
13872
13879
|
return (React.createElement(AppContext.Provider, { value: { params, cookies } },
|
13873
13880
|
React.createElement(ApolloProvider, { client: client }, children)));
|
13874
13881
|
}
|