@xdarkicex/openclaw-memory-libravdb 1.6.5 → 1.6.6
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/identity.js +1 -1
- package/dist/index.js +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/identity.js
CHANGED
|
@@ -56,7 +56,7 @@ function writeIdentityFile(path, userId, parts) {
|
|
|
56
56
|
const dir = dirname(path);
|
|
57
57
|
mkdirSync(dir, { recursive: true });
|
|
58
58
|
const tmp = `${path}.${process.pid}.${Math.random().toString(36).slice(2, 8)}.tmp`;
|
|
59
|
-
writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n");
|
|
59
|
+
writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n", { mode: 0o600 });
|
|
60
60
|
renameSync(tmp, path);
|
|
61
61
|
}
|
|
62
62
|
export function resolveIdentity(params) {
|
package/dist/index.js
CHANGED
|
@@ -25033,7 +25033,7 @@ function writeIdentityFile(path4, userId, parts) {
|
|
|
25033
25033
|
const dir = dirname(path4);
|
|
25034
25034
|
mkdirSync(dir, { recursive: true });
|
|
25035
25035
|
const tmp = `${path4}.${process.pid}.${Math.random().toString(36).slice(2, 8)}.tmp`;
|
|
25036
|
-
writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n");
|
|
25036
|
+
writeFileSync(tmp, JSON.stringify(identity, null, 2) + "\n", { mode: 384 });
|
|
25037
25037
|
renameSync(tmp, path4);
|
|
25038
25038
|
}
|
|
25039
25039
|
function resolveIdentity(params) {
|
package/openclaw.plugin.json
CHANGED