@agimon-ai/po-remote 0.0.0-alpha.199 → 0.0.0-alpha.200
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/po-runtime-identity.json +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -2955,7 +2955,7 @@ function parseLiveActivityRegistration(value) {
|
|
|
2955
2955
|
"spacing"
|
|
2956
2956
|
].includes(key))) return void 0;
|
|
2957
2957
|
const text = (v, max) => typeof v === "string" && v.length <= max && !/[\u0000-\u001f\u007f]/u.test(v);
|
|
2958
|
-
if (p.nameFallback !== void 0 && !text(p.nameFallback, 160) || !text(p.initials, 8) || !text(p.approvalLabel, 160) || p.avatar !== void 0 && (typeof p.avatar !== "string" || p.avatar.length > 512 || !/^file:\/\/\/(?:private\/)?var\/mobile\/Containers\/Shared\/AppGroup\/[A-Fa-f0-9-]{36}\/po-session-avatars\/[A-Za-z0-9_-]+\.(png|jpeg|webp)$/u.test(p.avatar) || p.avatar.split("/").includes("..")) || !(typeof p.spacing === "number" && Number.isFinite(p.spacing) && p.spacing > 0 && p.spacing <= 64)) return void 0;
|
|
2958
|
+
if (p.nameFallback !== void 0 && !text(p.nameFallback, 160) || !text(p.initials, 8) || !text(p.approvalLabel, 160) || p.avatar !== void 0 && (typeof p.avatar !== "string" || p.avatar.length > 512 || !/^file:\/\/\/(?:private\/)?var\/mobile\/Containers\/Shared\/AppGroup\/[A-Fa-f0-9-]{36}\/ExpoWidgets\/po-session-avatars\/[A-Za-z0-9_-]+\.(png|jpeg|webp)$/u.test(p.avatar) || p.avatar.split("/").includes("..")) || !(typeof p.spacing === "number" && Number.isFinite(p.spacing) && p.spacing > 0 && p.spacing <= 64)) return void 0;
|
|
2959
2959
|
const statuses = [
|
|
2960
2960
|
"working",
|
|
2961
2961
|
"question",
|