Skip to content

Commit

Permalink
Rename whitelist -> allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbley committed Sep 1, 2020
1 parent 63f59de commit 66b62eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interaction.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {UserInteractionPlugin} from '@opentelemetry/plugin-user-interaction';

const whitelistEventTypes = {
const allowedEventTypes = {
click: true,
dblclick: true,
submit: true,
Expand All @@ -22,7 +22,7 @@ export class SplunkUserInteractionPlugin extends UserInteractionPlugin {
}

_allowEventType(eventType) {
return whitelistEventTypes[eventType];
return allowedEventTypes[eventType];
}

// FIXME find cleaner way to patch
Expand Down

0 comments on commit 66b62eb

Please sign in to comment.