@azzas/azzas-tracker-web 2.0.0-preview.11 → 2.0.0-preview.13
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/mod.cjs +5 -0
- package/dist/mod.cjs.map +1 -1
- package/dist/mod.d.cts +8 -8
- package/dist/mod.d.ts +8 -8
- package/dist/mod.global.js +5 -0
- package/dist/mod.global.js.map +1 -1
- package/dist/mod.js +5 -0
- package/dist/mod.js.map +1 -1
- package/dist/mod.vtex.global.js +5 -0
- package/package.json +1 -1
package/dist/mod.vtex.global.js
CHANGED
|
@@ -2438,6 +2438,11 @@ var AzzasTracker = function() {
|
|
|
2438
2438
|
// src/params/adapters/meta/index.ts
|
|
2439
2439
|
var metaAdapter = {
|
|
2440
2440
|
user_info: getUserInfo,
|
|
2441
|
+
brand: function(context, config2) {
|
|
2442
|
+
if (config2 === null || config2 === void 0 ? void 0 : config2.brand) return config2.brand;
|
|
2443
|
+
if (context === null || context === void 0 ? void 0 : context.meta.brand) return context.meta.brand;
|
|
2444
|
+
return null;
|
|
2445
|
+
},
|
|
2441
2446
|
content_type: function(context) {
|
|
2442
2447
|
return context.meta.content_type || null;
|
|
2443
2448
|
},
|