Skip to content

Commit

Permalink
send env with event data
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardmcmanus committed May 9, 2017
1 parent c18421f commit 7296359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import v4 from 'uuid/v4';
import Stack from './stack';
import { TimingEvent } from './events';
import { warn, get } from './helpers';
import CONFIG from './config';

export default function Transaction(enqueue, commonData = {}) {
const common = {
env: CONFIG.env,
transactionId: v4(),
userAgent: get(global, ['navigator', 'userAgent']),
...commonData
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bitclock",
"version": "0.1.0-beta.9",
"version": "0.1.0-beta.10",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down

0 comments on commit 7296359

Please sign in to comment.