Socket
Socket
Sign inDemoInstall

@datadog/browser-rum-core

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datadog/browser-rum-core - npm Package Compare versions

Comparing version 4.44.2 to 4.45.0

1

cjs/boot/startRum.js

@@ -50,2 +50,3 @@ "use strict";

lifeCycle.notify(12 /* LifeCycleEventType.RAW_ERROR_COLLECTED */, { error: error });
(0, browser_core_1.addTelemetryDebug)('Error reported to customer', { 'error.message': error.message });
};

@@ -52,0 +53,0 @@ var featureFlagContexts = (0, featureFlagContext_1.startFeatureFlagContexts)(lifeCycle);

@@ -56,3 +56,7 @@ "use strict";

},
browser_sdk_version: (0, browser_core_1.canUseEventBridge)() ? "4.44.2" : undefined,
configuration: {
session_sample_rate: (0, browser_core_1.round)(configuration.sessionSampleRate, 3),
session_replay_sample_rate: (0, browser_core_1.round)(configuration.sessionReplaySampleRate, 3),
},
browser_sdk_version: (0, browser_core_1.canUseEventBridge)() ? "4.45.0" : undefined,
},

@@ -59,0 +63,0 @@ application: {

@@ -233,2 +233,6 @@ import type { Context, Duration, ErrorSource, ErrorHandling, ResourceType, ServerDuration, TimeStamp, RawErrorCause, DefaultPrivacyLevel } from '@datadog/browser-core';

};
configuration: {
session_sample_rate: number;
session_replay_sample_rate: number;
};
browser_sdk_version?: string;

@@ -235,0 +239,0 @@ };

@@ -1023,2 +1023,16 @@ /**

/**
* Subset of the SDK configuration options in use during its execution
*/
readonly configuration?: {
/**
* The percentage of sessions tracked
*/
readonly session_sample_rate: number;
/**
* The percentage of sessions with RUM & Session Replay pricing tracked
*/
readonly session_replay_sample_rate: number;
[k: string]: unknown;
};
/**
* Browser SDK version

@@ -1025,0 +1039,0 @@ */

3

esm/boot/startRum.js

@@ -1,2 +0,2 @@

import { sendToExtension, createPageExitObservable, addTelemetryConfiguration, startTelemetry, canUseEventBridge, getEventBridge, } from '@datadog/browser-core';
import { sendToExtension, createPageExitObservable, addTelemetryConfiguration, startTelemetry, canUseEventBridge, getEventBridge, addTelemetryDebug, } from '@datadog/browser-core';
import { createDOMMutationObservable } from '../browser/domMutationObservable';

@@ -47,2 +47,3 @@ import { startPerformanceCollection } from '../browser/performanceCollection';

lifeCycle.notify(12 /* LifeCycleEventType.RAW_ERROR_COLLECTED */, { error: error });
addTelemetryDebug('Error reported to customer', { 'error.message': error.message });
};

@@ -49,0 +50,0 @@ var featureFlagContexts = startFeatureFlagContexts(lifeCycle);

@@ -1,2 +0,2 @@

import { combine, isEmptyObject, timeStampNow, currentDrift, display, createEventRateLimiter, canUseEventBridge, assign, } from '@datadog/browser-core';
import { combine, isEmptyObject, timeStampNow, currentDrift, display, createEventRateLimiter, canUseEventBridge, assign, round, } from '@datadog/browser-core';
import { getSyntheticsContext } from './contexts/syntheticsContext';

@@ -53,3 +53,7 @@ import { getCiTestContext } from './contexts/ciTestContext';

},
browser_sdk_version: canUseEventBridge() ? "4.44.2" : undefined,
configuration: {
session_sample_rate: round(configuration.sessionSampleRate, 3),
session_replay_sample_rate: round(configuration.sessionReplaySampleRate, 3),
},
browser_sdk_version: canUseEventBridge() ? "4.45.0" : undefined,
},

@@ -56,0 +60,0 @@ application: {

@@ -233,2 +233,6 @@ import type { Context, Duration, ErrorSource, ErrorHandling, ResourceType, ServerDuration, TimeStamp, RawErrorCause, DefaultPrivacyLevel } from '@datadog/browser-core';

};
configuration: {
session_sample_rate: number;
session_replay_sample_rate: number;
};
browser_sdk_version?: string;

@@ -235,0 +239,0 @@ };

@@ -1023,2 +1023,16 @@ /**

/**
* Subset of the SDK configuration options in use during its execution
*/
readonly configuration?: {
/**
* The percentage of sessions tracked
*/
readonly session_sample_rate: number;
/**
* The percentage of sessions with RUM & Session Replay pricing tracked
*/
readonly session_replay_sample_rate: number;
[k: string]: unknown;
};
/**
* Browser SDK version

@@ -1025,0 +1039,0 @@ */

{
"name": "@datadog/browser-rum-core",
"version": "4.44.2",
"version": "4.45.0",
"license": "Apache-2.0",

@@ -15,3 +15,3 @@ "main": "cjs/index.js",

"dependencies": {
"@datadog/browser-core": "4.44.2"
"@datadog/browser-core": "4.45.0"
},

@@ -29,3 +29,6 @@ "devDependencies": {

},
"gitHead": "681cacdfcf069b81e326e5d3fc75e9174f87d307"
"publishConfig": {
"access": "public"
},
"gitHead": "4b06c56c78f438cb4d11e9075b107839196e60dd"
}

@@ -10,2 +10,3 @@ import type { Observable, TelemetryEvent, RawError, ContextManager } from '@datadog/browser-core'

getEventBridge,
addTelemetryDebug,
} from '@datadog/browser-core'

@@ -71,2 +72,3 @@ import { createDOMMutationObservable } from '../browser/domMutationObservable'

lifeCycle.notify(LifeCycleEventType.RAW_ERROR_COLLECTED, { error })
addTelemetryDebug('Error reported to customer', { 'error.message': error.message })
}

@@ -73,0 +75,0 @@ const featureFlagContexts = startFeatureFlagContexts(lifeCycle)

@@ -11,2 +11,3 @@ import type { Context, RawError, EventRateLimiter, User } from '@datadog/browser-core'

assign,
round,
} from '@datadog/browser-core'

@@ -130,2 +131,6 @@ import type { RumEventDomainContext } from '../domainContext.types'

},
configuration: {
session_sample_rate: round(configuration.sessionSampleRate, 3),
session_replay_sample_rate: round(configuration.sessionReplaySampleRate, 3),
},
browser_sdk_version: canUseEventBridge() ? __BUILD_ENV__SDK_VERSION__ : undefined,

@@ -132,0 +137,0 @@ },

@@ -264,4 +264,8 @@ import type {

}
configuration: {
session_sample_rate: number
session_replay_sample_rate: number
}
browser_sdk_version?: string
}
}

@@ -1091,2 +1091,16 @@ /* eslint-disable */

/**
* Subset of the SDK configuration options in use during its execution
*/
readonly configuration?: {
/**
* The percentage of sessions tracked
*/
readonly session_sample_rate: number
/**
* The percentage of sessions with RUM & Session Replay pricing tracked
*/
readonly session_replay_sample_rate: number
[k: string]: unknown
}
/**
* Browser SDK version

@@ -1093,0 +1107,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc