holosphere 1.1.14 → 1.1.15
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/compute.js +10 -1
- package/content.js +29 -13
- package/federation.js +17 -1
- package/global.js +40 -21
- package/hexlib.js +4 -1
- package/hologram.js +9 -1
- package/holosphere-bundle.esm.js +51 -35
- package/holosphere-bundle.js +51 -35
- package/holosphere-bundle.min.js +14 -14
- package/holosphere.js +1 -1
- package/node.js +10 -1
- package/package.json +3 -3
- package/schema.js +8 -1
- package/utils.js +13 -1
package/holosphere.js
CHANGED
package/node.js
CHANGED
|
@@ -237,4 +237,13 @@ export async function deleteNode(holoInstance, holon, lens, key) {
|
|
|
237
237
|
console.error('Error in deleteNode:', error);
|
|
238
238
|
throw error;
|
|
239
239
|
}
|
|
240
|
-
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// Export all node operations as default
|
|
243
|
+
export default {
|
|
244
|
+
putNode,
|
|
245
|
+
getNode,
|
|
246
|
+
getNodeRef,
|
|
247
|
+
getNodeBySoul,
|
|
248
|
+
deleteNode
|
|
249
|
+
};
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "holosphere",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15",
|
|
4
4
|
"description": "Holonic Geospatial Communication Infrastructure",
|
|
5
5
|
"main": "holosphere.js",
|
|
6
|
+
"module": "holosphere.js",
|
|
6
7
|
"types": "holosphere.d.ts",
|
|
7
8
|
"type": "module",
|
|
8
9
|
"scripts": {
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
"testEnvironment": "node",
|
|
34
35
|
"transform": {}
|
|
35
36
|
},
|
|
36
|
-
"browser": "holosphere
|
|
37
|
+
"browser": "holosphere.js",
|
|
37
38
|
"unpkg": "holosphere-bundle.js",
|
|
38
39
|
"jsdelivr": "holosphere-bundle.js",
|
|
39
40
|
"cdn": "holosphere-bundle.js",
|
|
@@ -58,7 +59,6 @@
|
|
|
58
59
|
],
|
|
59
60
|
"exports": {
|
|
60
61
|
".": {
|
|
61
|
-
"browser": "./holosphere-bundle.js",
|
|
62
62
|
"import": "./holosphere.js",
|
|
63
63
|
"require": "./holosphere.js",
|
|
64
64
|
"default": "./holosphere.js"
|
package/schema.js
CHANGED
|
@@ -129,4 +129,11 @@ export function clearSchemaCache(holoInstance, lens = null) {
|
|
|
129
129
|
holoInstance.schemaCache.clear();
|
|
130
130
|
return true;
|
|
131
131
|
}
|
|
132
|
-
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// Export all schema operations as default
|
|
135
|
+
export default {
|
|
136
|
+
setSchema,
|
|
137
|
+
getSchema,
|
|
138
|
+
clearSchemaCache
|
|
139
|
+
};
|
package/utils.js
CHANGED
|
@@ -287,4 +287,16 @@ export async function close(holoInstance) {
|
|
|
287
287
|
export function userName(holoInstance, holonId) {
|
|
288
288
|
if (!holonId) return null;
|
|
289
289
|
return `${holoInstance.appname}:${holonId}`;
|
|
290
|
-
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// Export all utility operations as default
|
|
293
|
+
export default {
|
|
294
|
+
getHolon,
|
|
295
|
+
getScalespace,
|
|
296
|
+
getHolonScalespace,
|
|
297
|
+
subscribe,
|
|
298
|
+
notifySubscribers,
|
|
299
|
+
generateId,
|
|
300
|
+
close,
|
|
301
|
+
userName
|
|
302
|
+
};
|