@redthreadlabs/tracelog 1.12.0 → 1.13.1

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/agent.js +1 -0
  2. package/package.json +2 -2
package/lib/agent.js CHANGED
@@ -1156,6 +1156,7 @@ function _validateRecordOrigin(input) {
1156
1156
  }
1157
1157
  if (input.device && typeof input.device === 'object') {
1158
1158
  const d = {};
1159
+ if (str(input.device.id) !== undefined) d.id = str(input.device.id);
1159
1160
  if (str(input.device.model) !== undefined) d.model = str(input.device.model);
1160
1161
  if (str(input.device.brand) !== undefined) d.brand = str(input.device.brand);
1161
1162
  if (str(input.device.type) !== undefined) d.type = str(input.device.type);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redthreadlabs/tracelog",
3
- "version": "1.12.0",
3
+ "version": "1.13.1",
4
4
  "description": "Node.js APM instrumentation that writes traces to JSONL files",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@aws-sdk/client-s3": "^3.0.0",
52
52
  "@elastic/ecs-pino-format": "^1.5.0",
53
- "@redthreadlabs/tracelog-schema": "^0.3.0",
53
+ "@redthreadlabs/tracelog-schema": "^0.5.0",
54
54
  "after-all-results": "^2.0.0",
55
55
  "async-value-promise": "^1.1.1",
56
56
  "basic-auth": "^2.0.1",