files.com 1.0.177 → 1.0.178

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/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.177
1
+ 1.0.178
@@ -83,6 +83,9 @@ var As2IncomingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Inc
83
83
  (0, _defineProperty2.default)(this, "getSubject", function () {
84
84
  return _this.attributes.subject;
85
85
  });
86
+ (0, _defineProperty2.default)(this, "getDate", function () {
87
+ return _this.attributes.date;
88
+ });
86
89
  (0, _defineProperty2.default)(this, "getBodySize", function () {
87
90
  return _this.attributes.body_size;
88
91
  });
@@ -74,6 +74,9 @@ var As2OutgoingMessage = /*#__PURE__*/(0, _createClass2.default)(function As2Out
74
74
  (0, _defineProperty2.default)(this, "getAs2From", function () {
75
75
  return _this.attributes.as2_from;
76
76
  });
77
+ (0, _defineProperty2.default)(this, "getDate", function () {
78
+ return _this.attributes.date;
79
+ });
77
80
  (0, _defineProperty2.default)(this, "getMessageId", function () {
78
81
  return _this.attributes.message_id;
79
82
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.177",
3
+ "version": "1.0.178",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -64,6 +64,9 @@ class As2IncomingMessage {
64
64
  // string # AS2 Subject Header
65
65
  getSubject = () => this.attributes.subject
66
66
 
67
+ // string # Date Header
68
+ getDate = () => this.attributes.date
69
+
67
70
  // string # Encrypted Payload Body Size
68
71
  getBodySize = () => this.attributes.body_size
69
72
 
@@ -55,6 +55,9 @@ class As2OutgoingMessage {
55
55
  // string # AS2 FROM
56
56
  getAs2From = () => this.attributes.as2_from
57
57
 
58
+ // string # Date Header
59
+ getDate = () => this.attributes.date
60
+
58
61
  // string # AS2 Message Id
59
62
  getMessageId = () => this.attributes.message_id
60
63