This is an automated email from the ASF dual-hosted git repository.
jkevan pushed a commit to branch UNOMI-610-new-tracker
in repository https://gitbox.apache.org/repos/asf/unomi-tracker.git
The following commit(s) were added to refs/heads/UNOMI-610-new-tracker by this
push:
new 57a7294 UNOMI-610: base tracker first draft
57a7294 is described below
commit 57a729460699d01a18f863a5761b4429440381cd
Author: Kevan <[email protected]>
AuthorDate: Mon Sep 5 21:32:46 2022 +0200
UNOMI-610: base tracker first draft
---
dist/apache-unomi-tracker.cjs.js | 2 +-
dist/apache-unomi-tracker.esm.js | 2 +-
dist/apache-unomi-tracker.umd.js | 2 +-
src/tracker/tracker.js | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dist/apache-unomi-tracker.cjs.js b/dist/apache-unomi-tracker.cjs.js
index fe4c790..452270a 100644
--- a/dist/apache-unomi-tracker.cjs.js
+++ b/dist/apache-unomi-tracker.cjs.js
@@ -11,7 +11,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o)
return; if (typeof o =
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length)
len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i]; } return arr2; }
var newTracker = function newTracker() {
var wem = {
- getCurrentContext: function getCurrentContext() {
+ getLoadedContext: function getLoadedContext() {
return wem.cxs;
},
enableWem: function enableWem() {
diff --git a/dist/apache-unomi-tracker.esm.js b/dist/apache-unomi-tracker.esm.js
index 4b448e9..fcfa360 100644
--- a/dist/apache-unomi-tracker.esm.js
+++ b/dist/apache-unomi-tracker.esm.js
@@ -7,7 +7,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o)
return; if (typeof o =
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length)
len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i]; } return arr2; }
var newTracker = function newTracker() {
var wem = {
- getCurrentContext: function getCurrentContext() {
+ getLoadedContext: function getLoadedContext() {
return wem.cxs;
},
enableWem: function enableWem() {
diff --git a/dist/apache-unomi-tracker.umd.js b/dist/apache-unomi-tracker.umd.js
index 4b14b09..98fe1da 100644
--- a/dist/apache-unomi-tracker.umd.js
+++ b/dist/apache-unomi-tracker.umd.js
@@ -1653,7 +1653,7 @@
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length)
len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i]; } return arr2; }
var newTracker = function newTracker() {
var wem = {
- getCurrentContext: function getCurrentContext() {
+ getLoadedContext: function getLoadedContext() {
return wem.cxs;
},
enableWem: function enableWem() {
diff --git a/src/tracker/tracker.js b/src/tracker/tracker.js
index 31c4083..c422bf3 100644
--- a/src/tracker/tracker.js
+++ b/src/tracker/tracker.js
@@ -2,7 +2,7 @@ import { Crawler } from 'es6-crawler-detect';
export const newTracker = () => {
const wem = {
- getCurrentContext: function () {
+ getLoadedContext: function () {
return wem.cxs;
},