@demicodes/host-local 0.10.2 → 0.11.0
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.mjs +2 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -274,7 +274,8 @@ var LocalHostStore = class {
|
|
|
274
274
|
}
|
|
275
275
|
async readJson(key) {
|
|
276
276
|
try {
|
|
277
|
-
|
|
277
|
+
const content = await readFile(this.pathForKey(key), "utf8");
|
|
278
|
+
return parsePortableJson(content);
|
|
278
279
|
} catch (error) {
|
|
279
280
|
if (isFileNotFoundError(error)) return null;
|
|
280
281
|
throw error;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@demicodes/host-local",
|
|
3
3
|
"description": "Node LocalHost and open-box local AgentServer assembly (command bridge on by default).",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@demicodes/agent": "^0.
|
|
15
|
-
"@demicodes/provider": "^0.
|
|
16
|
-
"@demicodes/shell": "^0.
|
|
17
|
-
"@demicodes/utils": "^0.
|
|
14
|
+
"@demicodes/agent": "^0.11.0",
|
|
15
|
+
"@demicodes/provider": "^0.11.0",
|
|
16
|
+
"@demicodes/shell": "^0.11.0",
|
|
17
|
+
"@demicodes/utils": "^0.11.0"
|
|
18
18
|
},
|
|
19
19
|
"license": "Apache-2.0",
|
|
20
20
|
"main": "./dist/index.mjs",
|