Skip to content

Commit 1496b1f

Browse files
committed
Update function name and add console log for version
1 parent ee7337a commit 1496b1f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/HookRunner.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function executeAfterTrack(logger, hooks, hookContext) {
156156
* @param {object} hookContext The full event object that was enqueued.
157157
* @returns {void}
158158
*/
159-
function executeAfterEnqueue(logger, hooks, hookContext) {
159+
function executeAfterEventEnqueue(logger, hooks, hookContext) {
160160
// This iterates in reverse, versus reversing a shallow copy of the hooks,
161161
// for efficiency.
162162
for (let hookIndex = hooks.length - 1; hookIndex >= 0; hookIndex -= 1) {
@@ -272,7 +272,7 @@ function createHookRunner(logger, initialHooks) {
272272
return;
273273
}
274274
const hooks = [...hooksInternal];
275-
executeAfterEnqueue(logger, hooks, hookContext);
275+
executeAfterEventEnqueue(logger, hooks, hookContext);
276276
}
277277

278278
return {

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const highTimeoutThreshold = 5;
3939
// For definitions of the API in the platform object, see stubPlatform.js in the test code.
4040

4141
function initialize(env, context, specifiedOptions, platform, extraOptionDefs) {
42+
console.log('🟢 LOCAL JS COMMON SDK 5.7.1 - LINKED VERSION ACTIVE 🟢');
4243
const logger = createLogger();
4344
const emitter = EventEmitter(logger);
4445
const initializationStateTracker = InitializationStateTracker(emitter);

0 commit comments

Comments
 (0)