files.com 1.0.417 → 1.0.418

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.417
1
+ 1.0.418
@@ -8,6 +8,7 @@
8
8
  "name": "account",
9
9
  "company": "Action Verb",
10
10
  "email": "john.doe@files.com",
11
+ "ip": "10.1.1.1",
11
12
  "clickwrap_body": "example",
12
13
  "form_field_set_id": 1,
13
14
  "form_field_data": {
@@ -24,6 +25,7 @@
24
25
  * `name` (string): Registrant name
25
26
  * `company` (string): Registrant company name
26
27
  * `email` (string): Registrant email address
28
+ * `ip` (string): Registrant IP Address
27
29
  * `clickwrap_body` (string): Clickwrap text that was shown to the registrant
28
30
  * `form_field_set_id` (int64): Id of associated form field set
29
31
  * `form_field_data` (object): Data for form field set with form field ids as keys and user data as values
package/lib/Files.js CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
11
11
  var apiKey;
12
12
  var baseUrl = 'https://app.files.com';
13
13
  var sessionId = null;
14
- var version = "1.0.417";
14
+ var version = "1.0.418";
15
15
  var userAgent = "Files.com JavaScript SDK v".concat(version);
16
16
  var logLevel = _Logger.LogLevel.INFO;
17
17
  var debugRequest = false;
@@ -48,6 +48,10 @@ var InboxRegistration = /*#__PURE__*/(0, _createClass2.default)(function InboxRe
48
48
  (0, _defineProperty2.default)(this, "getEmail", function () {
49
49
  return _this.attributes.email;
50
50
  });
51
+ // string # Registrant IP Address
52
+ (0, _defineProperty2.default)(this, "getIp", function () {
53
+ return _this.attributes.ip;
54
+ });
51
55
  // string # Clickwrap text that was shown to the registrant
52
56
  (0, _defineProperty2.default)(this, "getClickwrapBody", function () {
53
57
  return _this.attributes.clickwrap_body;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.417",
3
+ "version": "1.0.418",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
package/src/Files.js CHANGED
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
5
5
  let apiKey
6
6
  let baseUrl = 'https://app.files.com'
7
7
  let sessionId = null
8
- let version = "1.0.417"
8
+ let version = "1.0.418"
9
9
  let userAgent = `Files.com JavaScript SDK v${version}`
10
10
 
11
11
  let logLevel = LogLevel.INFO
@@ -35,6 +35,9 @@ class InboxRegistration {
35
35
  // string # Registrant email address
36
36
  getEmail = () => this.attributes.email
37
37
 
38
+ // string # Registrant IP Address
39
+ getIp = () => this.attributes.ip
40
+
38
41
  // string # Clickwrap text that was shown to the registrant
39
42
  getClickwrapBody = () => this.attributes.clickwrap_body
40
43