unetjs 5.0.0 → 5.0.1

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/cjs/unet.cjs CHANGED
@@ -1,8 +1,8 @@
1
- /* unet.js v5.0.0 2025-09-10T05:44:10.408Z */
1
+ /* unet.js v5.0.1 2025-09-10T10:45:09.129Z */
2
2
 
3
3
  'use strict';
4
4
 
5
- /* fjage.js v2.2.1 */
5
+ /* fjage.js v2.2.2 */
6
6
 
7
7
  /**
8
8
  * An action represented by a message. The performative actions are a subset of the
@@ -704,7 +704,7 @@ class JSONMessage {
704
704
  jsonObj.services = this.services;
705
705
  if (jsonObj.services.length === 0) delete jsonObj.services; // remove empty array
706
706
  }
707
- if (this.answer) jsonObj.answer = this.answer;
707
+ if (this.answer != undefined) jsonObj.answer = this.answer;
708
708
  if (this.message) jsonObj.message = this.message;
709
709
  if (this.relay) jsonObj.relay = this.relay;
710
710
  if (this.creds) jsonObj.creds = this.creds;
package/dist/esm/unet.js CHANGED
@@ -1,6 +1,6 @@
1
- /* unet.js v5.0.0 2025-09-10T05:44:10.407Z */
1
+ /* unet.js v5.0.1 2025-09-10T10:45:09.128Z */
2
2
 
3
- /* fjage.js v2.2.1 */
3
+ /* fjage.js v2.2.2 */
4
4
 
5
5
  /**
6
6
  * An action represented by a message. The performative actions are a subset of the
@@ -702,7 +702,7 @@ class JSONMessage {
702
702
  jsonObj.services = this.services;
703
703
  if (jsonObj.services.length === 0) delete jsonObj.services; // remove empty array
704
704
  }
705
- if (this.answer) jsonObj.answer = this.answer;
705
+ if (this.answer != undefined) jsonObj.answer = this.answer;
706
706
  if (this.message) jsonObj.message = this.message;
707
707
  if (this.relay) jsonObj.relay = this.relay;
708
708
  if (this.creds) jsonObj.creds = this.creds;
package/dist/unetjs.js CHANGED
@@ -4,7 +4,7 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.unet = {}));
5
5
  })(this, (function (exports) { 'use strict';
6
6
 
7
- /* fjage.js v2.2.1 */
7
+ /* fjage.js v2.2.2 */
8
8
 
9
9
  /**
10
10
  * An action represented by a message. The performative actions are a subset of the
@@ -706,7 +706,7 @@
706
706
  jsonObj.services = this.services;
707
707
  if (jsonObj.services.length === 0) delete jsonObj.services; // remove empty array
708
708
  }
709
- if (this.answer) jsonObj.answer = this.answer;
709
+ if (this.answer != undefined) jsonObj.answer = this.answer;
710
710
  if (this.message) jsonObj.message = this.message;
711
711
  if (this.relay) jsonObj.relay = this.relay;
712
712
  if (this.creds) jsonObj.creds = this.creds;