@sentry/profiling-node 8.26.0 → 8.28.0

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.
package/lib/cjs/index.js CHANGED
@@ -1148,7 +1148,10 @@ const _nodeProfilingIntegration = (() => {
1148
1148
  const options = client.getOptions();
1149
1149
 
1150
1150
  const mode =
1151
- (options.profilesSampleRate === undefined || options.profilesSampleRate === 0) && !options.profilesSampler
1151
+ (options.profilesSampleRate === undefined ||
1152
+ options.profilesSampleRate === null ||
1153
+ options.profilesSampleRate === 0) &&
1154
+ !options.profilesSampler
1152
1155
  ? 'continuous'
1153
1156
  : 'span';
1154
1157
  switch (mode) {