@usermaven/nextjs 1.4.1 → 1.4.2
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/lib/index.es.js +4 -4
- package/package.json +1 -1
package/lib/index.es.js
CHANGED
|
@@ -1547,8 +1547,8 @@ var FormTracking = /** @class */ (function () {
|
|
|
1547
1547
|
|
|
1548
1548
|
var VERSION_INFO = {
|
|
1549
1549
|
env: 'production',
|
|
1550
|
-
date: '2024-11-
|
|
1551
|
-
version: '1.4.
|
|
1550
|
+
date: '2024-11-15T06:39:44.205Z',
|
|
1551
|
+
version: '1.4.2'
|
|
1552
1552
|
};
|
|
1553
1553
|
var USERMAVEN_VERSION = VERSION_INFO.version + "/" + VERSION_INFO.env + "@" + VERSION_INFO.date;
|
|
1554
1554
|
var MAX_AGE_TEN_YEARS = 31622400 * 10;
|
|
@@ -2164,13 +2164,13 @@ var UsermavenClientImpl = /** @class */ (function () {
|
|
|
2164
2164
|
var user = __assign({}, this.userProperties);
|
|
2165
2165
|
var company = user['company'] || {};
|
|
2166
2166
|
delete user['company'];
|
|
2167
|
-
var payload = __assign(__assign({ event_id: "", user: __assign({ anonymous_id: this.cookiePolicy !== "strict"
|
|
2167
|
+
var payload = __assign(__assign({ event_id: "", user: __assign(__assign({}, user), { anonymous_id: this.cookiePolicy !== "strict"
|
|
2168
2168
|
? env.getAnonymousId({
|
|
2169
2169
|
name: this.idCookieName,
|
|
2170
2170
|
domain: this.cookieDomain,
|
|
2171
2171
|
crossDomainLinking: this.crossDomainLinking,
|
|
2172
2172
|
})
|
|
2173
|
-
: "" }
|
|
2173
|
+
: "" }), ids: this._getIds(), utc_time: reformatDate(now.toISOString()), local_tz_offset: now.getTimezoneOffset() }, props), getDataFromParams(parseQuery(props.doc_search)));
|
|
2174
2174
|
// id and name attributes will be checked on backend
|
|
2175
2175
|
if (Object.keys(company).length) {
|
|
2176
2176
|
payload['company'] = company;
|