@usermaven/nextjs 1.3.1 → 1.3.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.
Files changed (2) hide show
  1. package/lib/index.es.js +3 -3
  2. package/package.json +1 -1
package/lib/index.es.js CHANGED
@@ -790,7 +790,7 @@ function _copyAndTruncateStrings(object, maxStringLength) {
790
790
  }
791
791
  // Function to find the closest link element
792
792
  function _findClosestLink(element) {
793
- while (element && element.tagName.toLowerCase() !== 'a') {
793
+ while (element && element.tagName && element.tagName.toLowerCase() !== 'a') {
794
794
  element = element.parentNode;
795
795
  }
796
796
  return element;
@@ -1406,8 +1406,8 @@ _safewrap_instance_methods(autocapture);
1406
1406
 
1407
1407
  var VERSION_INFO = {
1408
1408
  env: 'production',
1409
- date: '2024-02-06T12:31:10.738Z',
1410
- version: '1.3.1'
1409
+ date: '2024-02-20T05:52:39.092Z',
1410
+ version: '1.3.2'
1411
1411
  };
1412
1412
  var USERMAVEN_VERSION = VERSION_INFO.version + "/" + VERSION_INFO.env + "@" + VERSION_INFO.date;
1413
1413
  var MAX_AGE_TEN_YEARS = 31622400 * 10;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usermaven/nextjs",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Usermaven JavaScript SDK for NextJS",
5
5
  "author": "Usermaven <hello@usermaven.com>",
6
6
  "license": "MIT",