Skip to content

Commit

Permalink
6.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
piano-analytics committed Sep 18, 2023
1 parent abecfc4 commit 204df8a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## 6.11.1
### Fixes

- [browser] No more error log when `cookie_creation_date` not available

## 6.11.0
### New
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "piano-analytics-js",
"description": "JavaScript library for Piano Analytics",
"version": "6.11.0",
"version": "6.11.1",
"main": "dist/browserless/piano-analytics.cjs.js",
"module": "dist/browserless/piano-analytics.esm.js",
"browser": "dist/browser/piano-analytics.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default {
],
'storageVisitor': 'pa_vid',
'storageUser': 'pa_user',
'version': '6.11.0',
'version': '6.11.1',
'minHeartbeat': 5,
'minBufferingHeartbeat': 1,
'queueVarName': '_paq',
Expand Down
4 changes: 1 addition & 3 deletions src/core/steps/metadata.step.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ function metadataStep(pa, model, nextSteps) {
model.setProperty('cookie_creation_date', cookieCreationDate);
}
}
} catch (e) {
console.error(e);
}
} catch (e) { /* empty */ }
const content = dataLayer.get('content');
for (const propContent in content) {
if (Object.prototype.hasOwnProperty.call(content, propContent)) {
Expand Down

0 comments on commit 204df8a

Please sign in to comment.