@elementor/editor-global-classes 3.35.0 → 3.35.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.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
- package/src/utils/tracking.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -291,7 +291,7 @@ var selectEmptyCssClass = (0, import_store.__createSelector)(
|
|
|
291
291
|
);
|
|
292
292
|
|
|
293
293
|
// src/utils/tracking.ts
|
|
294
|
-
var
|
|
294
|
+
var import_events = require("@elementor/events");
|
|
295
295
|
var import_store2 = require("@elementor/store");
|
|
296
296
|
|
|
297
297
|
// src/api.ts
|
|
@@ -392,7 +392,7 @@ var getSanitizedData = async (payload) => {
|
|
|
392
392
|
}
|
|
393
393
|
};
|
|
394
394
|
var track = (data) => {
|
|
395
|
-
const { dispatchEvent, config } = (0,
|
|
395
|
+
const { dispatchEvent, config } = (0, import_events.getMixpanel)();
|
|
396
396
|
if (!config?.names?.global_classes?.[data.event]) {
|
|
397
397
|
console.error("Global class tracking event not found", { event: data.event });
|
|
398
398
|
return;
|