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 +3 -3
- package/dist/esm/unet.js +3 -3
- package/dist/unetjs.js +2 -2
- package/dist/unetjs.js.map +1 -1
- package/dist/unetjs.min.js +1 -1
- package/dist/unetjs.min.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/unet.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* unet.js v5.0.
|
|
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.
|
|
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.
|
|
1
|
+
/* unet.js v5.0.1 2025-09-10T10:45:09.128Z */
|
|
2
2
|
|
|
3
|
-
/* fjage.js v2.2.
|
|
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.
|
|
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;
|