holosphere 1.1.15 → 1.1.17

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/holosphere.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @module holosphere
3
- * @version 1.1.12
3
+ * @version 1.1.17
4
4
  * @description Holonic Geospatial Communication Infrastructure
5
5
  * @author Roberto Valenti
6
6
  * @license GPL-3.0-or-later
@@ -20,7 +20,7 @@ import * as ComputeOps from './compute.js';
20
20
  import * as Utils from './utils.js';
21
21
 
22
22
  // Define the version constant
23
- const HOLOSPHERE_VERSION = '1.1.15';
23
+ const HOLOSPHERE_VERSION = '1.1.17';
24
24
 
25
25
  class HoloSphere {
26
26
  /**
package/node.js CHANGED
@@ -39,10 +39,8 @@ export async function putNode(holoInstance, holon, lens, data) {
39
39
  // Soul of the hologram that was *actually stored* at holon/lens/value
40
40
  const storedHologramInstanceSoul = `${holoInstance.appname}/${holon}/${lens}/value`;
41
41
 
42
- targetNodeRef.get('_holograms').get(storedHologramInstanceSoul).put(true);
43
-
44
- console.log(`Data (ID: ${data.id}) being put is a hologram. Added its instance soul ${storedHologramInstanceSoul} to its target ${data.value.soul}'s _holograms set.`);
45
- } else {
42
+ targetNodeRef.get('_holograms').get(storedHologramInstanceSoul).put(true);
43
+ } else {
46
44
  console.warn(`Data (ID: ${data.id}) being put is a hologram, but could not parse its soul ${data.value.soul} for tracking.`);
47
45
  }
48
46
  } catch (trackingError) {
@@ -204,9 +202,8 @@ export async function deleteNode(holoInstance, holon, lens, key) {
204
202
  targetNodeRef.get('_holograms').get(deletedHologramSoul).put(null, (ack) => { // Remove the hologram entry completely
205
203
  if (ack.err) {
206
204
  console.warn(`[deleteNode] Error removing hologram ${deletedHologramSoul} from target ${targetSoul}:`, ack.err);
207
- }
208
- console.log(`Removed hologram ${deletedHologramSoul} from target ${targetSoul}'s _holograms list`);
209
- resolveTrack(); // Resolve regardless of ack error to not block main delete
205
+ }
206
+ resolveTrack(); // Resolve regardless of ack error to not block main delete
210
207
  });
211
208
  });
212
209
  } else {
@@ -237,7 +234,7 @@ export async function deleteNode(holoInstance, holon, lens, key) {
237
234
  console.error('Error in deleteNode:', error);
238
235
  throw error;
239
236
  }
240
- }
237
+ }
241
238
 
242
239
  // Export all node operations as default
243
240
  export default {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holosphere",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "Holonic Geospatial Communication Infrastructure",
5
5
  "main": "holosphere.js",
6
6
  "module": "holosphere.js",
package/schema.js CHANGED
@@ -129,7 +129,7 @@ export function clearSchemaCache(holoInstance, lens = null) {
129
129
  holoInstance.schemaCache.clear();
130
130
  return true;
131
131
  }
132
- }
132
+ }
133
133
 
134
134
  // Export all schema operations as default
135
135
  export default {
package/utils.js CHANGED
@@ -287,7 +287,7 @@ 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
291
 
292
292
  // Export all utility operations as default
293
293
  export default {