Skip to content

Commit 1339796

Browse files
[Bot] push changes from Files.com
1 parent b44cf50 commit 1339796

File tree

7 files changed

+13
-4
lines changed

7 files changed

+13
-4
lines changed

_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.417
1+
1.0.418

docs/models/InboxRegistration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"name": "account",
99
"company": "Action Verb",
1010
"email": "[email protected]",
11+
"ip": "10.1.1.1",
1112
"clickwrap_body": "example",
1213
"form_field_set_id": 1,
1314
"form_field_data": {
@@ -24,6 +25,7 @@
2425
* `name` (string): Registrant name
2526
* `company` (string): Registrant company name
2627
* `email` (string): Registrant email address
28+
* `ip` (string): Registrant IP Address
2729
* `clickwrap_body` (string): Clickwrap text that was shown to the registrant
2830
* `form_field_set_id` (int64): Id of associated form field set
2931
* `form_field_data` (object): Data for form field set with form field ids as keys and user data as values

lib/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
1111
var apiKey;
1212
var baseUrl = 'https://app.files.com';
1313
var sessionId = null;
14-
var version = "1.0.417";
14+
var version = "1.0.418";
1515
var userAgent = "Files.com JavaScript SDK v".concat(version);
1616
var logLevel = _Logger.LogLevel.INFO;
1717
var debugRequest = false;

lib/models/InboxRegistration.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ var InboxRegistration = /*#__PURE__*/(0, _createClass2.default)(function InboxRe
4848
(0, _defineProperty2.default)(this, "getEmail", function () {
4949
return _this.attributes.email;
5050
});
51+
// string # Registrant IP Address
52+
(0, _defineProperty2.default)(this, "getIp", function () {
53+
return _this.attributes.ip;
54+
});
5155
// string # Clickwrap text that was shown to the registrant
5256
(0, _defineProperty2.default)(this, "getClickwrapBody", function () {
5357
return _this.attributes.clickwrap_body;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "files.com",
3-
"version": "1.0.417",
3+
"version": "1.0.418",
44
"description": "Files.com SDK for JavaScript",
55
"keywords": [
66
"files.com",

src/Files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const endpointPrefix = '/api/rest/v1'
55
let apiKey
66
let baseUrl = 'https://app.files.com'
77
let sessionId = null
8-
let version = "1.0.417"
8+
let version = "1.0.418"
99
let userAgent = `Files.com JavaScript SDK v${version}`
1010

1111
let logLevel = LogLevel.INFO

src/models/InboxRegistration.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ class InboxRegistration {
3535
// string # Registrant email address
3636
getEmail = () => this.attributes.email
3737

38+
// string # Registrant IP Address
39+
getIp = () => this.attributes.ip
40+
3841
// string # Clickwrap text that was shown to the registrant
3942
getClickwrapBody = () => this.attributes.clickwrap_body
4043

0 commit comments

Comments
 (0)